Skip to content
Statculator
Charts & Graphs

Box Plot Calculator

Box plot calculator and box and whisker plot maker: enter up to six groups, get the five-number summary, IQR, fences and outliers, and download PNG or SVG.

Free, no sign-up Runs in your browserBy Hira Noor, BS MathematicsUpdated

Try

Choose five-number summary if you only have the minimum, Q1, median, Q3 and maximum of each group.

Data for each group
n = 12
n = 11
n = 13

Enter one to six groups. Raw data needs at least 2 values per group; a five-number summary needs exactly 5, in order: min, Q1, median, Q3, max.

Names are matched, in order, to the groups that contain data.

Software differs here; pick the method your course or package uses.

Results

Box plot of 3 groupsCourier AQ1 27.5, median 30.5, Q3 34Mean 31.75Outlier 52Courier BQ1 24, median 29, Q3 34Mean 29.3636Courier CQ1 35, median 40, Q3 45.5Mean 40.2308152025303540455055
Box: Q1 to Q3 with the median line. Diamond: mean. Circles: outliers beyond 1.5 × IQR.
Highest median
Courier C: 40
Widest IQR
Courier C: 10.5
Outliers (1.5 × IQR rule)
1
Courier A: 52
Courier A: median, IQR (n = 12)
30.5, 6.5
Courier B: median, IQR (n = 11)
29, 10
Courier C: median, IQR (n = 13)
40, 10.5
Total observations
36

Interpretation: Courier C has the highest median (40) and Courier B the lowest (29). Their boxes do not overlap (Q1 of Courier C = 35 is above Q3 of Courier B = 34), a strong visual sign that typical values differ.

Five-number summary, fences and outliers

StatisticCourier ACourier BCourier C
n121113
Minimum231830
Q127.52435
Median30.52940
Q3343445.5
Maximum524151
IQR6.51010.5
Mean31.7529.363640.2308
Lower fence17.75919.25
Upper fence43.754961.25
Whisker ends23 to 3618 to 4130 to 51
Outliers52nonenone

Whiskers reach the most extreme values that are still inside the fences. Values beyond the fences are drawn as open circles.

Step-by-step solution

  1. 1

    Sort each group

    Courier A: 23, 25, 27, 28, 29, 30, 31, 32, 33, 35, 36, 52
    Courier B: 18, 22, 24, 26, 27, 29, 31, 33, 34, 38, 41
    Courier C: 30, 33, 34, 36, 37, 38, 40, 41, 43, 45, 46, 49, 51
  2. 2

    Find the median and quartiles

    Q1 and Q3 are the medians of the lower and upper halves of the sorted data; with an odd n the median itself is left out of both halves.

    Courier A: Q1 = 27.5, median = 30.5, Q3 = 34
    Courier B: Q1 = 24, median = 29, Q3 = 34
    Courier C: Q1 = 35, median = 40, Q3 = 45.5
  3. 3

    Compute the interquartile range

    Courier A: IQR = 34 − 27.5 = 6.5
    Courier B: IQR = 34 − 24 = 10
    Courier C: IQR = 45.5 − 35 = 10.5
  4. 4

    Compute the fences

    Courier A: 27.5 − 1.5 × 6.5 = 17.75; 34 + 1.5 × 6.5 = 43.75
    Courier B: 24 − 1.5 × 10 = 9; 34 + 1.5 × 10 = 49
    Courier C: 35 − 1.5 × 10.5 = 19.25; 45.5 + 1.5 × 10.5 = 61.25
  5. 5

    Set the whisker ends and flag outliers

    Each whisker stops at the most extreme data value inside the fences; anything outside is an outlier.

    Courier A: whiskers 23 to 36; outliers: 52
    Courier B: whiskers 18 to 41; outliers: none
    Courier C: whiskers 30 to 51; outliers: none
  6. 6

    Draw the box and mark the mean

    The box spans Q1 to Q3 with a line at the median; the diamond shows the mean for comparison.

    Courier A: mean = 31.75
    Courier B: mean = 29.3636
    Courier C: mean = 40.2308

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

  1. Choose Input type: raw data values, or a five-number summary (min, Q1, median, Q3, max) for each group.
  2. Type or paste each group’s values into Data for each group; use the button below the boxes to add groups (up to six).
  3. Optionally enter Group names (comma-separated), for example “Control, Treatment”, plus a Chart title and Value axis label.
  4. Choose the Quartile method your textbook or software uses; the default matches the TI-84 and most introductory courses.
  5. Choose Whiskers: Tukey’s 1.5 × IQR rule shows outliers as points, while minimum to maximum draws plain whiskers to the extremes.
  6. 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.

