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