Five Number Summary Calculator

Find the minimum, first quartile (Q1), median, third quartile (Q3) and maximum of any dataset, plus the IQR and outlier fences. Paste your numbers and the results update instantly.

Enter at least 4 numbers. Quartiles use linear interpolation (the Excel QUARTILE.INC method).
Five number summary (min | Q1 | median | Q3 | max) —
Minimum—
Q1 (25th percentile)—
Median (Q2, 50th)—
Q3 (75th percentile)—
Maximum—
IQR (Q3 − Q1)—
Range (max − min)—
Lower fence (Q1 − 1.5×IQR)—
Upper fence (Q3 + 1.5×IQR)—
Outliers (outside fences)—
Box plot whiskers end at—
Count (n)—

How to Use

  1. Enter your data: type or paste the numbers into the box, separated by commas, spaces or new lines. Use a dot for decimals (3.5, not 3,5).
  2. Provide at least four numbers: the order doesn't matter, because the calculator sorts the values for you. Anything that isn't a number is ignored and counted in the note under the box.
  3. Read the results: the five numbers appear at the top, with the IQR, range, outlier fences, any outliers and the box plot whisker ends below them.
  4. Check which quartile method your course or software expects. This calculator uses linear interpolation, and other methods can give slightly different Q1 and Q3 values for the same data (see the method section below).

What You'll Discover

  • The five numbers — the minimum, Q1, median, Q3 and maximum, shown together in one line and individually below it.
  • IQR and range — Q3 − Q1 (the spread of the middle 50%) and max − min (the spread of everything), in the same units as your data.
  • Lower and upper fences — Q1 − 1.5×IQR and Q3 + 1.5×IQR, the cut-offs used by the standard outlier rule and by most box plots.
  • Outliers — the values that fall outside those fences, listed for you (or “None”).
  • Whisker ends — the lowest and highest values that are still inside the fences, which is where the whiskers of a standard box plot stop.
  • Count — how many numbers were used, so you can spot input mistakes at a glance.

The calculator needs at least four values. With fewer, it shows dashes and tells you how many numbers it found.

What Is the Five Number Summary?

The five number summary describes a dataset with five values: the minimum (smallest value), Q1 (the first quartile, with about 25% of the data at or below it), the median (the middle value, with about 50% at or below it), Q3 (the third quartile, about 75% at or below it) and the maximum (largest value). Together they capture the centre, the spread and the extremes of the data without assuming any particular shape.

Two spreads come straight from it. The range is max − min and covers all the data. The interquartile range (IQR) is Q3 − Q1 and covers the middle half. The five numbers are also exactly what you need to draw a box plot (box-and-whisker plot): the box runs from Q1 to Q3, a line marks the median, and the whiskers reach out towards the minimum and maximum. John Tukey popularised both the summary and the box plot in his 1977 book Exploratory Data Analysis.

Five number summary = (min, Q1, median, Q3, max)

Why it is useful

Because the quartiles depend on the order of the values rather than their size, a few extreme observations hardly move Q1, the median or Q3. That makes the five number summary a good first look at skewed data such as incomes, house prices or waiting times, where a mean can be dragged far from the typical value. It also lets you compare groups quickly: put two summaries side by side and you can see whether one group is centred higher, more spread out or has a longer tail. For the IQR on its own, with a closer look at the 1.5×IQR rule, see the IQR calculator.

Which Quartile Method Does This Calculator Use?

There is more than one accepted way to compute quartiles, so Q1 and Q3 can differ slightly between textbooks, graphing calculators, spreadsheets and websites. This calculator uses linear interpolation between the closest ranks (the inclusive method), the same method as the IQR calculator on this site:

  1. Sort the n values from smallest to largest.
  2. The quartile at fraction p sits at position p × (n − 1) counting from zero (p = 0.25 for Q1, 0.5 for the median, 0.75 for Q3).
  3. If that position isn't a whole number, take the value at the whole-number position below it and move the fractional share of the way towards the next value.

This matches Excel's QUARTILE.INC and NumPy's default percentile calculation. The minimum and maximum never depend on the method, and neither does the median. Only Q1 and Q3 change. Many textbooks teach the median of halves instead: split the sorted data at the median, then take the median of the lower half for Q1 and of the upper half for Q3. For an odd number of values, books disagree on whether the median itself belongs to both halves. Excel's QUARTILE.EXC is a third variant. Q1 and Q3 under each method:

DataThis calculator (Q1 / Q3)Median of halves, median kept in both halvesMedian of halves, median left outExcel QUARTILE.EXC
1, 2, 3, 41.75 / 3.251.5 / 3.51.5 / 3.51.25 / 3.75
1 to 52 / 42 / 41.5 / 4.51.5 / 4.5
1 to 103.25 / 7.753 / 83 / 82.75 / 8.25
4, 6, 7, 9, 10, 11, 13, 15, 18, 227.5 / 14.57 / 157 / 156.75 / 15.75
12, 15, 18, 20, 22, 25, 27, 30, 9518 / 2718 / 2716.5 / 28.516.5 / 28.5

