Box Plots - Complete Interactive Lesson
Part 1: The Five-Number Summary
📦 Box Plots
Part 1 of 5 — The Five-Number Summary
Topics in This Part
| Section |
|---|
| Why Box Plots Exist |
| Median, Minimum & Maximum |
| The Quartiles and |
| The Full Five-Number Summary |
🔑 Key Concept: A box plot is a picture of five numbers: the minimum, , the median, , and the maximum. Master those five numbers in Part 1 and the picture practically draws itself in Part 2.
Why Box Plots Exist
Suppose a class earns these quiz scores:
You could stare at the raw list — but a box plot instead summarizes the whole data set with a handful of landmark values, so you can see the center, the spread, and any lopsidedness at a glance.
To build one, we first split the data into four equal groups using three cut-points:
- the median splits the data into a lower half and an upper half,
- the first quartile is the median of the lower half,
- the third quartile is the median of the upper half.
Together with the min and max, these are the five-number summary.
💡 "Quartile" comes from quarter. The three quartiles (, the median , and ) chop the sorted data into four slices, each holding about of the values.
Step 1 — Sort, Then Find the Median
Always sort the data from smallest to largest first. Our scores are already sorted:
There are values (odd), so the median is the single middle value — the one: .
The minimum is and the maximum is .
What if there's an even count?
For (), there is no single middle value. Average the two middle numbers ( and ):
⚠️ The median is not always a number that appears in the data. With an even count it can land between two values.
Concept Check 🎯
Step 2 — Find the Quartiles
Go back to the scores with median .
When is odd, the median is one specific data value, so we leave it out when splitting into halves:
- = median of the lower half =
- = median of the upper half =
🔑 The rule: is the median of all values below the overall median; is the median of all values above it. If is odd, exclude the median itself from both halves. If is even, the two halves are simply the lower and upper values.
Match Each Landmark 🔽
For the sorted data (), choose the correct value for each statistic.
The Five-Number Summary
Putting it all together for the quiz scores :
| Statistic | Value |
|---|---|
| Minimum | |
| (first quartile) | |
| Median () | |
| (third quartile) | |
| Maximum |
These five numbers — and only these five — are everything a box plot shows. One more bit of practice, then we'll turn them into the picture.
💡 Always list a five-number summary in increasing order. If yours isn't increasing (e.g. median), you made an arithmetic slip — go back and recheck.
Find the Quartiles 🧮
Daily high temperatures (°F), already sorted:
1) Median 2) 3)
Part 2: Building the Box & Whiskers
📦 Box Plots
Part 2 of 5 — Building the Box & Whiskers
🔑 The Idea: Draw a number line, mark the five summary values, build a box from to with a line at the median, then extend whiskers out to the min and max.
Anatomy of a Box Plot
Every box plot is built from the five-number summary like this:
| Part of the plot | Comes from |
|---|---|
| Left whisker end | minimum |
| Left edge of box | |
| Line inside box | median |
| Right edge of box | |
| Right whisker end | maximum |
A rough sketch on a number line:
- The box spans to and holds the middle of the data.
- The whiskers reach out to the smallest and largest values.
💡 The width of the box is the most important visual: a wide box means the middle half of the data is spread out; a narrow box means it's tightly clustered.
The Interquartile Range (IQR)
The length of the box has a name — the interquartile range:
It measures the spread of the middle of the data and ignores the extremes entirely.
Worked Example
A data set has the five-number summary
⚠️ Don't confuse range (max min, the whole spread) with IQR (the spread of just the middle half). The IQR is much less affected by extreme values.
Concept Check 🎯
From Summary to IQR
So the full recipe for the box's width is: find and exactly as in Part 1, then subtract. That single number, the IQR, is the headline measure of spread for a box plot.
Time to run the whole pipeline yourself — sort is done for you, so go straight to the median, the quartiles, and the IQR.
Build the Summary 🧮
These reaction times (ms), already sorted:
There are values. Find each value for the box plot.
1) Median 2) 3) 4) IQR
Putting the Picture Together
With those five numbers, the box plot for the reaction times draws itself: the box runs from to (a width of , the IQR), a line marks the median at , and the whiskers reach left to and right to .
💡 Notice the median line () is not centered in the box — it sits a little right of middle. That tells you the lower quarter of the box is more spread out than the upper quarter. We'll read clues like this in Part 4.
Before moving on, make sure you can name every part of the picture.
Label the Picture 🔽
A box plot is drawn on a number line. Match each feature of the plot to what it represents.
Part 3: Outliers & the 1.5 × IQR Rule
📦 Box Plots
Part 3 of 5 — Outliers & the 1.5 × IQR Rule
🔑 Why it matters: A single freakishly large or small value can stretch a whisker and distort the whole picture. The rule gives an objective test for flagging these outliers.
The Fences
An outlier is a value that lies unusually far from the middle of the data. To decide how far is "too far," we build two fences:
🔑 The rule: Any data value below the lower fence or above the upper fence is an outlier. Everything between the fences is considered ordinary.
The fences themselves are not drawn on the box plot — they're just the calculation that decides which points get flagged.
Worked Example: Morning Commute Times
A worker records commute times (minutes), sorted:
Step 1 — Five-number summary. With (even), the median is . The lower half is so ; the upper half is so .
Step 2 — IQR.
Step 3 — Fences.
Step 4 — Flag outliers. Is any value below or above ? The -minute commute is above , so is an outlier. ✓
💡 When a data set has an outlier, the whisker stops at the most extreme value that is still inside the fence (here, ), and the outlier is drawn as a separate dot.
Concept Check 🎯
Your Outlier Checklist
For any data set, hunting outliers is always the same four moves:
- Find and , then .
- Lower fence .
- Upper fence .
- Any value beyond either fence is an outlier.
Now apply all four steps to a real data set in the drill below.
Hunt the Outlier 🧮
Test scores, sorted, with :
The five-number summary is min , , median , , max .
1) IQR 2) Upper fence (decimal is fine) 3) How many values are outliers?
A Value On the Fence
The fences draw a hard line: a value counts as an outlier only if it is strictly beyond a fence — farther out than the fence itself.
- A value greater than the upper fence → outlier.
- A value less than the lower fence → outlier.
- A value equal to a fence → not an outlier (it's right on the boundary, still inside).
⚠️ A common trap is to flag a point that lands exactly on a fence. Don't — equality is not "beyond." Keep this in mind for the next check.
Decide: Outlier or Not? 🔽
A data set has and (so IQR ). The fences are: lower and upper . For each value, choose whether it's an outlier.
Part 4: Reading & Comparing Box Plots
📦 Box Plots
Part 4 of 5 — Reading & Comparing Box Plots
🔑 Big Payoff: Box plots really shine when you stack two of them on the same number line to compare groups — which has the higher center, which is more spread out, which is skewed.
Reading a Single Box Plot
You can recover the entire five-number summary just by reading positions off the axis:
| Look at… | To read… |
|---|---|
| Left whisker tip | minimum |
| Left box edge | |
| Line in the box | median |
| Right box edge | |
| Right whisker tip | maximum |
Spotting Skew
The median line is rarely centered in the box. Its position tells you about skew:
- If the right side of the box and whisker is longer (median sits left of center), the data is skewed right (a few large values stretch it).
- If the left side is longer, the data is skewed left.
- If both sides look balanced, the data is roughly symmetric.
💡 The box plot hides how many points sit at each spot — it only shows the five landmarks. So two very different data sets can share the same box plot. It's a summary, not a full picture.
Concept Check 🎯
Comparing Two Box Plots
Two classes take the same test. Their five-number summaries:
| Min | Median | Max | |||
|---|---|---|---|---|---|
| Class A | |||||
| Class B |
How to compare them fairly:
- Center (median): Class B's median () is higher than Class A's () — B's typical score is a bit higher.
- Spread (IQR): Class A's IQR is ; Class B's is . Class B's middle half is more spread out (less consistent).
- Overall range: A spans ; B spans . Again B is wider.
⚠️ Always compare center with center (median vs. median) and spread with spread (IQR vs. IQR). Don't compare one group's median to another group's maximum — that's not a fair comparison.
Compare the Classes 🧮
Use the Class A and Class B summaries from above.
| Min | Median | Max | |||
|---|---|---|---|---|---|
| Class A | |||||
| Class B |
1) Class A's IQR 2) Class B's IQR 3) Class B's median minus Class A's median
Turning Numbers into Conclusions
The calculations only matter once you translate them into plain-language claims about the two groups:
- Higher median → higher typical score. Class B's median () tops Class A's (), so a typical Class B student scored a bit higher.
- Smaller IQR → more consistent. Class A's IQR () is smaller than Class B's (), so Class A's scores were more tightly clustered.
💡 A group can be better on average yet less consistent — exactly what we see here. Class B is higher and more spread out. Center and spread are two separate questions, so always answer both.
Interpret the Comparison 🔽
Still using Class A (median , IQR ) and Class B (median , IQR ). Choose the best conclusion in each case.
Part 5: Mixed Practice & Mastery Check
📦 Box Plots
Part 5 of 5 — Mixed Practice & Mastery Check
You can now (1) find a five-number summary, (2) build a box plot and its IQR, (3) flag outliers with the rule, and (4) read and compare plots. Let's put it all together.
Quick Reference
| Goal | Key move |
|---|---|
| Five-number summary | sort, then min, , median, , max |
| / | median of the lower / upper half |
| Box length (IQR) | |
| Range | |
| Outlier fences | and |
| Box contains | the middle of the data |
⚠️ Remember: sort first, exclude the median from the halves when is odd, and a value exactly on a fence is not an outlier.
Mixed Practice 🎯
The Full Method, Start to Finish
Here is the complete workflow for any data set, in order:
- Sort the values from smallest to largest.
- Find the median, then and (medians of the lower and upper halves).
- Record the min and max for the whole five-number summary.
- Compute .
- Build fences at and and flag any outliers.
The next drill walks you through every one of these steps on a fresh data set.
Full Analysis 🧮
Hours of sleep recorded for students, sorted:
The five-number summary is min , , median , , max .
1) IQR 2) Upper fence (decimal is fine) 3) Is the maximum value an outlier? Enter yes or no.
You're Ready
That last drill used every skill in this lesson at once — five-number summary, IQR, fences, and an outlier decision. If it felt routine, you've got box plots down.
🔑 One-line summary: A box plot is the five-number summary made visible — a box of the middle , whiskers to the extremes, and dots for any value past the fences.
Finish with the exit quiz below.
Exit Quiz ✅
Answer all three to finish the lesson.