What Standard Deviation Actually Tells You
Two classes can both average 80 on a math quiz and still look completely different. In Class A, every student scores between 77 and 83. In Class B, half the class scores 60 and the other half scores 100. The average alone hides that gap.
Standard deviation measures how tightly or widely numbers cluster around the average. A small standard deviation means values stay close to the mean; a large standard deviation means values are spread out. Because standard deviation takes the square root of the variance, it is expressed in the exact same units as your original data (points, dollars, grams, or seconds).
Standard Deviation Formulas (Sample vs. Population)
Sample Variance (s²): s² = Σ (xᵢ − x̄)² ÷ (N − 1)
Sample SD (s): s = √[ Σ (xᵢ − x̄)² ÷ (N − 1) ]
Population Variance (σ²): σ² = Σ (xᵢ − μ)² ÷ N
Population SD (σ): σ = √[ Σ (xᵢ − μ)² ÷ N ]
Standard Error (SEM): SEM = s ÷ √N
Which mode should you choose? Use Sample (N − 1) when your numbers are a subset drawn from a larger group (such as 30 survey replies or 8 lab trials). Dividing by N − 1 (Bessel's correction) avoids underestimating spread in the wider population. Use Population (N) only when your list includes every single member of the full group you care about (such as all 5 students in a small study group).
2 Worked Examples
Example 1: Sample Standard Deviation (8 Measurements)
Find the sample standard deviation of [10, 12, 23, 23, 16, 23, 21, 16]:
- Find the sample mean (x̄):
(10 + 12 + 23 + 23 + 16 + 23 + 21 + 16) ÷ 8 = 144 ÷ 8 = 18. - Subtract 18 from each value and square it:
64 + 36 + 25 + 25 + 4 + 25 + 9 + 4 = 192(Sum of Squares). - Divide by N − 1 (8 − 1 = 7) for sample variance (s²):
192 ÷ 7 ≈ 27.428571. - Take the square root:
s = √27.428571 ≈ 5.2372.
Example 2: Population Standard Deviation (Full 5-Score Group)
Suppose an entire 5-person study group earned quiz scores of [72, 78, 80, 84, 86]. Because these 5 scores are the whole group, we use population mode (N = 5):
| Score (xᵢ) | Deviation (xᵢ − 80) | Squared Deviation (xᵢ − 80)² |
|---|---|---|
| 72 | −8 | 64 |
| 78 | −2 | 4 |
| 80 | 0 | 0 |
| 84 | +4 | 16 |
| 86 | +6 | 36 |
- Population mean (μ):
(72 + 78 + 80 + 84 + 86) ÷ 5 = 400 ÷ 5 = 80. - Sum of squares (SS):
64 + 4 + 0 + 16 + 36 = 120. - Population variance (σ²):
120 ÷ 5 = 24, so Population SD (σ):√24 ≈ 4.8990. (If treated as a sample instead,120 ÷ 4 = 30ands = √30 ≈ 5.4772.)
The 68-95-99.7% Empirical Rule & Spread Checks
When data follows a roughly symmetric normal distribution, standard deviation immediately tells you where most readings land:
| Distance from Mean | Share of Data Inside Band | Typical Interpretation |
|---|---|---|
| ± 1 SD | ~68.2% | Normal, everyday variation around the center |
| ± 2 SD | ~95.4% | Most observations; values outside ±2 SD are unusual |
| ± 3 SD | ~99.7% | Nearly all data; readings beyond ±3 SD are strong outliers |
Excel & Google Sheets Formulas
If your numbers sit in cells A1:A10, use the modern Excel and Google Sheets functions below (.S for sample, .P for population):
Population Standard Deviation: =STDEV.P(A1:A10)
Sample Variance: =VAR.S(A1:A10)
Population Variance: =VAR.P(A1:A10)
Read our Editorial & Mathematical Accuracy Policy to see how all Staticnexa statistics and arithmetic tools are verified.
Frequently Asked Questions
When should I use sample (N - 1) vs. population (N) standard deviation?
Use Sample (N - 1) when your numbers come from a subset of a larger group (like survey respondents, clinical trials, or quality-control samples). Use Population (N) only when your data includes every member of the entire group being studied.
What is the difference between variance and standard deviation?
Variance is the average squared deviation from the mean (measured in squared units, like dollars squared), while standard deviation is the square root of the variance, returning the spread back to the original units of your data.
Can standard deviation ever be negative?
No. Because squared deviations are always zero or positive and standard deviation takes the principal square root, standard deviation is always 0 or greater. It equals 0 only when every number in the list is identical.
Why does sample standard deviation divide by N - 1 instead of N?
Dividing by N - 1 (Bessel correction) adjusts for the fact that sample values cluster slightly closer to their own sample mean than to the true unknown population mean, making sample variance an unbiased estimator.
What is Standard Error of the Mean (SEM) shown in the notebook?
Standard Error of the Mean equals s divided by the square root of N. While standard deviation measures spread among individual data points, SEM estimates how tightly sample means cluster around the true population mean.
Mathematical References & Standards
- OpenStax Introductory Statistics (2e): Section 2.7: Measures of the Spread of the Data (Peer-reviewed open statistics textbook covering sample/population variance and standard deviation)
- Wikipedia: Standard Deviation: Sample, Population & Properties (Mathematical derivation, Bessel correction, and geometric interpretation)
- Wikipedia: 68-95-99.7 Rule (Empirical Rule) (Probability bands within 1, 2, and 3 standard deviations in normal distributions)
- NIST / SEMATECH: e-Handbook of Statistical Methods (Reference standards for location, scale, variance, and spread statistics)