Five-Number Summary Calculator
Reviewed by CalcMulti Editorial Team·Last updated: ·← Statistics Hub
The five-number summary describes the distribution of a dataset using five key values: the minimum, first quartile (Q1), median (Q2), third quartile (Q3), and maximum. Together they reveal the centre, spread, and skewness of your data — and are the foundation of a box-and-whisker plot.
Paste your numbers (comma, space, or newline separated) to instantly compute all five values plus the interquartile range (IQR) and Tukey's outlier fences.
Unlike the mean and standard deviation, the five-number summary makes no assumption about the shape of your distribution. It is a non-parametric description — meaning it works equally well for symmetric bell curves, right-skewed income data, left-skewed test scores, and bimodal distributions. When a dataset contains outliers or follows a non-normal pattern, the five-number summary is usually more informative than mean ± SD because extreme values cannot distort the quartiles.
Reading skewness from the five numbers is straightforward: compare the gap between Q1 and the median with the gap between the median and Q3. If the lower gap is smaller (Median − Q1 < Q3 − Median), the data is right-skewed with a longer upper tail. If the lower gap is larger, the data is left-skewed. Equal gaps suggest approximate symmetry. Similarly, compare the whisker lengths: a longer upper whisker signals a right tail, a longer lower whisker signals a left tail.
Common applications include academic research (summarising test score distributions across classrooms), clinical studies (summarising patient age, weight, or biomarker levels that may be skewed), business analytics (reporting revenue or customer lifetime value where a few large accounts skew the mean), and quality control (tracking production measurements with occasional defects as outliers). Any time you need a quick, honest snapshot of a dataset without fitting a model, the five-number summary is the right tool.
Worked example: consider a dataset of 10 exam scores: 45, 52, 58, 63, 68, 72, 76, 81, 90, 97. Sorted, these give Min = 45, Q1 = 57.25 (between 3rd and 4th values), Median = 70.0 (average of 5th and 6th), Q3 = 80.25 (between 7th and 8th), Max = 97. IQR = 80.25 − 57.25 = 23.0. Lower fence = 57.25 − 34.5 = 22.75; upper fence = 80.25 + 34.5 = 114.75. No values fall outside the fences, so there are no outliers. The gap above the median (Q3 − Med = 10.25) is slightly larger than below (Med − Q1 = 12.75), suggesting a mild left skew in the score distribution.
Comparing two datasets side by side using five-number summaries is one of the most effective exploratory techniques in statistics. Suppose Class A has scores: Min 40, Q1 55, Med 68, Q3 78, Max 95, and Class B has Min 50, Q1 65, Med 72, Q3 82, Max 92. The median is similar (68 vs 72), but Class A has a wider IQR (23 vs 17), meaning more spread in the middle 50%. Class A also has a lower minimum, suggesting a tail of struggling students. A back-to-back box plot of these two five-number summaries immediately makes these patterns visible in a way that comparing only means (e.g., both might have mean ≈ 70) would completely obscure.
For reporting purposes, the five-number summary can be compressed into a single line: the notation [Min, Q1, Med, Q3, Max] with the IQR stated separately. In academic papers using APA style, this might appear as: "The distribution of response times was right-skewed (Mdn = 320 ms, IQR = 145 ms, range = 180–890 ms)." In business dashboards, quartile widgets give executives an instant feel for both the typical value (median) and the variability (IQR). When presenting raw data is not possible due to privacy constraints, the five-number summary conveys distribution shape with no individual data points exposed.
Formula
IQR = Q3 − Q1 | Lower fence = Q1 − 1.5×IQR | Upper fence = Q3 + 1.5×IQR
Five-Number Summary vs Other Descriptive Statistics
| Feature | Five-Number Summary | Mean ± SD |
|---|---|---|
| Normality required? | No — works for any distribution | Best for symmetric data |
| Outlier resistance | High — based on ranks | Low — outliers inflate mean and SD |
| Shape insight | Yes — asymmetry visible from spacing | No — only spread, not shape |
| Skewness detection | Yes — compare Q1 gap vs Q3 gap | Indirect via mean > median check |
| Box plot basis | Yes — direct input to box-and-whisker | No |
| For parametric tests | Not directly | Mean ± SD needed for t-test, ANOVA |
Case Study: Customer Wait Times
A bank measured wait times (minutes) for 200 customers: Min=0.8, Q1=3.2, Median=5.1, Q3=8.9, Max=47.3. Mean=6.8, SD=5.9.
IQR=5.7. Upper fence = 8.9 + 1.5×5.7 = 17.45. 12 customers waited longer than 17.45 min — flagged as outliers. The longest wait was 47.3 min (an extreme outlier). The data is right-skewed: Q3−Median=3.8 vs Median−Q1=1.9.
Management reported median wait time of 5.1 min (not the mean of 6.8 min) because the skewed distribution made the mean unrepresentative. The 12 extreme-wait customers were investigated — 10 involved a system outage and were removed from the SLA calculation.
How to Calculate the Five-Number Summary by Hand
- 1
Sort the dataset
Arrange all values in ascending order. This is the foundation — every quartile calculation depends on the sorted order.
- 2
Find the minimum and maximum
The minimum is the first (smallest) value; the maximum is the last (largest) value.
- 3
Find the median (Q2)
For an odd number of values, the median is the exact middle value. For an even count, it is the average of the two middle values.
- 4
Find Q1 (lower quartile)
Q1 is the median of all values below Q2. For n = 10, the lower half is values 1–5; Q1 is the median of those five values.
- 5
Find Q3 (upper quartile)
Q3 is the median of all values above Q2. For n = 10, the upper half is values 6–10; Q3 is the median of those five values.
- 6
Calculate IQR and fences
IQR = Q3 − Q1. Lower fence = Q1 − 1.5 × IQR. Upper fence = Q3 + 1.5 × IQR. Values outside the fences are potential outliers.
Reading Skewness from the Five Numbers
Compare the gaps between values to identify the shape of your distribution before choosing a statistical test.
| Pattern | Shape | Typical Examples | Recommended Summary |
|---|---|---|---|
| Median ≈ midpoint of Q1–Q3; whiskers roughly equal | Symmetric | Heights, measurement errors, test scores (ideal) | Both mean±SD and five-number summary work well |
| Q3 − Median > Median − Q1; long upper whisker | Right-skewed (positive) | Incomes, house prices, wait times, survival times | Use median + IQR; mean overstates "typical" value |
| Median − Q1 > Q3 − Median; long lower whisker | Left-skewed (negative) | Exam scores (easy exam), age at death in developed countries | Use median + IQR; mean understates "typical" value |
| Very long whiskers; many outlier points | Heavy tails | Financial returns, earthquake magnitudes | Report median + IQR; flag outliers separately |
| Q1 = Median = Q3 | Highly concentrated | Likert responses (most choose 3), ordinal data | Mode may be more informative than median |
Common Mistakes to Avoid
- ✕Forgetting to sort first. Quartiles are order statistics — the calculation is meaningless on unsorted data.
- ✕Including Q2 in both halves. When computing Q1 and Q3, the median value is typically excluded from both halves (this calculator uses Type 7 / linear interpolation, matching R and Excel).
- ✕Confusing IQR with range. The range is Max − Min (affected by outliers). The IQR is Q3 − Q1 (robust to outliers). They measure different things.
- ✕Assuming outliers are errors. A value outside Tukey's fences is a potential outlier — it needs investigation, not automatic removal. It may represent a genuine extreme observation.
- ✕Using mean instead of median for skewed data. If Q3 − Median ≠ Median − Q1, the distribution is skewed and the median is the more representative measure of centre.
Related Calculators
Detailed IQR + outlier analysis
Percentile CalculatorAny percentile, including Q1, Q2, Q3
Mean CalculatorComplement five-number summary with mean
Variance CalculatorSD to compare with IQR spread measure
Normal Distribution ExplainedWhen and why to check normality
Statistics HubAll statistics calculators & guides
Disclaimer
This calculator is for educational purposes only and does not constitute professional advice. Results are based on standard mathematical formulas. Always verify critical calculations with a qualified professional before making important decisions.