How to Calculate Standard Deviation
Standard deviation quantifies how spread out data points are from the average. A low value means data clusters near the mean; a high value means wide dispersion.
The Formula
s = sqrt(sum((x_i - mean)^2) / (n - 1))Where:
x_iData Point — Each individual value in the setmeanMean — The average of all data pointsnCount — Total number of data pointssStd Dev — The resulting standard deviationStep-by-Step Example
Here's how to calculate standard deviation step by step:
- 1Find the mean: Add all values and divide by the count.
- 2Find squared differences: Subtract the mean from each value and square the result.
- 3Average the squares: Sum all squared differences and divide by n-1 for a sample.
- 4Take the square root: The square root of the variance is the standard deviation.
Following these 4 steps gives you the final standard deviation value.
Skip the Math
If two classes both average 80% on a test but one has std dev of 5 and the other 15, the second class has much more variation in scores.
Use the Free CalculatorWhy You Need This Calculation
- Standard deviation measures data spread, crucial for statistics, quality control, and financial risk analysis.
Common Mistakes
Dividing by n instead of n-1 for a sample.
Use n-1 (Bessel correction) for sample standard deviation.
Forgetting to square the differences.
Unsquared differences cancel out and sum to zero.
Forgetting the final square root step.
Without it you have variance, not standard deviation.