256 in Binary
Decimal 256 equals 100000000 in binary.
Why this number matters: 256 is 2⁸ - the number of distinct values a single byte can represent (0-255).
256 in all number bases
Decimal256
Hexadecimal0x100
Binary0001 0000 0000
Octal400
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
256Hex
0x100Binary
0b100000000Octal
0o400How 256 converts from decimal to binary
Divide by 2 repeatedly and keep each remainder, then read the remainders from bottom to top:
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): 100000000
This tool runs entirely in your browser - nothing you enter is uploaded or stored.