Introduction

Standard deviation is a measure of how spread out the values in a data set are relative to the mean. A small standard deviation means the data points cluster tightly around the average; a large standard deviation means they are spread widely. It is used in finance to measure investment volatility, in manufacturing to control quality, in medicine to define normal ranges, and in research to determine whether findings are statistically significant.

How to Calculate Standard Deviation

The process has five steps. First, find the mean (average) of your data set. Second, subtract the mean from each data point and square the result (squaring eliminates negative values and emphasizes outliers). Third, find the mean of those squared differences — this is called the variance. Fourth, take the square root of the variance. That's your standard deviation. There are two formulas: population standard deviation (divide by n, used when you have data on the entire group) and sample standard deviation (divide by n−1, used when your data is a sample from a larger population).

Practical Example: Test Scores

Class A has test scores: 72, 74, 75, 76, 78. Mean = 75, standard deviation ≈ 2.0. Class B has scores: 50, 65, 75, 85, 100. Mean = 75, standard deviation ≈ 18.7. Both classes have the same average, but Class B's scores are far more spread out. Standard deviation captures that difference — something the mean alone cannot tell you.

The 68-95-99.7 Rule

For data that follows a normal (bell-curve) distribution, approximately 68% of values fall within one standard deviation of the mean, 95% fall within two standard deviations, and 99.7% fall within three standard deviations. This rule is used extensively in quality control (Six Sigma aims for 6σ defect rates), medical reference ranges (lab tests report "normal" as within 2 standard deviations of a healthy population mean), and finance.

Standard Deviation in Finance

In investing, standard deviation measures volatility — how much an investment's returns vary from its average. A fund with average annual returns of 8% and a standard deviation of 20% will typically return between −12% and +28% in about two-thirds of years. Compare that to a fund with the same 8% average but a 5% standard deviation, which typically returns 3%–13%. Lower standard deviation means more predictable, less volatile returns — which most investors prefer, all else equal.

Conclusion

Standard deviation is indispensable for understanding variability in any data set. Use our Standard Deviation Calculator to compute it instantly for your own data, and use the 68-95-99.7 rule to interpret what it means in context.