97 in binary = 1100001 (110 0001)
In other bases: hexadecimal 61, octal 141. The binary number has 7 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 97 ÷ 2 | 48 | 1 |
| 48 ÷ 2 | 24 | 0 |
| 24 ÷ 2 | 12 | 0 |
| 12 ÷ 2 | 6 | 0 |
| 6 ÷ 2 | 3 | 0 |
| 3 ÷ 2 | 1 | 1 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 1100001.
| Power of 2 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
| Bit | 1 | 1 | 0 | 0 | 0 | 0 | 1 |
Add the powers of 2 where the bit is 1: 64 + 32 + 1 = 97.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 93 | 1011101 | 5D | 135 |
| 94 | 1011110 | 5E | 136 |
| 95 | 1011111 | 5F | 137 |
| 96 | 1100000 | 60 | 140 |
| 98 | 1100010 | 62 | 142 |
| 99 | 1100011 | 63 | 143 |
| 100 | 1100100 | 64 | 144 |
| 101 | 1100101 | 65 | 145 |