Box Plot Maker
A box plot (box and whisker plot) draws the five number summary: the box spans Q1 to Q3, the line inside it marks the median, the whiskers reach the smallest and largest values that are not outliers, and outliers appear as open circles. Enter up to three data sets above to plot them on one shared axis, compare their centers and spreads, and read the summary table below the chart.
| Data set | Min | Q1 | Median | Q3 | Max | IQR | Outliers |
|---|---|---|---|---|---|---|---|
| Class A | 62 | 72.5 | 79 | 86.5 | 97 | 14 | — |
| Class B | 55 | 68 | 74.5 | 82.5 | 99 | 14.5 | — |
Working for the first data set
- Sorted data (n = 12): 62, 68, 71, 74, 75, 78, 80, 83, 85, 88, 91, 97
- Quartile method: median of halves
- Lower half: 62, 68, 71, 74, 75, 78; upper half: 80, 83, 85, 88, 91, 97
- Min = 62, Q1 = 72.5, median = 79, Q3 = 86.5, max = 97
- IQR = Q3 − Q1 = 86.5 − 72.5 = 14
- Fences: Q1 − 1.5 × IQR = 51.5 and Q3 + 1.5 × IQR = 107.5; outliers: none
Example: the box for Class A (12 scores)
- Box from Q1 = 72.5 to Q3 = 86.5, median line at 79
- Whiskers reach 62 and 97; outliers: none
Reading a box plot
Compare the medians first: the group whose median line is further right has the higher typical value. Then compare box widths, which show the interquartile range. A wide box means more spread in the middle half of the data. A median line off-center within its box signals skew: if the line is near the left edge, the values bunch at the low end with a tail to the right.
Whiskers show the range of the non-outlier data. A long whisker on one side means the values on that side are spread out. Points beyond the fences Q1 − 1.5 × IQR and Q3 + 1.5 × IQR are drawn individually as outliers; they deserve a look, since they may be typing errors or genuinely unusual cases.
Comparing groups
All data sets share one scale, so two classes, two treatments or two years can be compared directly. Give each set a name, leave an unused set empty to plot fewer groups, and switch the quartile method if your course uses interpolation instead of median of halves. Small data sets give slightly different quartiles under the two methods, which can change where the box edges land.
The SVG download contains the plot only, so you can place it in a report or slide. For the exact numbers behind each plot, see the table under the chart or use the five number summary calculator.
Frequently asked questions
- What does a long whisker mean?
- The values on that side are spread more widely, which often means the data are skewed in that direction.
- Can I compare two classes?
- Yes. Enter each class as its own data set; all plots share one scale so they can be compared directly.
- What counts as an outlier?
- A value below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR. It is drawn as an open circle beyond the whisker.
- Does a box plot show the mean?
- No. It shows the median and quartiles. The mean is not drawn, which is one reason box plots resist the effect of outliers.
Sources and references
- OpenStax Introductory Statistics 2e: Measures of the Center of the Data: mean, median and mode.
- OpenStax Introductory Statistics 2e: Measures of the Spread of the Data: sample and population standard deviation.