65535 in binary = 1111111111111111 (1111 1111 1111 1111)
In other bases: hexadecimal FFFF, octal 177777. The binary number has 16 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 65535 ÷ 2 | 32767 | 1 |
| 32767 ÷ 2 | 16383 | 1 |
| 16383 ÷ 2 | 8191 | 1 |
| 8191 ÷ 2 | 4095 | 1 |
| 4095 ÷ 2 | 2047 | 1 |
| 2047 ÷ 2 | 1023 | 1 |
| 1023 ÷ 2 | 511 | 1 |
| 511 ÷ 2 | 255 | 1 |
| 255 ÷ 2 | 127 | 1 |
| 127 ÷ 2 | 63 | 1 |
| 63 ÷ 2 | 31 | 1 |
| 31 ÷ 2 | 15 | 1 |
| 15 ÷ 2 | 7 | 1 |
| 7 ÷ 2 | 3 | 1 |
| 3 ÷ 2 | 1 | 1 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 1111111111111111.
| Power of 2 | 32768 | 16384 | 8192 | 4096 | 2048 | 1024 | 512 | 256 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Bit | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
Add the powers of 2 where the bit is 1: 32768 + 16384 + 8192 + 4096 + 2048 + 1024 + 512 + 256 + 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 65535.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 2048 | 100000000000 | 800 | 4000 |
| 4096 | 1000000000000 | 1000 | 10000 |
| 8192 | 10000000000000 | 2000 | 20000 |
| 10000 | 10011100010000 | 2710 | 23420 |
| 65536 | 10000000000000000 | 10000 | 200000 |