AP · Statistics · Describing Distributions

Measures of Center and Variability

12 min readUpdated November 30, 2026FreeAP Statistics, Exploring One-Variable Data

The mean and the median measure the center of a quantitative data set; the range, the interquartile range (IQR) and the standard deviation measure its variability. The median and IQR resist skew and outliers, while the mean, standard deviation and range are pulled by them. So report the median and IQR for skewed data or data with outliers, and the mean and standard deviation for roughly symmetric data.

Quick check

  1. A histogram has a long tail toward the smaller values. What is its shape?Show answerHide answer

    Skewed left. Skew is named for the direction of the long tail.

  2. For the values 2, 3, 4, 5 and 36, which is closer to most of the data: the middle value or the average?Show answerHide answer

    The middle value, 4. The average is 10, because 36 drags it upward.

Know these already? Jump to the practice questions

What you'll be able to do

  • Calculate the mean, median, quartiles, range and IQR of a data set.
  • Calculate a sample standard deviation and interpret it in context.
  • Explain which measures are resistant to skew and outliers.
  • Choose the pair of summary statistics to report, and justify the choice.

Key terms

Resistant

A statistic is resistant if extreme values have little effect on it.

In plain English
One wild value barely moves it.
Don't write
"the mean is resistant"; one outlier can move the mean a lot.

Interquartile range (IQR)

The third quartile minus the first quartile, IQR=Q3−Q1\text{IQR} = Q_3 - Q_1: the spread of the middle half of the data.

In plain English
How wide the central 50% of the values is.
Don't write
The IQR as an interval such as "41 to 53"; it is one number, 12.

Standard deviation

A measure of how far the values typically fall from their mean, in the units of the data.

In plain English
The usual distance from the average.
Don't write
"the values are within one standard deviation of the mean"; many are not.

How do the mean and the median differ?

On the formula sheet: the mean xˉ=∑xin\bar{x} = \dfrac{\sum x_i}{n}, the sum of the values divided by how many there are. Learn this: the median is the middle value of the ordered data, or the mean of the two middle values when nn is even.

The mean is the balance point of the data, so every value pulls on it. The median only needs half the values on each side, so it ignores how far out the extremes are. For hypothetical wait times of 4, 7, 8, 9, 10, 12, 15 and 31 minutes, the mean is 96÷8=1296 \div 8 = 12 minutes but the median is 9+102=9.5\frac{9 + 10}{2} = 9.5 minutes. Remove the 31 and the mean drops to about 9.29 while the median only moves to 9.

Key idea

Skew pulls the mean toward the long tail: skewed right gives mean > median, and skewed left gives mean < median.

Check yourself

A distribution of house prices is strongly skewed right. Which is larger, the mean or the median?
Show answerHide answer

The mean. The few very expensive houses pull it toward the right tail.

What do range, IQR and standard deviation measure?

Learn this: the range is the maximum minus the minimum, so it depends on just two values. The IQR measures the spread of the middle half and ignores the extremes.

On the formula sheet:

s=∑(xi−xˉ)2n−1s = \sqrt{\frac{\sum (x_i - \bar{x})^2}{n - 1}}

The standard deviation ss is roughly the typical distance of the values from the mean. It has the units of the data, it is never negative, and it equals 0 only when every value is the same. Squaring the deviations means one far-off value adds a lot, so ss is not resistant.

Interpret ss in context: "The commute times typically vary by about 4.5 minutes from the mean of 21 minutes."

Check yourself

Four students each scored 15 on a quiz. What is the standard deviation of their scores?
Show answerHide answer
  1. Every score equals the mean, so every deviation is 0.

How do you find quartiles and percentiles?

Order the data and find the median. Learn this: Q1Q_1 is the median of the lower half and Q3Q_3 is the median of the upper half. When nn is odd, leave the overall median out of both halves; a graphing calculator uses this method.

The pth percentile is the value with p% of the data at or below it. So Q1Q_1 is about the 25th percentile, the median the 50th and Q3Q_3 the 75th. A score at the 90th percentile is at least as high as 90% of the scores; it does not mean 90% correct.

Check yourself

For 3, 5, 7, 8, 10, 12, 15 and 20, what are Q1Q_1 and Q3Q_3?
Show answerHide answer

Q1=6Q_1 = 6 and Q3=13.5Q_3 = 13.5. The halves are 3, 5, 7, 8 and 10, 12, 15, 20, with medians 5+72\frac{5 + 7}{2} and 12+152\frac{12 + 15}{2}.

Which pair should you report?

