Skip to main content
Science & Math

Box Plot Calculator

Box plot calculator with steps: get Q1, median, Q3, whiskers, fences and outliers from data or five numbers, with a text box and whisker plot.

Created by Muhammad Asif Zaheer
Reviewed by CalculatorPlanet Editorial Team

Published

Last updated

Sorted data
2, 2, 4, 4, 5, 5, 6, 7, 9, 15
Five numbers (Exclusive halves) and fences
n = 10; minimum 2, Q1 4, median 5, Q3 7, maximum 15 IQR = 3; fences -0.5 and 11.5 Whiskers reach 2 and 9; outliers: 15
Text box plot
|------[===|======]------| o 2 15
Reading the plot
The median sits nearer Q1 than Q3, so the middle half is stretched toward the high values (skewed right). The box holds the middle half of the data, a width of 3.
Result
box 4 to 7, median 5, 1 outlier
Median
5.000
First quartile (Q1)
4.000
Third quartile (Q3)
7.000
Interquartile range (IQR)
3.000
Lower whisker end
2.000
Upper whisker end
9.000
Lower fence
-0.500
Upper fence
11.500
Outliers found
1
Minimum
2.000
Maximum
15.000
Skewness of the box
0.333

How the Box Plot Calculator Formula Works

A box plot draws the five number summary on a number line. The box runs from the first quartile Q1 to the third quartile Q3, with a line at the median. The interquartile range, IQR = Q3 - Q1, is the width of the box and measures the spread of the middle half of the data.

The whiskers show the rest. With Tukey's rule, the calculator sets a lower fence at Q1 - k x IQR and an upper fence at Q3 + k x IQR, with k = 1.5 by default. Each whisker ends at the most extreme data value that is still inside the fences. Values beyond the fences are outliers and are drawn as separate points. With the minimum and maximum rule the whiskers simply reach the smallest and largest values.

Q1 and Q3 depend on a quartile method. You can choose the exclusive or inclusive median of halves, or Excel's QUARTILE.INC or QUARTILE.EXC. You can also skip the data and type the five numbers directly, or enter two data sets to draw them on one shared scale. The calculator also reports a skewness value, (Q3 + Q1 − 2 x median) / IQR, as a rough guide to the shape of the middle half.

box = Q1 to Q3; IQR = Q3 − Q1; whiskers end at the last values inside Q1 − k × IQR and Q3 + k × IQR (k = 1.5)
What goes in, what comes out
  • Q1, median, Q3same as dataThe 25th, 50th and 75th percentile values that define the box.
  • IQRsame as dataQ3 minus Q1, the box width.
  • kmultiplierFence multiplier, 1.5 by default.
  • whisker endssame as dataThe most extreme values inside the fences, or the minimum and maximum.
  • skewnessratio(Q3 + Q1 - 2 x median) / IQR, positive for right skew.
Median
5
Values shown are from the worked example below
Q1, median, Q3
same as data
The 25th, 50th and 75th percentile values that define the box.
IQR
same as data
Q3 minus Q1, the box width.
k
multiplier
Fence multiplier, 1.5 by default.
whisker ends
same as data
The most extreme values inside the fences, or the minimum and maximum.
skewness
ratio
(Q3 + Q1 - 2 x median) / IQR, positive for right skew.

