167 in binary = 10100111 (1010 0111)
In other bases: hexadecimal A7, octal 247. The binary number has 8 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 167 ÷ 2 | 83 | 1 |
| 83 ÷ 2 | 41 | 1 |
| 41 ÷ 2 | 20 | 1 |
| 20 ÷ 2 | 10 | 0 |
| 10 ÷ 2 | 5 | 0 |
| 5 ÷ 2 | 2 | 1 |
| 2 ÷ 2 | 1 | 0 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 10100111.
| Power of 2 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|
| Bit | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 |
Add the powers of 2 where the bit is 1: 128 + 32 + 4 + 2 + 1 = 167.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 163 | 10100011 | A3 | 243 |
| 164 | 10100100 | A4 | 244 |
| 165 | 10100101 | A5 | 245 |
| 166 | 10100110 | A6 | 246 |
| 168 | 10101000 | A8 | 250 |
| 169 | 10101001 | A9 | 251 |
| 170 | 10101010 | AA | 252 |
| 171 | 10101011 | AB | 253 |