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