89 in binary = 1011001 (101 1001)
In other bases: hexadecimal 59, octal 131. The binary number has 7 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 89 ÷ 2 | 44 | 1 |
| 44 ÷ 2 | 22 | 0 |
| 22 ÷ 2 | 11 | 0 |
| 11 ÷ 2 | 5 | 1 |
| 5 ÷ 2 | 2 | 1 |
| 2 ÷ 2 | 1 | 0 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 1011001.
| Power of 2 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
| Bit | 1 | 0 | 1 | 1 | 0 | 0 | 1 |
Add the powers of 2 where the bit is 1: 64 + 16 + 8 + 1 = 89.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 85 | 1010101 | 55 | 125 |
| 86 | 1010110 | 56 | 126 |
| 87 | 1010111 | 57 | 127 |
| 88 | 1011000 | 58 | 130 |
| 90 | 1011010 | 5A | 132 |
| 91 | 1011011 | 5B | 133 |
| 92 | 1011100 | 5C | 134 |
| 93 | 1011101 | 5D | 135 |