Variance Calculator

STATISTICS & PROBABILITY

Find the variance of a data set, both sample and population, with the standard deviation. Enter the numbers separated by commas.

Sample Variance
—
Spread measure.

Usage Tip

Variance is in squared units, which is why standard deviation (its square root, in the original units) is usually reported.

THE MATH
variance = average of the squared distances from the mean
Sample divides by n − 1; population divides by n
Variance measures spread as the average squared deviation from the mean.
It is the square of the standard deviation, and underlies much of statistics.
Enter two or more numbers separated by commas.
Sample variance (n − 1) is the default; population variance (n) is shown.
The square root of variance is the standard deviation.
Practical Notes

Variance measures how far the values in a data set typically sit from their mean. It is found by averaging the squared differences from the mean, and the standard deviation is its square root, which brings the result back to the original units of the data.

The sample and population versions differ in the divisor. The population variance divides by the number of values, while the sample variance divides by one less than that. Use the sample version when your data is only a part of a larger group, which is the usual case, and the population version when you have every value. A variance of zero means all the values are identical.

Spotted an error or have a suggestion for this calculator? Let us know →
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.