Using the Box Plot Calculator

  1. Enter what do you want to plot?

    Choose from One data set, Two data sets side by side, Five numbers I already have.

  2. Enter data (numbers separated by commas or spaces)

    Type the figure you already have, then press Calculate.

  3. Enter set a (numbers separated by commas or spaces)

    Type the figure you already have, then press Calculate.

  4. Enter set b (numbers separated by commas or spaces)

    Type the figure you already have, then press Calculate.

  5. Enter minimum

    Type the figure you already have, then press Calculate.

  6. Enter first quartile (q1)

    Type the figure you already have, then press Calculate.

  7. Enter median

    Type the figure you already have, then press Calculate.

  8. Enter third quartile (q3)

    Type the figure you already have, then press Calculate.

  9. Enter maximum

    Type the figure you already have, then press Calculate.

  10. Enter quartile method (for data)

    Choose from Exclusive median of halves (TI-84, most textbooks), Inclusive median of halves (Tukey hinges), Excel QUARTILE.INC, Excel QUARTILE.EXC.

  11. Enter whiskers reach

    Choose from Last value inside the fences (outliers as dots), Minimum and maximum.

  12. Enter fence multiplier (usually 1.5)

    Type the figure you already have, then press Calculate.

  13. Read the result

    Press Calculate to update the result. Until you do, the last result is dimmed and marked as out of date, so you always know which numbers belong to the values in the boxes.

A Real Worked Example

Plot the ten values 2, 2, 4, 4, 5, 5, 6, 7, 9, 15 with the exclusive halves method and Tukey whiskers. The median is 5, Q1 is 4 and Q3 is 7, so the box is 3 wide.

The fences are 4 − 1.5 × 3 = -0.5 and 7 + 1.5 × 3 = 11.5. The value 15 lies beyond the upper fence, so it is drawn as a dot, and the upper whisker stops at 9. The lower whisker reaches 2.

The skewness value is 0.333, positive, so the middle half leans toward the high values.

1
mode
data
2
data
2, 2, 4, 4, 5, 5, 6, 7, 9, 15
3
dataB
3, 5, 6, 8, 9, 11, 12, 14, 15, 18
4
method
exclusive
5
fence
1.5
6
whiskers
tukey
7
sMin
10
8
sQ1
22
9
sMedian
30
10
sQ3
41
11
sMax
95
12
dataA2
2, 2, 4, 4, 5, 5, 6, 7, 9, 15
This calculator returns5median4q17q33iqr2whiskerLow9whiskerHigh-0.5lowerFence11.5upperFence1outlierCount2minimum15maximum0.333bowley

Two data sets side by side

Set A is the data above. Set B is 3, 5, 6, 8, 9, 11, 12, 14, 15, 18. Both are drawn on one scale from 2 to 18.

Set B has a higher median, 10 against 5, and a wider box: its IQR is 8 against 3. Set B has no outliers, because its upper fence is 26, while Set A has one. The skewness of Set B is 0, so its middle half is symmetric.

mode: comparedata: 2, 2, 4, 4, 5, 5, 6, 7, 9, 15dataB: 3, 5, 6, 8, 9, 11, 12, 14, 15, 18method: exclusivefence: 1.5whiskers: tukeysMin: 10sQ1: 22sMedian: 30sQ3: 41sMax: 95dataA2: 2, 2, 4, 4, 5, 5, 6, 7, 9, 155median4q17q33iqr2whiskerLow9whiskerHigh-0.5lowerFence11.5upperFence1outlierCount2minimum15maximum0.333bowley10medianB8iqrB0outlierCountB

A box plot from five numbers

You have a minimum of 10, Q1 of 22, median of 30, Q3 of 41 and a maximum of 95 but not the raw data. The IQR is 19, so the fences are -6.5 and 69.5.

The maximum, 95, is above the upper fence, so it is drawn as an outlier dot. Because only five numbers are known, the true upper whisker end cannot be found and is left out, while the lower whisker reaches 10. The skewness value is 0.158.

mode: summarydata: 2, 2, 4, 4, 5, 5, 6, 7, 9, 15dataB: 3, 5, 6, 8, 9, 11, 12, 14, 15, 18method: exclusivefence: 1.5whiskers: tukeysMin: 10sQ1: 22sMedian: 30sQ3: 41sMax: 95dataA2: 2, 2, 4, 4, 5, 5, 6, 7, 9, 1530median22q141q319iqr10whiskerLow-6.5lowerFence69.5upperFence1outlierCount10minimum95maximum0.158bowley

