198 in binary = 11000110 (1100 0110)
In other bases: hexadecimal C6, octal 306. The binary number has 8 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 198 ÷ 2 | 99 | 0 |
| 99 ÷ 2 | 49 | 1 |
| 49 ÷ 2 | 24 | 1 |
| 24 ÷ 2 | 12 | 0 |
| 12 ÷ 2 | 6 | 0 |
| 6 ÷ 2 | 3 | 0 |
| 3 ÷ 2 | 1 | 1 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 11000110.
| Power of 2 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|
| Bit | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 |
Add the powers of 2 where the bit is 1: 128 + 64 + 4 + 2 = 198.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 194 | 11000010 | C2 | 302 |
| 195 | 11000011 | C3 | 303 |
| 196 | 11000100 | C4 | 304 |
| 197 | 11000101 | C5 | 305 |
| 199 | 11000111 | C7 | 307 |
| 200 | 11001000 | C8 | 310 |
| 201 | 11001001 | C9 | 311 |
| 202 | 11001010 | CA | 312 |