Box and Whisker Plot Maker
Paste numbers or several groups to draw box plots side by side, with Q1, median, Q3, IQR and Tukey outliers worked out for you. Export a PNG, SVG or Excel summary.
- Runs in your browser
- Free
- No sign-up
One list, columns copied from Excel (one group per column, headers optional), group/value pairs, or lines like Class A: 72, 85, 90.
3 groups, 36 values.
| Group | n | Min | Q1 | Median | Q3 | Max | IQR | Mean | Std dev | Lower fence | Upper fence | Outliers |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Class A | 12 | 66 | 75 | 83 | 89 | 95 | 14 | 81.6667 | 8.97809 | 54 | 110 | none |
| Class B | 12 | 55 | 63.5 | 69.5 | 75.5 | 98 | 12 | 70.5 | 11.4535 | 45.5 | 93.5 | 98 |
| Class C | 12 | 52 | 85 | 88.5 | 91.5 | 95 | 6.5 | 85.5 | 11.3898 | 75.25 | 101.25 | 52 |
How to Make a Box Plot
- Paste the data. One list of numbers gives one box. Columns with headers, group and value pairs, or lines like
Class A: 72, 85, 90give a box per group on one scale. - Choose the quartile method. Median of halves for most classes, or QUARTILE.INC or QUARTILE.EXC to match Excel.
- Style it. Draw it vertically or horizontally, show the mean and the individual points, and set a title and axis label.
- Export. Download a PNG or SVG of the plot, or an Excel workbook with the summary as formulas.
Reading a Box and Whisker Plot
The box covers the middle 50% of the values, from Q1 to Q3, and its length is the interquartile range. The line inside is the median. A median near one end of the box, or one whisker much longer than the other, means the data are skewed. Boxes side by side on the same scale make it easy to compare groups: their medians, how spread out they are, and which have unusual values.
Worked Example: Finding Q1, Q3 and Outliers
For 12, 15, 17, 19, 20, 21, 22, 23, 25, 26, 28, 30, 31, 34, 58 (15 values), the median is the 8th value, 23. With the median of halves method, Q1 is the median of the lower seven values, 19, and Q3 is the median of the upper seven, 30, so IQR = 11. The fences are 19 - 16.5 = 2.5 and 30 + 16.5 = 46.5, so 58 is an outlier and the upper whisker stops at 34. Load One list of numbers in the tool to see it drawn.
Making a Box Plot in Excel
Excel 2016 and later have a built-in Box and Whisker chart: select the data, then Insert, Insert Statistic Chart, Box and Whisker. Its quartile setting is under Format Data Series. For the numbers behind the chart, use =QUARTILE.INC or =QUARTILE.EXC, =MEDIAN and =MIN/=MAX, or download the workbook from this page, which has them all set up. To see the shape of one set of values in more detail, try the histogram maker or the standard deviation calculator.
Frequently Asked Questions
Paste your numbers: one list, columns copied from Excel with one group per column, or group and value pairs. The plot, the five-number summary and the outliers update as you type, and you can download the plot as PNG or SVG and the summary as an Excel workbook.
With Tukey's rule. The interquartile range is IQR = Q3 - Q1. Any value below Q1 - 1.5 x IQR or above Q3 + 1.5 x IQR is an outlier, drawn as an open circle, and the whiskers stop at the most extreme values inside those fences. Values beyond 3 x IQR are drawn filled as extreme outliers. You can change the 1.5 or draw the whiskers to the minimum and maximum instead.
There are several ways to find quartiles. Median of halves is what TI-84 calculators and most textbooks use. Excel's QUARTILE.INC (also Google Sheets' QUARTILE) and QUARTILE.EXC interpolate between values and can give slightly different Q1 and Q3. Pick the method you need from the list; the median is the same in all three.
The minimum, the first quartile (Q1), the median, the third quartile (Q3) and the maximum. The box runs from Q1 to Q3, so it holds the middle half of the data, the line inside it is the median, and the whiskers reach out toward the minimum and maximum.
A Data sheet with one column per group and a Summary sheet of live formulas: COUNT, MIN, QUARTILE.INC or QUARTILE.EXC, MEDIAN, MAX, the IQR, AVERAGE, STDEV.S, both fences, the whisker ends (MINIFS and MAXIFS) and an outlier count, so it recalculates when you change a number.
No. The numbers are read, summarized and drawn in your browser, and the downloads are made there too.