Standard deviation calculator
Standard deviation describes how far values typically sit from their mean.
Results
Enter your values to see the result.
About this tool
Enter a list of numbers, say whether the data set is a Whole population or a Sample, and this calculator returns the standard deviation, the variance, the mean and the count. Students use it in statistics homework and to compare consistency between two sets of results.
- How it is calculated
- σ = √( Σ(x − mean)² ÷ N ) for a population; s = √( Σ(x − mean)² ÷ (N − 1) ) for a sample
- Worked example
- With Numbers (separated by commas or spaces): 2,4,4,4,5,5,7,9; Data set is a: Whole population, the result is: Standard deviation: 2; Variance: 4; Mean: 5; Count: 8.
- Good to know
- At least two numbers are needed. A population divides the squared differences from the mean by N, while a sample divides by N − 1. The standard deviation is the square root of the variance.
Frequently asked questions
Should I choose Whole population or Sample?
Choose Whole population if your list contains every member of the group you care about. Choose Sample if the numbers are only a subset used to estimate a larger group, which makes the calculator divide by N − 1.
Why is the sample result larger than the population result?
Dividing by N − 1 instead of N gives a slightly larger variance, which compensates for a sample tending to understate the spread of the full group. The gap shrinks as the list gets longer.
How do I read the standard deviation?
It is in the same units as your data. A small value means numbers cluster near the Mean, while a large one means they are scattered. Compare it with the Mean to judge how big the spread is.