52 in binary = 110100 (11 0100)
In other bases: hexadecimal 34, octal 64. The binary number has 6 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 52 ÷ 2 | 26 | 0 |
| 26 ÷ 2 | 13 | 0 |
| 13 ÷ 2 | 6 | 1 |
| 6 ÷ 2 | 3 | 0 |
| 3 ÷ 2 | 1 | 1 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 110100.
| Power of 2 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|
| Bit | 1 | 1 | 0 | 1 | 0 | 0 |
Add the powers of 2 where the bit is 1: 32 + 16 + 4 = 52.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 48 | 110000 | 30 | 60 |
| 49 | 110001 | 31 | 61 |
| 50 | 110010 | 32 | 62 |
| 51 | 110011 | 33 | 63 |
| 53 | 110101 | 35 | 65 |
| 54 | 110110 | 36 | 66 |
| 55 | 110111 | 37 | 67 |
| 56 | 111000 | 38 | 70 |