Match the measure of center to the measure of variability. The median and IQR are resistant, so they suit skewed data or data with outliers. The mean and standard deviation use every value, so they suit roughly symmetric data without outliers. The range is never resistant.

Calculator output lists nn, xˉ\bar{x}, a sample and a population standard deviation, then the minimum, Q1Q_1, median, Q3Q_3 and maximum. Use the sample value ss unless the data are a whole population.

Examiner's eye

Marks are lost when the choice is not justified. Say why: "the distribution is skewed right, so the median and IQR are better summaries."

Check yourself

Incomes in a hypothetical town include a few very high values. Which pair of statistics should you report?
Show answerHide answer

The median and the IQR, because both are resistant to the very high incomes.

Which method fits the question?

Shape of the dataCenterVariability
Roughly symmetric, no outliersMeanStandard deviation
Skewed, or with outliersMedianIQR

Worked example 1: A standard deviation by hand

Question: Five students in a hypothetical class read 6, 8, 9, 11 and 16 books over the summer. Calculate the mean and the standard deviation, and interpret the standard deviation.

What tells you the method

"standard deviation" of a sample means the n−1n - 1 formula, which needs the mean first.

  1. Step 1: Find the mean.

    xˉ=6+8+9+11+165=505=10\bar{x} = \frac{6 + 8 + 9 + 11 + 16}{5} = \frac{50}{5} = 10 books.

    Why

    Every deviation is measured from the mean.

  2. Step 2: Square the deviations and add them.

    The deviations are −4,−2,−1,1,6-4, -2, -1, 1, 6, so the sum of squares is 16+4+1+1+36=5816 + 4 + 1 + 1 + 36 = 58.

    Why

    Squaring stops negative and positive deviations cancelling.

  3. Step 3: Divide by n−1n - 1 and take the square root.

    s=584=14.5≈3.808s = \sqrt{\frac{58}{4}} = \sqrt{14.5} \approx 3.808 books.

    Why

    A sample standard deviation divides by n−1=4n - 1 = 4.

Check it

The deviations add to 00, as they always do, and 3.808 is a sensible typical distance for values 1 to 6 away from 10.

Answer

The mean is 10 books and s≈3.808s \approx 3.808 books: the number of books read typically varies by about 3.8 from the mean of 10.

Worked example 2: Reading calculator output

Question: Hypothetical daily social media use for 30 students gives n=30n = 30, xˉ=142.6\bar{x} = 142.6 minutes, s=58.3s = 58.3 minutes, minimum 35, Q1=98Q_1 = 98, median 128, Q3=175Q_3 = 175 and maximum 310. (a) Calculate the IQR and the range. (b) Which pair of statistics best summarizes the data?

  • A) Mean and standard deviation
  • B) Median and IQR
  • C) Mean and IQR
  • D) Median and range

What tells you the method

Comparing the mean with the median, and the gaps between quartiles, shows the shape, and the shape decides the pair.

  1. Step 1: Subtract.

    IQR=175−98=77\text{IQR} = 175 - 98 = 77 minutes and range =310−35=275= 310 - 35 = 275 minutes.

    Why

    Both are differences, so they are single numbers.

  2. Step 2: Judge the shape.

    The mean, 142.6, is above the median, 128. Also Q3−median=47Q_3 - \text{median} = 47 is more than median−Q1=30\text{median} - Q_1 = 30, and the maximum is far above Q3Q_3.

    Why

    All three signs point to skew to the right.

  3. Step 3: Choose the pair.

    Skewed right, so report the median and IQR, which are resistant.

    Why

    Center and variability should match, and both should resist the long tail.

Check it

C and D mix measures, and A uses statistics the long tail pulls upward.

Answer

B) Median and IQR, for part (b). For part (a), the IQR is 77 minutes and the range is 275 minutes.

Your turn

Question: Hypothetical daily high temperatures for 11 days are 52, 55, 57, 58, 60, 61, 63, 64, 66, 70 and 79 °F. Find the median, Q1Q_1, Q3Q_3 and the IQR.

  1. Step 1:

    With 11 values, the median is the 6th: 61 °F.

  2. Step 2: Your go: find Q1Q_1 and Q3Q_3 from the halves, leaving out the 61, then the IQR.

Show the full solutionHide the solution

The lower half is 52, 55, 57, 58, 60, so Q1=57Q_1 = 57. The upper half is 63, 64, 66, 70, 79, so Q3=66Q_3 = 66. Then IQR=66−57=9\text{IQR} = 66 - 57 = 9 °F.

Answer: The median is 61 °F, Q1=57Q_1 = 57 °F, Q3=66Q_3 = 66 °F and the IQR is 9 °F.

Traps

