180 in binary = 10110100 (1011 0100)
In other bases: hexadecimal B4, octal 264. The binary number has 8 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 180 ÷ 2 | 90 | 0 |
| 90 ÷ 2 | 45 | 0 |
| 45 ÷ 2 | 22 | 1 |
| 22 ÷ 2 | 11 | 0 |
| 11 ÷ 2 | 5 | 1 |
| 5 ÷ 2 | 2 | 1 |
| 2 ÷ 2 | 1 | 0 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 10110100.
| Power of 2 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|
| Bit | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 |
Add the powers of 2 where the bit is 1: 128 + 32 + 16 + 4 = 180.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 176 | 10110000 | B0 | 260 |
| 177 | 10110001 | B1 | 261 |
| 178 | 10110010 | B2 | 262 |
| 179 | 10110011 | B3 | 263 |
| 181 | 10110101 | B5 | 265 |
| 182 | 10110110 | B6 | 266 |
| 183 | 10110111 | B7 | 267 |
| 184 | 10111000 | B8 | 270 |