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