Five-Number Summary Calculator
The five-number summary describes a dataset with its minimum, first quartile (Q1), median, third quartile (Q3) and maximum. For 7, 15, 36, 39, 40, 41, 42, 43, 47, 49 it is 7, 36, 40.5, 43 and 49, with an IQR of 7 and a range of 42.
Last updated · By S. Dilshan · Runs in your browser, nothing is uploaded
Step-by-Step Solution
What Is the Five-Number Summary?
The five-number summary condenses a dataset into five landmarks: the minimum, the first quartile (Q1), the median, the third quartile (Q3) and the maximum. Together they show the centre, the spread and the extremes at a glance, and they are exactly what a box plot draws.
Unlike the mean and standard deviation, these five numbers are resistant to outliers and make no assumption about the shape of the data. That makes them a reliable first look at any numerical dataset, especially when it is skewed.
What Each Number Tells You
| Statistic | Position in sorted data | Meaning |
|---|---|---|
| Minimum | 0% | Smallest value |
| Q1 | 25% | A quarter of the values lie at or below it |
| Median (Q2) | 50% | Half of the values lie at or below it |
| Q3 | 75% | Three quarters of the values lie at or below it |
| Maximum | 100% | Largest value |
How the Five Numbers Are Calculated
Sort the data from smallest to largest, then:
- With an even number of values, split the data into two equal halves at the median.
- With an odd number, the median is left out of both halves.
- Useful extras are
IQR = Q3 − Q1andRange = Maximum − Minimum.
Different software calculates quartiles slightly differently. This calculator uses the median-of-halves method taught in most textbooks. Use the quartile and IQR calculator if you need to compare other methods.
Worked Example: Ten Exam Scores
The preloaded data is 7, 15, 36, 39, 40, 41, 42, 43, 47, 49, already sorted, with n = 10.
- Minimum and maximum: 7 and 49.
- Median: the 5th and 6th values are 40 and 41, so the median is 40.5.
- Lower half: 7, 15, 36, 39, 40, whose median is Q1 = 36.
- Upper half: 41, 42, 43, 47, 49, whose median is Q3 = 43.
The five-number summary is 7, 36, 40.5, 43, 49.
Reading the Result
- IQR: 43 − 36 = 7, so the middle half of scores sits within a 7-point band.
- Range: 49 − 7 = 42.
- Fences: 36 − 1.5 × 7 = 25.5 and 43 + 1.5 × 7 = 53.5. The scores 7 and 15 fall below 25.5, so they are flagged as outliers.
- Shape: the median (40.5) is much closer to Q3 than to the minimum, and the mean (35.9) sits below the median. Both point to a left-skewed distribution, pulled down by the two unusually low scores.
How to Use This Five-Number Summary Calculator
- Enter your numbers separated by commas, spaces or new lines.
- The calculator sorts them and finds the five statistics automatically.
- Read the summary, the IQR, the range and the outlier fences.
- Open the steps to see how the halves were split.
Pair it with the outlier calculator to inspect flagged values, or with the standard deviation calculator for a spread measure based on every value.
Real-World Uses of the Five-Number Summary
- Box plots: the summary is the data behind every box-and-whisker chart.
- Exploratory data analysis: a quick, robust description of any numeric column.
- Comparing groups: side-by-side summaries show differences in centre and spread between, say, two classes or two sales regions.
- Reporting skewed data: salaries, house prices and waiting times are better summarised this way than by a mean alone.
- Outlier screening: the fences from Q1 and Q3 give a simple rule for unusual values.
Comparing Two Groups
Suppose Class A has the summary 50, 60, 70, 80, 90 and Class B has 68, 70, 71, 72, 74. Both centre around a median of about 70, so their means would look alike. The summaries show the real difference: Class A has an IQR of 20 and a range of 40, while Class B has an IQR of 2 and a range of 6. Class B is far more consistent. That kind of contrast is exactly what the five numbers reveal and a single average hides.
What Are the Most Common Mistakes With the Five-Number Summary Calculator?
- Not sorting first. Quartiles need ordered data.
- Method mismatches. Spreadsheets may give slightly different quartiles from this calculator’s median-of-halves method.
- Treating flagged outliers as errors. They are unusual, not necessarily wrong.
- Overlooking shape. Five numbers cannot show whether the data has two peaks.
- Tiny datasets. With fewer than about eight values, quartiles are unstable.
- Confusing range with IQR. The range covers all the data, the IQR only the middle half.
Where Can You Verify These Formulas?
The definitions and formulas on this page follow standard references. Check them against these sources:
Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.
Frequently Asked Questions
What is the five-number summary?
It is the minimum, first quartile, median, third quartile and maximum of a dataset. Together they summarise the centre, spread and range of the data.
How do you find Q1 and Q3?
Sort the data, find the median, then take the median of the lower half (Q1) and the median of the upper half (Q3).
What is a box plot and how does it use the five-number summary?
A box plot draws a box from Q1 to Q3 with a line at the median, and whiskers out to the minimum and maximum (or the outlier fences). It is a picture of the five-number summary.
Why use the five-number summary instead of the mean and standard deviation?
It is resistant to outliers and does not assume a particular shape, so it is more reliable for skewed data.
How do I find outliers from the five-number summary?
Compute IQR = Q3 − Q1. Values below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR are flagged as potential outliers.
Can the median equal Q1 or Q3?
Yes, if many values are tied around that position. The five numbers are non-decreasing, but they are not always distinct.