Variance Calculator
Paste your numbers into one box and the calculator returns the mean and both the population and the sample variance, with a table showing every value, its distance from the mean and the square of that distance. It states which divisor each variance uses, and exact fractions keep rounding error out of the working.
How to use the variance calculator
Result
The working
Enter your numbers above to see the answer and every step.
-
Checked on
Method: standard mathematical definitions and textbook formulas, shown in full in the working.
- In force from Checked on Source: Bessel's correction, Standard deviation (worked example 2,4,4,4,5,5,7,9 gives mean 5 and population SD 2; Bessel N-1), Section 1.3.5.1 Measures of Location (opened 2026-10-11: mean, median with even N averaging the two middle values, mode not necessarily unique), Section 1.3.5.6 Measures of Scale (opened 2026-10-11: sample variance with divisor N-1, standard deviation as its square root)
Worked example
For the list 2, 4, 4, 4, 5, 5, 7, 9 the mean is 5. Dividing the sum of squared distances by the count gives a population variance of 4, while dividing by one less than the count gives a sample variance of 32/7. The sample figure stays an exact fraction in the working.
Sample or population variance
The steps of the worked example appear here.
Method and sources
Let SS be the sum of the squared distances from the mean and n the number of values. Population variance is SS / n and sample variance is SS / (n - 1). Use the population version when your list is the whole group and the sample version when it is a sample from a larger group; the smaller divisor corrects for a sample's tendency to understate spread. The sample version needs at least 2 values.
What it does not cover
- Same limits as the standard deviation page: no weighted data or grouped frequency tables yet, and a single value has no sample variance.
Rules and calculation checked on 11 Oct 2026.
Questions people ask
How to find variance on a calculator?
Paste your numbers into the box on this page and read both variances. In the example above the population variance is 4 and the sample variance is 32/7. On a handheld model, look for its statistics mode in the manual.
How to calculate variance on a calculator?
Find the mean, square each value's distance from it, add the squares and divide by n for a population or by n minus one for a sample. The page writes each of those lines for your data, so you can compare it with your own working.
How to find variance on a graphing calculator?
Graphing models usually report a standard deviation; squaring it gives the variance, but check whether it is the sample or population version first. This page shows both variances side by side with the divisor stated, so you can match your model's setting.
Related calculators
Get the sample standard deviation of a pasted list, with the mean, the sample variance as an exact fraction and the table of squared distances behind it.
Mean, median and modePaste a list of numbers to get the mean, median, every mode and the range, with the sorted list shown and the middle value marked to follow each step.
Linear regression calculatorPaste x and y values to get the best-fit line, slope, intercept, correlation r and r squared, and a prediction at any x, with the working table.
Results follow the published rules shown above and are for guidance. For formal use, check them against your university's, board's or school's own document.