Quartile and Interquartile Range Calculator

Paste data to get the quartiles, IQR and five-number summary, see a box plot, and find outliers with the 1.5 × IQR rule.

Separate numbers with commas, spaces or line breaks. You can paste a column from Excel or Sheets. 12 values read.

Try:
Minimum6
Q1 (25th percentile)25.5
Median (Q2)40.5
Q3 (75th percentile)45
Maximum92
Interquartile range, IQR19.5
Outlier fences−3.75 and 74.25
Outliers92

Box plot

Q1 25.5median 40.5Q3 45649

Working (median-of-halves method)

  1. Sort: 6, 7, 15, 36, 39, 40, 41, 42, 43, 47, 49, 92
  2. Median of all 12 values = 40.5.
  3. Lower half: 6, 7, 15, 36, 39, 40 → Q1 = 25.5. Upper half: 41, 42, 43, 47, 49, 92 → Q3 = 45.
  4. IQR = 45 − 25.5 = 19.5. Fences: 25.5 − 1.5×19.5 = −3.75 and 45 + 1.5×19.5 = 74.25.

Other quartile methods

Median of halves (TI-84, textbooks)25.5 · 45
Excel QUARTILE.INC / R default30.75 · 44
Excel QUARTILE.EXC / Minitab20.25 · 46

Explain my result

An AI tutor reads your numbers and explains what they mean in plain words. Sends only the inputs and results shown above.

Quartiles, IQR and outliers

Quartiles cut sorted data into four groups with equal counts. The interquartile range, Q3 − Q1, is the width of the middle 50% and is the natural measure of spread to pair with the median, because neither is thrown off by extreme values.

Tukey’s 1.5 × IQR rule flags points more than one and a half box-widths beyond the box. For normally distributed data only about 0.7% of values fall outside those fences, so a flagged point deserves a second look: a typing error, a different population, or a genuinely rare event.

Need a different cut-off, such as the 90th percentile? Use the percentile calculator.

Frequently asked questions

How do you find Q1 and Q3?

Sort the data and find the median. Q1 is the median of the lower half and Q3 is the median of the upper half. With an odd number of values, the overall median is left out of both halves. This is the method used by TI-84 calculators and most introductory textbooks.

Why does Excel give different quartiles?

Excel’s QUARTILE.INC and QUARTILE.EXC interpolate between ranks instead of splitting the data into halves. All three methods are legitimate, and they agree for large data sets. This page shows all three so you can match your course or software.

How do I find outliers with the IQR?

Compute IQR = Q3 − Q1. The lower fence is Q1 − 1.5 × IQR and the upper fence is Q3 + 1.5 × IQR. Any value outside the fences is flagged as a potential outlier. It is a screening rule from John Tukey, not a reason to delete data automatically.

What is the five-number summary?

Minimum, Q1, median, Q3 and maximum. It describes the centre, spread and range of a data set, and is exactly what a box plot draws.

How do I read a box plot?

The box spans Q1 to Q3, so it holds the middle half of the data. The line inside is the median. Whiskers reach to the most extreme values that are not outliers, and dots beyond them are outliers. A median off-centre in the box, or one whisker much longer than the other, suggests skew.