1 in Binary
Decimal 1 equals 1 in binary.
1 in all number bases
Decimal1
Hexadecimal0x1
Binary0001
Octal1
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
1Hex
0x1Binary
0b1Octal
0o1How 1 converts from decimal to binary
Divide by 2 repeatedly and keep each remainder, then read the remainders from bottom to top:
1÷ 2 =0remainder1
Result (remainders bottom to top): 1
This tool runs entirely in your browser - nothing you enter is uploaded or stored.