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