640 in binary = 1010000000 (10 1000 0000)
In other bases: hexadecimal 280, octal 1200. The binary number has 10 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 640 ÷ 2 | 320 | 0 |
| 320 ÷ 2 | 160 | 0 |
| 160 ÷ 2 | 80 | 0 |
| 80 ÷ 2 | 40 | 0 |
| 40 ÷ 2 | 20 | 0 |
| 20 ÷ 2 | 10 | 0 |
| 10 ÷ 2 | 5 | 0 |
| 5 ÷ 2 | 2 | 1 |
| 2 ÷ 2 | 1 | 0 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 1010000000.
| Power of 2 | 512 | 256 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|---|---|
| Bit | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Add the powers of 2 where the bit is 1: 512 + 128 = 640.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 500 | 111110100 | 1F4 | 764 |
| 512 | 1000000000 | 200 | 1000 |
| 550 | 1000100110 | 226 | 1046 |
| 600 | 1001011000 | 258 | 1130 |
| 650 | 1010001010 | 28A | 1212 |
| 700 | 1010111100 | 2BC | 1274 |
| 750 | 1011101110 | 2EE | 1356 |
| 800 | 1100100000 | 320 | 1440 |