Standard Deviation Calculator

Find the mean, variance and standard deviation of a data set.

Std deviation (population) 1.72
Variance 2.96
Mean 5.2

Formula: σ = √( Σ(xᵢ − mean)² ÷ n )

Step-by-step with your numbers:
1. ▶ Data: 4, 8, 6, 5, 3 (n = 5)
2.
3. ▶ Step 1 — Mean (μ): μ = ( 4 + 8 + 6 + 5 + 3 ) ÷ 5 = 5.2
4.
5. ▶ Step 2 — Deviations (xᵢ − μ):
6. x₁ − μ = 4 − 5.2 = -1.2
7. x₂ − μ = 8 − 5.2 = 2.8
8. x₃ − μ = 6 − 5.2 = 0.8
9. x₄ − μ = 5 − 5.2 = -0.2
10. x₅ − μ = 3 − 5.2 = -2.2
11.
12. ▶ Step 3 — Squared deviations (xᵢ − μ)²:
13. (x₁ − μ)² = (-1.2)² = 1.44
14. (x₂ − μ)² = (2.8)² = 7.84
15. (x₃ − μ)² = (0.8)² = 0.64
16. (x₄ − μ)² = (-0.2)² = 0.04
17. (x₅ − μ)² = (-2.2)² = 4.84
18.
19. ▶ Step 4 — Sum of squares Σ(xᵢ − μ)²: 1.44 + 7.84 + 0.64 + 0.04 + 4.84 = 14.8
20.
21. ▶ Step 5 — Variance σ² = Σ(xᵢ − μ)² ÷ n = 14.8 ÷ 5 = 2.96
22.
23. ▶ Step 6 — Standard deviation σ = √(σ²) = √(2.96) = 1.72
Did we solve your problem today?

Standard deviation measures how spread out a set of numbers is around their average. Enter as many values as you'd like, separated by commas or spaces.

How the Math Works

The standard deviation formula σ = √( Σ(xᵢ − mean)² ÷ n ) quantifies the dispersion of data points around their average. First, calculate the mean by summing all values and dividing by the total count (n). Then, subtract the mean from each data point (xi) to find deviations, square these deviations to eliminate negative values, and sum them (Σ). Dividing by n gives the variance—a measure of squared deviations. The square root of variance transforms it back to the original units, producing the standard deviation, which indicates how tightly data clusters around the mean. Higher values mean greater spread, while lower values suggest consistency.

Practical Applications

This calculation is essential in fields requiring data analysis, such as quality control in manufacturing, financial risk assessment, and academic research. For example, a factory might use it to ensure product dimensions stay within acceptable tolerances by monitoring deviations from target specifications. Investors rely on standard deviation to gauge the volatility of asset prices, helping them balance risk and return. Researchers use it to compare variability across experimental groups, determining whether differences in results are statistically significant or merely random fluctuations.

Day-to-Day Use

In everyday life, standard deviation helps interpret patterns in personal and professional data. Athletes might track their performance metrics (e.g., running times) to assess consistency and identify areas for improvement. Parents could use it to analyze their child's test scores, determining if grades are stable or erratic. On a broader scale, it aids in budgeting by revealing variability in monthly expenses, enabling better financial planning. Even in health, monitoring step counts or heart rates through standard deviation can highlight fitness trends and motivate lifestyle adjustments.

Worked example

4, 8, 6, 5, 3 → mean 5.2, variance 2.96, σ ≈ 1.72.

FAQ

Population vs sample SD?

Population divides by n (used here); sample divides by n − 1 for an unbiased estimate from a sample.