Skip to content
ConvertCalculate

Binary to Decimal

Quickly convert binary numbers to decimal format accurately, helping students, programmers, and engineers understand numeric values, perform calculations, and debug code efficiently.

  • Free
  • Instant results
  • Runs in your browser
In short

To convert binary to decimal, multiply each binary digit by 2 raised to its position (starting at 0 on the right) and add the results. For example, 101101 = 1×2^5 + 0×2^4 + 1×2^3 + 1×2^2 + 0×2^1 + 1×2^0 = 45.

How it works

Binary counts in base 2, decimal counts in base 10. Converting means rewriting the same quantity with a different set of digits — the value never changes, only how it is written.

  1. Number the digits from the right, starting at 0.
  2. Multiply each digit by 2 raised to the power of its position.
  3. Add the results — that total is the decimal value.

The reverse conversion is Decimal to Binary, which also handles every other base pair.

Examples

Worked examples, digit by digit:

  • 1010 (binary) = 1×23 + 0×22 + 1×21 + 0×20 = 10 (decimal)
  • 10101 (binary) = 1×24 + 0×23 + 1×22 + 0×21 + 1×20 = 21 (decimal)
  • 11111111 (binary) = 1×27 + 1×26 + 1×25 + 1×24 + 1×23 + 1×22 + 1×21 + 1×20 = 255 (decimal)
Common values in every base
DecimalBinaryOctalHexadecimal
0000
1111
21022
410044
81000108
10101012A
15111117F
16100002010
321000004020
64100000010040
100110010014464
25511111111377FF

Binary to Decimal: frequently asked questions

How do I convert binary to decimal?
Multiply each binary digit by 2 raised to its position (starting at 0 on the right) and add the results. For example, 101101 = 1×2^5 + 0×2^4 + 1×2^3 + 1×2^2 + 0×2^1 + 1×2^0 = 45. The converter above does this instantly for any value.
What is 11111111 in decimal?
Binary 11111111 equals 255 in decimal (the value 255, the largest number that fits in one byte).
Why are binary and decimal used?
Binary (base 2) is how computers store data, as bits that are either 0 or 1. Decimal (base 10) is the everyday number system.