Range, Variance, and Standard Deviation
Two data sets can share the same average and still tell completely different stories — spread is what sets them apart.
Same average, different stories
Two archery students each average a score of 5. One of them lands every arrow right around 5 — steady and predictable. The other fires wild shots at 1 and 9 that just happen to average out to 5. Same center, completely different consistency — and the mean cannot tell them apart.
To capture that difference we need a second kind of number: a measure of spread, describing how far the values stray from the center. This lesson builds up the three you will meet most often — the range, the variance, and the standard deviation.
Range: quickest, but fragile
The simplest measure of spread is the range: the largest value minus the smallest.
For the data set 2, 4, 4, 4, 5, 5, 7, 9 the range is 9 − 2 = 7. Easy to compute — but notice its weakness. The range looks at only two numbers and ignores everything in between, so a single unusually large or small value (an outlier) can blow it up and give a misleading picture of the typical spread. We want a measure that listens to all the data.
Variance: the average squared deviation
Squaring each deviation does two useful things at once: it removes the minus signs (so nothing cancels), and it punishes far-away points more than nearby ones. Add up all those squared deviations and divide by how many there are, and you get the variance — the average squared deviation from the mean.
Standard deviation: spread in the original units
There is one catch with variance: squaring the deviations also squares the units. If the data are in dollars, the variance comes out in dollars-squared — a quantity nobody can picture. Taking the square root undoes that. The result, the standard deviation, lands back in the same units as the data and reads naturally as the typical distance of a value from the mean.
The tool below makes that reading concrete. Each point shows its deviation from the mean as a line; drag the spread control and watch how stretching those lines changes the standard deviation.
- Mean: (2 + 4 + 4 + 4 + 5 + 5 + 7 + 9) / 8 = 40 / 8 = 5.
- Range: max − min = 9 − 2 = 7.
- Deviations from the mean (each value minus 5): −3, −1, −1, −1, 0, 0, 2, 4.
- Square each deviation: 9, 1, 1, 1, 0, 0, 4, 16 — these add up to 32.
- Variance = average squared deviation = 32 / 8 = 4 (in squared units).
- Standard deviation = √4 = 2, back in the original units.
Check your understanding
- The mean describes the center of a data set but says nothing about how spread out the values are.
- Range = max − min is the quickest measure of spread, but it uses only two values and is easily distorted by an outlier.
- Variance is the average of the squared deviations from the mean; squaring keeps positive and negative deviations from cancelling.
- Standard deviation = √variance puts spread back into the data's original units and reads as the typical distance of a value from the mean.
- Spreading values away from the mean increases the standard deviation; an SD of zero means every value is identical.