Whiskers to the minimum and maximum

Use the same ten values with the minimum and maximum whisker rule. The box is unchanged, 4 to 7, with the median at 5.

The whiskers now run all the way from 2 to 15, so 15 is no longer a separate dot. The calculator still reports that 1 value lies beyond the fences, so you know the long whisker is hiding an unusual value.

mode: datadata: 2, 2, 4, 4, 5, 5, 6, 7, 9, 15dataB: 3, 5, 6, 8, 9, 11, 12, 14, 15, 18method: exclusivefence: 1.5whiskers: minmaxsMin: 10sQ1: 22sMedian: 30sQ3: 41sMax: 95dataA2: 2, 2, 4, 4, 5, 5, 6, 7, 9, 155median4q17q33iqr2whiskerLow15whiskerHigh-0.5lowerFence11.5upperFence1outlierCount2minimum15maximum0.333bowley

Outliers on both sides with Tukey hinges

The values -30, 10, 11, 12, 13, 14, 15, 16, 17, 40 with the inclusive halves method give Q1 = 11, median = 13.5 and Q3 = 16. The IQR is 5, so the fences are 3.5 and 23.5.

Both ends are outside: -30 falls below the lower fence and 40 rises above the upper fence. The whiskers end at 10 and 17, and the box is symmetric, with a skewness of 0.

mode: datadata: -30, 10, 11, 12, 13, 14, 15, 16, 17, 40dataB: 3, 5, 6, 8, 9, 11, 12, 14, 15, 18method: inclusivefence: 1.5whiskers: tukeysMin: 10sQ1: 22sMedian: 30sQ3: 41sMax: 95dataA2: 2, 2, 4, 4, 5, 5, 6, 7, 9, 1513.5median11q116q35iqr10whiskerLow17whiskerHigh3.5lowerFence23.5upperFence2outlierCount-30minimum40maximum0bowley

Five numbers with no outliers

Take a minimum of 12, Q1 of 18, median of 25, Q3 of 31 and maximum of 40. The IQR is 13 and the fences are -1.5 and 50.5.

Both ends are inside the fences, so the whiskers run from Q1 down to 12 and from Q3 up to 40, and no dots are drawn. The skewness is -0.077, a median just above the middle of the box.

mode: summarydata: 2, 2, 4, 4, 5, 5, 6, 7, 9, 15dataB: 3, 5, 6, 8, 9, 11, 12, 14, 15, 18method: exclusivefence: 1.5whiskers: tukeysMin: 12sQ1: 18sMedian: 25sQ3: 31sMax: 40dataA2: 2, 2, 4, 4, 5, 5, 6, 7, 9, 1525median18q131q313iqr12whiskerLow40whiskerHigh-1.5lowerFence50.5upperFence0outlierCount12minimum40maximum-0.077bowley

What Else to Know

What a Box Plot Shows

A box plot, also called a box and whisker plot, packs a data set into five numbers and a few unusual points. The box runs from Q1 to Q3 and holds the middle half of the data. The line inside it marks the median. The whiskers extend toward the smallest and largest values, and dots mark outliers.

Labelled box plot with Q1 4, median 5, Q3 7, whiskers at 2 and 9 and an outlier dot at 15

The plot shows centre, spread and skew at a glance, and it makes several groups easy to compare. John Tukey popularised the box and whisker plot around 1970. In the example data 2, 2, 4, 4, 5, 5, 6, 7, 9, 15, the box runs from 4 to 7, the median is 5 and 15 stands apart as an outlier.

This calculator finds all the numbers and describes the plot in text, so it works as a box and whisker plot generator even when you cannot draw a chart.

How to Make a Box and Whisker Plot Step by Step

Sort the data, then find the median, Q1 and Q3. Compute the IQR as Q3 - Q1 and set the fences at Q1 − 1.5 x IQR and Q3 + 1.5 x IQR. Mark the box and median on a number line, extend each whisker to the most extreme value inside the fences, and draw a dot for every value outside.

