Standard deviation measures how spread out numbers are around their mean. A small value means observations cluster relatively closely around that mean. A larger value means greater spread, when comparing data measured on the same scale.
It is expressed in the original units. If your data is in minutes, its standard deviation is also in minutes. Variance, the quantity calculated before taking the square root, is in squared units.
Same average, different consistency
Consider two hypothetical sets of test scores, both with a mean of 75:
| Group | Scores | Sample standard deviation |
|---|---|---|
| A | 73, 74, 75, 76, 77 | About 1.58 points |
| B | 55, 65, 75, 85, 95 | About 15.81 points |
The groups have the same average but very different variation. Standard deviation does not explain why scores differ; it makes that difference in spread visible.
Calculate standard deviation step by step
Use Group A. Its sum is 375, so its mean is 375 ÷ 5 = 75. Subtract the mean from each score, then square each difference.
| Score | Score minus 75 | Squared difference |
|---|---|---|
| 73 | −2 | 4 |
| 74 | −1 | 1 |
| 75 | 0 | 0 |
| 76 | 1 | 1 |
| 77 | 2 | 4 |
| Total | 0 | 10 |
For the population calculation, divide 10 by 5 to get variance 2. Then take its square root: √2 ≈ 1.4142.
For the sample calculation, divide 10 by 4 to get variance 2.5. Its square root is √2.5 ≈ 1.5811.
Which formula should you choose?
Population SD = √[sum of squared deviations ÷ n]
Sample SD = √[sum of squared deviations ÷ (n − 1)]
Use the population version when describing the complete group of interest. Use the sample version when the observations form a sample used to estimate variation in a larger population. The choice depends on your question, not just whether the dataset is large.
Under standard independent-sampling assumptions, dividing by n − 1 makes sample variance an unbiased estimator of population variance. Taking the square root does not make sample standard deviation itself exactly unbiased. The sample formula requires at least two observations.
Reproduce the calculation
Enter 73, 74, 75, 76, 77 in the Standard Deviation Calculator. Compare the population result, about 1.4142, with the sample result, about 1.5811. Then try Group B to see how spread changes while the mean stays at 75.
What does the 68–95–99.7 rule mean?
For a normal distribution, about 68% of values lie within one population standard deviation of the mean, 95% within two, and 99.7% within three. For example, a normal distribution with mean 75 and standard deviation 10 has roughly 95% of values between 55 and 95.
Do not apply these percentages automatically to skewed data, small samples, or a distribution with several peaks. Standard deviation alone does not establish normality.
When standard deviation needs context
Extreme observations can increase standard deviation substantially. Check the data and compare it with the interquartile range, which describes the middle half of the observations. A low standard deviation is not automatically good: delivery times can be consistently slow.
Read how outliers affect averages for handling unusual values. The NIST guide to measures of scale provides further background on measures of spread.
Try it yourself
Open the related calculator to explore your own example, or browse all calculators.