If your teacher, exam board or software names a method, follow it and check your answer against that method. None is “wrong”; they are different definitions, and the gap shrinks as the dataset grows. If your answer is marked against a median-of-halves key, expect small differences from this calculator on even-sized samples.

Reading the Five Numbers: Box Plot, Skew and Outliers

The five numbers tell a story once you look at the gaps between them. The box is Q1 to Q3, so its width is the IQR. The median line splits the box in two. If the median sits nearer Q1 and the upper whisker is longer, the data lean towards right skew (a long tail of high values). If it sits nearer Q3, they lean towards left skew. A median near the middle of the box with whiskers of similar length suggests a roughly symmetric shape. This is a rule of thumb, not a test, and it is weaker on very small samples.

Whiskers and outliers

In the most common convention, the whiskers do not simply stretch to the minimum and maximum. They stop at the most extreme values that are still inside the fences, Q1 − 1.5×IQR and Q3 + 1.5×IQR. Anything beyond a fence is drawn as a separate dot and flagged as a potential outlier. That is why this calculator reports both the fences and the whisker ends. When there are no outliers, the whisker ends are simply the minimum and the maximum.

A flag is a prompt to check, not a verdict. A flagged value may be a typing mistake, a faulty reading, a different group mixed in, or a perfectly genuine extreme result. Check the source before removing anything. When the IQR is 0, both fences collapse onto Q1 and Q3, so any value that differs from them gets flagged.

A quick skew check from the quartiles

Comparing the two halves of the box gives a simple number: (Q1 + Q3 − 2 × median) ÷ IQR, sometimes called Bowley's skewness. Positive values point to right skew, negative values to left skew, and 0 to symmetry. For the data in Example 3 below it comes to about 0.41, which matches the median sitting closer to Q1 than to Q3.

Worked Examples

Example 1 — Ten delivery times (minutes)

Data: 4, 6, 7, 9, 10, 11, 13, 15, 18, 22 (n = 10).

  • Minimum = 4 and maximum = 22
  • Q1 position = 0.25 × 9 = 2.25 (from zero), a quarter of the way from the 3rd value (7) to the 4th (9): Q1 = 7.5
  • Median = (10 + 11) ÷ 2 = 10.5
  • Q3 position = 0.75 × 9 = 6.75, three quarters of the way from 13 to 15: Q3 = 14.5
  • Five number summary: 4, 7.5, 10.5, 14.5, 22; IQR = 7, range = 18
  • Fences: −3 and 25, so there are no outliers

Example 2 — Exam scores with one extreme value

Data: 12, 15, 18, 20, 22, 25, 27, 30, 95 (n = 9).

  • Five number summary: 12, 18, 22, 27, 95
  • IQR = 27 − 18 = 9, range = 83
  • Fences: 18 − 13.5 = 4.5 and 27 + 13.5 = 40.5
  • 95 is above 40.5, so it is an outlier. The whiskers would end at 12 and 30, the most extreme values inside the fences.

Example 3 — A right-skewed sample

Data: 2, 3, 3, 4, 4, 5, 6, 8, 12, 20 (n = 10).

  • Five number summary: 2, 3.25, 4.5, 7.5, 20
  • The median is 1.25 above Q1 but 3 below Q3, so the box is lopsided towards the high side.
  • IQR = 4.25, so the upper fence is 7.5 + 6.375 = 13.875 and 20 is flagged as an outlier. The upper whisker ends at 12.
  • The mean is 6.7, well above the median of 4.5, which is the same right skew showing up in a second way.

Five Number Summary vs Mean and Standard Deviation

The mean and standard deviation use every value in the data, which makes them very informative for roughly symmetric data and very sensitive to extremes. The five number summary relies on positions in the sorted list, so it resists extremes. Take the exam scores from Example 2 and replace the 95 with 35:

MeasureWith 95With 35 insteadAffected by the change?
Median2222No
Q1 and Q318 and 2718 and 27No
IQR99No
Maximum9535Yes, by definition
Mean29.3322.67Yes, by about 6.7 points
Sample standard deviation25.287.35Yes, strongly

One value moved the mean by more than six points and more than tripled the standard deviation, yet left the median and both quartiles alone. That is why the five number summary is the usual choice for skewed data or data that may contain errors.

It has limits too. Five numbers can't show whether the data have two peaks, and they say nothing about how the values between the quartiles are arranged. For symmetric data the mean, median and mode calculator and the standard deviation calculator add detail the summary leaves out. To read off any other cut-off, such as the 90th percentile, use the percentile calculator.