Worked example flow: sort ten values, find quartiles, compute the IQR and fences, then draw the box plot

For 2, 2, 4, 4, 5, 5, 6, 7, 9, 15 that gives a box from 4 to 7, fences at -0.5 and 11.5, whiskers at 2 and 9 and one dot at 15.

The solution view in the calculator follows these exact steps and ends with a text plot, so you can check your hand-drawn version against it.

Box Plot Calculator With Outliers and Whisker Rules

Two whisker rules are common. With Tukey's rule, whiskers stop at the last value inside the fences and everything beyond is an outlier dot. With the minimum and maximum rule, whiskers reach the extremes and no dots are drawn. This calculator supports both and counts the values beyond the fences either way.

Two box plots of the same data, one with Tukey whiskers and an outlier dot, one with whiskers to minimum and maximum

The fence multiplier is adjustable. The usual 1.5 flags mild outliers. A multiplier of 3 flags only extreme ones. For the example data, a multiplier of 1.5 flags 15 but 3 does not, as the fence table shows.

An outlier is a prompt to look, not a command to delete. Check the source before you remove or correct a value.

Table of lower fence, upper fence, upper whisker and outliers for fence multipliers 0.5 to 3

Box Plot From a Five Number Summary

If you already have the five numbers, for example from a textbook, a report or software, you can plot them without the raw data. Choose the five numbers option and enter the minimum, Q1, median, Q3 and maximum. The calculator checks they run in order and builds the box from them.

Box plot built from five numbers 10, 22, 30, 41 and 95 with the maximum flagged beyond the upper fence of 69.5

Without the data, it cannot tell where a whisker should really end. If the minimum or maximum lies beyond a fence, it is shown as an outlier dot and that whisker is left out. For 10, 22, 30, 41 and 95 the upper fence is 69.5, so the maximum 95 is flagged.

The box plot from five numbers and the box plot from raw data agree whenever the raw data have no outliers.

Side by Side Box Plots and Box Plot Quartiles in Excel

Plotting two groups on one scale is the best use of a box plot. Choose two data sets and the calculator draws both on a shared axis and tells you which has the higher median and the wider middle half. In the example, Set B has a median of 10 against 5 for Set A, and its box is wider: IQR 8 against 3.

Two box plots on one scale: Set A with median 5 and one outlier, Set B with median 10 and a wider box

In Excel, Insert, Charts, Statistics, Box and Whisker makes a similar plot. Excel offers an Inclusive median or Exclusive median setting for the quartile calculation, so choose the matching halves method here to get the same box.

On a TI-83 or TI-84, a statistical plot of the box type uses the exclusive halves method, which is the default here.

Cards comparing this calculator, the Excel box and whisker chart and a TI-84 box plot

Reading Skew, Spread and the Interquartile Range

The width of the box is the IQR. A wider box means more spread in the middle half of the data. Compare two plots by the width of their boxes and the position of their medians.

Three box plots showing right skew, symmetric and left skew with their skewness values

The median's position inside the box shows skew. A median near Q1 with a longer upper side is skewed right. This calculator reports (Q3 + Q1 − 2 x median) / IQR as a rough guide, 0.333 for the example, and describes the shape in words. Values within 0.1 of zero are treated as roughly symmetric, a rule of thumb, not a statistical test.

Box plots do not show how many peaks the data have. If the shape matters, add a histogram.

Accuracy, Limits and Related Calculators

The numbers follow the quartile method and whisker rule you choose, and the text plot is a scaled sketch with a fixed width, so very close values may share a character. The calculator reads plain numbers only and handles up to 10,000 values per set. It does not draw notched or variable-width boxes.

Small samples give shaky quartiles, and different methods can move Q1 and Q3, so state the method when you share a plot. Tukey's 1.5 x IQR rule is a convention, not a proof that a value is wrong.

