Last updated:
Standard Deviation Calculator
Calculate population or sample standard deviation, variance, coefficient of variation, and standard error with deviation table.
Standard Deviation Calculator
Free online standard deviation calculator — compute population and sample std dev, variance, CV, and more with step-by-step deviation tables and AI insights.
Enter values above to see results.
About This Calculator
Related Articles
📚 In-Depth Guide
This calculator is part of a comprehensive guide
Statistics & Data Analysis Guide 2026: Standard Deviation, Probability, Hypothesis Testing & More
Full GuideComprehensive 2026 statistics guide covering mean/median/mode, standard deviation, variance, normal distribution, z-scores, p-values, confidence intervals, correlation, regression, hypothesis testing, Bayes’ theorem, chi-square test, and data visualization — with free statistics calculators for students, researchers, and data professionals.
The 2026 Complete Percentage Guide: Every Formula, Trick & Real-World Application — From Basic to Advanced
Master every percentage calculation in 2026: the 4 core formulas, percentage increase/decrease, reverse percentage, CAGR, markup vs. margin, tip/tax/discount math, GPA percentages, statistics (percentile, z-score), and compounding — with 15 long-tail keyword examples and a free percentage calculator.
Geometry Guide: Area, Volume & Surface Area Formulas for Every Shape (2026)
Complete 2026 geometry reference covering 2D area formulas, 3D volume and surface area calculations, triangles, circles, coordinate geometry, and composite shapes. Includes free area calculator, volume calculator, surface area calculator, and right triangle solver. NIST-aligned, with 25+ shapes, 40+ formulas, and real-world applications for flooring, landscaping, construction, and engineering.
📉 Standard Deviation — Complete Guide
Measures of Spread
| Measure | Formula | Best For | Units |
|---|---|---|---|
| Range | Max − Min | Quick overview; simple | Same as data |
| Variance (σ²) | Σ(xᵢ−μ)²/N | Mathematical operations | Squared units |
| Std Deviation (σ) | √Variance | Interpretability in original units | Same as data |
| IQR | Q3 − Q1 | Robust to outliers | Same as data |
| MAD | Σ|xᵢ−median|/N | Robust to outliers | Same as data |
| CV | σ/μ × 100% | Comparing different units/scales | Unitless (%) |
Frequently Asked Questions
What is standard deviation?›
Standard deviation measures how spread out data is from the mean. A low SD means data points are clustered near the mean; a high SD means they are spread out. E.g., test scores of [75, 76, 74, 75] have low SD; [20, 50, 90, 100] have high SD.
What is the difference between population and sample standard deviation?›
Population SD (σ) divides by N (total count) — used when you have all data. Sample SD (s) divides by N−1 (Bessel's correction) — used when data is a sample from a larger population. Sample SD is larger, correcting for underestimation bias.
What is the 68-95-99.7 rule?›
In a normal (bell-curve) distribution: ~68% of data falls within 1 SD of the mean, ~95% within 2 SD, and ~99.7% within 3 SD. A score 2 SD above the mean is at approximately the 97.7th percentile.
What is a z-score?›
A z-score = (x − μ) / σ. It expresses a data point in units of standard deviation from the mean. A z-score of 2.0 means the value is 2 standard deviations above average. Used to compare values across different scales.
When should I use variance vs standard deviation?›
Variance (σ²) is used in mathematical operations and statistical tests (ANOVA, regression). Standard deviation is easier to interpret because it's in the same units as the original data. For communication, always report SD; for calculations, use variance.
What is the coefficient of variation (CV)?›
CV = (σ / μ) × 100%. It expresses spread as a percentage of the mean, enabling comparison across datasets with different units or scales. CV 10% is less variable than CV 30%. A dataset with mean 100 and SD 10 has CV 10%.
Related Calculators
Explore All Math Calculators
Reviewed by CalculatorApp.me Math Team
Standard Deviation Calculator — Complete Guide
Population & sample standard deviation, variance, z-scores, and the empirical rule.
σ
Population SD
s
Sample SD
68-95-99.7
Empirical Rule
z-score
Standardization
What Is Standard Deviation?
Standard deviation measures the amount of variation or dispersion in a dataset. A low standard deviation indicates data points cluster near the mean, while a high standard deviation indicates they spread over a wider range. It is the most widely used measure of statistical spread, reported in the same units as the original data.
There are two versions: population standard deviation (σ) divides by N when the data represents the entire population, and sample standard deviation (s) divides by N−1 (Bessel's correction) to provide an unbiased estimate from sample data. In practice, sample SD is far more common since we rarely have access to entire populations.
Standard deviation is the square root of variance. While variance has desirable mathematical properties (additive for independent variables), its units are squared — making it less intuitive. Standard deviation returns to original units: a dataset of test scores in points has a SD in points, not points².
Standard Deviation Formulas
σ = √[ Σᵢ(xᵢ − μ)² / N ]
Step-by-step:
1. Calculate mean: μ = Σxᵢ / N
2. Subtract mean from each value
3. Square each difference
4. Sum the squares
5. Divide by N
6. Take square root
Example: Data = {2, 4, 4, 4, 5, 5, 7, 9}
μ = (2+4+4+4+5+5+7+9)/8 = 40/8 = 5
Differences: -3,-1,-1,-1,0,0,2,4
Squares: 9,1,1,1,0,0,4,16 → sum=32
σ² = 32/8 = 4
σ = √4 = 2Use σ only when you have data for the ENTIRE population — all test scores, all factory outputs, etc. This is rare in practice.
s = √[ Σᵢ(xᵢ − x̄)² / (n − 1) ] Bessel's Correction: divide by (n−1) • Compensates for using x̄ instead of μ • Makes s² an unbiased estimator of σ² • Note: s itself is slightly biased Example: Same data, but as sample x̄ = 5 (same) Sum of squares = 32 (same) s² = 32/(8−1) = 32/7 = 4.571 s = √4.571 = 2.138 As n → ∞, s → σ n=10: n−1=9 (10% correction) n=100: n−1=99 (1% correction) n=1000: negligible difference
Almost always use sample SD in practice. Dividing by n−1 corrects the bias from estimating the mean from the same sample.
Variance:
σ² = Σ(xᵢ − μ)² / N (population)
s² = Σ(xᵢ − x̄)² / (n−1) (sample)
Variance properties:
Var(X+Y) = Var(X) + Var(Y)
(if X,Y independent)
Var(cX) = c² × Var(X)
Var(X+c) = Var(X)
Coefficient of Variation (CV):
CV = (s / x̄) × 100%
Example:
Test A: mean=80, SD=10 → CV=12.5%
Test B: mean=50, SD=10 → CV=20%
Same SD, but B is more variable
relative to its mean.CV allows comparing variability between datasets with different units or scales. A stock with CV=30% is more volatile than one with CV=10% regardless of price.
z = (x − μ) / σ (population) z = (x − x̄) / s (sample) Interpretation: z = 0: at the mean z = 1: 1 SD above mean z = −2: 2 SD below mean Example: SAT score = 1350 Mean (μ) = 1060, SD (σ) = 195 z = (1350 − 1060) / 195 = 1.49 → 93.2 percentile Standardization: Converts any normal distribution to N(0,1) — standard normal Enables comparison across scales Outlier detection: |z| > 2: unusual (5% chance) |z| > 3: rare (0.3% chance)
Z-scores transform raw data into a 'how many SDs from the mean?' scale, enabling comparison between SAT, GPA, height, weight — any normally distributed variable.
Empirical Rule (68-95-99.7)
| Range | % of Data | Probability Outside | Description | Example (μ=100, σ=15) |
|---|---|---|---|---|
| μ ± 1σ | 68.27% | 31.73% | Majority of data | 85–115 |
| μ ± 2σ | 95.45% | 4.55% | Nearly all data | 70–130 |
| μ ± 3σ | 99.73% | 0.27% | Virtually all data | 55–145 |
| μ ± 4σ | 99.9937% | 0.0063% | Extreme outliers | 40–160 |
| μ ± 5σ | 99.99994% | 0.00006% | One in 1.7 million | 25–175 |
| μ ± 6σ | 99.9999998% | 0.0000002% | Six Sigma quality | 10–190 |
Interpreting Standard Deviation
| Context | Mean | SD | CV | Interpretation |
|---|---|---|---|---|
| IQ scores | 100 | 15 | 15% | 68% of people score 85–115 |
| SAT scores | 1060 | 195 | 18.4% | Score of 1255 = +1 SD = 84th %ile |
| Adult male height (US) | 5'9" | 2.8" | 4.0% | Low CV → heights cluster tightly |
| S&P 500 annual return | ~10% | ~16% | 160% | High CV → volatile investment |
| Manufacturing (Six Sigma) | target | process σ | <0.001% | 3.4 defects per million |
| Body temperature | 98.6°F | 0.7°F | 0.7% | Very tight distribution |
History of Standard Deviation
De Moivre — The Normal Curve
Abraham de Moivre derived the normal (bell) curve as an approximation to the binomial distribution. He showed that deviations from the mean follow a predictable pattern — the precursor to standard deviation.
Gauss — Least Squares & Error Theory
Carl Friedrich Gauss formalized the method of least squares and the normal distribution of errors — demonstrating that measurement errors cluster around the mean with a characteristic spread. The Gaussian distribution bears his name.
Pearson Coins 'Standard Deviation'
Karl Pearson first used the term 'standard deviation' in a lecture, replacing the older 'mean error' and 'probable error.' He chose 'σ' as the symbol. This standardized the terminology still used worldwide.
Gosset — The t-Distribution
William Sealy Gosset (pen name 'Student') developed the t-distribution for small samples, showing that sample SD with Bessel's correction follows a different distribution than population SD. His work at Guinness Brewery birthed modern small-sample statistics.
Fisher — Degrees of Freedom
R.A. Fisher rigorously proved why we divide by n−1 (Bessel's correction) using the concept of degrees of freedom — the sample mean 'uses up' one degree of freedom, leaving n−1 independent deviations.
Motorola — Six Sigma
Bill Smith at Motorola developed Six Sigma — using standard deviation as a quality metric. Achieving 6σ quality means only 3.4 defects per million opportunities. This framework was adopted by GE, Toyota, and hundreds of companies worldwide.
Key Research & Data
Pearson (1893) — Philosophical Transactions
Standard Deviation Introduced
Karl Pearson introduced the term and symbol σ, establishing standard deviation as the primary measure of statistical dispersion. His framework replaced the less precise 'probable error' and remains the foundation of descriptive statistics.
Gosset/'Student' (1908) — Biometrika
The t-Test for Small Samples
Published under the pseudonym 'Student' (Guinness wouldn't allow publication), this paper showed that sample statistics follow the t-distribution, not the normal distribution, for small samples. This was revolutionary for experimental science.
Taleb — The Black Swan (2007)
Fat Tails and SD Limitations
Nassim Taleb argued that standard deviation is misleading for fat-tailed distributions (finance, natural disasters). In these domains, extreme events occur far more frequently than the normal distribution predicts, making SD a potentially dangerous metric.
Motorola/GE — Six Sigma Program
SD as Quality Control Metric
Six Sigma defines process quality as the number of standard deviations between the process mean and the nearest spec limit. At 6σ, only 3.4 defects per million. GE reported $2+ billion in savings from implementing Six Sigma methodologies.
Myths vs. Facts
Standard deviation and variance are interchangeable.
Variance (σ²) is in squared units — if data is in meters, variance is in m². Standard deviation (σ) is in the original units. They contain the same information but SD is interpretable. Variance is preferred in proofs and formulas because it's additive for independent variables.
A large standard deviation means the data is 'bad' or unreliable.
SD describes natural variation, not data quality. Human height has low SD (people are similar heights); income has high SD (enormous range). Neither is 'bad.' High SD simply means more spread. Context determines whether variation is problematic.
The empirical rule (68-95-99.7) applies to all data.
The 68-95-99.7 rule applies ONLY to normally distributed data. For skewed, bimodal, or heavy-tailed distributions, these percentages can be very different. Chebyshev's inequality provides weaker but universal bounds: at least 75% within ±2 SD for ANY distribution.
You always divide by n−1 for standard deviation.
Divide by N for population SD (when you have the entire population). Divide by n−1 for sample SD (when estimating from a sample, which is the usual case). Using the wrong denominator introduces systematic bias.
Frequently Asked Questions
When should I use population vs. sample standard deviation?▼
What is Bessel's correction and why does it matter?▼
How do I interpret the coefficient of variation?▼
Can standard deviation be negative?▼
What is the standard error of the mean?▼
How does SD relate to confidence intervals?▼
What is the MAD (Mean Absolute Deviation)?▼
How many data points do I need for reliable SD?▼
What does Six Sigma mean?▼
How do outliers affect standard deviation?▼
Is SD meaningful for non-normal distributions?▼
How do I compare standard deviations of different samples?▼
References
- Pearson — Contributions to the Mathematical Theory of Evolution (1893)
- Student/Gosset — The Probable Error of a Mean (1908)
- Fisher — Statistical Methods for Research Workers (1925)
- De Moivre — The Doctrine of Chances (1733)
- Taleb — The Black Swan: Impact of the Highly Improbable (2007)
- NIST/SEMATECH — e-Handbook of Statistical Methods
Related Calculators
Explore All Math Calculators
Precision math tools for students, teachers, and professionals — CalculatorApp.me.
Browse Math Calculators →