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