Box and whisker plot maker
Paste a list of numbers. The sheet works out the five-number summary and the outlier fences, and draws the box plot from them.
| A | B | C | |
|---|---|---|---|
| 1 | Values | Summary | |
| 2 | 6 | Minimum | 6 |
| 3 | 7 | Q1 (25%) | 25.5 |
| 4 | 15 | Median | 40 |
| 5 | 36 | Q3 (75%) | 42.5 |
| 6 | 39 | Maximum | 49 |
| 7 | 40 | IQR | 17 |
| 8 | 41 | Lower fence | 0 |
| 9 | 42 | Upper fence | 68 |
| 10 | 43 | Lower whisker | 6 |
| 11 | 47 | Upper whisker | 49 |
| 12 | 49 | Outliers | none |
Blue cells are inputs: type a new value and the sheet recomputes. Click a result to see its formula.
How it works, step by step
=QUARTILE.INC(A2:A501,1) =C5-C3 =C3-1.5*C7 =MINIFS(A2:A501,A2:A501,">="&C8) Functions used here
More free tools
Questions
How do you make a box and whisker plot?
Sort out five numbers: minimum, Q1, median, Q3 and maximum. Draw a box from Q1 to Q3 with a line at the median, then whiskers out to the smallest and largest values that are not outliers. Paste your numbers above and the plot is drawn for you.
How do I find the quartiles?
Q1 is the median of the lower half of the data and Q3 the median of the upper half. In a spreadsheet, =QUARTILE.INC(A2:A12,1) and =QUARTILE.INC(A2:A12,3) return them. For 6, 7, 15, 36, 39, 40, 41, 42, 43, 47, 49 they are 25.5 and 42.5.
Why do different tools give different quartiles?
There are several accepted methods. QUARTILE.INC includes the median when splitting the data; QUARTILE.EXC leaves it out and gives slightly wider quartiles on small samples. Textbooks often use the exclusive method, so check which one your course expects.
How do I find outliers?
Work out the IQR (Q3 − Q1). Anything below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR is an outlier. In 1 to 9 plus 100, the upper fence is 14.5, so 100 is an outlier.
What does a box plot show?
Where the middle half of the values lies (the box), the median (the line), how far the rest spreads (the whiskers) and which values are unusual (the dots). It is a quick way to compare groups side by side.
Run these formulas on live data
Sheets is a spreadsheet with 491 functions that reads your store, accounting or project data live, builds dashboards and e-mails reports on a schedule.