10100 in Decimal
Binary 10100 equals 20 in decimal.
10100 in all number bases
Decimal20
Hexadecimal0x14
Binary0001 0100
Octal24
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
20Hex
0x14Binary
0b10100Octal
0o24How 10100 converts from binary to decimal
Multiply each digit by 2 raised to its position (starting at 0 from the right), then add the results:
1× 24 = 1 × 16 = 16
0× 23 = 0 × 8 = 0
1× 22 = 1 × 4 = 4
0× 21 = 0 × 2 = 0
0× 20 = 0 × 1 = 0
Sum: 20
This tool runs entirely in your browser - nothing you enter is uploaded or stored.