101 in binary = 1100101 (110 0101)
In other bases: hexadecimal 65, octal 145. The binary number has 7 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 101 ÷ 2 | 50 | 1 |
| 50 ÷ 2 | 25 | 0 |
| 25 ÷ 2 | 12 | 1 |
| 12 ÷ 2 | 6 | 0 |
| 6 ÷ 2 | 3 | 0 |
| 3 ÷ 2 | 1 | 1 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 1100101.
| Power of 2 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
| Bit | 1 | 1 | 0 | 0 | 1 | 0 | 1 |
Add the powers of 2 where the bit is 1: 64 + 32 + 4 + 1 = 101.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 97 | 1100001 | 61 | 141 |
| 98 | 1100010 | 62 | 142 |
| 99 | 1100011 | 63 | 143 |
| 100 | 1100100 | 64 | 144 |
| 102 | 1100110 | 66 | 146 |
| 103 | 1100111 | 67 | 147 |
| 104 | 1101000 | 68 | 150 |
| 105 | 1101001 | 69 | 151 |