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