Two teams, same average, different story
Imagine two basketball players who both average 20 points per game. One scores 20 almost every night; the other alternates between 5 and 35. The average hides the difference, but the standard deviation reveals it: it tells you how spread out the numbers are around the average. Low standard deviation means consistent values, high means wild swings.
The standard deviation formula
Formula: SD = sqrt( sum of (x - mean)^2 / n )
For each value x, subtract the mean, square the difference so negatives do not cancel out, add all the squared differences up, divide by n (the number of values) to get the variance, and take the square root to return to the original units. Use n - 1 instead of n when your data is a sample taken from a larger group.
Using the calculator
- Enter your list of numbers, separated by commas or one per line.
- Choose population mode if the list is the whole group, or sample mode if it is a subset.
- Read the mean, variance, and standard deviation.
A worked example, step by step
Take the dataset 2, 4, 4, 4, 5, 5, 7, 9.
- Step 1: the mean is (2 + 4 + 4 + 4 + 5 + 5 + 7 + 9) / 8 = 40 / 8 = 5.
- Step 2: squared deviations: (2-5)^2 = 9, three (4-5)^2 = 1 each, two (5-5)^2 = 0, (7-5)^2 = 4, (9-5)^2 = 16. Total = 9 + 3 + 0 + 4 + 16 = 32.
- Step 3: population variance = 32 / 8 = 4.
- Step 4: standard deviation = sqrt(4) = 2.
The population standard deviation is 2. As a sample, it would be sqrt(32 / 7), about 2.14.
Where it matters
Quality control teams watch it to keep products consistent, investors watch it to gauge risk, and teachers use it to see how widely test scores scatter. Pair it with the average calculator for the center of your data, the variance calculator for the un-rooted spread, and the covariance calculator when comparing two datasets.
Mistakes that give the wrong answer
- Mixing up population and sample. Dividing by n - 1 instead of n changes the result. Samples from a larger group need the n - 1 version.
- Forgetting the square root. The number before the final step is the variance, not the standard deviation.
- Comparing standard deviations across different units. An SD of 2 kg and an SD of 2 cm describe completely different levels of spread.
Reading the number in context
A standard deviation of 2 on a test with a mean of 70 means something concrete thanks to the empirical rule: roughly 68 percent of scores fall within one standard deviation of the mean, from 68 to 72, and about 95 percent fall within two, from 66 to 74. If the standard deviation were 12 instead, the same mean would hide enormous differences between students. That is the real power of the number: it turns a vague sense that results vary into a precise statement about how much they vary.
What this assumes
Standard deviation is sensitive to outliers: one extreme value inflates it. For heavily skewed data, the median and interquartile range can describe the spread more honestly.