Five Number Summary Calculator

A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call

Free five number summary calculator. Get the minimum, Q1, median, Q3 and maximum, plus the IQR, box plot fences and any outliers, from your data.

IQR
0
Range
0
Outlier fences
0
Outliers
0

Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.

How to use the five number summary calculator

  1. Paste or type your numbers, separated by commas, spaces or new lines. You need at least four values.
  2. Read the five-number summary: minimum, first quartile (Q1), median, third quartile (Q3) and maximum.

The five number summary calculator also shows the interquartile range (IQR), the range, the fences used to flag outliers, any outliers in your data, and a box plot drawn from the results.

What is the five-number summary?

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

  1. Minimum: the smallest value.
  2. First quartile (Q1): the value below which about a quarter of the data falls.
  3. Median: the middle value, with half the data below it and half above.
  4. Third quartile (Q3): the value below which about three-quarters of the data falls.
  5. Maximum: the largest value.

Together, they show where the data is centred, how spread out it is, and whether it's skewed, without being distorted by a few extreme values the way the mean and standard deviation can be. The five-number summary was popularised by the statistician John Tukey as part of exploratory data analysis, along with the box plot that displays it.

How the quartiles are found

There are several accepted methods for calculating quartiles, and they can give slightly different answers for small data sets. The five number summary calculator uses a common textbook method, often called Tukey's method or the method of medians of halves:

  1. Sort the data from smallest to largest.
  2. Find the median.
  3. Split the data into a lower half and an upper half. If there's an odd number of values, leave the median out of both halves.
  4. Q1 is the median of the lower half; Q3 is the median of the upper half.

This is the same method many school courses and graphing calculators use. Spreadsheet functions such as QUARTILE.INC and QUARTILE.EXC, and some statistics software, use interpolation methods that can give slightly different values. If you need to match a particular program or textbook, check which method it uses.

A worked example

With the default data, 6, 7, 15, 36, 39, 40, 41, 42, 43, 47 and 49 (11 values, already sorted):

  1. Minimum: 6.
  2. Median: the 6th value, 40.
  3. Lower half: 6, 7, 15, 36, 39, so Q1 = 15.
  4. Upper half: 41, 42, 43, 47, 49, so Q3 = 43.
  5. Maximum: 49.

The five-number summary is 6, 15, 40, 43, 49. The IQR is 43 − 15 = 28, and the range is 49 − 6 = 43.

With an even number of values, such as 7, 15, 36, 39, 40 and 41, the median is the average of the two middle values, (36 + 39) ÷ 2 = 37.5, the lower half is 7, 15, 36 (Q1 = 15) and the upper half is 39, 40, 41 (Q3 = 40).

The interquartile range and outliers

The interquartile range, IQR = Q3 − Q1, measures the spread of the middle half of the data. It's widely used to flag outliers with Tukey's fences:

Lower fence = Q1 − 1.5 × IQR

Upper fence = Q3 + 1.5 × IQR

Values outside the fences are flagged as possible outliers. For the default data, the fences are 15 − 42 = −27 and 43 + 42 = 85, so there are no outliers.

For 1, 2, 3, 4, 5, 6, 7, 8, 9 and 50, Q1 is 3, Q3 is 8 and the IQR is 5, so the upper fence is 8 + 7.5 = 15.5. The value 50 lies outside it and is flagged as an outlier. Enter that data in the five number summary calculator to see it marked on the box plot. An outlier isn't necessarily an error; it's a value worth checking.

Reading a box plot

A box plot, or box-and-whisker plot, draws the five-number summary:

  • The box runs from Q1 to Q3, so it contains the middle half of the data.
  • The line inside the box marks the median.
  • The whiskers extend from the box to the most extreme values that aren't outliers.
  • Separate points show outliers beyond the fences.

If the median line sits nearer one end of the box, or one whisker is much longer than the other, the data is skewed. Box plots are especially useful for comparing several groups side by side, such as test scores across classes or delivery times across warehouses.

