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