⌘ Number & Reference · Tool

Binary Converter

Convert binary integers to decimal, hexadecimal and octal, or convert decimal integers to binary.

Enter your figures

Enter the values below to calculate your result.

Calculation Results

Based on the figures you entered.

Result
42
Integer mode
Leading zeros are accepted and preserved only in the input; the result is normalized.

How to use this calculator

What to enter

Enter or select the following as requested: Conversion; Value. Follow the units, valid ranges, examples, and options displayed beside each field.

What the result means

The result follows the number property, divisibility rule, numeral system, or arithmetic operation named by the calculator. Check whether the input must be an integer, the selected base, sign conventions, and whether the output uses decimal, binary, hexadecimal, or another representation.

When to use it

Use this to check a number-theory problem or convert numeric representations. Verify input constraints and preserve the correct base when copying the result into another tool or calculation.