4096 in Binary
Decimal 4096 equals 1000000000000 in binary.
Why this number matters: 4096 is 2¹² - a common memory page size (4 KiB) and the number of values a 12-bit field can hold.
4096 in all number bases
Decimal4096
Hexadecimal0x1000
Binary0001 0000 0000 0000
Octal10000
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
4096Hex
0x1000Binary
0b1000000000000Octal
0o10000How 4096 converts from decimal to binary
Divide by 2 repeatedly and keep each remainder, then read the remainders from bottom to top:
4096÷ 2 =2048remainder0
2048÷ 2 =1024remainder0
1024÷ 2 =512remainder0
512÷ 2 =256remainder0
256÷ 2 =128remainder0
128÷ 2 =64remainder0
64÷ 2 =32remainder0
32÷ 2 =16remainder0
16÷ 2 =8remainder0
8÷ 2 =4remainder0
4÷ 2 =2remainder0
2÷ 2 =1remainder0
1÷ 2 =0remainder1
Result (remainders bottom to top): 1000000000000
This tool runs entirely in your browser - nothing you enter is uploaded or stored.