32 in binary = 100000 (10 0000)
In other bases: hexadecimal 20, octal 40. The binary number has 6 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 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: 100000.
| Power of 2 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|
| Bit | 1 | 0 | 0 | 0 | 0 | 0 |
Add the powers of 2 where the bit is 1: 32 = 32.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 28 | 11100 | 1C | 34 |
| 29 | 11101 | 1D | 35 |
| 30 | 11110 | 1E | 36 |
| 31 | 11111 | 1F | 37 |
| 33 | 100001 | 21 | 41 |
| 34 | 100010 | 22 | 42 |
| 35 | 100011 | 23 | 43 |
| 36 | 100100 | 24 | 44 |