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