Binary Converter

Convert a binary number to decimal, hex, octal, or ASCII text using the converter below.


Decimal Result


Hexadecimal Result


Octal Result



Learn how we calculated this below

On this page:

How to Convert a Binary Number

To convert a binary number to decimal, use the following formula:

decimal number10 = (d0 × 20) + (d1 × 21) + … + (dn – 1 × 2n – 1)

In the formula above, d0 is the binary digit furthest to the right, d1 is the digit one position from the right, and dn – 1 is the digit furthest to the left.

Binary Conversion Resources

Use our binary conversion resources to learn more about binary calculations: