56 in binary = 111000 (11 1000)
In other bases: hexadecimal 38, octal 70. The binary number has 6 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 56 ÷ 2 | 28 | 0 |
| 28 ÷ 2 | 14 | 0 |
| 14 ÷ 2 | 7 | 0 |
| 7 ÷ 2 | 3 | 1 |
| 3 ÷ 2 | 1 | 1 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 111000.
| Power of 2 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|
| Bit | 1 | 1 | 1 | 0 | 0 | 0 |
Add the powers of 2 where the bit is 1: 32 + 16 + 8 = 56.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 52 | 110100 | 34 | 64 |
| 53 | 110101 | 35 | 65 |
| 54 | 110110 | 36 | 66 |
| 55 | 110111 | 37 | 67 |
| 57 | 111001 | 39 | 71 |
| 58 | 111010 | 3A | 72 |
| 59 | 111011 | 3B | 73 |
| 60 | 111100 | 3C | 74 |