Skip to content
🎯⭐ INTERACTIVE LESSON

Box Plots

Learn step-by-step with interactive practice!

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 Q1Q_1 and Q3Q_3
The Full Five-Number Summary

🔑 Key Concept: A box plot is a picture of five numbers: the minimum, Q1Q_1, the median, Q3Q_3, 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:

4,  7,  8,  11,  13,  16,  194,\; 7,\; 8,\; 11,\; 13,\; 16,\; 19

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 Q1Q_1 is the median of the lower half,
  • the third quartile Q3Q_3 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 (Q1Q_1, the median Q2Q_2, and Q3Q_3) chop the sorted data into four slices, each holding about 25%25\% of the values.

Step 1 — Sort, Then Find the Median

Always sort the data from smallest to largest first. Our scores are already sorted:

4,  7,  8,  11⏟median,  13,  16,  194,\; 7,\; 8,\; \underbrace{11}_{\text{median}},\; 13,\; 16,\; 19

There are n=7n = 7 values (odd), so the median is the single middle value — the 4th4^{\text{th}} one: 1111.

The minimum is 44 and the maximum is 1919.

What if there's an even count?

For   3,  5,  8,  9,  12,  14  \;3,\; 5,\; 8,\; 9,\; 12,\; 14\; (n=6n=6), there is no single middle value. Average the two middle numbers (88 and 99):

median=8+92=8.5\text{median} = \frac{8 + 9}{2} = 8.5

⚠️ 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   4, 7, 8, 11, 13, 16, 19  \;4,\, 7,\, 8,\, \mathbf{11},\, 13,\, 16,\, 19\; with median 1111.

When nn is odd, the median is one specific data value, so we leave it out when splitting into halves:

4,  7,  8⏟lower half∣11∣13,  16,  19⏟upper half\underbrace{4,\; 7,\; 8}_{\text{lower half}}\quad\Big|\quad \mathbf{11} \quad\Big|\quad \underbrace{13,\; 16,\; 19}_{\text{upper half}}

  • Q1Q_1 = median of the lower half   {4,7,8}\;\{4, 7, 8\} = 7\mathbf{7}
  • Q3Q_3 = median of the upper half   {13,16,19}\;\{13, 16, 19\} = 16\mathbf{16}

🔑 The rule: Q1Q_1 is the median of all values below the overall median; Q3Q_3 is the median of all values above it. If nn is odd, exclude the median itself from both halves. If nn is even, the two halves are simply the lower n2\frac{n}{2} and upper n2\frac{n}{2} values.

Match Each Landmark 🔽

For the sorted data   2,  4,  6,  8,  10  \;2,\; 4,\; 6,\; 8,\; 10\; (n=5n = 5), choose the correct value for each statistic.

The Five-Number Summary

Putting it all together for the quiz scores   4, 7, 8, 11, 13, 16, 19\;4,\,7,\,8,\,11,\,13,\,16,\,19:

StatisticValue
Minimum44
Q1Q_1 (first quartile)77
Median (Q2Q_2)1111
Q3Q_3 (third quartile)1616
Maximum1919

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. Q1>Q_1 > median), you made an arithmetic slip — go back and recheck.

Find the Quartiles 🧮

Daily high temperatures (°F), already sorted:

64,  66,  68,  70,  72,  74,  7664,\; 66,\; 68,\; 70,\; 72,\; 74,\; 76

1) Median = ?= \,? 2) Q1= ?Q_1 = \,? 3) Q3= ?Q_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 Q1Q_1 to Q3Q_3 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 plotComes from
Left whisker endminimum
Left edge of boxQ1Q_1
Line inside boxmedian
Right edge of boxQ3Q_3
Right whisker endmaximum

A rough sketch on a number line:

∣min ⁣ ⁣− ⁣ ⁣− ⁣ ⁣− ⁣ ⁣[Q1  ∣med  ]Q3 ⁣ ⁣− ⁣ ⁣− ⁣ ⁣− ⁣ ⁣∣max\overset{\text{min}}{|}\!\!-\!\!-\!\!-\!\!\overset{Q_1}{[}\;\overset{\text{med}}{|}\;\overset{Q_3}{]}\!\!-\!\!-\!\!-\!\!\overset{\text{max}}{|}

  • The box spans Q1Q_1 to Q3Q_3 and holds the middle 50%50\% 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:

IQR=Q3−Q1\text{IQR} = Q_3 - Q_1

It measures the spread of the middle 50%50\% of the data and ignores the extremes entirely.

Worked Example

A data set has the five-number summary

4,  7,  12,  16,  20(min, Q1, med, Q3, max).4,\; 7,\; 12,\; 16,\; 20 \qquad (\text{min},\, Q_1,\, \text{med},\, Q_3,\, \text{max}).

IQR=Q3−Q1=16−7=9\text{IQR} = Q_3 - Q_1 = 16 - 7 = 9

Range=max−min=20−4=16\text{Range} = \text{max} - \text{min} = 20 - 4 = 16

⚠️ 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 Q1Q_1 and Q3Q_3 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:

4,  6,  7,  9,  10,  12,  13,  15,  16,  18,  204,\; 6,\; 7,\; 9,\; 10,\; 12,\; 13,\; 15,\; 16,\; 18,\; 20

There are n=11n = 11 values. Find each value for the box plot.

1) Median = ?= \,? 2) Q1= ?Q_1 = \,? 3) Q3= ?Q_3 = \,? 4) IQR = ?= \,?

Putting the Picture Together

With those five numbers, the box plot for the reaction times draws itself: the box runs from Q1=7Q_1 = 7 to Q3=16Q_3 = 16 (a width of 99, the IQR), a line marks the median at 1212, and the whiskers reach left to 44 and right to 2020.