For related work, see the percentage calculator, the grade calculator for averages, and the linear interpolation calculator, which uses the same blending idea as the Excel quartile methods.

Limits of the box plot calculator: text plot width, quartile methods and the 1.5 IQR convention

Reference Tables

Box plot numbers for the six worked examples
ExampleQ1MedianQ3Whisker endsOutliers
One set, Tukey whiskers4572 to 915
Set A of two sets4572 to 915
Set B of two sets610143 to 18none
From five numbers (10, 22, 30, 41, 95)22304110 and unknown95 (flagged)
One set, min and max whiskers4572 to 15none drawn
Two-sided outliers, inclusive halves1113.51610 to 17-30, 40
From five numbers (12, 18, 25, 31, 40)18253112 to 40none
The parts of a box plot and where each one comes from
PartWhat it showsHow it is found
BoxThe middle half of the dataDrawn from Q1 to Q3
Line inside the boxThe medianMiddle value of the sorted data
Box widthThe interquartile rangeIQR = Q3 - Q1
WhiskersSpread outside the boxTo the most extreme values inside the fences, or to the minimum and maximum
Dots beyond the whiskersOutliersValues beyond Q1 - k x IQR or Q3 + k x IQR
Position of the median in the boxSkew of the middle halfCompare the two sides of the box
Two whisker rules this calculator offers
RuleLower whisker ends atUpper whisker ends atOutliers
Tukey (1.5 x IQR)Smallest value at or above Q1 − 1.5 x IQRLargest value at or below Q3 + 1.5 x IQRPlotted as points
Minimum and maximumThe minimumThe maximumNone marked, the whiskers reach them
Example data, Tukey2915
Example data, min and max215none marked
Fences and outliers for 2, 2, 4, 4, 5, 5, 6, 7, 9, 15 at different multipliers
MultiplierLower fenceUpper fenceUpper whiskerOutliers
0.52.58.572, 2, 9, 15
1110915
1.5-0.511.5915
2-213915
3-51615none
Side by side comparison of the two example data sets
MeasureSet A: 2, 2, 4, 4, 5, 5, 6, 7, 9, 15Set B: 3, 5, 6, 8, 9, 11, 12, 14, 15, 18
Minimum23
Q146
Median510
Q3714
Maximum1518
IQR38
Outliers15none
Mean5.910.1
Reading the shape of the middle half from the Bowley skewness value this calculator reports
Value of (Q3 + Q1 - 2 x median) / IQRWhat the box showsExample
Between -0.1 and 0.1Median near the centre of the box, roughly symmetricSet B: 0
Above 0.1Median nearer Q1, longer upper side, skewed rightSet A: 0.333
Below -0.1Median nearer Q3, longer lower side, skewed leftFive numbers 12, 18, 25, 31, 40: -0.077
Not definedQ1 equals Q3, so the box has no widthAll values equal
Box plots drawn from five numbers: fences and flags
MinQ1MedianQ3MaxIQRLower fenceUpper fenceFlagged
102230419519-6.569.5maximum
121825314013-1.550.5none
2101214304420minimummaximum
50607080902030110none
Ways to draw a box plot and what each needs
ToolHowNote
This calculatorPaste numbers or enter five numbers, press CalculateText plot, fences, outliers and steps, no chart library
ExcelSelect the data, then Insert, Charts, Statistics, Box and WhiskerQuartile Calculation can be Inclusive median or Exclusive median
TI-83 and TI-84STAT PLOT, choose the box plot type, then ZOOM 9Uses the exclusive median of halves
By handNumber line, box from Q1 to Q3, line at the median, whiskers, dotsNeeds the five numbers and the fences first
Common mistakes when making or reading a box plot
MistakeWhy it misleadsFix
Reading the box as the whole data rangeThe box is only the middle halfLook at the whiskers and dots too
Assuming whiskers always reach the min and maxWith Tukey whiskers they stop at the fencesCheck which whisker rule was used
Comparing boxes on different scalesBoxes look the same width but mean different thingsUse one shared scale, as the side by side view does
Ignoring sample sizeA box from 5 values is shakyAdd the sample size beside the plot
Deleting outliers without a reasonThe picture no longer matches the dataInvestigate first and report what you did
Mixing quartile methodsBoxes differ slightly between toolsState the method used

