## The Statistic That Tells You How Spread Out Your Data Is
The average (mean) tells you the center of your data. Standard deviation tells you how far the data typically spreads from that center. Two datasets can have the exact same average but completely different standard deviations — and the standard deviation is often the more important number.
Our [standard deviation calculator](/category/math/standard-deviation-calculator) computes this instantly from any set of numbers. This guide explains what the result means and how to use it.
---
## The Formula
For a **population** (you have all the data):
**σ = √[ Σ(xᵢ − μ)² ÷ N ]**
For a **sample** (you have a subset of all possible data):
**s = √[ Σ(xᵢ − x̄)² ÷ (N − 1) ]**
Where:
- xᵢ = each individual value
- μ (or x̄) = mean of all values
- N = number of values
- Σ = sum of all
**Which to use:** If your data is the complete population (all test scores in one class, all products from one batch), use population (σ). If your data is a sample from a larger group (1,000 survey respondents representing all customers), use sample (s). When in doubt, use the sample formula — it's more conservative.
---
## Worked Example: Test Scores
Scores: 72, 85, 90, 68, 95, 78, 83
**Step 1 — Find the mean:**
> (72 + 85 + 90 + 68 + 95 + 78 + 83) ÷ 7 = 571 ÷ 7 = **81.57**
**Step 2 — Find each deviation from the mean:**
| Score | Deviation (x − mean) | Deviation² |
|-------|----------------------|-----------|
| 72 | −9.57 | 91.58 |
| 85 | +3.43 | 11.76 |
| 90 | +8.43 | 71.06 |
| 68 | −13.57 | 184.14 |
| 95 | +13.43 | 180.36 |
| 78 | −3.57 | 12.74 |
| 83 | +1.43 | 2.04 |
**Step 3 — Sum of squared deviations:**
> 91.58 + 11.76 + 71.06 + 184.14 + 180.36 + 12.74 + 2.04 = **553.68**
**Step 4 — Divide by N−1 (sample):**
> 553.68 ÷ 6 = **92.28**
**Step 5 — Square root:**
> √92.28 = **9.61**
**Result: Mean = 81.57, Standard deviation = 9.61**
Interpretation: scores are typically within about 9.6 points of the average.
[Verify this with the standard deviation calculator →](/category/math/standard-deviation-calculator)
---
## What the Number Actually Means
### The 68-95-99.7 Rule (Normal Distribution)
For data that follows a normal (bell curve) distribution:
| Range | % of data within range |
|-------|------------------------|
| Mean ± 1 SD | ~68% of values |
| Mean ± 2 SD | ~95% of values |
| Mean ± 3 SD | ~99.7% of values |
For our test score example (mean 81.57, SD 9.61):
- 68% of scores fall between **71.96 and 91.18**
- 95% fall between **62.35 and 100.79** (capped at 100)
### Comparing Two Datasets with the Same Mean
Class A scores: 78, 80, 82, 79, 81 → Mean = 80, SD = **1.58**
Class B scores: 60, 70, 80, 90, 100 → Mean = 80, SD = **15.81**
Same average. Class A is tightly clustered — consistent performance. Class B is spread out — high variation, some students struggling, some excelling. The standard deviation reveals what the mean hides.
---
## Standard Deviation in Context
### Finance: Volatility
In investing, standard deviation measures volatility — how much an asset's return varies from its average return.
- A stock with 8% average annual return and 5% SD is relatively stable
- A stock with 8% average return and 25% SD is highly volatile
Higher SD = higher risk. The Sharpe ratio divides return by standard deviation to measure return per unit of risk.
### Quality Control: Process Consistency
A factory produces bolts with a target diameter of 10mm. Measuring 100 bolts:
- Mean: 10.02mm (slightly off target)
- SD: 0.03mm (very consistent)
The Six Sigma framework aims for processes where the tolerance range is at least 6 standard deviations wide — meaning defects occur at fewer than 3.4 per million parts.
### Medicine: Reference Ranges
Blood test reference ranges are often defined as mean ± 2 SD for a healthy population. A result outside this range is flagged — not because it's definitely abnormal, but because it falls in the outer 5% of the healthy distribution.
---
## Variance vs. Standard Deviation
Variance is the average of squared deviations (Step 4 above, before taking the square root). Standard deviation is the square root of variance.
| Measure | Formula | Units |
|---------|---------|-------|
| Variance | Σ(x−mean)² ÷ N | Original units squared |
| Standard Deviation | √Variance | Same as original units |
Standard deviation is preferred for interpretation because it's in the same units as the original data. Variance is used in calculations (ANOVA, regression) because its mathematical properties are easier to work with algebraically.
---
## Coefficient of Variation (CV): Comparing Different Scales
When comparing variability across datasets with different units or scales, use the coefficient of variation:
**CV = (Standard Deviation ÷ Mean) × 100%**
- Height of adults: mean 170cm, SD 10cm → CV = 5.9%
- Annual income: mean $60,000, SD $30,000 → CV = 50%
Income is far more variable relative to its mean than height is — a fact invisible if you just compare the raw standard deviations.
---
## Related Math and Finance Calculators
- [
Scientific Calculator](/category/math/scientific-calculator) — powers, roots, and all scientific functions
- [
Percentage Calculator](/category/math/percentage-calculator) — percentage change and ratios
- [
Compound Interest Calculator](/category/finance/compound-interest-calculator) — investment growth over time
- [
BMI Calculator](/category/health/bmi-calculator) — uses population distribution concepts
---
## Frequently Asked Questions
**What is a good standard deviation?**
There is no universal "good" — it depends entirely on context. A low SD means values cluster closely around the mean (high consistency). A high SD means high spread (high variability). What matters is whether the SD is appropriate for your use case.
**What is the difference between standard deviation and variance?**
Variance is the average squared deviation from the mean. Standard deviation is the square root of variance, putting it back in the original units. For interpretation, always use standard deviation. For calculations, variance is often more mathematically convenient.
**When do I use population vs. sample standard deviation?**
Use population (σ, divide by N) when you have data on every member of the group. Use sample (s, divide by N−1) when your data is a subset of a larger group. The N−1 adjustment (Bessel's correction) compensates for the tendency of samples to underestimate population variability.
**What does it mean if standard deviation is 0?**
Every value in your dataset is identical — there is no variation at all. Example: if every student scored exactly 80, the mean is 80 and the standard deviation is 0.