Box Plot Calculator

Box Plot Calculator

Draw a box-and-whisker plot from your data, or two side by side to compare groups, with quartiles, 1.5 × IQR fences and outliers marked.

Fences = Q1 − 1.5 × IQR and Q3 + 1.5 × IQR

Most textbooks and TI-83/84 calculators: Q1 and Q3 are the medians of the lower and upper halves, leaving out the middle value when n is odd.

Enter at least 4 values to draw a box plot

What Is a Box Plot?

A box plot (box-and-whisker plot) draws the middle half of a data set as a box from the first to the third quartile, with a line at the median and whiskers reaching out to the rest of the typical values. Points beyond the whiskers are plotted individually as possible outliers.

Its strength is comparison. Lined up on one axis, box plots show at a glance which group is higher, which is more spread out, and which has unusual values, without the clutter of every data point.

John Tukey introduced the modern version in 1977. His rule for outliers, more than 1.5 IQRs beyond the box, is still the standard used by Excel, R and most textbooks.

How a Box Plot Is Built

As given in Tukey, Exploratory Data Analysis (1977), and the NIST/SEMATECH e-Handbook, section 1.3.3.7. See Sources.

1. The box

Q1 to Q3, with a line at the median · IQR = Q3 − Q1

2. The fences

lower = Q1 − 1.5 × IQR · upper = Q3 + 1.5 × IQR

The fences are not drawn. They only decide where the whiskers stop.

3. Whiskers and outliers

whiskers end at the most extreme values inside the fences · anything beyond is an outlier

Worked Example: Comparing Two Classes

Given:
Two classes of 12 sit the same test. Class A: 52, 58, 61, 63, 64, 66, 67, 69, 70, 72, 75, 94. Class B: 45, 55, 59, 62, 68, 71, 73, 76, 78, 80, 83, 88.
Step 1:
Quartiles (median of halves):
A: 62, 66.5, 71 · B: 60.5, 72, 79
Step 2:
IQRs and fences:
A: IQR 9, fences 48.5 to 84.5 · B: IQR 18.5, fences 32.75 to 106.75
Step 3:
Outliers and whiskers:
A: 94 is an outlier, whisker stops at 75 · B: no outliers
Result:
Medians 66.5 vs 72

Class B scores higher in the middle but is about twice as spread out. Class A is tightly bunched, apart from one standout pupil on 94 who would be hidden in a simple average.

How to Read a Box Plot

What each feature of a box plot tells you
What you seeWhat it means
Median line near the middle of the boxThe middle half is roughly symmetric
Median close to Q1, long right whiskerRight-skewed: a tail of high values
Median close to Q3, long left whiskerLeft-skewed: a tail of low values
Short boxThe middle 50% of values are tightly grouped
Separate dots beyond a whiskerValues more than 1.5 IQRs from the box: check them
Two boxes that don’t overlapA clear difference between the middles of the groups

Common Box Plot Mistakes

  • Drawing whiskers to the fences. Whiskers stop at real data values, the most extreme ones inside the fences, never at the fence itself.
  • Reading box size as sample size. A bigger box means more spread, not more data. A box plot of 10 values and of 10,000 can look identical.
  • Deleting every outlier. An outlier is a value to investigate. It may be a typo, or the most interesting point in the data.
  • Missing two peaks. A box plot can't show bimodal data. Check a histogram or dot plot too.

Box Plot FAQs

Why do different calculators give different quartiles?

There are several quartile methods. Switch the chips above to match your textbook, Excel or software.

How are outliers decided?

Any value below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR. This is Tukey’s rule.

What if there are no outliers?

Then the whiskers run all the way to the minimum and maximum.

How many values do I need?

At least 4 here. With fewer than about 10, the quartiles are shaky and a dot plot shows more.

Can a whisker have zero length?

Yes, when Q1 equals the minimum non-outlier, which often happens with small or repetitive data sets.

Does overlapping mean no difference?

Not necessarily. Overlapping boxes can still differ significantly; use a t-test or Mann–Whitney test to check.

Why is it also called a five-number summary plot?

Because without outliers it draws exactly the minimum, Q1, median, Q3 and maximum.

Can I name the groups?

Yes. Type a name under each data box and it appears on the chart and in the summaries.

Sources

Related Tools