512 in binary = 1000000000 (10 0000 0000)
In other bases: hexadecimal 200, octal 1000. The binary number has 10 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 512 ÷ 2 | 256 | 0 |
| 256 ÷ 2 | 128 | 0 |
| 128 ÷ 2 | 64 | 0 |
| 64 ÷ 2 | 32 | 0 |
| 32 ÷ 2 | 16 | 0 |
| 16 ÷ 2 | 8 | 0 |
| 8 ÷ 2 | 4 | 0 |
| 4 ÷ 2 | 2 | 0 |
| 2 ÷ 2 | 1 | 0 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 1000000000.
| Power of 2 | 512 | 256 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|---|---|
| Bit | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Add the powers of 2 where the bit is 1: 512 = 512.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 365 | 101101101 | 16D | 555 |
| 400 | 110010000 | 190 | 620 |
| 450 | 111000010 | 1C2 | 702 |
| 500 | 111110100 | 1F4 | 764 |
| 550 | 1000100110 | 226 | 1046 |
| 600 | 1001011000 | 258 | 1130 |
| 640 | 1010000000 | 280 | 1200 |
| 650 | 1010001010 | 28A | 1212 |