Binary to Decimal Converter

Binary numbers to Decimal conversion

Binary to Decimal Converter

Binary Number to convert

How to Convert Binary to Decimal

Multiply each digit by the weight of its place — a power of 2, 2⁰ on the right — and add the results.

Example: binary 11111111 in decimal

Digit × place value, then add
2⁷2⁶2⁵2⁴2³2²2¹2⁰
1286432168421
11111111

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

See Also

FAQ

What is a binary number?

A binary number is a value written using only the digits 0 and 1, following the base-2 positional numeral system used internally by all digital computers.

How do you convert a binary number to decimal?

Multiply each binary digit by the power of 2 that matches its position (counting from the right, starting at 0), then add all the results together.

What binary numbers can this converter handle?

This converter accepts strings of 0s and 1s up to 32 digits long, which covers decimal values up to 4,294,967,295.