💡 Notice the median line (1212) 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 1.5×IQR1.5 \times \text{IQR} 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:

Lower fence=Q1−1.5⋅IQR\text{Lower fence} = Q_1 - 1.5 \cdot \text{IQR}

Upper fence=Q3+1.5⋅IQR\text{Upper fence} = Q_3 + 1.5 \cdot \text{IQR}

🔑 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:

15,  18,  20,  22,  25,  28,  30,  5515,\; 18,\; 20,\; 22,\; 25,\; 28,\; 30,\; 55

Step 1 — Five-number summary. With n=8n=8 (even), the median is 22+252=23.5\frac{22+25}{2} = 23.5. The lower half is {15,18,20,22}\{15,18,20,22\} so Q1=18+202=19Q_1 = \frac{18+20}{2} = 19; the upper half is {25,28,30,55}\{25,28,30,55\} so Q3=28+302=29Q_3 = \frac{28+30}{2} = 29.

Step 2 — IQR. IQR=Q3−Q1=29−19=10\text{IQR} = Q_3 - Q_1 = 29 - 19 = 10

Step 3 — Fences. Lower=19−1.5(10)=19−15=4\text{Lower} = 19 - 1.5(10) = 19 - 15 = 4 Upper=29+1.5(10)=29+15=44\text{Upper} = 29 + 1.5(10) = 29 + 15 = 44

Step 4 — Flag outliers. Is any value below 44 or above 4444? The 5555-minute commute is above 4444, so 5555 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, 3030), 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:

  1. Find Q1Q_1 and Q3Q_3, then IQR=Q3−Q1\text{IQR} = Q_3 - Q_1.
  2. Lower fence =Q1−1.5⋅IQR= Q_1 - 1.5\cdot\text{IQR}.
  3. Upper fence =Q3+1.5⋅IQR= Q_3 + 1.5\cdot\text{IQR}.
  4. 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 n=9n = 9:

8,  10,  11,  13,  14,  15,  16,  18,  408,\; 10,\; 11,\; 13,\; 14,\; 15,\; 16,\; 18,\; 40

The five-number summary is min =8=8, Q1=10.5Q_1 = 10.5, median =14=14, Q3=17Q_3 = 17, max =40=40.

1) IQR = ?= \,? 2) Upper fence =Q3+1.5⋅IQR= ?= Q_3 + 1.5 \cdot \text{IQR} = \,? (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 Q1=30Q_1 = 30 and Q3=50Q_3 = 50 (so IQR =20= 20). The fences are: lower =30−1.5(20)=0= 30 - 1.5(20) = 0 and upper =50+1.5(20)=80= 50 + 1.5(20) = 80. 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 tipminimum
Left box edgeQ1Q_1
Line in the boxmedian
Right box edgeQ3Q_3
Right whisker tipmaximum

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:

MinQ1Q_1MedianQ3Q_3Max
Class A60606565757585859090
Class B55556060787890909595

How to compare them fairly:

  • Center (median): Class B's median (7878) is higher than Class A's (7575) — B's typical score is a bit higher.
  • Spread (IQR): Class A's IQR is 85−65=2085 - 65 = 20; Class B's is 90−60=3090 - 60 = 30. Class B's middle half is more spread out (less consistent).
  • Overall range: A spans 90−60=3090 - 60 = 30; B spans 95−55=4095 - 55 = 40. 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.

MinQ1Q_1MedianQ3Q_3Max
Class A60606565757585859090
Class B55556060787890909595

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 (7878) tops Class A's (7575), so a typical Class B student scored a bit higher.
  • Smaller IQR → more consistent. Class A's IQR (2020) is smaller than Class B's (3030), 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 7575, IQR 2020) and Class B (median 7878, IQR 3030). 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 1.5×IQR1.5 \times \text{IQR} rule, and (4) read and compare plots. Let's put it all together.

Quick Reference

GoalKey move
Five-number summarysort, then min, Q1Q_1, median, Q3Q_3, max
Q1Q_1 / Q3Q_3median of the lower / upper half
Box length (IQR)IQR=Q3−Q1\text{IQR} = Q_3 - Q_1
Rangemax−min\text{max} - \text{min}
Outlier fencesQ1−1.5⋅IQRQ_1 - 1.5\cdot\text{IQR} and Q3+1.5⋅IQRQ_3 + 1.5\cdot\text{IQR}
Box containsthe middle 50%50\% of the data

⚠️ Remember: sort first, exclude the median from the halves when nn 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:

  1. Sort the values from smallest to largest.
  2. Find the median, then Q1Q_1 and Q3Q_3 (medians of the lower and upper halves).
  3. Record the min and max for the whole five-number summary.
  4. Compute IQR=Q3−Q1\text{IQR} = Q_3 - Q_1.
  5. Build fences at Q1−1.5⋅IQRQ_1 - 1.5\cdot\text{IQR} and Q3+1.5⋅IQRQ_3 + 1.5\cdot\text{IQR} 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 1010 students, sorted:

4,  6,  7,  7,  8,  10,  12,  14,  15,  214,\; 6,\; 7,\; 7,\; 8,\; 10,\; 12,\; 14,\; 15,\; 21

The five-number summary is min =4=4, Q1=7Q_1 = 7, median =9=9, Q3=14Q_3 = 14, max =21=21.

1) IQR = ?= \,? 2) Upper fence =Q3+1.5⋅IQR= ?= Q_3 + 1.5 \cdot \text{IQR} = \,? (decimal is fine) 3) Is the maximum value 2121 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 50%50\%, whiskers to the extremes, and dots for any value past the 1.5×IQR1.5\times\text{IQR} fences.

Finish with the exit quiz below.

Exit Quiz ✅

Answer all three to finish the lesson.