What Is the Five Number Summary If...

What is the five number summary if my data are the numbers 1 to 10?

For the numbers 1 to 10, this calculator gives 1, 3.25, 5.5, 7.75, 10. The IQR is 4.5 and the range is 9. A median-of-halves textbook method would give Q1 = 3 and Q3 = 8, with the same minimum, median and maximum.

What is the five number summary if my data contain an outlier?

An outlier changes the minimum or maximum but barely moves Q1, the median or Q3. For 12, 15, 18, 20, 22, 25, 27, 30, 95 the summary is 12, 18, 22, 27, 95. The 95 is above the upper fence of 40.5, so it is flagged, and the upper whisker would stop at 30.

What is the five number summary if I have an odd number of values?

For 1, 2, 3, 4, 5 this calculator gives 1, 2, 3, 4, 5. The median is the middle value, 3, and it is not dropped when finding the quartiles. A textbook that removes the median from both halves would get Q1 = 1.5 and Q3 = 4.5, so check which convention you are meant to use.

What is the five number summary if I have an even number of values?

For 1, 2, 3, 4 this calculator gives 1, 1.75, 2.5, 3.25, 4. The median is the average of the two middle values, 2 and 3. The median-of-halves method splits the data into {1, 2} and {3, 4} and returns Q1 = 1.5 and Q3 = 3.5 instead.

What is the five number summary if all the values are the same?

If every value is identical, all five numbers equal that value. For 7, 7, 7, 7 the summary is 7, 7, 7, 7, 7, and both the IQR and the range are 0, so there is no spread at all.

What is the five number summary if my data include negative numbers?

Negative values work normally; the five numbers are still in increasing order. For −8, −5, −3, −1, 0, 2, 4, 9 the calculator gives −8, −3.5, −0.5, 2.5, 9, with an IQR of 6 and a range of 17.

What is the five number summary if my data have decimals?

Decimals are fine: use a dot as the decimal separator. For 3.5, 4.2, 5.1, 5.8, 6.4, 7.0, 7.7, 8.3 the calculator gives 3.5, 4.875, 6.1, 7.175, 8.3, with an IQR of 2.3 and a range of 4.8. Results are shown with up to six decimal places, with trailing zeros removed.

What is the five number summary if I enter the numbers out of order?

The order you type the numbers in doesn't matter, because the calculator sorts them first. Entering 9, 1, 5, 3, 7, 2, 8, 4, 6, 10 gives exactly the same answer as 1 to 10: 1, 3.25, 5.5, 7.75, 10.

What is the five number summary if some values are repeated?

Repeated values are all counted, and they can make several of the five numbers equal. For 5, 5, 5, 5, 5, 5, 9 the summary is 5, 5, 5, 5, 9. The IQR is 0, both fences equal 5, and the 9 is flagged as an outlier even though the range is only 4. With a zero IQR, interpret that flag with care.

What is the five number summary if I have fewer than four values?

This calculator needs at least four numbers and shows dashes below that. The note under the box says how many numbers it found. Quartiles from two or three values say very little about a distribution, so there is little point reporting them. With so few values, simply listing the data is usually more honest than summarising it.

People Also Search For

How to find the five number summary by hand

Sort the data, read off the smallest and largest values, find the median, then find the quartiles. For the ten delivery times 4, 6, 7, 9, 10, 11, 13, 15, 18, 22: the minimum is 4, the maximum is 22 and the median is 10.5. With the median-of-halves method, Q1 is the median of the lower five values (7) and Q3 the median of the upper five (15). With this calculator's interpolation method they are 7.5 and 14.5. Say which method you used when you write up the result.

How to draw a box plot from the five number summary

Draw a number line, a box from Q1 to Q3, a line at the median, and whiskers to the most extreme values inside the fences. Mark any value beyond a fence as a separate dot. For 12, 15, 18, 20, 22, 25, 27, 30, 95 that means a box from 18 to 27, a median line at 22, whiskers to 12 and 30, and a dot at 95.

How to find the five number summary in Excel or Python

In Excel, use =MIN(range), =QUARTILE.INC(range,1), =MEDIAN(range), =QUARTILE.INC(range,3) and =MAX(range), which match this calculator. In Python, numpy.percentile(data, [0, 25, 50, 75, 100]) returns the same five values with NumPy's default settings. For the numbers 1 to 10 both give 1, 3.25, 5.5, 7.75, 10. Excel's QUARTILE.EXC would give Q1 = 2.75 and Q3 = 8.25 instead.

Five number summary vs IQR: what is the difference?

