101 in Decimal
Binary 101 equals 5 in decimal.
101 in all number bases
Decimal5
Hexadecimal0x5
Binary0101
Octal5
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
5Hex
0x5Binary
0b101Octal
0o5How 101 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× 22 = 1 × 4 = 4
0× 21 = 0 × 2 = 0
1× 20 = 1 × 1 = 1
Sum: 5
This tool runs entirely in your browser - nothing you enter is uploaded or stored.