Five-Number Summary and Outlier Calculator (Box Plot)
Find the minimum, first quartile, median, third quartile and maximum of a data set, with the interquartile range and outliers by Tukey's fences.
Statistical results depend on the assumptions stated in the formula. Check that your data meet them before drawing conclusions.
How to use this calculator
Paste or type your numbers. The calculator sorts them and gives the five-number summary used to draw a box plot, the interquartile range (IQR) and Tukey's fences. Values outside the inner fences are flagged as possible outliers and values beyond the outer fences as extreme outliers.
Formula
Quartiles use the median-of-halves method: Q1 is the median of the lower half and Q3 the median of the upper half (the overall median is excluded when n is odd). IQR = Q3 − Q1. Inner fences: Q1 − 1.5 × IQR and Q3 + 1.5 × IQR. Outer fences: Q1 − 3 × IQR and Q3 + 3 × IQR.
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Expert reviewSaeedM.Phil Statistics, Data Scientist
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
What is a five-number summary?
Minimum, first quartile (Q1), median, third quartile (Q3) and maximum. Together they describe the centre, spread and range of a data set.
Why do different tools give different quartiles?
There are several quartile methods. This calculator uses the median-of-halves (Tukey) method taught in most schools; spreadsheets often use interpolation and can differ slightly.
What is the interquartile range?
Q3 − Q1, the range of the middle 50% of the data. It is not affected by extreme values.
How are outliers identified?
Tukey's rule flags values more than 1.5 × IQR below Q1 or above Q3. Beyond 3 × IQR they are called extreme outliers.
Should I delete outliers?
Not automatically. Check whether they are errors; genuine extreme values are part of the data and may be important.
How do I draw a box plot?
Draw a box from Q1 to Q3 with a line at the median, then whiskers to the smallest and largest values inside the fences, and plot outliers as separate points.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- National Institute of Standards and Technology. (n.d.). Box plots with fences. In NIST/SEMATECH e-Handbook of Statistical Methods (Section 7.1.6). View source
- Croarkin, C., & Tobias, P. (Eds.). (2012). NIST/SEMATECH e-handbook of statistical methods. National Institute of Standards and Technology. View source
- Illowsky, B., & Dean, S. (2023). Introductory statistics 2e. OpenStax. View source
- Casella, G., & Berger, R. L. (2002). Statistical inference (2nd ed.). Duxbury. View source