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
How 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