📈
Enter Data
Type

Use when your data represents the entire population. Divides by n.

Data values5 values

Separate values with commas, spaces or new lines.

Data Distribution (sorted)
4
7
13
16
21
📐
Formulas
Mean
x̄ = (Σxᵢ) / n
Population σ
σ = √(Σ(xᵢ−x̄)² / n)
Sample s
s = √(Σ(xᵢ−x̄)² / (n−1))
Variance
σ² = Σ(xᵢ−x̄)² / n
CV
CV = (σ / |x̄|) × 100%
Statistical Results
📊
Std Dev (σ)
6.1123
📐
Variance (σ²)
37.36
Mean (x̄)
12.2
🔢
Count (n)
5
⬇️
Minimum
4
⬆️
Maximum
21
↔️
Range
17
📉
Coeff. of Variation
50.1007%
Sum of squared deviations: 186.8
Formula: σ = √(Σ(xᵢ−x̄)² / n)

Six Sigma: The Manufacturing Goal That Changed How Industry Thinks About Spread

In the 1980s, Motorola developed a quality standard based entirely on standard deviation: aim for a process where the nearest specification limit is at least six standard deviations (6σ) from the process mean. At that distance, even accounting for process drift over time, the defect rate is under 3.4 per million opportunities. For context, 3σ quality — which sounds close — produces about 66,800 defects per million. The gap between three sigma and six sigma is not twice as good; it is nearly 20,000 times better. This is what standard deviation actually measures: not just spread, but the predictability of a process under real-world conditions.

This free standard deviation calculator handles both population (σ) and sample (s) formulas, shows variance, coefficient of variation, and visualises your data distribution with colour-coded bars distinguishing values above and below the mean. Enter numbers separated by commas, spaces or new lines — results update instantly in your browser.

The Sharpe Ratio — How Investors Use Standard Deviation Every Day

Two mutual funds both returned 12% last year. Fund A had a standard deviation of returns of 4%. Fund B had a standard deviation of 18%. They look equal on return — but Fund B swung violently to achieve the same result, meaning investors had to stomach months of heavy losses along the way. The Sharpe ratio — (return − risk-free rate) / standard deviation — formalises exactly this comparison. A higher Sharpe ratio means more return per unit of risk absorbed. Standard deviation is not just a measure of spread here; it is the denominator of the single most widely used risk-adjusted performance metric in finance.

The Coefficient of Variation (CV) shown in this calculator is a related concept: CV = (σ / |mean|) × 100%. It expresses standard deviation as a percentage of the mean, making it possible to compare variability across datasets with different scales. A manufacturing process making parts of 10mm with CV = 2% is far more consistent than one making 100mm parts with CV = 5%.

Population vs Sample — Why Dividing by n−1 Is Not a Mistake

When you have data for every member of a group — all students in a class, every item produced in a batch — you compute population standard deviation by dividing by n. But when your data is a sample drawn from a larger group, dividing by n gives a biased estimate that consistently underestimates the true population spread. Dividing by n−1 instead corrects this bias — this is called Bessel's correction.

The intuition: when you calculate the sample mean and then measure deviations from it, you are using a mean that was itself computed from the same data — it has already "used up" one degree of freedom. Dividing by n−1 accounts for this. The difference matters most for small samples (n < 30); for large datasets it is negligible. This calculator lets you switch between σ and s with one click so you can see both values and choose the right one for your context. Use alongside the Mean, Median & Mode Calculator for complete descriptive statistics. All computation runs in your browser — no data is sent anywhere.

Verified by ToollyX Team · Last updated June 2026

Frequently Asked Questions