87 in Binary
87 in binary is 101 0111 (1010111).
Result 1010111.
Binary (base 2)101 0111
Step by step
- Divide by 2 repeatedly and write down the remainders:
Division Quotient Remainder 87 ÷ 2 43 1 43 ÷ 2 21 1 21 ÷ 2 10 1 10 ÷ 2 5 0 5 ÷ 2 2 1 2 ÷ 2 1 0 1 ÷ 2 0 1 - Read the remainders from bottom to top: 101 0111
| binary (base 2) | 101 0111 |
|---|---|
| octal (base 8) | 127 |
| decimal (base 10) | 87 |
| hexadecimal (base 16) | 57 |
| Bits needed | 7 bits (fits in 1 byte) |
| 8-bit form | 0101 0111 |
| 16-bit form | 0000 0000 0101 0111 |
| 32-bit form | 0000 0000 0000 0000 0000 0000 0101 0111 |
Quick method for 87
Find the powers of 2 that add up to 87: 64 + 16 + 4 + 2 + 1. Put a 1 in those places and 0 elsewhere: 1010111.
87 in other forms
- Place values: 64 + 16 + 4 + 2 + 1 = 87
- Hex: 57
- Octal: 127
- 7 bits — fits in one byte
- 5 one-bits (odd parity)
- Padded: 0101 0111
- 16-bit: 0000 0000 0101 0111
- One's complement (8-bit): 1010 1000
- Between 26 = 64 and 27 = 128
- −87 in 8-bit two's complement: 1010 1001
- ASCII: “W” — ASCII table
Going back: binary to decimal.
More numbers in binary
87 in binary: questions
What is 87 in binary?
1010111.
What is 87 in hex?
57.
How many bits is 87?
7.