What is a Box Plot Calculator?
A box plot calculator turns raw data into a box-and-whisker plot. The box runs from the first quartile (Q1) to the third quartile (Q3) with a line at the median, the whiskers reach toward the extremes, and points more than 1.5 × IQR beyond the box are drawn as outliers. It compares up to six groups and downloads PNG or SVG.
What the Box Plot Calculator does
Enter up to six groups of numbers and this tool computes each group’s five-number summary (minimum, Q1, median, Q3, maximum), the interquartile range, Tukey’s fences and any outliers, then draws side-by-side box plots with the mean marked as a diamond. The chart downloads as PNG or SVG, and the table lists every value used to draw it.
It works as a box plot maker, box and whisker plot maker, box plot generator or box plot creator, whichever name your course uses. Set Input type to five-number summary when you only have the minimum, Q1, median, Q3 and maximum. With Tukey whiskers the chart is what the TI-84 calls a modified box plot; switch the whiskers to minimum–maximum for the plain version. You also choose the quartile method, so the numbers match your textbook, calculator or Excel.
Box plots are the quickest way to compare the center and spread of several groups, such as delivery times by courier, test scores by class or yields by fertilizer. They show skew and outliers at a glance, but hide the detailed shape (two peaks, for example), so pair them with a histogram when the shape matters.
How to use the Box Plot Calculator
- Choose Input type: raw data values, or a five-number summary (min, Q1, median, Q3, max) for each group.
- Type or paste each group’s values into Data for each group; use the button below the boxes to add groups (up to six).
- Optionally enter Group names (comma-separated), for example “Control, Treatment”, plus a Chart title and Value axis label.
- Choose the Quartile method your textbook or software uses; the default matches the TI-84 and most introductory courses.
- Choose Whiskers: Tukey’s 1.5 × IQR rule shows outliers as points, while minimum to maximum draws plain whiskers to the extremes.
- Read the summary table and step-by-step solution, then download the chart with the PNG or SVG button.
Box plot formulas
A box plot is built from the quartiles. The fences decide where the whiskers stop and which points count as outliers.
| Symbol | Meaning |
|---|---|
| Q1, Q3 | first and third quartiles (25th and 75th percentiles) |
| median | middle value of the sorted data (Q2) |
| IQR | spread of the middle 50% of the data |
| 1.5 | Tukey’s multiplier; 3 × IQR is sometimes used for “extreme” outliers |
Quartiles have several definitions. This tool offers four: medians of halves excluding or including the median, and the two interpolation rules used by Excel’s QUARTILE.INC and QUARTILE.EXC. They agree for large samples but can differ noticeably for small ones, which changes the box, the fences and occasionally which points are outliers.
The 1.5 × IQR fences come from John Tukey’s Exploratory Data Analysis (1977); the NIST/SEMATECH e-Handbook describes the same construction. Rob Hyndman and Yanan Fan’s 1996 paper “Sample Quantiles in Statistical Packages” catalogues the competing quartile definitions.
Worked example
Worked example: delivery times for three couriers
Problem. Delivery times in minutes were recorded for Courier A (12 orders), Courier B (11) and Courier C (13); the values are the default data above. Build Tukey box plots using the median-of-halves (exclusive) quartiles.
- 01Courier A sorted: 23, 25, 27, 28, 29, 30, 31, 32, 33, 35, 36, 52. Lower half median Q1 = 27.5, median = 30.5, upper half median Q3 = 34.
- 02IQR = 34 − 27.5 = 6.5, so the fences are 27.5 − 9.75 = 17.75 and 34 + 9.75 = 43.75. The value 52 is above 43.75, so it is an outlier and the upper whisker stops at 36.
- 03Courier B sorted: 18, 22, 24, 26, 27, 29, 31, 33, 34, 38, 41. With n = 11 the median 29 is left out of both halves, so Q1 = 24 and Q3 = 34. IQR = 10 and the fences are 9 and 49; every value is inside, so the whiskers run from 18 to 41.
- 04Courier C: Q1 = 35, median = 40, Q3 = 45.5, IQR = 10.5, fences 19.25 and 61.25; no outliers, whiskers 30 to 51.
Answer. Courier C has the highest median (40 minutes) and Courier B the lowest (29). Courier A is the most consistent (IQR 6.5) but has one very late delivery at 52 minutes, which the Tukey plot shows as a separate point. Means: A 31.75, B 29.3636, C 40.2308.
How do you calculate a box plot by hand?
Five steps turn a list of numbers into a box plot. The calculator above shows each one for your data under Step-by-step solution.
- Sort the data from smallest to largest.
- Find the median and quartiles. The median splits the data in half; Q1 is the median of the lower half and Q3 the median of the upper half (or use the interpolation rule your software uses).
- Compute the IQR and fences. IQR = Q3 − Q1, lower fence = Q1 − 1.5 × IQR, upper fence = Q3 + 1.5 × IQR.
- Mark outliers and whisker ends. Values outside the fences are outliers; each whisker stops at the most extreme value still inside its fence.
- Draw the plot. A box from Q1 to Q3, a line at the median, whiskers to the whisker ends and a separate point for each outlier.
How to read a box plot
Each part of the plot answers a different question about the data:
- Median line: the typical value. Compare medians across groups to compare centers.
- Box length (IQR): the spread of the middle half. A longer box means more variable data.
- Median position inside the box: a median closer to Q1 suggests right skew; closer to Q3 suggests left skew.
- Whisker lengths: a much longer upper whisker also points to a right tail.
- Separate points: observations more than 1.5 IQR outside the box. Check them for data errors before removing anything.
- Mean marker vs median: a mean well above the median is another sign of right skew.
What percent of the data is in each part of a box plot?
The quartiles split the sorted data into four parts of roughly equal count, so each part holds about 25% of the values. The box holds the middle 50%, and 75% of the values lie at or below Q3. A long section does not hold more data than a short one; it means the same 25% of values are more spread out.
| Part of the plot | Share of the data |
|---|---|
| Minimum (or lower whisker) to Q1 | about 25% |
| Q1 to median | about 25% |
| Median to Q3 | about 25% |
| Q3 to maximum (or upper whisker) | about 25% |
| The box, Q1 to Q3 | about 50% |
| Everything at or below Q3 | about 75% |
Why the quartile method changes the box
There is no single rule for quartiles, and with small samples the choice moves the box. Courier B from the worked example (n = 11) gives two different boxes depending on the method:
| Quartile method | Q1 | Q3 | IQR | Fences |
|---|---|---|---|---|
| Median of halves, excluding the median (TI-84) | 24 | 34 | 10 | 9 and 49 |
| Median of halves, including the median (Tukey hinges) | 25 | 33.5 | 8.5 | 12.25 and 46.25 |
| Excel QUARTILE.INC, R default | 25 | 33.5 | 8.5 | 12.25 and 46.25 |
| Excel QUARTILE.EXC, Minitab | 24 | 34 | 10 | 9 and 49 |
Making a box plot from a five-number summary
Set Input type to five-number summary and enter each group as min, Q1, median, Q3, max, for example “52, 64, 71, 80, 95”. The calculator draws the box from Q1 to Q3 with a line at the median and runs the whiskers to the minimum and maximum. It also computes the fences and tells you if the minimum or maximum lies beyond them, but it cannot mark individual outliers, because that needs the raw values. To get the five numbers from a list, use the 5 Number Summary Calculator.
Common use cases
- Comparing groups: treatment vs control, or sales by region, before running a t-test or ANOVA.
- Screening for outliers with Tukey’s fences, then checking the flagged values with the Lower and Upper Fence Calculator.
- Process monitoring: compare cycle times or defect counts across shifts or machines.
- Homework: draw a box-and-whisker plot from a five-number summary computed with a specific quartile method.
Assumptions and limitations
- A box plot hides the detailed shape. Two very different distributions (one bimodal, one bell-shaped) can produce the same box; look at a histogram when shape matters.
- Quartiles from small samples are unstable, and the quartile method can change the box noticeably when n is under about 10. Report which method you used.
- The 1.5 × IQR rule flags points for inspection; it is not proof that they are errors. In large samples from a normal distribution about 0.7% of values fall outside the fences by chance.
- Overlapping boxes do not prove that groups are the same, and separate boxes do not replace a significance test. Use a formal test for conclusions.
- For the summary numbers alone, the 5 Number Summary Calculator and Quartile Calculator give more detail on each quartile method.
Frequently asked questions
How do you make a box plot on a TI-84 calculator?
What is a modified box plot?
What does a box plot show?
How are outliers determined in a box plot?
Why does my box plot differ from Excel or my calculator?
What does the diamond inside the box represent?
Should whiskers go to the minimum and maximum or to 1.5 × IQR?
How many values do I need for a box plot?
Cite this page
Statculator. (2026, November 14). Box Plot Calculator. Retrieved November 14, 2026, from https://statculator.com/charts/box-plot-calculator/