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