ThisCalculator

Statistics

5 Number Summary Calculator and Boxplot Guide

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

5 Number Summary Calculator and Boxplot Guide

A 5 number summary calculator finds the minimum, first quartile, median, third quartile, and maximum from a list of values; those results are the key landmarks used to draw a boxplot. Enter the data as a comma-separated list, and the calculator returns the five statistics for checking spread, center, and possible outliers.

Formula

The five-number summary is (minimum, Q1, median, Q3, maximum). The minimum is the smallest observation, Q1 is the lower quartile, the median is the middle value, Q3 is the upper quartile, and the maximum is the largest observation. All five values use the same units as the input data; for dimensionless data, the unit is simply “-”.

For an ordered list, the median divides the data into lower and upper halves. Q1 is the median of the lower half, and Q3 is the median of the upper half. This calculator uses the conventional median-of-halves method, excluding the overall median from both halves when the number of observations is odd. Quartile conventions can differ between software and textbooks, so verify the method when matching a particular assignment or analysis.

Worked Example

Use the default values: 2, 4, 5, 7, 8, 10, 12, 15. They are already in ascending order, and there are eight observations.

  • Minimum: the smallest value is 2.
  • Q1: the lower half is 2, 4, 5, 7; its median is (4 + 5) / 2 = 4.5.
  • Median: the middle pair is 7 and 8, so (7 + 8) / 2 = 7.5.
  • Q3: the upper half is 8, 10, 12, 15; its median is (10 + 12) / 2 = 11.
  • Maximum: the largest value is 15.

The result is (2, 4.5, 7.5, 11, 15). These values are shown to two decimal places as specified in the calculator, although this example needs no extra trailing zeros.

1. Enter and check a data list

A five-number-summary calculator starts with the observations, not with a frequency table or a chart. Enter each numeric value once, separated by commas, and keep the same measurement unit throughout—for example, do not mix centimeters and inches without converting first. Check that a decimal point has not been mistaken for a list separator and that missing observations have not been entered as zero.

2. Find the minimum and maximum

The minimum and maximum are the smallest and largest observed values, respectively. They mark the full data range, but they can be strongly affected by one unusually low or high observation. In a boxplot, whiskers often reach these extremes, though some boxplots instead use the last observations within an outlier rule; read the chart’s key before assuming what its whiskers mean.

3. Interpret Q1 and Q3

Q1, or the 25th percentile, marks the lower edge of the central half of the observations; Q3, or the 75th percentile, marks its upper edge. The interval from Q1 to Q3 contains the middle 50% of the data under the chosen quartile convention. Quartiles may be fractional even when all observations are whole numbers, because an even-sized half can have a median halfway between two values.

4. Read the median and interquartile range

The median is the middle observation for an odd-sized list and the average of the two middle observations for an even-sized list. It describes the center without being pulled as strongly by extreme values as the mean can be. The interquartile range, or IQR, is Q3 − Q1; for the default data, it is 11 − 4.5 = 6.5, a useful measure of the spread of the central half.

5. Use the summary to understand a boxplot

A basic boxplot draws a box from Q1 to Q3 and a line at the median, then shows whiskers toward the data extremes or to rule-based limits. The five-number summary gives the values needed to place these landmarks, but it does not reveal the exact shape of the distribution or how observations are clustered within the box. For the default list, the median sits closer to Q1 than Q3, while the upper whisker from Q3 to 15 is longer than the lower whisker from 2 to Q1; these features suggest asymmetry but do not prove a particular distribution.

How to Choose

When selecting a calculator, first check how it defines quartiles, especially for odd-sized samples. A calculator should accept a plain list of values, state or make clear its quartile convention, and return all five statistics without silently dropping repeated values. If you need a boxplot as well as its summary, look for a display that labels the quartile method and explains whether whiskers show the minimum and maximum or use an outlier rule such as 1.5 × IQR. For reproducible work, use the same method throughout and report it when the result could vary across conventions.

Frequently Asked Questions

What are the five numbers in a five-number summary?

They are the minimum, first quartile (Q1), median, third quartile (Q3), and maximum, listed in that order.

How do I calculate Q1 and Q3 by hand?

Sort the data, split it into lower and upper halves, then find the median of each half. For an odd number of observations, the method used here excludes the overall median from both halves.

Why might two calculators give different quartiles?

Statistical programs use more than one quartile interpolation or partition rule. Small samples are especially likely to show differences, so compare the stated methods rather than assuming one result is an arithmetic error.

Does a boxplot always show the minimum and maximum as whisker ends?

No. Some boxplots extend whiskers to the minimum and maximum, while others stop at the most extreme observations within 1.5 × IQR of the quartiles and plot more distant values separately as potential outliers.

Can I use repeated values?

Yes. Enter every observation, including duplicates. Repeated values affect the positions and values of the median and quartiles, so do not replace a list with only its distinct values.

Can a five-number summary identify outliers?

It can help apply the common 1.5 × IQR rule: values below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR are flagged as potential outliers. A summary alone cannot identify which observations cross those limits unless you also check the original data.

Final Thoughts

The five-number summary condenses a data set into its extremes, center, and central spread, making it a practical companion to a boxplot. Sort and verify the input, use a consistent quartile convention, and remember that the summary is a compact description—not a substitute for examining the underlying observations.

Related

Formula used
list data | Data values | 2, 4, 5, 7, 8, 10, 12, 15
out minimum | Minimum | - | minl(data) | 2
out q1 | First quartile (Q1) | - | q1(data) | 2
out med | Median | - | median(data) | 2
out q3 | Third quartile (Q3) | - | q3(data) | 2
out maximum | Maximum | - | maxl(data) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.