Standard deviation formulas
Find the mean, subtract it from each value, square the results, add them up, divide by n − 1 (sample) or N (population), then take the square root.
Sample s = √(Σ(x − x̄)² ÷ (n − 1)) · Population σ = √(Σ(x − μ)² ÷ N)
What does standard deviation tell me?
It measures how spread out values are from the mean. In a normal distribution, about 68% of values fall within one standard deviation of the mean and 95% within two.
Frequently asked questions
Is this the same as STDEV in Excel?
Yes. The sample result matches Excel's STDEV.S (or STDEV) and the population result matches STDEV.P, so you can use it as a stdev calculator.
Sample or population?
Use sample unless your data includes every member of the group you care about.
Why divide by n − 1?
It corrects the bias that comes from estimating the mean from the same sample (Bessel's correction).
What is variance?
The square of the standard deviation.