Standard deviation

Standard deviation measures how spread out data are from the mean. Square each value's difference from the mean (its deviation) and average those squares to get the variance; the square root of the variance is the standard deviation. The smaller the standard deviation, the more tightly the data cluster around the mean.

Chalcack concept card · Reviewed by the Chalcack team ·

Both sets have mean 4, but the farther the data spread from the mean, the larger the standard deviation.

Formulas

  • deviation=data value−mean\text{deviation} = \text{data value} - \text{mean}
  • variance=sum of deviation2number of data values\text{variance} = \frac{\text{sum of deviation}^2}{\text{number of data values}}
  • standard deviation=variance\text{standard deviation} = \sqrt{\text{variance}}

When to use it

Use it when you need to measure how closely data gather around the mean, or compare which of two data sets with similar means is more consistent.

Worked example

Find the standard deviation of 2, 4, 4, 6. The mean is (2+4+4+6)÷4=4(2 + 4 + 4 + 6) \div 4 = 4. The deviations are −2, 0, 0, 2, and the sum of their squares is 4+0+0+4=84 + 0 + 0 + 4 = 8. The variance is 8÷4=28 \div 4 = 2, so the standard deviation is 2\sqrt{2}.

Common mistake

If you add the deviations without squaring them, you always get 0 and learn nothing. Square the deviations before adding, and do not stop at the variance; take the square root at the end.

Related concepts

All 181 math concepts