47 in binary = 101111 (10 1111)
In other bases: hexadecimal 2F, octal 57. The binary number has 6 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 47 ÷ 2 | 23 | 1 |
| 23 ÷ 2 | 11 | 1 |
| 11 ÷ 2 | 5 | 1 |
| 5 ÷ 2 | 2 | 1 |
| 2 ÷ 2 | 1 | 0 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 101111.
| Power of 2 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|
| Bit | 1 | 0 | 1 | 1 | 1 | 1 |
Add the powers of 2 where the bit is 1: 32 + 8 + 4 + 2 + 1 = 47.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 43 | 101011 | 2B | 53 |
| 44 | 101100 | 2C | 54 |
| 45 | 101101 | 2D | 55 |
| 46 | 101110 | 2E | 56 |
| 48 | 110000 | 30 | 60 |
| 49 | 110001 | 31 | 61 |
| 50 | 110010 | 32 | 62 |
| 51 | 110011 | 33 | 63 |