173 in binary = 10101101 (1010 1101)
In other bases: hexadecimal AD, octal 255. The binary number has 8 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 173 ÷ 2 | 86 | 1 |
| 86 ÷ 2 | 43 | 0 |
| 43 ÷ 2 | 21 | 1 |
| 21 ÷ 2 | 10 | 1 |
| 10 ÷ 2 | 5 | 0 |
| 5 ÷ 2 | 2 | 1 |
| 2 ÷ 2 | 1 | 0 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 10101101.
| Power of 2 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|
| Bit | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 1 |
Add the powers of 2 where the bit is 1: 128 + 32 + 8 + 4 + 1 = 173.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 169 | 10101001 | A9 | 251 |
| 170 | 10101010 | AA | 252 |
| 171 | 10101011 | AB | 253 |
| 172 | 10101100 | AC | 254 |
| 174 | 10101110 | AE | 256 |
| 175 | 10101111 | AF | 257 |
| 176 | 10110000 | B0 | 260 |
| 177 | 10110001 | B1 | 261 |