Explainer
Standard deviation and variance: measuring spread
Variance and standard deviation measure how spread out a set of values is around its mean: the variance is roughly the average squared distance from the mean, and the standard deviation is its square root, back in the data's own units.[1][2] Two datasets can share the same average but have very different spreads, which is why an average alone can mislead.[3] In a normal distribution about 68% of values fall within one standard deviation of the mean and about 95% within two, but extreme values inflate both measures.[4][5]
An average tells you where the middle of a set of numbers is, but not how tightly the numbers cluster around it. Measures of spread fill that gap. They describe how similar or varied the values are, and include the range, quartiles, the interquartile range, the variance and the standard deviation.[6] This page covers the last two, which underpin confidence intervals, margins of error and most statistical tests. For the averages themselves, see mean, median and mode.
Same average, different spread
The Australian Bureau of Statistics (ABS) gives two sets of 12 numbers that both have a mean, median and mode of 6. Looking only at the averages, they seem identical. But one has a standard deviation of 1.08 and the other 3.03, because the second set’s values are scattered much further from the middle.[3] The smaller the standard deviation, the more the mean represents the whole dataset; if every value is the same, the standard deviation is zero.[7]
Imagine two classes that both average 6 out of 10 on a test. In one, nearly everyone scored 5, 6 or 7. In the other, scores are scattered from near the bottom to near the top. The average is the same, but the second class is far more varied, and the standard deviation is the number that captures that difference.[3]
How variance and standard deviation are calculated
The variance is roughly the average of the squared distances of each value from the mean. Squaring gives extra weight to values far from the mean: in an example from the US National Institute of Standards and Technology (NIST), a point 2 units from the mean adds 4 to the sum, while a point 10 units away adds 100.[1]
Because the distances are squared, the variance is in squared units. The standard deviation is the square root of the variance, which brings the measure back to the data’s own units, such as centimetres or dollars.[2]
Agencies give slightly different formulas for a population and a sample. The population variance divides the sum of squared deviations by the number of values, N; the sample variance, used when estimating from a sample, divides by n minus 1.[8] Meta-analyses also use the standard deviation as a common yardstick: the standardised mean difference expresses a difference in means as a proportion of the standard deviation, so studies that used different measurement scales can be combined.[9]
The 68-95 rule
For data that follow a normal, bell-shaped distribution, the standard deviation has a handy interpretation: about 68% of values fall within one standard deviation either side of the mean, and about 95% within two.[4] NIST says it is reasonable to use the standard deviation as the measure of spread when the data are well approximated by a normal distribution.[10]
When the standard deviation misleads
Because it squares distances, the variance, and so the standard deviation, can be greatly affected by extreme values in the tails of a distribution. Alternatives such as the average absolute deviation and the median absolute deviation give less weight to those extremes.[5]
Simpler measures have their own trade-offs. The range is just the largest value minus the smallest. The interquartile range covers the middle 50% of values and is often seen as a better measure because outliers do not affect it.[11] The same logic applies to averages: the mean is more sensitive to outliers than the median, and the median is usually preferred when a distribution is not symmetrical.[12] UK statisticians note, for example, that a few people with very high incomes can pull mean income away from what a typical person earns.[13]
Standard deviation vs standard error
The two terms are easy to confuse. The standard deviation describes how spread out individual values are. The standard error describes how precise an estimate is: the UK Office for National Statistics calls it the simplest measure of how close a sample-based estimate might be to the value for the whole population.[14]
For a mean, the standard error equals the standard deviation divided by the square root of the sample size. The Cochrane Handbook gives the reverse step, recovering a standard deviation by multiplying the standard error by the square root of the sample size.[15] So a bigger sample does not make individual values less spread out, but it does make the estimate of the mean more precise, which is why confidence intervals narrow as samples grow.[16]
Read next
Next in the crash course
Confidence intervals: what the range around a result means
What a confidence interval measures, what "95% confidence" does and does not mean, why sample size and noise change its width, and how it links to p-values.
Questions readers ask
What is the difference between variance and standard deviation?
The variance is roughly the average of the squared distances of values from the mean. The standard deviation is the square root of the variance, which puts it back into the same units as the data, while the variance is in squared units.[1][2]
What does a standard deviation of zero mean?
It means every value in the dataset is the same. The smaller the standard deviation, the better the mean represents the whole dataset.[7]
What is the 68-95 rule?
In a normal distribution, about 68% of values lie within one standard deviation of the mean and about 95% lie within two standard deviations.[4]
Why do some formulas divide by n minus 1?
The variance of a whole population divides the sum of squared deviations by the number of values, N. The variance estimated from a sample divides by n minus 1, a slightly different formula that statistical agencies such as the Australian Bureau of Statistics set out separately.[8]
Is the standard error the same as the standard deviation?
No. The standard deviation describes how spread out individual values are. The standard error describes how precise an estimate such as a mean is; for a mean it equals the standard deviation divided by the square root of the sample size, so it shrinks as the sample grows.[15][14]
Sources
· 16 claims from 4 publishers
Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.
- [1]
The variance is roughly the average of the squared distances of the values from the mean; squaring gives extra weight to values far from the mean, so a point 2 units away adds 4 to the sum while a point 10 units away adds 100. confirmedas of 2026-11-21
- NIST/SEMATECH e-Handbook of Statistical Methods: Measures of Scale · National Institute of Standards and Technology · Primary source · Definitions of Variability (retrieved 2026-11-21)
- NIST/SEMATECH e-Handbook of Statistical Methods: Measures of Scale · National Institute of Standards and Technology · Primary source · Definitions of Variability (retrieved 2026-11-21)
- [2]
The standard deviation is the square root of the variance, which puts the measure of spread back into the original units of the data, since the variance is in squared units. confirmedas of 2026-11-21
- NIST/SEMATECH e-Handbook of Statistical Methods: Measures of Scale · National Institute of Standards and Technology · Primary source · Definitions of Variability (retrieved 2026-11-21)
- Measures of spread · Australian Bureau of Statistics · Primary source · Variance and standard deviation (retrieved 2026-11-21)
- [3]
In an Australian Bureau of Statistics example, two datasets of 12 numbers both have a mean, median and mode of 6, but one has a standard deviation of 1.08 and the other 3.03, showing that the second is far more spread out. confirmedas of 2026-11-21
- Measures of spread · Australian Bureau of Statistics · Primary source · Dataset examples (retrieved 2026-11-21)
- Measures of spread · Australian Bureau of Statistics · Primary source · Calculating the population variance and standard deviation (Dataset A 1.08, Dataset B 3.03) (retrieved 2026-11-21)
- [4]
In a normal distribution, about 68% of values lie within one standard deviation of the mean and about 95% within two standard deviations. confirmedas of 2026-11-21
- Measures of spread · Australian Bureau of Statistics · Primary source · Variance and standard deviation (retrieved 2026-11-21)
- [5]
NIST notes that the variance can be greatly affected by extreme values in the tails, while the average absolute deviation and median absolute deviation give less weight to them. confirmedas of 2026-11-21
- NIST/SEMATECH e-Handbook of Statistical Methods: Measures of Scale · National Institute of Standards and Technology · Primary source · Definitions of Variability (retrieved 2026-11-21)
- NIST/SEMATECH e-Handbook of Statistical Methods: Measures of Scale · National Institute of Standards and Technology · Primary source · Definitions of Variability, summary (retrieved 2026-11-21)
- [6]
Measures of spread describe how similar or varied the values of a variable are, and include the range, quartiles, the interquartile range, the variance and the standard deviation. confirmedas of 2026-11-21
- Measures of spread · Australian Bureau of Statistics · Primary source · Definition (retrieved 2026-11-21)
- [7]
The smaller the variance and standard deviation, the more the mean represents the whole dataset, and if all values are the same both are zero. confirmedas of 2026-11-21
- Measures of spread · Australian Bureau of Statistics · Primary source · Variance and standard deviation (retrieved 2026-11-21)
- [8]
The ABS gives slightly different formulas for a population and a sample - the population variance divides the sum of squared deviations by the number of values N, while the sample variance divides by n minus 1. confirmedas of 2026-11-21
- Measures of spread · Australian Bureau of Statistics · Primary source · Variance and standard deviation (population formula divides by N, sample formula by n-1) (retrieved 2026-11-21)
- NIST/SEMATECH e-Handbook of Statistical Methods: Measures of Scale · National Institute of Standards and Technology · Primary source · Definitions of Variability (formula divides by N - 1) (retrieved 2026-11-21)
- [9]
The standardised mean difference used in meta-analyses expresses a difference in means as a proportion of the standard deviation, so studies using different measurement scales can be compared. confirmedas of 2026-11-21
- Cochrane Handbook for Systematic Reviews of Interventions, Chapter 6: Choosing effect measures and computing estimates of effect · Cochrane · Primary source · section 6.5.1.2 (retrieved 2026-11-21)
- [10]
NIST says that if the data are well approximated by a normal distribution, it is reasonable to use the standard deviation as the measure of spread. confirmedas of 2026-11-21
- NIST/SEMATECH e-Handbook of Statistical Methods: Measures of Scale · National Institute of Standards and Technology · Primary source · Normal Distribution (retrieved 2026-11-21)
- [11]
The range is the difference between the largest and smallest values, while the interquartile range covers the middle 50% of values and is often seen as a better measure because outliers do not affect it. confirmedas of 2026-11-21
- Measures of spread · Australian Bureau of Statistics · Primary source · Range (retrieved 2026-11-21)
- Measures of spread · Australian Bureau of Statistics · Primary source · Interquartile range (retrieved 2026-11-21)
- [12]
Because it includes every value, the mean is more sensitive to outliers than the median or mode, and the median is usually preferred when a distribution is not symmetrical. confirmedas of 2026-11-14
- Measures of central tendency · Australian Bureau of Statistics · Primary source · Outliers (retrieved 2026-11-14)
- Measures of central tendency · Australian Bureau of Statistics · Primary source · Median (retrieved 2026-11-14)
- [13]
The UK Office for National Statistics says mean income can be influenced by a few individuals with very high incomes and so may not reflect the typical person's living standard, while the median, the middle person's income, gives a good indication of the typical individual's standard of living. confirmedas of 2026-11-14
- Average household income, UK: financial year ending 2024 · Office for National Statistics · Primary source · 2025-05-02 · Glossary, mean and median income (retrieved 2026-11-14)
- Average household income, UK: financial year ending 2024 · Office for National Statistics · Primary source · 2025-05-02 · Glossary, mean and median income (retrieved 2026-11-14)
- Average household income, UK: financial year ending 2024 · Office for National Statistics · Primary source · 2025-05-02 · Glossary, mean and median income (retrieved 2026-11-14)
- [14]
The ONS describes the standard error as the simplest measure of how precise a survey estimate is, showing how close the sample-based estimate might be to the value for the whole population. confirmedas of 2026-11-21
- Uncertainty and how we measure it for our surveys · Office for National Statistics · Primary source · section 3, Standard error (retrieved 2026-11-21)
- Uncertainty and how we measure it for our surveys · Office for National Statistics · Primary source · section 3, Standard error (retrieved 2026-11-21)
- [15]
The standard error of a mean equals the standard deviation divided by the square root of the sample size; the Cochrane Handbook gives the reverse step, recovering a standard deviation by multiplying the standard error by the square root of the sample size. confirmedas of 2026-11-21
- Cochrane Handbook for Systematic Reviews of Interventions, Chapter 6: Choosing effect measures and computing estimates of effect · Cochrane · Primary source · section 6.5.2.2 (retrieved 2026-11-21)
- [16]
A confidence interval for a mean gets narrower as the sample size increases, and wider when the data are noisier, that is, have a larger standard deviation. confirmedas of 2026-11-21
- NIST/SEMATECH e-Handbook of Statistical Methods: Confidence Limits for the Mean · National Institute of Standards and Technology · Primary source · Definition, width of the interval (retrieved 2026-11-21)
- NIST/SEMATECH e-Handbook of Statistical Methods: Confidence Limits for the Mean · National Institute of Standards and Technology · Primary source · Definition, width of the interval (retrieved 2026-11-21)
Revision history (1)
- Page created.
Created Nov 21, 2026. Last reviewed by an editor on Nov 22, 2026. Next scheduled review: Jul 14, 2027.
Cite this page
"Standard deviation and variance: measuring spread." ContentLora, updated Nov 21, 2026. https://contentlora.com/explain/standard-deviation-and-variance-explained
Spotted an error? Suggest a correction or emailcorrections@contentlora.com.