43 in binary = 101011 (10 1011)
In other bases: hexadecimal 2B, octal 53. The binary number has 6 bits.
Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.
| Division | Quotient | Remainder |
|---|---|---|
| 43 ÷ 2 | 21 | 1 |
| 21 ÷ 2 | 10 | 1 |
| 10 ÷ 2 | 5 | 0 |
| 5 ÷ 2 | 2 | 1 |
| 2 ÷ 2 | 1 | 0 |
| 1 ÷ 2 | 0 | 1 |
Remainders bottom to top: 101011.
| Power of 2 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|
| Bit | 1 | 0 | 1 | 0 | 1 | 1 |
Add the powers of 2 where the bit is 1: 32 + 8 + 2 + 1 = 43.
Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 39 | 100111 | 27 | 47 |
| 40 | 101000 | 28 | 50 |
| 41 | 101001 | 29 | 51 |
| 42 | 101010 | 2A | 52 |
| 44 | 101100 | 2C | 54 |
| 45 | 101101 | 2D | 55 |
| 46 | 101110 | 2E | 56 |
| 47 | 101111 | 2F | 57 |