Formulas
population σ = √( Σ(x − μ)² ÷ N )
sample s = √( Σ(x − x̄)² ÷ (n − 1) )
Use the population formula when the data is every member of the group you care about. Use the sample formula (Bessel’s correction, n − 1) when the data is a sample used to estimate a larger population — this is the usual choice for surveys and experiments.
Step by step
- Find the mean.
- Subtract the mean from each value and square the result.
- Add the squares.
- Divide by N (population) or n − 1 (sample) to get the variance.
- Take the square root.
What the number tells you
For roughly bell-shaped data, about 68% of values fall within one standard deviation of the mean, about 95% within two and about 99.7% within three (the empirical rule).