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