5 Number Summary Calculator

Find the minimum, first quartile (Q1), median, third quartile (Q3), and maximum of your dataset, plus the interquartile range and full sorted list.

Quick Facts

Method
Min, Q1, median, Q3, max via the median-of-halves (Tukey) rule
Data is sorted automatically before quartiles are found; IQR = Q3 − Q1.

Your Results

Calculated
Minimum
-
Smallest value
Q1 (25th percentile)
-
Lower quartile
Median (Q2)
-
50th percentile
Q3 (75th percentile)
-
Upper quartile
Maximum
-
Largest value
IQR & Range
-
Q3 − Q1 and max − min

Ready

Enter a list of numbers and press Calculate.

What the five-number summary is

The five-number summary is a compact description of a dataset built from five ordered values: the minimum, the first quartile (Q1), the median (Q2), the third quartile (Q3), and the maximum. Reading left to right, these five numbers split the sorted data into four equal-count groups: about 25% of the values fall below Q1, 25% between Q1 and the median, 25% between the median and Q3, and 25% above Q3. Because the summary is built from ranks and positions rather than sums, it is resistant — a single extreme outlier barely moves the median or the quartiles, unlike the mean or standard deviation.

The five-number summary is the exact set of values needed to draw a box-and-whisker plot: the box spans Q1 to Q3, a line inside marks the median, and the whiskers reach out toward the minimum and maximum. That is why it is a staple of exploratory data analysis, introductory statistics courses, and any quick "shape of the data" check.

How this calculator computes the quartiles

Every method starts the same way: sort the values from smallest to largest and take the median (Q2). The median is the middle value when there is an odd number of data points, or the average of the two middle values when there is an even number.

To find the quartiles, this tool uses the median-of-halves method (also called the Tukey method or the Moore & McCabe method, the version taught in most U.S. AP Statistics and introductory college courses):

  • Q1 is the median of the lower half of the sorted data.
  • Q3 is the median of the upper half of the sorted data.
  • When the dataset has an odd number of values, the overall median is excluded from both halves before finding Q1 and Q3.
  • When the dataset has an even number of values, the data splits cleanly into two equal halves with no value left out.

The interquartile range (IQR = Q3 − Q1) measures the spread of the middle 50% of the data, and the range (max − min) measures the total spread. This calculator reports all five summary numbers plus the IQR and range, and echoes the sorted data so you can check the ordering by eye.

A worked example

Take the seven values 2, 4, 4, 5, 7, 9, 10 (already sorted). There are 7 values, so the median is the 4th value: 5. Excluding that middle value, the lower half is 2, 4, 4 with median Q1 = 4, and the upper half is 7, 9, 10 with median Q3 = 9. So the five-number summary is min = 2, Q1 = 4, median = 5, Q3 = 9, max = 10, giving IQR = 9 − 4 = 5 and range = 10 − 2 = 8.

Why methods can disagree

There is no single universally agreed definition of a quartile, so different software can return slightly different values for Q1 and Q3. Excel's QUARTILE.INC and the default numpy.percentile, for example, use linear interpolation between ranks and can produce quartiles that fall between two data points where the median-of-halves method would not. All methods agree exactly on the minimum, maximum, and median — the disagreements are confined to Q1 and Q3, and they shrink as the dataset grows. If you must match a specific textbook or grading system, confirm which quartile convention it expects.

Frequently Asked Questions

What is the five-number summary used for?
It gives a quick, outlier-resistant picture of a dataset's center and spread and supplies the values needed to draw a box plot. It is widely used in exploratory data analysis to compare groups, spot skew, and flag potential outliers without assuming the data is normally distributed.
How do I identify outliers from these numbers?
A common rule uses the IQR: compute the "fences" at Q1 − 1.5 × IQR and Q3 + 1.5 × IQR. Any value below the lower fence or above the upper fence is a suspected outlier. For example, with Q1 = 4 and Q3 = 9 the IQR is 5, so the fences are 4 − 7.5 = −3.5 and 9 + 7.5 = 16.5; values outside that band would be flagged.
Why is Q1 or Q3 different from what my spreadsheet gives?
This calculator uses the median-of-halves (Tukey) method. Spreadsheets and libraries often use an interpolation method such as Excel's QUARTILE.INC, which can land the quartile between two data values. The minimum, maximum, and median always match across methods; only Q1 and Q3 may differ slightly.
How many data points do I need?
You need at least two values to get a minimum and maximum. Quartiles become meaningful once you have at least four or five points, and the choice of quartile method matters most for small datasets. With hundreds of points, all conventions converge to nearly the same Q1 and Q3.