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