350 in binary = 101011110 (1 0101 1110)
In other bases: hexadecimal 15E, octal 536. The binary number has 9 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 350 ÷ 2 | 175 | 0 |
| 175 ÷ 2 | 87 | 1 |
| 87 ÷ 2 | 43 | 1 |
| 43 ÷ 2 | 21 | 1 |
| 21 ÷ 2 | 10 | 1 |
| 10 ÷ 2 | 5 | 0 |
| 5 ÷ 2 | 2 | 1 |
| 2 ÷ 2 | 1 | 0 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 101011110.
| Power of 2 | 256 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|---|
| Bit | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 |
Add the powers of 2 where the bit is 1: 256 + 64 + 16 + 8 + 4 + 2 = 350.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 254 | 11111110 | FE | 376 |
| 255 | 11111111 | FF | 377 |
| 256 | 100000000 | 100 | 400 |
| 300 | 100101100 | 12C | 454 |
| 365 | 101101101 | 16D | 555 |
| 400 | 110010000 | 190 | 620 |
| 450 | 111000010 | 1C2 | 702 |
| 500 | 111110100 | 1F4 | 764 |