Home · Statistics · Descriptive Statistics · Box Plot Calculator
Box Plot Calculator
The numbers behind a box plot: quartiles, fences and whisker ends for drawing the box-and-whisker diagram.
What this calculator does
The numbers behind a box plot: quartiles, fences and whisker ends for drawing the box-and-whisker diagram. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
The headline result is the median, the line drawn inside the box.
Points outside the 1.5·IQR fences are plotted individually as potential outliers.
Percentiles and quartiles use linear interpolation (the R-7 method), the numpy.percentile default.
Worked example
With the example inputs this page opens with, the result is 6.50. Change any figure and the result updates with the same formula.
Quick reference
| Figure | Value |
|---|---|
| Result | 6.50 |
| Count (n) | 10 |
| Mean | 6 |
| Median | 6.5 |
| Minimum | 2 |
| Q1 | 4.25 |
| Median | 6.5 |
| Q3 | 8 |
| Maximum | 9 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
What does the length of the box represent?
The box spans Q1 to Q3, so its length is the interquartile range — the spread of the middle 50% of the data.
Why do the whiskers stop before the minimum and maximum?
Whiskers extend only to the most extreme values still inside the fences; anything beyond a fence is drawn as its own point so it stands out.
How does the Box Plot Calculator work?
The numbers behind a box plot: quartiles, fences and whisker ends for drawing the box-and-whisker diagram. Data values → Median (primary) · Q1 · Q3 · Fences · Whisker ends. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Box Plot Calculator need?
Data values → Median (primary) · Q1 · Q3 · Fences · Whisker ends. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.