Standard Deviation Calculator
Standard deviation, variance, mean, median and quartiles from any list.
Sample and population variance, with the working for each value.
Sample is the right choice unless your numbers are the entire group.
Commas, spaces, tabs or new lines.
| Value | Minus the mean | Squared |
|---|
| Statistic | Sample (n-1) | Population (n) |
|---|
Variance Calculator gives both conventions at once, because which one is correct depends on what your numbers are and getting it wrong is the commonest mistake in descriptive statistics. Sample variance divides the sum of squared deviations by n-1; population variance divides by n.
The n-1 is called Bessel's correction, and it exists because a sample's mean is itself estimated from the sample. That makes the deviations slightly too small on average, so dividing by n understates the spread of the population the sample came from. Dividing by n-1 corrects for it. Use the population figure only when your numbers really are every member of the group you care about.
The value-by-value table shows the whole calculation: each deviation from the mean and each squared deviation. Squaring is what makes variance work -- it stops positive and negative deviations cancelling -- and it is also why variance is in squared units, which is the reason the standard deviation is usually quoted instead.
The page shows its working, not just its answer. Where there is a formula it is printed with your own numbers substituted in, so you can check the result rather than take it on trust -- which is the difference between a calculator you can use for something that matters and one you cannot.
Everything runs inside your browser. What you type is never uploaded, never logged and never stored, and the calculator keeps working if your connection drops after the page has loaded.
The variance calculator is used by writers, developers, students, marketers and anyone else who needs the job done once without installing software. Common cases include:
Sample, unless your data is the whole group. Almost all real data is a sample, which is why VAR.S and the n-1 divisor are the usual defaults.
So that deviations above and below the mean do not cancel out. Squaring also gives larger deviations more weight, which is intentional.
The standard deviation is the square root of the variance. It is preferred for reporting because it is in the same units as the data.
If the variance calculator is not quite what you need, these other free tools solve closely related problems, and there are 13 more in statistics calculators.
Standard deviation, variance, mean, median and quartiles from any list.
Mean, median, mode, range and quartiles of a data set.
Z-score with percentile and tail probabilities.
Confidence intervals for a mean or a proportion.
Pearson correlation coefficient and r squared.
Checked and rebuilt on 2026-10-14. The method this calculator uses is described in the section above, and corrections go through the contact page.