185 in binary = 10111001 (1011 1001)
In other bases: hexadecimal B9, octal 271. The binary number has 8 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 185 ÷ 2 | 92 | 1 |
| 92 ÷ 2 | 46 | 0 |
| 46 ÷ 2 | 23 | 0 |
| 23 ÷ 2 | 11 | 1 |
| 11 ÷ 2 | 5 | 1 |
| 5 ÷ 2 | 2 | 1 |
| 2 ÷ 2 | 1 | 0 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 10111001.
| Power of 2 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|
| Bit | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 |
Add the powers of 2 where the bit is 1: 128 + 32 + 16 + 8 + 1 = 185.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 181 | 10110101 | B5 | 265 |
| 182 | 10110110 | B6 | 266 |
| 183 | 10110111 | B7 | 267 |
| 184 | 10111000 | B8 | 270 |
| 186 | 10111010 | BA | 272 |
| 187 | 10111011 | BB | 273 |
| 188 | 10111100 | BC | 274 |
| 189 | 10111101 | BD | 275 |