Variability in statistics is the amount of spread in a data set: how far the values sit from each other and from the center. A mean or median tells you where the data are centered, but only a measure of spread tells you whether that center is typical of most values or hides a wide scatter.
This guide works one small data set through all five measures of variability (range, interquartile range, mean absolute deviation, variance and standard deviation), adds the coefficient of variation for comparing groups, and ends with practice problems you can check against the answers.
What Is Variability in Statistics?
Statisticians also call variability spread, dispersion or scale, and they use all three words interchangeably. The NIST/SEMATECH e-Handbook of Statistical Methods files these measures under scale, right beside its measures of location. Low variability means the values cluster near the center, so the mean or median describes most observations well. High variability means individual values are hard to predict from the center alone.
The quickest way to see why it matters is to compare two data sets that share a center. The table below shows five daily high temperatures (in degrees Fahrenheit) for two made-up cities. Both average 70 degrees.
City
Daily Highs
Mean
Range
Mean Absolute Deviation
Standard Deviation
Harbor City
68, 69, 70, 71, 72
70
4
1.2
1.58
Prairie Town
55, 62, 70, 78, 85
70
30
9.2
12.02
Picture the two histograms. Harbor City's bars form one tight spike over 70, while Prairie Town's bars stretch from the mid-50s to the mid-80s. Same mean, very different weather: you could pack one outfit for Harbor City, but Prairie Town needs a jacket and shorts. Each measure in the table agrees that Prairie Town has far more spread, and each one puts a different number on it.
The 5 Measures of Variability, Worked on One Data Set
So what are measures of variability? They are single numbers that summarize how spread out a data set is, each with its own trade-off between simplicity and sensitivity to extreme values. Every example in this section uses the same sample. Eight students recorded how many hours they studied in one week:
2, 4, 5, 6, 7, 8, 9, 15
The values are already sorted, which you need for the range and quartiles. The sum is 56, so the mean is 56 ÷ 8 = 7 hours. The median is the average of the two middle values, (6 + 7) ÷ 2 = 6.5 hours.
1. Range
Range = maximum − minimum = 15 − 2 = 13 hours.
The range is the fastest measure to compute and the easiest to explain. Its weakness is that it depends on only two values. If the student who logged 15 hours had logged 10, the range would shrink to 8 even though the other seven students did not change their habits.
2. Interquartile Range (IQR)
The IQR measures the spread of the middle half of the data: IQR = Q3 − Q1. Split the sorted list into a lower half and an upper half, then take the median of each.
Because the top and bottom quarters are ignored, the 15 has no effect on the IQR. Software may report slightly different quartiles. Excel's QUARTILE.INC, for example, interpolates and returns Q1 = 4.75 and Q3 = 8.25 for this list, an IQR of 3.5. Follow whichever method your textbook or instructor uses.
3. Mean Absolute Deviation (MAD)
The mean absolute deviation is the average distance between each value and the mean, ignoring signs:
MAD = Σ|x − x̄| ÷ n
The distances from the mean of 7 are 5, 3, 2, 1, 0, 1, 2 and 8. They add to 22, so MAD = 22 ÷ 8 = 2.75 hours. In plain words, a typical student is about 2.75 hours away from the average.
Middle school courses and the Common Core standards teach MAD before standard deviation because there is no squaring and no square root. One warning about the abbreviation: in robust statistics, MAD often means the median absolute deviation, which the NIST handbook treats as a separate and even more outlier-resistant measure. Check which one a problem means.
4. Variance
Variance averages the squared deviations from the mean. For a sample, divide by n − 1:
s² = Σ(x − x̄)² ÷ (n − 1)
Hours (x)
Deviation (x − x̄)
Squared Deviation
2
−5
25
4
−3
9
5
−2
4
6
−1
1
7
0
0
8
1
1
9
2
4
15
8
64
Total
0
108
The deviations cancel to zero, which is why they have to be squared or made absolute before averaging. The sample variance is 108 ÷ 7 ≈ 15.43 square hours. Squared units are awkward to interpret, but variance is the quantity that ANOVA, regression and many probability rules are built on.
5. Standard Deviation
Take the square root of the variance to get back to the original units:
s = √15.43 ≈ 3.93 hours
OpenStax Introductory Statistics 2e (section 2.7) defines the standard deviation as a number that measures how far data values are from their mean. It is the most widely reported measure of spread, and it pairs naturally with the mean. Like the variance, it uses every value and reacts strongly to outliers: change the 15 to a 10 and the standard deviation falls from 3.93 to about 2.67, a drop of roughly a third, while the MAD only falls from 2.75 to about 2.13.
Population vs. Sample Formulas
When the data cover the entire population, divide by N instead of n − 1. Treating the eight students as the whole population gives σ² = 108 ÷ 8 = 13.5 and σ ≈ 3.67 hours. The n − 1 version, known as Bessel's correction, makes up for the fact that a sample's own mean is always the best-fitting center for that sample, which shrinks its squared deviations a little. Spreadsheets label the two versions with a suffix: the .S functions (STDEV.S, VAR.S) are for samples and the .P functions are for populations. A TI-84's 1-Var Stats screen lists both, as Sx and σx. Unsure which applies? Our guide to parameters vs. statistics covers the distinction.
Coefficient of Variation for Comparing Groups
A standard deviation of 4 is large when the mean is 7 and tiny when the mean is 700. The coefficient of variation (CV) adjusts for that by expressing spread as a share of the mean:
CV = (s ÷ x̄) × 100, written as a percentage
For the study-hours sample, CV = (3.93 ÷ 7) × 100 ≈ 56%, which is high relative variability. Use the CV to compare data measured in different units, such as the consistency of a lab scale in grams against a thermometer in degrees, or the risk of two investments with different average returns. It only makes sense for data on a ratio scale with a true zero and a positive mean.
Reading the Spread: Box Plot Summary and Outlier Fences
A box plot draws the five-number summary. Without the picture, the same information fits in a table:
Statistic
Value (hours)
Where It Appears on a Box Plot
Minimum
2
Left end of the lower whisker
Q1
4.5
Left edge of the box
Median
6.5
Line inside the box
Q3
8.5
Right edge of the box
Maximum
15
Plotted as a separate point because it is an outlier
Lower fence
Q1 − 1.5 × IQR = 4.5 − 6 = −1.5
Not drawn; values below it are outliers
Upper fence
Q3 + 1.5 × IQR = 8.5 + 6 = 14.5
Not drawn; values above it are outliers
Since 15 is above the upper fence of 14.5, it is flagged as an outlier and drawn as a dot. The upper whisker then stops at 9, the largest value inside the fences. The box sits between 4.5 and 8.5, and the median line is slightly left of center, a hint that the bulk of the data leans toward lower study times while one student pulls the tail to the right.
An outlier flag is a prompt to investigate, not permission to delete. Check for typing errors first. If the value is real, report it and consider using the median and IQR, which it does not distort.
The 68-95-99.7 Rule for Interpreting Standard Deviation
For data that follow a roughly bell-shaped, symmetric distribution, the empirical rule turns a standard deviation into a statement about how much data lies where. Say the scores on a statewide algebra test follow a roughly normal curve centered at 72, with a standard deviation of 6.
Distance from the Mean
Score Interval
Share of Scores Inside
Share Outside
Within 1 standard deviation
66 to 78
About 68%
About 32% (16% in each tail)
Within 2 standard deviations
60 to 84
About 95%
About 5% (2.5% in each tail)
Within 3 standard deviations
54 to 90
About 99.7%
About 0.3%
Drawn as a curve, the middle band from 66 to 78 holds the tall center of the bell, and each wider band adds a thinner slice of tail. OpenStax notes that the rule fits bell-shaped data only. For skewed data, Chebyshev's rule gives a looser bound that holds for any distribution: at least 75% of values fall within 2 standard deviations of the mean, and at least 89% within 3.
Measures of Variability vs Measures of Central Tendency
Measures of central tendency answer "What is a typical value?" Measures of variability answer "How much do values differ from that typical value?" Together, central tendency and variability in statistics make up a complete numerical summary, and the pair you report should match in how it treats outliers.
Question
Central Tendency
Variability
What it describes
The center of the data
The spread around that center
Main measures
Mean, median, mode
Range, IQR, MAD, variance, standard deviation
Study-hours result
Mean 7, median 6.5
SD 3.93, IQR 4
Pairing for symmetric data
Mean
Standard deviation
Pairing for skewed data or outliers
Median
Interquartile range
Can be zero?
Yes, if the center is zero
Only when every value is identical
Can be negative?
Yes
Never
The pairing rule matters on exams. Reporting a median with a standard deviation mixes a resistant center with a sensitive spread, and graders often take points off for it.
Choosing Among the Measures of Variability
Measure
Formula
Study-Hours Value
Uses All Values?
Resistant to Outliers?
Range
Max − min
13
No, only two
No
IQR
Q3 − Q1
4
No, middle 50%
Yes
Mean absolute deviation
Σ|x − x̄| ÷ n
2.75
Yes
Partly
Variance
Σ(x − x̄)² ÷ (n − 1)
15.43
Yes
No
Standard deviation
√variance
3.93
Yes
No
No single number captures variability in statistics perfectly, so the choice depends on the shape of the data. Use the standard deviation by default for roughly symmetric data, because inference procedures such as confidence intervals and t-tests are built on it. Switch to the IQR when a histogram shows strong skew or a box plot shows outliers. Use MAD when the course or audience needs a measure that is easy to explain, and the range only as a quick first look. If you are deciding which inferential method follows, our guide to which statistical test to use picks up from here.
What Increases or Reduces Variability
Outliers. One extreme value inflates the range, variance and standard deviation far more than the IQR.
Measurement error. Inconsistent instruments or procedures add spread that is not part of the real phenomenon.
Mixing groups. Combining first-year and graduate students in one sample raises the spread of almost any variable.
Sample size. Collecting more data leaves the true spread unchanged. What improves is your estimate of it, and the standard error of the mean, s ÷ √n, gets smaller as n grows.
Variability is also the bridge between descriptive and inferential statistics: the more spread in the data, the wider a confidence interval and the harder it is for a test to detect a real difference.
Practice Problems with Answers
Problem 1. For the sample 3, 7, 7, 9, 14, find the range, the mean absolute deviation, the sample variance and the sample standard deviation.
Answer: The mean is 40 ÷ 5 = 8. Range = 14 − 3 = 11. Absolute deviations are 5, 1, 1, 1 and 6, so MAD = 14 ÷ 5 = 2.8. Squared deviations are 25, 1, 1, 1 and 36, totaling 64, so s² = 64 ÷ 4 = 16 and s = 4.
Problem 2. Find the IQR of 10, 12, 13, 15, 16, 18, 19, 40 and decide whether any value is an outlier.
Answer: Q1 is the median of 10, 12, 13, 15, which is 12.5. Q3 is the median of 16, 18, 19, 40, which is 18.5. IQR = 6. The fences are 12.5 − 9 = 3.5 and 18.5 + 9 = 27.5, so 40 is an outlier.
Problem 3. Class X scored a mean of 80 with a standard deviation of 6. Class Y scored a mean of 20 on a shorter quiz with a standard deviation of 3. Which class had more relative variability?
Answer: CV for Class X is 6 ÷ 80 = 7.5%. CV for Class Y is 3 ÷ 20 = 15%. Class Y has twice the relative spread, even though its standard deviation is smaller.
Problem 4. Battery life is approximately normal with a mean of 500 hours and a standard deviation of 40 hours. About what share of batteries last longer than 540 hours, and what interval holds the middle 95%?
Answer: 540 is one standard deviation above the mean. About 68% of batteries fall between 460 and 540, leaving 32% split between the tails, so about 16% last longer than 540 hours. The middle 95% lies within two standard deviations, from 420 to 580 hours.
Mistakes That Cost Points
Finding quartiles or the range before sorting the data.
Mixing up the denominators: a sample needs n − 1, a complete population needs N.
Labeling a variance in hours when it is really in square hours.
Forgetting the square root, so the variance gets reported as the standard deviation.
Rounding the mean before computing deviations, which throws off every squared term.
Applying the 68-95-99.7 rule to strongly skewed data.
If a problem set on spread is still not clicking, a tutor through our statistics homework help can walk through your own numbers step by step.
Frequently Asked Questions
What Are the Measures of Variability?
Five measures come up in most courses: range, interquartile range, mean absolute deviation, variance and standard deviation. College textbooks often skip mean absolute deviation and list four, while sixth-grade math introduces it before the standard deviation. The coefficient of variation is a related measure that expresses the standard deviation as a percentage of the mean.
Which Measure of Variability Is Most Reliable?
It depends on the data's shape. With a symmetric, outlier-free distribution, the standard deviation is the best choice, since it draws on every observation and feeds directly into confidence intervals and hypothesis tests. When data are skewed or contain outliers, the interquartile range is more reliable because extreme values cannot move it. The range is the least reliable, since a single unusual value can change it completely.
What Is the Difference Between Variance and Standard Deviation?
Variance is the average squared distance from the mean, and standard deviation is its square root. Squaring leaves variance in units like square hours, which few readers can picture, so reports quote the standard deviation, which is back in hours. Variance earns its place inside calculations: ANOVA and regression partition it, and variances of independent variables add.
Why Does Sample Variance Use Bessel's Correction?
A sample's mean is computed from the same values, so the deviations around it come out slightly smaller than deviations around the true population mean. Averaging those squares over n would therefore run low. Dividing by n − 1 instead, known as Bessel's correction, makes the sample variance an unbiased estimate. With a complete population, no correction is needed.
Can the Standard Deviation Be Zero or Negative?
It cannot be negative: squared deviations are never below zero, and neither is their average or its square root. Zero happens in exactly one case, when all values match, such as five quiz scores of 9. If your work produces a negative variance, look for a slip in the arithmetic or a mistyped value, often in the shortcut formula.
What Counts as a High Standard Deviation?
There is no universal threshold. Judge it against the mean and the setting: a standard deviation of 20 grams is trivial for bags of flour averaging 2,000 grams but huge for vitamin tablets averaging 50. The coefficient of variation, the standard deviation divided by the mean, puts different data sets on a common relative scale so you can compare them.
Is Mean Absolute Deviation the Same as Standard Deviation?
No. Mean absolute deviation averages the plain distances from the mean, while the standard deviation squares the distances, averages them and takes a square root. Squaring gives large deviations more weight, so the standard deviation is usually larger than the MAD and reacts more to outliers. For the study-hours sample in this guide, MAD is 2.75 and the standard deviation is 3.93.
Don' have ⭐GOOD EXCUSE FOR MISSING WORK⭐ Let's find you the perfect excuse to get off work today without having any troubles with your boss or your fellow employees.
Find the best free online statistics calculators and problem solvers in 2026. Compare top tools for p-values, confidence intervals, regression, hypothesis testing, and step-by-step statistics help.