01010101 in Decimal
Binary 01010101 equals 85 in decimal.
01010101 in all number bases
Decimal85
Hexadecimal0x55
Binary0101 0101
Octal125
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
85Hex
0x55Binary
0b1010101Octal
0o125How 01010101 converts from binary to decimal
Multiply each digit by 2 raised to its position (starting at 0 from the right), then add the results:
0× 27 = 0 × 128 = 0
1× 26 = 1 × 64 = 64
0× 25 = 0 × 32 = 0
1× 24 = 1 × 16 = 16
0× 23 = 0 × 8 = 0
1× 22 = 1 × 4 = 4
0× 21 = 0 × 2 = 0
1× 20 = 1 × 1 = 1
Sum: 85
This tool runs entirely in your browser - nothing you enter is uploaded or stored.