Frequently Asked Questions About the Box Plot Calculator

How do I use this box plot calculator?

Choose one data set, two data sets or five numbers. For data, paste the values separated by commas or spaces, pick a quartile method and a whisker rule, and press Calculate. You get the box plot numbers, the fences, the outliers and a text drawing of the plot. The default data 2, 2, 4, 4, 5, 5, 6, 7, 9, 15 gives a box from 4 to 7.

Does this box plot calculator show steps?

Yes. The solution view lists the sorted data, the five numbers, how the fences were set, which values became outliers and where the whiskers end. It then draws the plot in text on a shared scale and describes what the shape says. Use the button to switch between the full solution and just the result.

How does the box plot calculator find outliers?

It computes the IQR, Q3 minus Q1, then sets the lower fence at Q1 minus 1.5 x IQR and the upper fence at Q3 plus 1.5 x IQR. Any value outside the fences is an outlier and is drawn as a separate point. For 2, 2, 4, 4, 5, 5, 6, 7, 9, 15 the fences are -0.5 and 11.5, so 15 is flagged.

How do I make a box plot in Excel?

Select your data, then choose Insert, Charts, Statistics, Box and Whisker. Excel lets you pick Inclusive median or Exclusive median for the quartile calculation in the series options, and show outliers, mean markers and mean lines. To check the numbers behind the chart, run the same data here with the matching method.

Can I make a box plot from a five number summary?

Yes. Choose the five numbers option and enter the minimum, Q1, median, Q3 and maximum. The calculator checks they are in order, finds the IQR and fences and tells you if the minimum or maximum would be drawn as an outlier. For 10, 22, 30, 41 and 95 the upper fence is 69.5, so 95 is flagged.

How do you make a box and whisker plot?

Sort the data and find Q1, the median and Q3. Draw a box from Q1 to Q3 with a line at the median. Extend whiskers to the smallest and largest values inside the fences and plot anything beyond as a dot. For 2, 2, 4, 4, 5, 5, 6, 7, 9, 15 the box runs from 4 to 7 with whiskers to 2 and 9.

Can I compare two data sets side by side?

Yes. Choose the two data sets option and enter both lists. The text plots are drawn on one shared scale so the boxes line up, and the steps say which set has the higher median and the wider middle half. In the example, Set B has a median of 10 against 5 and an IQR of 8 against 3.

How do I find the interquartile range on a box plot?

The IQR is the width of the box, Q3 minus Q1. Read Q1 from the left edge of the box and Q3 from the right edge, then subtract. In the example, Q1 is 4 and Q3 is 7, so the IQR is 3. The calculator shows it directly as the interquartile range result.

What do Q1, Q2 and Q3 mean on a box plot?

Q1 is the left edge of the box, the value a quarter of the way up the sorted data. Q2 is the median, the line inside the box. Q3 is the right edge, three quarters of the way up. A quarter of the data lies below Q1, half below Q2 and three quarters below Q3. In the example they are 4, 5 and 7.

What do the whiskers on a box plot represent?

Whiskers show the spread of data outside the box. With the usual Tukey rule they reach the smallest and largest values that are still inside the fences. With the minimum and maximum rule they reach the extremes. In the example, the Tukey whiskers end at 2 and 9, while the min and max whiskers end at 2 and 15.

What does the line inside the box mean?

The line inside the box marks the median, the middle value of the sorted data, so half of the values lie on each side of it. Some plots add a separate mark for the mean. If the median line is off-centre in the box, the middle half of the data is skewed toward the longer side.

