Variance Calculator
Find the sample and population variance of a data set, plus the mean, the sum of squares and the standard deviation.
These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.
How it works
- Enter your values in the boxes. Where a box has a unit beside it, check the unit before you read the answer.
- The answer updates as you type, so there is no button to press.
- Use Copy results to keep the answer. Check the formula and its limits below if the result will go into a report or an experiment.
The formula
Sample variance = sum (x - mean)^2 / (n - 1)
Frequently asked questions
Why divide by n - 1?
It corrects the bias that comes from estimating the mean from the same sample. It is called Bessel's correction.
Can variance be negative?
No. It is a sum of squares, so it is zero or positive.
Is what I enter sent anywhere?
No. The calculation is done in your browser, so your numbers are not sent to a server or saved.
Related tools
Standard Deviation Calculator
Get the sample and population standard deviation of a list of numbers, with the mean, variance and standard error.
Mean, Median and Mode Calculator
Paste a list of numbers and get the mean, median, mode, range, count, sum and the smallest and largest values.
Probability Calculator
Find the chance of one event, of A and B, of A or B, and of neither, from the probability of each.