Standard
deviation
It measures how far a set of numbers sits from its mean, in the same units as the data. Small means the list is tight. Large means it is spread out.
A small standard deviation
Same mean, 10. The tight sample stays near it. The wide sample does not. Both lists have five scores.
Tight sample
1.58
s = √2.5
Wide sample
6.32
s = √40
A standard deviation of zero would mean every score equals the mean. The green and coral marks are the distances from the mean. OpenStax Introductory Statistics 2e, §2.7.
How to find the standard deviation
Distances are measured from the mean. On 8, 9, 10, 11, 12 those distances are −2, −1, 0, 1, and 2. They sum to 0, so the spread would vanish. Squaring keeps it. The average of the squares is the variance. The standard deviation is the square root, back in points.
s = √ Σ (x − x̄)² n − 1
10 sum of squares ÷ 4 n − 1 2.5 variance √2.5 ≈ 1.58 s
Sample and population
Same ten squared points. The sample divides by n − 1. The population divides by N, because those five scores are everyone. The sample variance estimates the population variance, and n − 1 keeps that estimate from running small.
Sample · s
10 4
s² = 2.5
s = √2.5 ≈ 1.58
Population · σ
10 5
σ² = 2
σ = √2 ≈ 1.41
σ = √ Σ (x − μ)² N
The empirical rule
Only for a bell-shaped, symmetric list. About 68% of the values sit within one standard deviation of the mean, about 95% within two, and more than 99% within three. On a normal curve that third share is about 99.7%.
- 68% within 1σ
- 95% within 2σ
- 99.7% within 3σ, normal curve
Any shape, not only a bell: at least 75% of the values sit within two standard deviations, and at least 89% within three. That is Chebyshev’s rule. OpenStax §2.7 · Penn State STAT 800.
How far from the mean
A value sits at mean + (how many standard deviations) × (the standard deviation). At supermarket A the mean wait is 5 minutes and the standard deviation is 2. Rosa’s 7 minutes is one standard deviation above. Binh’s 1 minute is two below. Two is the usual borderline for far.
7 = 5 + (1)(2). And 1 = 5 + (−2)(2). The shape of the data changes how rare “two standard deviations” really is. OpenStax §2.7.
The next list
The standard deviation on a new set of scores is the same six moves: mean, distance, square, sum, divide, root. A photo of the list can be walked one line at a time in Stephen AI.
Questions students actually ask.
What is the formula for standard deviation?
The sample standard deviation is s = √[Σ(x − x̄)² / (n − 1)]. The population standard deviation is σ = √[Σ(x − μ)² / N]. The fraction inside is the variance. The square root returns the result to the units of the data. OpenStax Introductory Statistics 2e, section 2.7.
How do you calculate the standard deviation of a data set?
Find the mean. Subtract it from each value. Square those differences, because the raw differences sum to zero. Add the squares. Divide by n − 1 for a sample, or by N if the list is the whole population. Take the square root. For 8, 9, 10, 11, and 12, the mean is 10 and the squared distances sum to 10. The sample standard deviation is √(10/4) = √2.5 ≈ 1.58. The population standard deviation is √(10/5) = √2 ≈ 1.41.
What is the variance formula?
Sample variance is s² = Σ(x − x̄)² / (n − 1). Population variance is σ² = Σ(x − μ)² / N. The standard deviation is the square root of the variance. Variance is in squared units. The standard deviation is in the original units.
What does a small standard deviation mean?
The values sit close to the mean. A standard deviation of zero means every value equals the mean. A larger one means the values are more spread out. Two lists can share a mean and still have very different standard deviations. OpenStax Introductory Statistics 2e, section 2.7.
Why divide by n − 1 instead of n?
Use n − 1 when the numbers are a sample, and N when they are the entire population. The sample variance estimates the population variance. Dividing by n − 1 keeps that estimate from running small. OpenStax Introductory Statistics 2e, section 2.7.
Does the empirical rule apply to every data set?
No. For bell-shaped, symmetric data, about 68% of the values sit within one standard deviation of the mean, about 95% within two, and more than 99% within three. On a normal curve the third figure is about 99.7%. For any shape, Chebyshev’s rule is the one that still holds: at least 75% within two standard deviations, and at least 89% within three. OpenStax Introductory Statistics 2e, section 2.7, and Penn State STAT 800.
Square the distances. Then the root.
That is the whole calculation. Stephen AI walks the next list with you, one deviation at a time.