Quick Answer
A box plot shows the five-number summary: minimum, Q1, median, Q3 and maximum. For Class B in the example, that’s 45, 66, 72, 79, 99. The IQR is 13, so values below 46.5 or above 98.5 are drawn as outlier dots.
Embed this calculator
Adjust the size if needed, then copy the code below into your page or blog. The calculator will load in an iframe and stay updated automatically.
Table of Contents
- Box Plot Maker
- Quick Answer
- Related Calculators
- How This Box Plot Maker Works
- How to Use the Box Plot Maker
- Core Formulas
- Key Terms
- Worked Example
- Real-Life Examples
- Box Plot vs Histogram
- Five-Number Summaries for the Example
- How to Read a Box Plot
- Small Data Sets
- Common Mistakes to Avoid
- Frequently Asked Questions
- References & Sources
How This Box Plot Maker Works
Type or paste each data set on its own line. To name a set, start the line with the name and a colon, such as Class A: 62, 68, 71. You can draw up to 8 sets on the same scale, so it’s easy to compare groups. For each set, the tool finds the five-number summary, the IQR and the mean, then draws a horizontal box plot that you can download as a PNG image or an SVG file.
Choose how the whiskers are drawn. With the 1.5 × IQR rule, each whisker stops at the last data value inside the fence, and values beyond it are drawn as dots. This is the box plot with fences described in the NIST handbook. With the minimum and maximum rule, the whiskers reach the smallest and largest values and no dots are drawn. Say which rule you used when you share a chart, because both are common.
Quick explanation:
- Box: from Q1 to Q3, the middle half of the data.
- Thick line: the median.
- Whiskers: the spread outside the box.
- Dots: possible outliers. Open dots are beyond 1.5 × IQR, filled dots beyond 3 × IQR.
- Diamond: the mean, if you choose to show it.
How to Use the Box Plot Maker
- Enter each data set on its own line, with a name and colon if you like.
- Choose the quartile method and whisker rule.
- Press Calculate or Enter.
- Read the five-number summaries and look at the chart.
- Download the chart, or save, share or print the results.
Core Formulas
- Five-number summary: minimum, Q1, median, Q3, maximum
- IQR: Q3 − Q1
- Inner fences: Q1 − 1.5 × IQR and Q3 + 1.5 × IQR
- Outer fences: Q1 − 3 × IQR and Q3 + 3 × IQR
- Whisker ends: the smallest and largest data values inside the inner fences
Key Terms
- Five-number summary: minimum, Q1, median, Q3 and maximum.
- Whisker: a line from the box toward the smallest or largest value.
- Inner fence: 1.5 × IQR beyond a quartile.
- Outer fence: 3 × IQR beyond a quartile.
- Box-and-whisker plot: another name for a box plot.
Worked Example
Class B scored 45, 58, 64, 66, 69, 70, 72, 72, 74, 76, 79, 82, 84, 99. Using Method 1 for quartiles:
- There are 14 values, so the median is the average of the 7th and 8th: 72.
- The lower half is the first 7 values, so Q1 = 66. The upper half is the last 7, so Q3 = 79.
- IQR = 79 − 66 = 13.
- Inner fences: 66 − 1.5 × 13 = 46.5 and 79 + 1.5 × 13 = 98.5.
- 45 and 99 are outside the fences, so they are drawn as dots. The whiskers run from 58 to 84.
Class C has a narrower box than Class B, so its middle scores are closer together. Comparing medians and box widths like this is what box plots are best at.
Real-Life Examples
- Homework: draw a box plot and check the five-number summary.
- Comparing classes or groups: put several sets on one scale.
- Lab results: compare repeated measurements from different machines or batches.
- Reports: download a clean PNG or SVG for slides and documents.
Box Plot vs Histogram
- Box plot: shows five numbers and outliers. Good for comparing several groups side by side.
- Histogram: shows the full shape, such as two peaks, which a box plot can hide.
- Together: a histogram shows the shape and a box plot gives a quick summary.
Five-Number Summaries for the Example
These are the summaries the tool shows for the example data with the 1.5 × IQR rule.
| Set | Min | Q1 | Median | Q3 | Max | Outliers |
|---|---|---|---|---|---|---|
| Class A | 62 | 74 | 79 | 85 | 94 | None |
| Class B | 45 | 66 | 72 | 79 | 99 | 45, 99 |
| Class C | 70 | 76 | 79.5 | 83 | 89 | None |
How to Read a Box Plot
- Center: compare the median lines. A higher median means typical values are higher.
- Spread: a wider box means the middle half of the values is more spread out.
- Skew: if the median sits near one end of the box, or one whisker is much longer, the data are skewed toward the longer side.
- Outliers: dots show values far from the rest. Check them before you remove anything.
- Mean vs median: if the diamond is well away from the median line, a few large or small values are pulling the mean.
Small Data Sets
A box plot of a handful of numbers can be misleading, because each quartile then depends on one or two values. The quartile method also matters more with small sets. With dozens of values, the methods agree more closely and the box gives a fairer picture. For very small sets, it can help to show the values themselves as well.
Common Mistakes to Avoid
- Drawing the whisker to the fence. It stops at the last real data value inside the fence.
- Different scales. Compare groups on one shared axis, as this tool does.
- Not saying which whisker rule was used. Add it to the caption.
- Reading the box as the whole range. It only covers the middle half.
- Deleting outliers without checking them. They may be real.
Frequently Asked Questions
A chart of the five-number summary. The box covers Q1 to Q3, a line marks the median, and whiskers show the rest of the spread.
The minimum, Q1, median, Q3 and maximum.
Enter your numbers and press Calculate. The tool finds the summary and draws the chart.
Yes. Put each group on its own line, up to 8, and they share one scale.
Start the line with a name and a colon, such as Group 1: 4, 7, 9.
With the 1.5 × IQR rule, at the last data value inside the fences. With the minimum and maximum rule, at the smallest and largest values.
Possible outliers. Open dots are beyond 1.5 × IQR from the box and filled dots are beyond 3 × IQR.
Yes. Use Download PNG for an image or Download SVG for a file you can resize without losing quality.
Quartiles can be found in several ways. Try the other quartile methods.
The mean. You can turn it off.
Yes, they’re two names for the same chart.
No. The chart is made in your browser. A share link includes your data, so only share it with people who may see it.
Yes. Save each set by name in this browser.
Yes. Use Compare: keep as A.
Yes. Use Share link or Print.
References & Sources
| Source | Used For | Link |
|---|---|---|
| NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.3.7 Box Plot | How a box plot is drawn, with whiskers to the last points inside the inner fences. | https://www.itl.nist.gov/div898/handbook/eda/section3/boxplot.htm |
| NIST/SEMATECH e-Handbook of Statistical Methods, 7.1.6 What are outliers in the data? | Inner fences at 1.5 × IQR and outer fences at 3 × IQR, with a worked example. | https://www.itl.nist.gov/div898/handbook/prc/section1/prc16.htm |
| Wikipedia, Five-number summary | The five values a box plot shows. | https://en.wikipedia.org/wiki/Five-number_summary |
| Wikipedia, Box plot | Whiskers to the minimum and maximum, or to the last value within 1.5 × IQR, with outliers as points. | https://en.wikipedia.org/wiki/Box_plot |
| Wikipedia, Quartile | Methods 1 and 2: split the data at the median and leave the median out or keep it in (Tukey’s hinges). | https://en.wikipedia.org/wiki/Quartile |