542 in binary
542 in binary is 1000011110. In hexadecimal it is 21E and in octal 1036.
542 in binary
Pick any whole number from 1 to 10,000.
How to work it out
- 1
Divide 542 by 2 again and again, writing down the remainder each time, until you reach 0.
- 2
Read the remainders from the bottom up: 1000011110.
- 3
Check by adding powers of 2: 512 + 16 + 8 + 4 + 2 = 542.
LaTeX source of the formulas on this page
\[ 542_{10} = 1000011110_{2} \]Dividing 542 by 2
| Number | Division | Remainder |
|---|---|---|
| 542 | 542 ÷ 2 = 271 | 0 |
| 271 | 271 ÷ 2 = 135 | 1 |
| 135 | 135 ÷ 2 = 67 | 1 |
| 67 | 67 ÷ 2 = 33 | 1 |
| 33 | 33 ÷ 2 = 16 | 1 |
| 16 | 16 ÷ 2 = 8 | 0 |
| 8 | 8 ÷ 2 = 4 | 0 |
| 4 | 4 ÷ 2 = 2 | 0 |
| 2 | 2 ÷ 2 = 1 | 0 |
| 1 | 1 ÷ 2 = 0 | 1 |
Questions
What is 542 in binary?
1000011110.
What is 542 in hexadecimal?
21E.
What is 542 in octal?
1036.
How many bits does 542 need?
10 bits.