9 in Binary
Decimal 9 equals 1001 in binary.
9 in all number bases
Decimal9
Hexadecimal0x9
Binary1001
Octal11
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
9Hex
0x9Binary
0b1001Octal
0o11How 9 converts from decimal to binary
Divide by 2 repeatedly and keep each remainder, then read the remainders from bottom to top:
9÷ 2 =4remainder1
4÷ 2 =2remainder0
2÷ 2 =1remainder0
1÷ 2 =0remainder1
Result (remainders bottom to top): 1001
This tool runs entirely in your browser - nothing you enter is uploaded or stored.