Skip to content
ToolHub

Binary to Decimal Converter

Convert a binary number to decimal, hex and octal.

</>
DevCalc Pro
Programming & Developer Tools
⚡ Result
—
—
ƒ Info
History 0
📋
No calculations yet
Your history will appear here

About the Binary to Decimal Converter

The Binary to Decimal Converter reads a binary number, with or without a 0b prefix, and gives its decimal value, hexadecimal and octal equivalents, the number of bits and the number of bytes.

How to use the Binary to Decimal Converter

  1. Enter the binary number.
  2. Read the decimal value.

Example

Working it out

101010 = 32 + 8 + 2 = 42.

Frequently asked questions

What happens to spaces or other digits?

Anything other than 0 and 1 is ignored, so 1010 1010 is read as 10101010.

How long can the number be?

Results are exact up to 53 bits (about 9 quadrillion).

Is it two’s complement?

No. The input is treated as an unsigned value.

Use ↑ ↓ to move, Enter to open.