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