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