Z Table

Five Number Summary Calculator

The five number summary is the minimum, first quartile (Q1), median, third quartile (Q3) and maximum of a data set. For 6, 7, 15, 36, 39, 40, 41, 42, 43, 47, 49 the median-of-halves method gives 6, 15, 40, 43 and 49, so the interquartile range is Q3 − Q1 = 28. Paste your numbers above, choose the quartile method your class uses, and read the summary, IQR, outliers and the working.

Separate numbers with commas, spaces or new lines.

Minimum

6

Q1

15

Median

40

Q3

43

Maximum

49

IQR

28

Range

43

Outliers

none

Data3.913.322.832.241.751.1

Working

  1. Sorted data (n = 11): 6, 7, 15, 36, 39, 40, 41, 42, 43, 47, 49
  2. Quartile method: median of halves (the overall median is left out of both halves)
  3. Lower half: 6, 7, 15, 36, 39; upper half: 41, 42, 43, 47, 49
  4. Min = 6, Q1 = 15, median = 40, Q3 = 43, max = 49
  5. IQR = Q3 − Q1 = 43 − 15 = 28
  6. Fences: Q1 − 1.5 × IQR = -27 and Q3 + 1.5 × IQR = 85; outliers: none

Example: 6, 7, 15, 36, 39, 40, 41, 42, 43, 47, 49

  • Sorted data (n = 11): 6, 7, 15, 36, 39, 40, 41, 42, 43, 47, 49
  • Quartile method: median of halves (the overall median is left out of both halves)
  • Lower half: 6, 7, 15, 36, 39; upper half: 41, 42, 43, 47, 49
  • Min = 6, Q1 = 15, median = 40, Q3 = 43, max = 49
  • IQR = Q3 − Q1 = 43 − 15 = 28
  • Fences: Q1 − 1.5 × IQR = -27 and Q3 + 1.5 × IQR = 85; outliers: none

How the quartiles are found

Sort the data and find the median. With the median-of-halves method (used by TI-84 calculators and most U.S. statistics classes), Q1 is the median of the lower half and Q3 the median of the upper half; when the count is odd, the overall median is left out of both halves. For the example above, the lower half is 6, 7, 15, 36, 39, whose median is 15, and the upper half is 41, 42, 43, 47, 49, whose median is 43. The calculator shows the exact halves for your own data.

The second method is linear interpolation, the one in Excel’s QUARTILE.INC: Q1 sits at position (n − 1) × 0.25 of the sorted list. For the same example it gives Q1 = 25.5 and Q3 = 42.5. Both are legitimate; textbooks simply differ, and the difference is largest for small data sets.

IQR and outliers

The interquartile range, IQR = Q3 − Q1, measures the spread of the middle half of the data. The common outlier rule flags values below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR. In the example the fences are −27 and 85, so there are no outliers. The calculator also draws the box plot, with whiskers extending to the most extreme values that are not outliers.

Frequently asked questions

Why does my calculator give a different Q1?
Quartile methods differ. TI-84 calculators and most U.S. statistics classes use the median of each half; Excel’s QUARTILE.INC interpolates. Switch the method to match yours.
What is the IQR used for?
The interquartile range measures the spread of the middle half of the data, and it sets the fences used to flag outliers.
How many numbers do I need?
At least one, but quartiles are most meaningful with five or more values.
What is the range?
The range is the maximum minus the minimum. It uses only the two extreme values, which is why the IQR is often preferred.

Sources and references