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
- Enter the binary number.
- 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.