108 in binary = 1101100 (110 1100)
In other bases: hexadecimal 6C, octal 154. The binary number has 7 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 108 ÷ 2 | 54 | 0 |
| 54 ÷ 2 | 27 | 0 |
| 27 ÷ 2 | 13 | 1 |
| 13 ÷ 2 | 6 | 1 |
| 6 ÷ 2 | 3 | 0 |
| 3 ÷ 2 | 1 | 1 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 1101100.
| Power of 2 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
| Bit | 1 | 1 | 0 | 1 | 1 | 0 | 0 |
Add the powers of 2 where the bit is 1: 64 + 32 + 8 + 4 = 108.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 104 | 1101000 | 68 | 150 |
| 105 | 1101001 | 69 | 151 |
| 106 | 1101010 | 6A | 152 |
| 107 | 1101011 | 6B | 153 |
| 109 | 1101101 | 6D | 155 |
| 110 | 1101110 | 6E | 156 |
| 111 | 1101111 | 6F | 157 |
| 112 | 1110000 | 70 | 160 |