Binary to decimal converter

Enter a binary number to convert it to decimal, with every step shown. Each binary digit is multiplied by its place value (1, 2, 4, 8, 16 …) and the results are added — so 1010 is 8 + 2 = 10.

To

Binary to decimal formula

For a binary number with digits bn … b1 b0:

decimal = bn×2n + … + b1×21 + b0×20

Because every digit is 0 or 1, you just add the place values wherever there is a 1.

Place2⁷2⁶2⁵2⁴2³2²2¹2⁰
Value1286432168421

Worked examples

BinaryWorkingDecimal
1022
112 + 13
10044
1014 + 15
10018 + 19
10108 + 210
11018 + 4 + 113
01104 + 26
11111111128 + 64 + 32 + 16 + 8 + 4 + 2 + 1255

Need more? See the full binary numbers table 0–255.

Shortcut: the doubling method

Read left to right. Start at 0; for each digit, double your total and add the digit.

1101: 0×2+1 = 1 → 1×2+1 = 3 → 3×2+0 = 6 → 6×2+1 = 13.

This is the method most programmers use in their heads, and it works for any length without memorising powers of two.

Frequently asked questions

What is 1010 in decimal?

1010 in binary is 10 in decimal: 1×8 + 0×4 + 1×2 + 0×1 = 10.

What is 11111111 in decimal?

255. It is the largest number one byte (8 bits) can hold: 128+64+32+16+8+4+2+1.

How do you convert binary to decimal by hand?

Write the place values 1, 2, 4, 8, 16 … under the digits from right to left, then add up the place values that sit under a 1.

Can it convert very long binary numbers?

Yes. The converter uses arbitrary-precision integers, so 64-bit, 128-bit or longer binary numbers convert exactly.

Keep going

Last reviewed 28 November 2026. Conversions run entirely in your browser.