Variance Calculator
Find the variance of any data set. Paste or type your numbers to see the mean and both the population and sample variance, each with its matching standard deviation.
How to calculate variance
- Enter your numbers separated by commas, spaces or new lines.
- Decide whether your data is a full population or a sample from one.
- Read the matching variance and standard deviation from the results.
Examples
Population variance
2, 4, 4, 4, 5, 5, 7, 9
Mean = 5, population variance = 4, population SD = 2
Sample variance
2, 4, 4, 4, 5, 5, 7, 9
Sample variance = 4.5714, sample SD = 2.1381
Frequently asked questions
What is variance?
Variance measures how far a set of numbers spreads out from their mean. It is the average of the squared differences from the mean, so a larger variance means the values are more scattered. Its square root is the standard deviation.
What is the difference between population and sample variance?
Population variance divides the sum of squared differences by N, the count of values, and is used when your data covers the entire group. Sample variance divides by N minus 1, which corrects for the bias you get when estimating a larger population from a smaller sample.
Should I use the sample or population formula?
Use the population formula only when your data includes every member of the group you care about. In most real analysis you have a sample drawn from a bigger population, so the sample variance, dividing by N minus 1, is the right choice.
How does variance relate to standard deviation?
Standard deviation is the square root of the variance. Variance is in squared units, while the standard deviation is back in the original units of your data, which makes it easier to interpret. This calculator shows both.
Why do I need at least two values for the sample result?
Sample variance divides by N minus 1. With a single value that divisor is zero, so the result is undefined. Enter two or more numbers to compute the sample variance and its standard deviation.
Related tools
Standard Deviation Calculator
Calculate standard deviation and variance online. Paste a list of numbers to get the mean, count, and both sample and population results instantly.
Average Calculator
Find the mean, median, mode, range, sum, count, min and max of a list of numbers. Paste values separated by commas, spaces or new lines.
Interquartile Range Calculator
Calculate Q1, the median, Q3 and the IQR of your data, plus Tukey outlier fences. Spots outliers automatically. Free, private and runs in your browser.
Percentile Calculator
Find the value at any percentile and the percentile rank of a value in your data set. Uses linear interpolation, the spreadsheet standard. Free and private.
Annulus Area Calculator
Calculate the area of an annulus, the ring between two concentric circles, from its outer and inner radius. Returns both circumferences and width too. Free.
Area Calculator
Find the area of a circle, square, rectangle, triangle, trapezoid, parallelogram, ellipse, sector or rhombus. Free and runs in your browser.