Standard Deviation Calculator
Enter your data and choose sample or population to find how spread out it is.
A sample divides by n − 1; a whole population divides by n.
Numbers separated by commas, spaces or new lines
Result
You entered
Variance
Mean
Exact
Population standard deviation
Show the work
Mean (arithmetic average)
The mean shares the total out equally: add every value, then divide by how many there are. Here the values add up to and .
Deviations from the mean
Subtract the mean from every value to see how far each one sits from it. A value below the mean gives a negative deviation.
Sum of squared deviations
Squaring each deviation makes every term positive, so values above and below the mean cannot cancel. Adding the squares gives .
Sample variance (divide by n - 1)
A sample is divided by rather than , because the mean was estimated from the same data and that makes the spread look slightly smaller. Here .
Standard deviation (square root of the variance)
The variance is in squared units, so take its square root to return to the units of the data. This gives the sample standard deviation.
Result
So the sample standard deviation is .
Worked examples
Mean (arithmetic average), Deviations from the mean
Mean (arithmetic average), Deviations from the mean
Mean (arithmetic average), Deviations from the mean
Mean (arithmetic average), Deviations from the mean
Mean (arithmetic average), Deviations from the mean
Mean (arithmetic average), Deviations from the mean