111 in binary = 1101111 (110 1111)
In other bases: hexadecimal 6F, octal 157. The binary number has 7 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 111 ÷ 2 | 55 | 1 |
| 55 ÷ 2 | 27 | 1 |
| 27 ÷ 2 | 13 | 1 |
| 13 ÷ 2 | 6 | 1 |
| 6 ÷ 2 | 3 | 0 |
| 3 ÷ 2 | 1 | 1 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 1101111.
| Power of 2 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
| Bit | 1 | 1 | 0 | 1 | 1 | 1 | 1 |
Add the powers of 2 where the bit is 1: 64 + 32 + 8 + 4 + 2 + 1 = 111.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 107 | 1101011 | 6B | 153 |
| 108 | 1101100 | 6C | 154 |
| 109 | 1101101 | 6D | 155 |
| 110 | 1101110 | 6E | 156 |
| 112 | 1110000 | 70 | 160 |
| 113 | 1110001 | 71 | 161 |
| 114 | 1110010 | 72 | 162 |
| 115 | 1110011 | 73 | 163 |