Box Plot Calculator

Find the five-number summary, interquartile range, and potential outliers for a numerical data set.

Box and whisker summary
Enter at least two numbers separated by commas, spaces, or semicolons.

About box plots and five-number summaries

A box plot, also called a box-and-whisker plot, condenses a numerical distribution into its minimum, first quartile, median, third quartile, and maximum. The rectangular box spans the middle half of the data from Q1 to Q3, while a line inside marks the median. Whiskers show the spread beyond the box, and points beyond conventional fences may be displayed separately as potential outliers. This compact design makes location, spread, skew, and unusual observations easy to compare across groups. The calculator first sorts every entered value. The median divides the ordered observations into lower and upper halves. For an even number of observations, the median is the average of the two central values. For an odd number, it is the central value. This calculator excludes that central observation when forming the two halves, then takes the median of each half to obtain Q1 and Q3. This approach is often called the median-of-halves or Tukey method. Quartile conventions are not completely universal. Statistical software, spreadsheets, and textbooks may interpolate quartiles differently, particularly for short data sets. Two valid programs can therefore report slightly different Q1 and Q3 values while agreeing on the median and overall pattern. When reproducing published work, use the same quartile definition as the original analysis. The method here is transparent and well suited to hand calculations and introductory statistics. The interquartile range is IQR = Q3 - Q1. Because it describes the central 50 percent of observations, it is much less sensitive to extreme values than the full range. The common 1.5 × IQR rule marks values below Q1 - 1.5IQR or above Q3 + 1.5IQR as potential outliers. An outlier flag does not prove that a value is wrong. It simply identifies an observation worth checking for data-entry errors, measurement problems, a different population, or a genuinely rare event. Box plots are especially useful for comparing distributions, but they do not reveal every feature. Different data sets can share the same five-number summary while having different clusters, gaps, or sample sizes. Pair a box plot with raw points, a histogram, or a density plot when those details matter. Before interpreting results, confirm that all values use the same units and that missing-value handling is consistent. The calculator accepts repeated values, decimals, negative numbers, and unsorted input, then reports the statistics needed to construct and interpret a standard box plot.

Box plot examples

DataFive-number summaryObservation
1, 2, 3, 4, 5, 6, 7, 81, 2.5, 4.5, 6.5, 8A symmetric sequence with IQR 4 and no outliers.
1, 2, 2, 3, 3, 4, 201, 2, 3, 4, 20The IQR is 2, so 20 lies above the upper fence of 7.
-5, -2, 0, 3, 9-5, -3.5, 0, 6, 9Negative and positive values are handled normally.
10, 10, 10, 1010, 10, 10, 10, 10A constant data set has zero IQR and no flagged values.

How to calculate a box plot summary

  1. Enter the numerical observations separated by commas, spaces, or semicolons.
  2. Click Calculate Box Plot to sort and summarize the data.
  3. Read the minimum, quartiles, median, maximum, and interquartile range.
  4. Review any values listed as outliers before drawing conclusions.

Box plot calculator FAQ

What does the box in a box plot represent?

The box extends from the first quartile to the third quartile and contains the middle 50 percent of observations. Its length equals the interquartile range.

How are quartiles calculated here?

The sorted data is divided around the median, excluding the middle value when the count is odd. Q1 and Q3 are the medians of the lower and upper halves.

What makes a value an outlier?

The calculator flags values more than 1.5 IQR below Q1 or above Q3. This is a screening rule, not proof that the observation is invalid.

Can I enter decimal and negative values?

Yes, both decimals and negative numbers are valid observations. Separate each value with a comma, space, or semicolon.

Why does another program show different quartiles?

Programs use several accepted interpolation conventions for quartiles. Small data sets are most likely to expose those differences, so match the method required by your course or analysis.