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