245 in binary = 11110101 (1111 0101)
In other bases: hexadecimal F5, octal 365. The binary number has 8 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 245 ÷ 2 | 122 | 1 |
| 122 ÷ 2 | 61 | 0 |
| 61 ÷ 2 | 30 | 1 |
| 30 ÷ 2 | 15 | 0 |
| 15 ÷ 2 | 7 | 1 |
| 7 ÷ 2 | 3 | 1 |
| 3 ÷ 2 | 1 | 1 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 11110101.
| Power of 2 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|
| Bit | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 |
Add the powers of 2 where the bit is 1: 128 + 64 + 32 + 16 + 4 + 1 = 245.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 241 | 11110001 | F1 | 361 |
| 242 | 11110010 | F2 | 362 |
| 243 | 11110011 | F3 | 363 |
| 244 | 11110100 | F4 | 364 |
| 246 | 11110110 | F6 | 366 |
| 247 | 11110111 | F7 | 367 |
| 248 | 11111000 | F8 | 370 |
| 249 | 11111001 | F9 | 371 |