In short
A boxplot draws the five-number summary: a box from Q1 to Q3 with a line at the median, and whiskers to the smallest and largest values that are not outliers. Outliers are plotted as separate points. The mean–median relationship tells you about shape: in a right-skewed distribution the mean is usually greater than the median, and in a left-skewed one it is usually less.
What you need to know
- Construct a boxplot from the five-number summary, marking outliers.
- Read the median, quartiles, IQR and range from a boxplot.
- Describe shape using the relationship between the mean and the median.
- Explain what a boxplot cannot show.
Drawing a boxplot
The daily exercise times of 20 students (10, 15, 20, 20, 25, 25, 30, 30, 30, 35, 35, 40, 40, 45, 50, 55, 60, 70, 85, 110 minutes) have five-number summary 10, 25, 35, 52.5, 110. IQR = 27.5 minutes, so the upper fence is 52.5 + 1.5 × 27.5 = 93.75 minutes and the lower fence, 25 − 41.25, is below zero.
- Draw a scaled number line and label it with the variable and units.
- Draw the box from Q1 = 25 to Q3 = 52.5 with a line at the median, 35.
- Draw the whiskers to the smallest and largest values inside the fences: 10 and 85.
- Plot each outlier as a separate point: 110.
Reading a boxplot
Each section of a boxplot contains about a quarter of the data. A longer section means the values in that quarter are more spread out, not that it contains more values. Here the right whisker and the right part of the box are longer than the left, showing the distribution is skewed right.
Mean, median and shape
The mean is pulled towards a long tail; the median is not. So in a skewed right distribution the mean is usually larger than the median, in a skewed left distribution it is usually smaller, and in a roughly symmetric one they are close. For the exercise data, the mean is 41.5 minutes and the median is 35 minutes: mean greater than median, consistent with right skew.
Key terms
- Five-number summary
- Minimum, Q1, median, Q3 and maximum.
- Boxplot
- A graph of the five-number summary, with outliers shown as separate points.
- Whisker
- The line from the box to the smallest or largest value that is not an outlier.
- Fences
- Q1 − 1.5 × IQR and Q3 + 1.5 × IQR; values beyond them are outliers.
- Mean–median relationship
- The mean is pulled towards the tail, so it is usually larger than the median for right skew and smaller for left skew.
Common mistakes
Extending a whisker to an outlier.
Stop the whisker at the most extreme value inside the fences and plot the outlier separately.
Saying a longer section of the box holds more data.
Each section holds about 25% of the data; a longer one is more spread out.
Claiming a boxplot shows the mean.
A boxplot shows the median; the mean is not part of it.
How this topic is tested
- Always draw the scale and label it; a boxplot without a scale earns little credit.
- Mention outliers explicitly and show the fence calculation.
- Use the mean–median comparison as supporting evidence for shape, not as proof.
Practice questions
Original AP-style multiple-choice questions. Pick an answer to see the explanation.
Question 1 · SP 3 · Analyze Data
A boxplot has Q1 = 40, median = 48, Q3 = 52, minimum 20 and maximum 55. What is the most likely shape?
Question 2 · SP 3 · Analyze Data
What percentage of the data lie between Q1 and the maximum?
Question 3 · SP 4 · Interpret Results
A data set has mean 64 and median 71. Which shape is most likely?
Question 4 · SP 3 · Analyze Data
For a data set, Q1 = 30, Q3 = 50 and the largest value is 85. Where should the right whisker end if the next largest value is 72?
Question 5 · SP 4 · Interpret Results
Which feature of a distribution can a boxplot NOT show?
Free-response practice
Write your answer first, then mark it against the scoring guide.
Practices 3 and 4 (short) · 4 points
For 25 apartments in a city, monthly rent (in thousands of rupees) has minimum 8, Q1 14, median 18, Q3 24 and maximum 52. The second-largest rent is 36.
- (a) Determine whether there are any outliers.
- (b) Describe how a boxplot of these rents would be drawn.
- (c) Would you expect the mean rent to be greater or less than 18? Explain.
Scoring guide: one point for each of the following
Part (a)
- IQR = 10; fences are 14 − 15 = −1 and 24 + 15 = 39.
- 52 is above 39, so it is an outlier; 36 is not.
Part (b)
- Box from 14 to 24 with a median line at 18, left whisker to 8, right whisker to 36, and 52 plotted as a separate outlier point on a labelled scale.
Part (c)
- Greater, because the distribution is skewed right (long right whisker and an outlier at 52), which pulls the mean above the median.
Connected topics
Frequently asked questions
What is a modified boxplot?
A boxplot that shows outliers as separate points and ends the whiskers at the most extreme non-outliers. It is the standard boxplot in AP Statistics.
Can I draw a boxplot vertically?
Yes, as long as the scale is labelled. Horizontal is more common when comparing groups.
Do I need the actual data to draw a boxplot?
You need the five-number summary and any outliers; the full data are not required.