How do I read skew from a box plot?

Look at where the median sits in the box and at the length of the whiskers. A median close to Q1 and a longer upper side mean right skew. A median close to Q3 and a longer lower side mean left skew. The calculator reports (Q3 + Q1 − 2 x median) / IQR, which is 0.333 for the example, right skew.

What do the dots beyond the whiskers mean?

They are outliers: values more than 1.5 IQR below Q1 or above Q3 with the default setting. They are not errors by definition, just values unusual compared with the rest. In the example, 15 is a dot because the upper fence is 11.5. Change the multiplier to 3 and it falls inside, as the fence table shows.

Why does my box plot differ from my textbook?

Quartile methods differ. Textbooks and the TI-84 take the median of each half without the middle value, Tukey hinges keep it in, and Excel interpolates. For 1, 3, 5, 7, 9, 11, 13 the exclusive method gives Q1 = 3 but the inclusive method gives 4. Pick the method your source uses.

What is the difference between a box plot and a histogram?

A histogram shows the full shape of the data by counting values in bins, so you can see peaks and gaps. A box plot compresses the data to five numbers and outliers, which makes it compact and good for comparing several groups, but it hides how many peaks there are. Use both when the shape matters.

Can a box plot show the mean?

Some box plots add a marker for the mean, but the classic box plot does not. This calculator does not draw the mean on the text plot. You can compare it with the median yourself: in the example the mean is 5.9 and the median is 5, a gap that hints at the high outlier.

How many values do I need for a box plot?

At least two here, and three for QUARTILE.EXC. A box plot is more reliable with larger samples. With fewer than about eight values the quartiles change a lot between methods, and one value can move the whole box. Showing the sample size beside the plot is good practice.

What is a modified box plot?

A modified box plot is the common kind that stops the whiskers at the fences and draws outliers as separate points, rather than extending the whiskers to the minimum and maximum. This calculator offers both through the whisker rule setting, with Tukey's 1.5 x IQR rule as the default.

Is there a text description of the box plot?

Yes. The steps include a plot drawn in text characters and a sentence that describes the shape. In the text plot, a bracket marks each box edge, a bar marks the median and whisker ends, dashes mark whiskers, equals signs fill the box and o marks an outlier. It also works with screen readers. The example plot ends with an o at 15.

What if Q1 equals the median?

Then the left part of the box has no width and the median line sits on the box edge. It happens when many values repeat, as in 2, 2, 2, 3, 5, 8. The plot is still correct. The skewness value will be at its extreme, and if Q1 equals Q3 the IQR is 0 and the shape cannot be read from the quartiles.

Can a box plot have negative values?

Yes. The scale simply extends below zero. Try -30, 10, 11, 12, 13, 14, 15, 16, 17, 40: the quartiles are 11, 13.5 and 16, the whiskers end at 10 and 17, and both -30 and 40 are outliers. Nothing in the method needs positive numbers, only that the data are numeric.

Who invented the box plot?

The range-bar method came from Mary Eleanor Spear in 1952. John Tukey introduced the box-and-whisker plot in 1970 and described it in his 1977 book Exploratory Data Analysis, which is why the 1.5 x IQR whisker rule carries his name. The plot is now standard in statistics courses and software.

References

  1. [1] Wikipedia contributors. “Box plot.” Wikipedia. Accessed 2026-10-07.
  2. [2] NIST/SEMATECH. “e-Handbook of Statistical Methods: Box Plot.” NIST. Accessed 2026-10-07.
  3. [3] Microsoft. “Create a box and whisker chart.” Microsoft Support. Accessed 2026-10-07.
  4. [4] Wikipedia contributors. “Quartile.” Wikipedia. Accessed 2026-10-07.
  5. [5] Wikipedia contributors. “Interquartile range.” Wikipedia. Accessed 2026-10-07.