Standard Deviation: Spread of Data
σ (population) or s (sample) measures spread. σ = √(variance). Population: divide by N; sample: divide by n−1 (Bessel). Same units as data.
Did our AI summary help? Let us know.
σ = √(variance). Population: divide by N; sample: n−1. CV = σ/μ×100. Relative spread, unitless. 68–95–99.7 rule: ~68% within 1σ of mean.
Ready to run the numbers?
Why: Standard deviation quantifies spread. σ = √(variance). Sample uses n−1 for unbiased estimate. CV = σ/μ×100 for relative spread. Used in quality control, finance.
How: Population: σ = √[(1/N)Σ(x−μ)²]. Sample: s = √[(1/(n−1))Σ(x−x̄)²]. Same units as data. CV = σ/μ×100 (or s/x̄×100).
Run the calculator when you are ready.
Summary Metrics
Values Within σ Bands
📐 Step-by-Step Breakdown
For educational and informational purposes only. Verify with a qualified professional.
🧮 Fascinating Math Facts
σ = √(variance)
— Standard deviation
Sample: divide by n−1 (Bessel)
— Unbiased
📋 Key Takeaways
- • Population σ: divide by N. Sample s: divide by (n−1) — Bessel correction for unbiased estimate
- • σ = √(variance) — same units as data; variance has squared units
- • 68-95-99.7 rule: ~68% within μ±σ, ~95% within μ±2σ, ~99.7% within μ±3σ (normal distribution)
- • CV = (σ/μ)×100% — coefficient of variation for comparing spread across different means
- • σ = 0 iff all values are identical
💡 Did You Know?
📖 How Standard Deviation Works
Compute the mean μ, then for each value find (x_i − μ)², sum them, divide by N (population) or n−1 (sample), and take the square root. The result measures typical distance from the mean. Outliers inflate σ because squaring amplifies large deviations.
📝 Worked Example: 2, 4, 4, 4, 5, 5, 7, 9
Step 1: Mean μ = (2+4+4+4+5+5+7+9)/8 = 5
Step 2: Squared deviations: (2−5)²=9, (4−5)²=1, … Sum = 24
Step 3: Sample variance = 24/(8−1) = 3.43
Step 4: s = √3.43 ≈ 1.85
🚀 Real-World Applications
📊 Finance & Investing
Volatility of stock returns, risk assessment, portfolio analysis.
🔬 Scientific Research
Reporting uncertainty in measurements, error bars.
🏭 Quality Control
Process capability, Six Sigma, manufacturing consistency.
📈 Data Science
Feature scaling, outlier detection, model evaluation.
🎓 Education
Test score distributions, grading curves.
🌡️ Meteorology
Temperature variability, climate analysis.
⚠️ Common Mistakes to Avoid
- Using population when you have a sample: Use n−1 for sample to get unbiased estimate.
- Confusing variance and std dev: Variance = σ²; std dev = √variance. Report in same units as data.
- Ignoring outliers: σ is sensitive to outliers; consider robust measures like MAD.
- Comparing σ across different scales: Use CV when means differ greatly.
🎯 Expert Tips
💡 Population vs Sample
Use population when you have all data; sample when it is a subset. Bessel correction (n−1) corrects bias.
💡 Coefficient of Variation
CV = (σ/μ)×100%. Compare spread across datasets with different units or scales.
💡 Z-Score
z = (x − μ) / σ. Tells how many standard deviations x is from the mean.
💡 Outliers
Squaring amplifies outliers. Consider MAD or IQR for robust spread.
📊 Reference Table
| Type | Divisor | Symbol |
|---|---|---|
| Population | N | σ |
| Sample | n − 1 | s |
❓ FAQ
Population vs sample?
Population: entire group (divide by N). Sample: subset (divide by n−1 for unbiased estimate of population σ).
What is coefficient of variation?
CV = (σ/μ)×100%. Relative spread; compare across different means or units.
Why n−1 for sample?
Bessel correction: corrects bias when estimating population σ from a sample. Degrees of freedom = n−1.
Relationship to variance?
σ = √(variance). Variance has squared units; σ has same units as data.
When σ = 0?
All values are identical. No spread.
What is the 68-95-99.7 rule?
For normal distributions: ~68% within μ±σ, ~95% within μ±2σ, ~99.7% within μ±3σ.
📌 Summary
Standard deviation measures the typical spread of data around the mean. Population σ divides by N; sample s divides by n−1 (Bessel correction). The 68-95-99.7 rule describes normal distributions. Use CV to compare spread across different scales. Outliers inflate σ; consider robust alternatives for skewed data.
⚠️ Disclaimer: For very large datasets, consider computational formulas. This calculator uses the definitional formula. Results are for educational purposes.
Related Calculators
Variance Calculator
Calculate variance (σ² or s²) from a data set. Population or sample. Mean, standard deviation. Relation to σ. Step-by-step. Comma or space separated values....
MathematicsRoot Mean Square Calculator
Calculate RMS = sqrt(mean of x²). AC voltage equivalent, compare with arithmetic mean. Step-by-step for statistics and signal processing.
MathematicsArithmetic Mean Calculator
Calculate the arithmetic mean (average) of a set of numbers. Simple mode for basic mean; advanced mode adds weighted mean and trimmed mean. Step-by-step...
MathematicsAbsolute Change Calculator
Calculate absolute and relative change between two values. Get direction (increase/decrease), percentage impact, and step-by-step solutions. Simple mode for...
MathematicsAverage Calculator
Calculate mean, median, mode, and range of a set of numbers. Advanced: weighted average, geometric mean. Step-by-step solutions, bar and doughnut charts....
MathematicsGeometric Mean Calculator
Calculate geometric mean GM = (x1×x2×...×xn)^(1/n) of positive numbers. Compare with arithmetic and harmonic mean. Essential for investment returns, CAGR...
Mathematics