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