251 in binary = 11111011 (1111 1011)
In other bases: hexadecimal FB, octal 373. The binary number has 8 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 251 ÷ 2 | 125 | 1 |
| 125 ÷ 2 | 62 | 1 |
| 62 ÷ 2 | 31 | 0 |
| 31 ÷ 2 | 15 | 1 |
| 15 ÷ 2 | 7 | 1 |
| 7 ÷ 2 | 3 | 1 |
| 3 ÷ 2 | 1 | 1 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 11111011.
| Power of 2 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|
| Bit | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 |
Add the powers of 2 where the bit is 1: 128 + 64 + 32 + 16 + 8 + 2 + 1 = 251.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 247 | 11110111 | F7 | 367 |
| 248 | 11111000 | F8 | 370 |
| 249 | 11111001 | F9 | 371 |
| 250 | 11111010 | FA | 372 |
| 252 | 11111100 | FC | 374 |
| 253 | 11111101 | FD | 375 |
| 254 | 11111110 | FE | 376 |
| 255 | 11111111 | FF | 377 |