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