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