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