Binary to Decimal Converter

Type a binary number and get its decimal value, plus hex and octal.

Decimal
Hex
Binary
Octal

Click a bit to flip it.

How to convert binary to decimal

Binary (base 2) has only the digits 0 and 1. Each place is worth a power of two: 1, 2, 4, 8, 16, 32, 64, 128 and so on, from right to left. Add up the places that hold a 1.

Worked example

Convert 10110110: 128 + 32 + 16 + 4 + 2 = 182.

Tips

Other conversions