Five-Number Summary & Box Plot Calculator

Paste a data set to get the minimum, first quartile, median, third quartile and maximum, plus the interquartile range, outlier fences, any outliers and a labelled box-and-whisker plot.

Grades 6–12FreeNo sign-up

Try:

Tip: paste a column straight from a spreadsheet. Entries that aren’t numbers are skipped and reported.

How to use the five-number summary calculator

  1. Type or paste your data. Commas, spaces, semicolons and new lines all work as separators, and the numbers do not need to be in order.
  2. The five-number summary appears straight away, followed by the IQR, the outlier fences and a list of any outliers.
  3. The box-and-whisker plot is drawn to scale with each value labelled, and the steps show exactly how the data was split to find the quartiles.

What is the five-number summary?

The five-number summary describes a whole data set with just five values:

Those five numbers cut the sorted data into four parts that each hold roughly 25% of the values.

How the quartiles are found

This calculator uses the median-of-halves method that is taught in most US middle and high school classes:

  1. Sort the data and find the median.
  2. Split the list into a lower half and an upper half. If the number of values is odd, the median itself is left out of both halves. If it is even, the list splits exactly in two.
  3. Q1 is the median of the lower half. Q3 is the median of the upper half.

Heads up: there is more than one accepted way to define quartiles. Spreadsheets, statistics software and some textbooks interpolate between values or include the median in both halves, so their Q1 and Q3 can differ slightly from yours — especially for small data sets. Neither is “wrong”; just use the method your class uses. The calculator shows the spreadsheet (QUARTILE.INC) values next to its own so you can compare.

Worked example

Data: 12, 15, 17, 18, 20, 21, 22, 24, 25, 48 (n = 10)

Median: average of the 5th and 6th values = (20 + 21) ÷ 2 = 20.5.

Lower half: 12, 15, 17, 18, 20 → Q1 = 17. Upper half: 21, 22, 24, 25, 48 → Q3 = 24.

Five-number summary: 12, 17, 20.5, 24, 48.

IQR: 24 − 17 = 7. Fences: 17 − 1.5 × 7 = 6.5 and 24 + 1.5 × 7 = 34.5.

Outliers: 48 is above 34.5, so it is an outlier.

IQR and the 1.5 × IQR outlier rule

The interquartile range is IQR = Q3 − Q1. It is the width of the middle half of the data, and unlike the range it is not affected by one unusually large or small value.

A common rule says a value is an outlier if it is more than 1.5 × IQR beyond the quartiles:

Anything below the lower fence or above the upper fence is flagged. An outlier is not automatically a mistake — it is a value worth a second look.

Reading a box-and-whisker plot

A box plot is a picture of the five-number summary. The box runs from Q1 to Q3, so its length is the IQR. The line inside the box is the median. The whiskers stretch out to the smallest and largest values that are not outliers, and outliers are drawn as separate dots. A long whisker or a median that sits off-centre in the box shows the data is skewed in that direction.

Want the mean and mode of the same data? Use the mean, median and mode calculator. For a spread measure that uses every value, try the standard deviation calculator.

Frequently asked questions

What are the five numbers in a five-number summary?

The minimum, the first quartile (Q1), the median, the third quartile (Q3) and the maximum, always listed in that order.

How do you find Q1 and Q3?

Sort the data and find the median. Q1 is the median of the lower half of the data and Q3 is the median of the upper half. If the number of values is odd, leave the median out of both halves.

Why does my calculator or spreadsheet give different quartiles?

There are several accepted quartile methods. This tool uses the median-of-halves method taught in US schools and used by TI-84 calculators. Spreadsheet functions such as QUARTILE.INC interpolate between values, so they can give slightly different answers.

How do you find outliers with the IQR?

Calculate IQR = Q3 − Q1. Any value less than Q1 − 1.5 × IQR or greater than Q3 + 1.5 × IQR is an outlier.

What is the interquartile range?

The interquartile range, or IQR, is Q3 minus Q1. It measures the spread of the middle 50% of the data and is not affected by extreme values.

Do the whiskers of a box plot go to the minimum and maximum?

Only when there are no outliers. If there are outliers, each whisker stops at the most extreme value inside the fences and the outliers are plotted as separate dots.