145 in binary = 10010001 (1001 0001)
In other bases: hexadecimal 91, octal 221. The binary number has 8 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 145 ÷ 2 | 72 | 1 |
| 72 ÷ 2 | 36 | 0 |
| 36 ÷ 2 | 18 | 0 |
| 18 ÷ 2 | 9 | 0 |
| 9 ÷ 2 | 4 | 1 |
| 4 ÷ 2 | 2 | 0 |
| 2 ÷ 2 | 1 | 0 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 10010001.
| Power of 2 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|
| Bit | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
Add the powers of 2 where the bit is 1: 128 + 16 + 1 = 145.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 141 | 10001101 | 8D | 215 |
| 142 | 10001110 | 8E | 216 |
| 143 | 10001111 | 8F | 217 |
| 144 | 10010000 | 90 | 220 |
| 146 | 10010010 | 92 | 222 |
| 147 | 10010011 | 93 | 223 |
| 148 | 10010100 | 94 | 224 |
| 149 | 10010101 | 95 | 225 |