Overview
Standard deviation measures how spread out values are around the mean, in the same units as the data. This gives both the sample and population versions.
Enter your values. Use the sample SD when your values are a sample of something larger, which is most of the time.
Worked examples
| Inputs | Result |
|---|---|
| Your numbers12, 16, 14, 21, 19 | Sample standard deviation: 3.65Population SD: 3.26Variance: 13.3 |
Show 2 more examples
| Your numbers2, 4, 4, 4, 6 | Sample standard deviation: 1.41Population SD: 1.26Variance: 2 |
| Your numbers10, 20, 30, 40, 50 | Sample standard deviation: 15.81Population SD: 14.14Variance: 250 |
How it works
Find the mean, square each value's distance from it, average them (÷ n − 1 for a sample, ÷ n for a population), and take the square root. In normal data, about 68% of values fall within 1 SD of the mean.
The formula
Practical tips
- For 12, 16, 14, 21 and 19, the sample SD is 3.65 and the population SD is 3.26.
- In Excel, STDEV.S gives the sample SD and STDEV.P the population SD.
- Five equal values have an SD of 0.
Frequently asked questions
Sample or population?
Sample, unless your data include every member of the group.
What does a large SD mean?
Values are widely spread from the mean.
Is SD affected by outliers?
Yes, strongly, because distances are squared.