Question: how to calculate the variance of two numbers?
Answer: Find the difference each number is away from the mean, and then square that difference. For example, subtract 38 from 21 and then square the result. ... 
Add together the two values you calculated in the previous step. For the example, add 289 and 289 to get a result of 578.
This is the variance between the two numbers. Tip.