Five-Number Summary
April 12, 2026
Problem
Find min, Q1, median, Q3, max for {12, 15, 18, 22, 25, 28, 30, 35, 40}. Draw the box plot.
Explanation
The five numbers
Every dataset can be summarized by five values:
- Minimum — smallest value
- Q1 — 25th percentile (first quartile)
- Median (Q2) — 50th percentile (middle value)
- Q3 — 75th percentile (third quartile)
- Maximum — largest value
Step-by-step: {12, 15, 18, 22, 25, 28, 30, 35, 40}
(already sorted).
- Min = 12
- Q1 = median of {12, 15, 18, 22} =
- Median = 25 (5th value)
- Q3 = median of {28, 30, 35, 40} =
- Max = 40
From summary to box plot
The five-number summary directly maps to a box plot: box from Q1 to Q3, line at median, whiskers to min and max (or to fences if checking for outliers).
Try it in the visualization
The data is sorted and each of the five values is marked. The box plot builds from these values. IQR and range are computed.
Interactive Visualization
Parameters
Your turn
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.
Sign Up Free to Try It30 free visualizations every day