Sample and population
Both standard deviations and both variances are shown side by side, so you never have to guess which formula a task wants.
Sample and population standard deviation, variance and mean for a data set.
Loading tool…
The tool is loading its code on your device. This happens once and is cached for later visits.
Processed entirely on your device
Overview
Enter a data set to get the sample and population standard deviation, both variances, the mean and the sum of squared deviations, with every step shown.
Standard deviation is the standard way to describe how much a set of numbers varies. Enter your data and this calculator returns the sample and population standard deviation, both variances and the mean, with the intermediate sums shown.
mean x̄ = Σx ÷ n
variance s² = Σ(x − x̄)² ÷ (n − 1) [sample]
σ² = Σ(x − x̄)² ÷ n [population]
std dev s = √s² , σ = √σ²The only difference between the two versions is the divisor: n − 1 for a sample, n for a whole population.
For roughly bell-shaped data, about 68% of values fall within one standard deviation of the mean and 95% within two. That makes it a quick way to judge whether a value is typical or an outlier.
Your data set is processed entirely in the browser and is never uploaded.
Step by step
Enter at least two numbers, separated by commas, spaces or new lines.
Read the sample and population standard deviation and both variances.
Check the mean, sum of squared deviations and the divisors in the breakdown.
Why use it
What this tool is good for, and what it deliberately does not try to do.
Both standard deviations and both variances are shown side by side, so you never have to guess which formula a task wants.
The mean, the sum of squared deviations and the n and n − 1 divisors are all listed, so the result is easy to verify by hand.
A plain note tells you when to use Bessel's correction, which is the part most people get wrong.
Questions
Short, honest answers about quality, limits and privacy.