Trap

Thinking the median is resistant, so it never changes.

It seems right because outliers barely move it. But resistant means extreme values have little effect; adding or removing ordinary values still shifts the median.

Check yourself

The median of 2, 4, 6, 8 and 50 is 6. What is it after 50 is replaced by 500?
Show answerHide answer

Still 6. Making an extreme value more extreme does not change the middle value.

Trap

Using the population standard deviation from calculator output for a sample.

It seems right because both appear in the same output. But it divides by nn, not n−1n - 1, so for a sample it is slightly too small.

Check yourself

For a sample of 5 values, which divisor does ss use?
Show answerHide answer

n−1=4n - 1 = 4.

What's examined

Summary statistics are tested on the AP® Statistics exam, in both the multiple-choice and free-response sections. Expect to calculate statistics, interpret a standard deviation in context, say how an outlier affects each measure, and justify which pair to report. A graphing calculator does the arithmetic; name the statistic and give its value with units.

Practice questions

  1. Recall Which statistic is resistant to outliers?
    • A) The mean
    • B) The range
    • C) The interquartile range
    • D) The standard deviation
Show answer

Answer: C) The interquartile range

Marking points:

  • The IQR uses only the quartiles, so extreme values hardly affect it.
  • A and D use every value, and B uses the two most extreme values.
  1. Recall Find the mean and the median of 3, 5, 6, 8, 12 and 14.
Show answer

Answer: The mean is 8 and the median is 7.

Marking points:

  • Mean: 486=8\frac{48}{6} = 8.
  • Median: n=6n = 6 is even, so 6+82=7\frac{6 + 8}{2} = 7.
  1. Apply In a data set of 20 values, the largest value is changed from 40 to 90. Which of the mean, median, standard deviation, IQR and range change?
    • A) The median and IQR only
    • B) The mean only
    • C) The mean and range only
    • D) The mean, standard deviation and range
Show answer

Answer: D) The mean, standard deviation and range.

Marking points:

  • The sum, the deviations from the mean and the maximum all grow.
  • The middle value and the quartiles do not change, so A is backward; B and C miss the standard deviation.
  1. Apply Calculate the sample standard deviation of 2, 4, 4 and 10. Give your answer to 3 decimal places.
Show answer

Answer: s≈3.464s \approx 3.464.

Marking points:

  • The mean is 55, and the squared deviations are 9,1,1,259, 1, 1, 25, which add to 3636.
  • s=363=12≈3.464s = \sqrt{\frac{36}{3}} = \sqrt{12} \approx 3.464.
  1. Exam-style The standard deviation of the hypothetical commute times of 50 employees is 6.2 minutes. Which is the correct interpretation?
    • A) The commute times typically vary by about 6.2 minutes from the mean commute time.
    • B) Every commute time is within 6.2 minutes of the median.
    • C) The middle 50% of commute times span 6.2 minutes.
    • D) The longest and shortest commute times differ by 6.2 minutes.
Show answer

Answer: A) The commute times typically vary by about 6.2 minutes from the mean commute time.

Marking points:

  • The standard deviation is a typical distance from the mean, in the data's units.
  • B confuses it with a bound, C describes the IQR, and D describes the range.
  1. Exam-style Hypothetical reaction times for 25 drivers give xˉ=48.2\bar{x} = 48.2, minimum 30, Q1=41Q_1 = 41, median 46, Q3=53Q_3 = 53 and maximum 89, all in hundredths of a second. (a) Calculate the IQR and the range. (b) Is the mean or the median larger, and what does that suggest about the shape?
Show answer

Answer: (a) The IQR is 12 and the range is 59 hundredths of a second. (b) The mean is larger, which suggests the distribution is skewed right.

Marking points:

  • IQR=53−41=12\text{IQR} = 53 - 41 = 12 and range =89−30=59= 89 - 30 = 59.
  • 48.2>4648.2 > 46, and the maximum lies far above Q3Q_3, so the high values pull the mean up.

Key points

Recall, then reveal

Say the main points from memory first, then check them.

Show key pointsHide key points
  • The mean is pulled toward the long tail and toward outliers; the median is resistant.
  • The range uses two values, the IQR covers the middle half, and ss is a typical distance from the mean.
  • Quartiles are medians of the lower and upper halves, leaving out the overall median when nn is odd.
  • Report the median and IQR for skewed data or outliers, and the mean and standard deviation for roughly symmetric data.

Keep learning

Explore AP Statistics tutoring →

View the full Statistics syllabus →

More in this unit

Exploring One-Variable Data

All Describing Distributions notes

Part of Novark's AP Statistics notes