Who uses a five number summary calculator

Students use it for statistics homework and exams, where five-number summaries and box plots are standard topics. Teachers use it to prepare examples. Analysts use it to summarise data quickly before deeper analysis. Quality engineers and operations managers use box plots to compare processes, and researchers use them to show the distribution of results in reports.

Need more customers from Google?

This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.

Five-number summary versus mean and standard deviation

The mean and standard deviation work well for data that's roughly symmetric and free of extreme values. For skewed data, such as incomes, house prices or waiting times, a few large values can pull the mean and standard deviation a long way, while the median and quartiles stay put. That's why reports on incomes and house prices usually quote the median. Many analysts report both: the five-number summary shows the shape, and the mean and standard deviation support further calculations. The mean, median and mode calculator and the standard deviation calculator give those values.

Common mistakes

  • Forgetting to sort the data before finding the median and quartiles.
  • Including the median in both halves when there's an odd number of values, under this method.
  • Expecting every program to give identical quartiles. Methods differ.
  • Deleting outliers automatically. Investigate them first.

Comparing groups with box plots

The five-number summary really shines when you compare groups. Imagine two delivery depots with these delivery times in days. Depot A: 2, 3, 3, 4, 4, 4, 5, 5, 6. Depot B: 1, 2, 3, 4, 4, 5, 7, 9, 12. Both have a median of 4 days, so on a typical day they look the same. But Depot A's summary is 2, 3, 4, 5, 6, while Depot B's is 1, 2.5, 4, 8, 12. Depot B's IQR of 5.5 days is much wider than Depot A's 2 days, and its long upper whisker shows that some customers wait far longer. Enter each depot's data into the five number summary calculator to see the two box plots; the difference is obvious at a glance in a way the medians alone would hide.

Skewness from the summary

You can judge the shape of a distribution from the five-number summary. If the median is closer to Q1 than to Q3, and the upper whisker is longer than the lower one, the data is right-skewed, with a tail of high values; incomes, house prices and waiting times are typical examples. If the median is closer to Q3 and the lower whisker is longer, the data is left-skewed, as with test scores on an easy exam where most students score highly. A roughly symmetric distribution has the median near the middle of the box and whiskers of similar length.

Percentiles

The quartiles are special cases of percentiles: Q1 is roughly the 25th percentile, the median the 50th, and Q3 the 75th. For other positions, such as the 90th percentile used for service-level targets, use the percentile calculator. Percentile methods vary in the same way quartile methods do, so small data sets can give slightly different answers in different programs.

Large data sets

For large data sets, the quartile method matters less, because the different methods give nearly identical results when there are hundreds or thousands of values. The five number summary calculator handles long lists pasted from a spreadsheet; just copy the column and paste it in.

Reporting the summary

In a report, give the five numbers in order with their labels, for example "minimum 6, Q1 15, median 40, Q3 43, maximum 49", state the quartile method, and add the box plot from the five number summary calculator.

Sources and further reading

  • Five-number summary on Wikipedia: definition and uses.
  • Box plot on Wikipedia: how box plots are drawn and read.
  • Quartile on Wikipedia: the different methods for calculating quartiles.

Frequently asked questions

What is a five-number summary?

The minimum, first quartile, median, third quartile and maximum of a data set.

How do I find Q1 and Q3?

Sort the data, split it at the median, and take the median of each half.

What is the interquartile range?

Q3 − Q1, the spread of the middle half of the data.

How are outliers identified?

Values below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR are flagged.

Why do different calculators give different quartiles?

There are several accepted methods; this calculator uses medians of halves.

Is the five number summary calculator free?

Yes. It's free, needs no sign-up, and works in your browser.

Free PPC audit

See where your ad budget leaks.

We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.

Book a free audit call 30-minute call · Free · The audit is yours to keep