Binary to Decimal Converter

Type a binary number to see it in decimal. Below: how the conversion works, a worked example and a conversion table.

11111111 binary = 255 decimal

How to convert binary to decimal

Multiply each digit by 2 raised to the power of its position (counting from 0 on the right) and add the results.

Example: 11111111 to decimal

Binary to decimal

Multiply each digit by 2 to the power of its position (0 on the right), then add:

DigitPlace valueDigit × place
127 = 128128
126 = 6464
125 = 3232
124 = 1616
123 = 88
122 = 44
121 = 22
120 = 11

128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255

Binary to Decimal table

BinaryDecimal
0 0
1 1
10 2
11 3
100 4
101 5
110 6
111 7
1000 8
1001 9
1010 10
1011 11
1100 12
1101 13
1110 14
1111 15
10000 16
100000 32
1000000 64
1100100 100
1111111 127
10000000 128
11111111 255
100000000 256
1000000000 512
1111101000 1000
1111111111 1023
10000000000 1024

Reverse conversion

Frequently asked questions

How do you convert binary to decimal?

Multiply each digit by 2 raised to the power of its position (counting from 0 on the right) and add the results.

What is 11111111 in decimal?

11111111 in binary is 255 in decimal.