Skip to content

10111 in Decimal

Binary 10111 equals 23 in decimal.

10111 in all number bases

Decimal23
Hexadecimal0x17
Binary0001 0111
Octal27

Try another value

Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.

Input base:
Decimal23
Hex0x17
Binary0b10111
Octal0o27

How 10111 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
1× 21 = 1 × 2 = 2
1× 20 = 1 × 1 = 1

Sum: 23

This tool runs entirely in your browser - nothing you enter is uploaded or stored.

Want to learn the method behind this tool? Read How to Convert Binary to Decimal - the full step-by-step guide.