256 in binary
256 in binary is 100000000. In hexadecimal it is 100 and in octal 400.
256 in binary
Pick any whole number from 1 to 10,000.
How to work it out
- 1
Divide 256 by 2 again and again, writing down the remainder each time, until you reach 0.
- 2
Read the remainders from the bottom up: 100000000.
- 3
Check by adding powers of 2: 256 = 256.
LaTeX source of the formulas on this page
\[ 256_{10} = 100000000_{2} \]Dividing 256 by 2
| Number | Division | Remainder |
|---|---|---|
| 256 | 256 ÷ 2 = 128 | 0 |
| 128 | 128 ÷ 2 = 64 | 0 |
| 64 | 64 ÷ 2 = 32 | 0 |
| 32 | 32 ÷ 2 = 16 | 0 |
| 16 | 16 ÷ 2 = 8 | 0 |
| 8 | 8 ÷ 2 = 4 | 0 |
| 4 | 4 ÷ 2 = 2 | 0 |
| 2 | 2 ÷ 2 = 1 | 0 |
| 1 | 1 ÷ 2 = 0 | 1 |
Questions
What is 256 in binary?
100000000.
What is 256 in hexadecimal?
100.
What is 256 in octal?
400.
How many bits does 256 need?
9 bits.