What standard deviation tells you
Standard deviation measures how spread out values are around their mean. A small standard deviation means the values sit close to the average; a large one means they are scattered. Because it is in the same units as your data, it is the easiest measure of spread to explain: "test scores averaged 78 with a standard deviation of 9 points."
The formulas
Population: σ = √[ Σ(x − μ)² ÷ N ]
Both formulas do the same four things: find the mean, measure each value's distance from it, square those distances so negatives do not cancel positives, then average and take the square root. The only difference is the divisor.
Worked example
Data: 2, 4, 4, 4, 5, 5, 7, 9. The mean is 5. The squared distances are 9, 1, 1, 1, 0, 0, 4, 16, which add up to 32.
- Population: σ = √(32 ÷ 8) = √4 = 2
- Sample: s = √(32 ÷ 7) = √4.5714 = 2.1381
Why the sample formula divides by n − 1
A sample's own mean is always closer to the sample values than the true population mean is, so the squared distances come out a little too small. Dividing by n − 1 instead of n (Bessel's correction) corrects that bias. With large samples the two answers are almost identical; with small samples the difference matters.
Common mistakes
- Forgetting the square root and reporting the variance as the standard deviation.
- Using the population formula for sample data. Your calculator or Excel will disagree with your answer: STDEV.S is the sample version and STDEV.P is the population version.
- Rounding the mean too early. Keep full precision until the final answer; this calculator does that for you.
Formulas follow the NIST/SEMATECH e-Handbook of Statistical Methods: measures of scale.
Frequently asked questions
What is a good standard deviation?
There is no universal good value. It only makes sense next to the mean and the context. Compare it with the mean (the coefficient of variation does this) or with the standard deviation of similar data.
Can standard deviation be negative?
No. It is the square root of an average of squared numbers, so it is always zero or positive. It is zero only when every value is identical.
Which Excel function matches this calculator?
STDEV.S matches the sample result and STDEV.P matches the population result. On a TI-84, Sx is the sample value and σx is the population value.