IQR Calculator

Quartiles, the interquartile range and the outlier fences.

Statistics Calculators Free, no sign-up Runs in your browser

IQR Calculator tool

Separated by commas, spaces or new lines.

—
Interquartile range
—
Q1
—
Median
—
Q3
—
Outliers
MeasureValue
Two conventions for quartiles are in common use and they disagree on small samples. Tukey’s method excludes the median from both halves; the inclusive method keeps it. Both are offered, because textbooks differ.

About the IQR Calculator

The interquartile range is the distance between the first and third quartiles: the span of the middle half of the data. It measures spread the way the median measures centre — by position rather than by arithmetic — which makes it almost immune to extreme values.

That is its advantage over the standard deviation. One mistyped figure, one reading from a faulty sensor, one billionaire in a sample of incomes, and the standard deviation moves a long way; the IQR usually does not move at all, because an outlier changes which values sit at the quartiles hardly ever.

The outlier fences follow from it. Anything more than 1.5 interquartile ranges below Q1 or above Q3 is conventionally flagged as an outlier, and that is exactly where the whiskers of a box plot stop. The page applies that rule and lists whatever falls outside, which is usually the first thing worth looking at in a new dataset.

The page shows its working, not just its answer. Where there is a formula it is printed with your own numbers substituted in, so you can check the result rather than take it on trust -- which is the difference between a calculator you can use for something that matters and one you cannot.

Everything runs inside your browser. What you type is never uploaded, never logged and never stored, and the calculator keeps working if your connection drops after the page has loaded.

More tools: FreeToolsZone.org

How to use the IQR Calculator

  1. Choose quartile methodThe fields below change to match what you pick, so only the figures that matter to your case are asked for.
  2. Enter your numbersDecimals are fine, and thousands separators are accepted and ignored.
  3. Read the interquartile range, q1 and medianThe figures update as you type. The Calculate button is there if you would rather press something, but nothing waits for it.
  4. Copy or check the resultCopy the summary with the copy button, or open the table to check it row by row and read the formula with your own numbers in it.

What the IQR Calculator does

  • Shows interquartile range, q1, median, q3 and outliers together, so you are not running it twice
  • A results table you can read across
  • Prints the formula with your own figures substituted in
  • Updates as you type, with no button to press and no page reload
  • Copy the result in one click
  • Free, no sign-up, and it runs entirely in your browser

Who uses the IQR Calculator

The IQR Calculator is used by writers, developers, students, marketers and anyone else who needs the job done once without installing software. Common cases include:

  • Measuring spread in data that contains outliers
  • Finding the quartiles for a box plot
  • Flagging values that sit outside the 1.5 x IQR fences
  • Producing a five-number summary

Common questions about the IQR Calculator

What is the interquartile range?

Q3 minus Q1 — the range covered by the middle 50% of the data once it is sorted.

How are outliers defined?

By convention, anything below Q1 - 1.5×IQR or above Q3 + 1.5×IQR. That is the rule box plots use for their whiskers, and it is what this page applies.

Why are there two quartile methods?

They differ on what to do with the median when the count is odd. Tukey’s method excludes it from both halves; the inclusive method keeps it in both. Textbooks disagree, so both are here.

When is IQR better than standard deviation?

When the data is skewed or contains outliers. IQR depends only on position, so a single extreme value barely moves it, while it can move a standard deviation a great deal.

If the IQR Calculator is not quite what you need, these other free tools solve closely related problems, and there are 17 more in statistics calculators.

Percentile Calculator

Percentiles, quartiles and the percentile rank of a value.

Statistics Calculators Use tool

Variance Calculator

Sample and population variance with the full working.

Statistics Calculators Use tool

Checked and rebuilt on 2026-10-18. The method this calculator uses is described in the section above, and corrections go through the contact page.