Interquartile range
IQR = Q3 − Q1
Lower and upper fences (Tukey)
lower fence = Q1 − 1.5 × IQR upper fence = Q3 + 1.5 × IQR
Whisker ends
low whisker = smallest x ≥ lower fence high whisker = largest x ≤ upper fence
Formula symbols
SymbolMeaning
Q1, Q3first and third quartiles (25th and 75th percentiles)
medianmiddle value of the sorted data (Q2)
IQRspread of the middle 50% of the data
1.5Tukey’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.

  1. 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.
  2. 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.
  3. 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.
  4. 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.

  1. Sort the data from smallest to largest.
  2. 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).
  3. Compute the IQR and fences. IQR = Q3 − Q1, lower fence = Q1 − 1.5 × IQR, upper fence = Q3 + 1.5 × IQR.
  4. Mark outliers and whisker ends. Values outside the fences are outliers; each whisker stops at the most extreme value still inside its fence.
  5. 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 plotShare of the data
Minimum (or lower whisker) to Q1about 25%
Q1 to medianabout 25%
Median to Q3about 25%
Q3 to maximum (or upper whisker)about 25%
The box, Q1 to Q3about 50%
Everything at or below Q3about 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 methodQ1Q3IQRFences
Median of halves, excluding the median (TI-84)2434109 and 49
Median of halves, including the median (Tukey hinges)2533.58.512.25 and 46.25
Excel QUARTILE.INC, R default2533.58.512.25 and 46.25
Excel QUARTILE.EXC, Minitab2434109 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?

Enter the data in L1 (STAT, Edit). Press 2nd, STAT PLOT, choose Plot1 and turn it On. Under Type pick the fourth icon for a modified box plot (outliers shown as points) or the fifth for a plain box plot, set Xlist to L1, then press ZOOM 9 (ZoomStat). Press TRACE to read the minimum, Q1, median, Q3 and maximum. Choose the TI-84 quartile method here to get the same numbers.

What is a modified box plot?

A modified box plot draws outliers as separate points. Its whiskers stop at the most extreme values inside the fences Q1 − 1.5 × IQR and Q3 + 1.5 × IQR instead of running to the minimum and maximum. It is the default whisker setting in this calculator.

What does a box plot show?

A box plot shows five numbers: the minimum, first quartile, median, third quartile and maximum. The box covers the middle 50% of the data, the line inside it marks the median, and the whiskers reach toward the extremes. With Tukey’s rule, unusually distant values are plotted as separate points.

How are outliers determined in a box plot?

Outliers are values below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR, where IQR = Q3 − Q1. Those two cut-offs are called the lower and upper fences. In a Tukey box plot the whiskers stop at the last value inside the fences and the outliers are drawn individually.

Why does my box plot differ from Excel or my calculator?

The difference almost always comes from the quartile method. The TI-84 uses medians of the halves excluding the median, Excel’s QUARTILE.INC interpolates at (n − 1)p + 1, and QUARTILE.EXC interpolates at (n + 1)p. Pick the matching option under Quartile method to reproduce their numbers.

What does the diamond inside the box represent?

The diamond marks the mean of the group. It is not part of a classic box plot, but comparing it with the median line is a quick check for skew: in right-skewed data the mean is pulled above the median, and in left-skewed data below it.

Should whiskers go to the minimum and maximum or to 1.5 × IQR?

Both versions are common. Tukey whiskers (1.5 × IQR) make outliers visible and are the default in most statistical software. Min-to-max whiskers are simpler and often taught first. Say which one you used when you present the chart.

How many values do I need for a box plot?

You can technically draw a box plot from a handful of values, but quartiles are not reliable with fewer than about 5 to 10 observations per group. With very small groups, plot the individual values instead, for example with a stem-and-leaf plot or a dot plot.

Cite this page

Statculator. (2026, November 14). Box Plot Calculator. Retrieved November 14, 2026, from https://statculator.com/charts/box-plot-calculator/