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.
Published
Last updated
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)- 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.
- 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
Enter what do you want to plot?
Choose from One data set, Two data sets side by side, Five numbers I already have.
Enter data (numbers separated by commas or spaces)
Type the figure you already have, then press Calculate.
Enter set a (numbers separated by commas or spaces)
Type the figure you already have, then press Calculate.
Enter set b (numbers separated by commas or spaces)
Type the figure you already have, then press Calculate.
Enter minimum
Type the figure you already have, then press Calculate.
Enter first quartile (q1)
Type the figure you already have, then press Calculate.
Enter median
Type the figure you already have, then press Calculate.
Enter third quartile (q3)
Type the figure you already have, then press Calculate.
Enter maximum
Type the figure you already have, then press Calculate.
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.
Enter whiskers reach
Choose from Last value inside the fences (outliers as dots), Minimum and maximum.
Enter fence multiplier (usually 1.5)
Type the figure you already have, then press Calculate.
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.
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.
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.
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.
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.
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.
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.

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.

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.

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.

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.

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.

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.

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.

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.

Reference Tables
| Example | Q1 | Median | Q3 | Whisker ends | Outliers |
|---|---|---|---|---|---|
| One set, Tukey whiskers | 4 | 5 | 7 | 2 to 9 | 15 |
| Set A of two sets | 4 | 5 | 7 | 2 to 9 | 15 |
| Set B of two sets | 6 | 10 | 14 | 3 to 18 | none |
| From five numbers (10, 22, 30, 41, 95) | 22 | 30 | 41 | 10 and unknown | 95 (flagged) |
| One set, min and max whiskers | 4 | 5 | 7 | 2 to 15 | none drawn |
| Two-sided outliers, inclusive halves | 11 | 13.5 | 16 | 10 to 17 | -30, 40 |
| From five numbers (12, 18, 25, 31, 40) | 18 | 25 | 31 | 12 to 40 | none |
| Part | What it shows | How it is found |
|---|---|---|
| Box | The middle half of the data | Drawn from Q1 to Q3 |
| Line inside the box | The median | Middle value of the sorted data |
| Box width | The interquartile range | IQR = Q3 - Q1 |
| Whiskers | Spread outside the box | To the most extreme values inside the fences, or to the minimum and maximum |
| Dots beyond the whiskers | Outliers | Values beyond Q1 - k x IQR or Q3 + k x IQR |
| Position of the median in the box | Skew of the middle half | Compare the two sides of the box |
| Rule | Lower whisker ends at | Upper whisker ends at | Outliers |
|---|---|---|---|
| Tukey (1.5 x IQR) | Smallest value at or above Q1 − 1.5 x IQR | Largest value at or below Q3 + 1.5 x IQR | Plotted as points |
| Minimum and maximum | The minimum | The maximum | None marked, the whiskers reach them |
| Example data, Tukey | 2 | 9 | 15 |
| Example data, min and max | 2 | 15 | none marked |
| Multiplier | Lower fence | Upper fence | Upper whisker | Outliers |
|---|---|---|---|---|
| 0.5 | 2.5 | 8.5 | 7 | 2, 2, 9, 15 |
| 1 | 1 | 10 | 9 | 15 |
| 1.5 | -0.5 | 11.5 | 9 | 15 |
| 2 | -2 | 13 | 9 | 15 |
| 3 | -5 | 16 | 15 | none |
| Measure | Set A: 2, 2, 4, 4, 5, 5, 6, 7, 9, 15 | Set B: 3, 5, 6, 8, 9, 11, 12, 14, 15, 18 |
|---|---|---|
| Minimum | 2 | 3 |
| Q1 | 4 | 6 |
| Median | 5 | 10 |
| Q3 | 7 | 14 |
| Maximum | 15 | 18 |
| IQR | 3 | 8 |
| Outliers | 15 | none |
| Mean | 5.9 | 10.1 |
| Value of (Q3 + Q1 - 2 x median) / IQR | What the box shows | Example |
|---|---|---|
| Between -0.1 and 0.1 | Median near the centre of the box, roughly symmetric | Set B: 0 |
| Above 0.1 | Median nearer Q1, longer upper side, skewed right | Set A: 0.333 |
| Below -0.1 | Median nearer Q3, longer lower side, skewed left | Five numbers 12, 18, 25, 31, 40: -0.077 |
| Not defined | Q1 equals Q3, so the box has no width | All values equal |
| Min | Q1 | Median | Q3 | Max | IQR | Lower fence | Upper fence | Flagged |
|---|---|---|---|---|---|---|---|---|
| 10 | 22 | 30 | 41 | 95 | 19 | -6.5 | 69.5 | maximum |
| 12 | 18 | 25 | 31 | 40 | 13 | -1.5 | 50.5 | none |
| 2 | 10 | 12 | 14 | 30 | 4 | 4 | 20 | minimummaximum |
| 50 | 60 | 70 | 80 | 90 | 20 | 30 | 110 | none |
| Tool | How | Note |
|---|---|---|
| This calculator | Paste numbers or enter five numbers, press Calculate | Text plot, fences, outliers and steps, no chart library |
| Excel | Select the data, then Insert, Charts, Statistics, Box and Whisker | Quartile Calculation can be Inclusive median or Exclusive median |
| TI-83 and TI-84 | STAT PLOT, choose the box plot type, then ZOOM 9 | Uses the exclusive median of halves |
| By hand | Number line, box from Q1 to Q3, line at the median, whiskers, dots | Needs the five numbers and the fences first |
| Mistake | Why it misleads | Fix |
|---|---|---|
| Reading the box as the whole data range | The box is only the middle half | Look at the whiskers and dots too |
| Assuming whiskers always reach the min and max | With Tukey whiskers they stop at the fences | Check which whisker rule was used |
| Comparing boxes on different scales | Boxes look the same width but mean different things | Use one shared scale, as the side by side view does |
| Ignoring sample size | A box from 5 values is shaky | Add the sample size beside the plot |
| Deleting outliers without a reason | The picture no longer matches the data | Investigate first and report what you did |
| Mixing quartile methods | Boxes differ slightly between tools | State 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] Wikipedia contributors. “Box plot.” Wikipedia. Accessed 2026-10-07.
- [2] NIST/SEMATECH. “e-Handbook of Statistical Methods: Box Plot.” NIST. Accessed 2026-10-07.
- [3] Microsoft. “Create a box and whisker chart.” Microsoft Support. Accessed 2026-10-07.
- [4] Wikipedia contributors. “Quartile.” Wikipedia. Accessed 2026-10-07.
- [5] Wikipedia contributors. “Interquartile range.” Wikipedia. Accessed 2026-10-07.
Related calculators
- Amps to Kilowatts CalculatorConvert amps to kilowatts for DC, single-phase and three-phase circuits, with power factor, kVA, kWh per day or month and an optional energy cost.Open
- Binomial Distribution CalculatorBinomial distribution calculator. Enter trials, success probability and successes for exact, at most, at least and between probabilities, plus mean.Open
- Boyle's Law CalculatorBoyle's law calculator: solve P1 V1 = P2 V2 for pressure or volume in atm, kPa, bar, mmHg, psi, L, mL or m3, with gauge pressure and examples.Open
- Coefficient of Variation CalculatorCoefficient of variation calculator with steps. Enter data or a mean and SD to get CV%, standard deviation and variance, sample or population.Open
