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