The IQR is a single number, Q3 − Q1, while the five number summary is the full set of five values that the IQR is calculated from. The summary tells you where the centre and the extremes are; the IQR tells you how wide the middle half is. This page reports both. For a focused look at the IQR and the outlier rule, use the IQR calculator.

How to find outliers using the five number summary

Work out the IQR, then flag any value below Q1 − 1.5×IQR or above Q3 + 1.5×IQR. For 4, 6, 7, 9, 10, 11, 13, 15, 18, 22 the IQR is 7, the fences are −3 and 25, and nothing is flagged. The calculator above does these steps for you and lists the flagged values in the Outliers row.

Why is my answer different from my textbook or another calculator?

The most likely cause is a different quartile method, which changes Q1 and Q3 but never the minimum, median or maximum. Check whether your source puts the median in both halves, leaves it out, or uses an interpolation formula. The table in the method section above shows how much Q1 and Q3 can shift for the same data.

Frequently Asked Questions

What is the five number summary?

The five number summary is the minimum, Q1 (the first quartile), the median, Q3 (the third quartile) and the maximum. Together these five values describe a dataset's centre, spread and extremes, and they are the numbers needed to draw a box plot.

Which quartile method does this calculator use?

It uses linear interpolation between the closest ranks, the inclusive method. The quartile position is p × (n − 1) counting from zero, and the result is interpolated between the two neighbouring sorted values. This matches Excel's QUARTILE.INC and NumPy's default percentile calculation.

Why does my textbook or another tool give different quartiles?

Quartiles have several accepted definitions. Median-of-halves methods and Excel's QUARTILE.EXC place Q1 and Q3 slightly differently, and for the numbers 1 to 10 they give Q1 and Q3 of 3 and 8 or 2.75 and 8.25, versus 3.25 and 7.75 here. The minimum, median and maximum are the same under every method. Use the method your course or software specifies.

How is the five number summary used in a box plot?

The box spans Q1 to Q3, so its width is the IQR, and a line inside it marks the median. In the common convention the whiskers extend to the most extreme values within the 1.5 × IQR fences, and points beyond the fences are drawn individually as outliers.

What does the position of the median in the box tell you?

If the median is closer to Q1 and the upper whisker is longer, the data lean towards right skew. If it is closer to Q3, they lean towards left skew. A median near the middle of the box suggests a roughly symmetric distribution. It is a rule of thumb rather than a formal test, and it is less reliable on small samples.

Why use five numbers instead of just the mean and standard deviation?

The mean and standard deviation use every value, so a few extreme values can distort them, and they work best for roughly symmetric data. The five number summary is based on positions in the sorted data, so it stays stable with skewed data or outliers. In the exam-score example, changing 95 to 35 left the median and quartiles alone but moved the mean by about 6.7.

Can the minimum equal Q1?

Yes. This happens when the bottom quarter or more of the data is the same value, as in 3, 3, 3, 3, 8, 9. Similarly, Q1 can equal the median, or Q3 can equal the maximum. It is common with discrete data and small samples with repeated values.

How many numbers do I need?

This calculator needs at least four values. With fewer than four, it shows dashes and tells you how many numbers it found. Quartiles from very small samples are not very informative, so the five number summary is most useful on larger datasets.

How should I enter my data?

Separate the numbers with commas, spaces, semicolons or new lines, so you can paste a column straight from a spreadsheet. Use a dot as the decimal separator. Entries that aren't numbers are ignored, and the note under the box says how many were skipped. Thousands separators such as 1,000 would be read as two numbers, so leave them out.

Does the order of my numbers matter?

No. The calculator sorts the values before finding the quartiles, so you can enter them in any order. Repeated values are all counted.

Do the box plot whiskers always reach the minimum and maximum?

No. In the most common convention they stop at the most extreme values inside the 1.5 × IQR fences, and anything beyond is plotted as a separate point. Some textbooks draw whiskers all the way to the minimum and maximum instead. The calculator shows the whisker ends under the fence convention, which equal the min and max when there are no outliers.

What is the difference between the five number summary and the IQR?

The IQR is one number, Q3 − Q1, the width of the middle 50% of the data. The five number summary is the full set of five values, and the IQR is derived from two of them. Reporting the summary tells readers where the centre and the extremes are as well as the spread.

What is Tukey's five number summary?

John Tukey popularised the five number summary and the box plot in his 1977 book “Exploratory Data Analysis”. It uses the same five values (minimum, lower quartile, median, upper quartile, maximum), together with the idea of outlier fences. Tukey's own hinges are computed with a median-of-halves style approach, so they can differ a little from this calculator's interpolated quartiles.

Is my data stored or sent anywhere?

No. All calculations run in your browser. Nothing you type is sent to a server or saved, and no account is needed.

Last reviewed: November 2026 — formulas and worked examples verified.