Home / Interquartile Range Calculator

Interquartile Range Calculator

The Interquartile Range Calculator sorts a numeric data set and calculates its first quartile, third quartile, and interquartile range. The IQR describes the spread of the middle half of the observations and is often used to assess variability and identify potential outliers.

How to use this calculator

  1. Enter at least four numeric observations separated by commas, spaces, or semicolons.
  2. The values are sorted from smallest to largest.
  3. Review Q1, Q3, and the difference between them.
  4. Keep in mind that quartile conventions may differ between textbooks and software.

Interquartile range formula

IQR = Q3 − Q1, where Q1 is the median of the lower half and Q3 is the median of the upper half.

  • This calculator uses the median-of-halves method.
  • When the data count is odd, the central observation is excluded from both halves.
  • The IQR is resistant to extreme values compared with the full range.

Worked examples

Calculate IQR

For the ordered values 2, 4, 5, 7, 9, 10, 12, 15, Q1 is 4.5 and Q3 is 11.

IQR = 11 − 4.5 = 6.5.

The middle-half spread is 6.5 units.

Understanding the result

The interquartile range covers the middle 50% of a sorted data set.

A larger IQR indicates greater spread in the middle part of the observations.

Different quartile definitions may produce different answers for small data sets.

Important notes

Separate values clearly and enter only numeric observations.

Check the quartile convention required by your course, report, or statistics software.

Frequently asked questions

What does IQR measure?

The IQR measures the distance between the first quartile and third quartile, covering the middle half of the data.

Can IQR be used to identify outliers?

It is often used with the 1.5 × IQR rule as a screening convention, but context and the chosen method still matter.

Affiliate recommendations

Recommended tools for this calculator

These tools are selected for the calculator topic. The Calc Studio may earn a commission from purchases made through affiliate links.

  • Growth Wise SAT & ACT prep →

    SAT and ACT study tools, flashcards, and preparation resources for students.

See the Affiliate Disclosure for details.

Related calculators

  • Range Calculator — Find the range, minimum, and maximum of a data set.
  • Circle Calculator — Calculate circle area, circumference, and diameter from radius.
  • Pythagorean Theorem Calculator — Find the hypotenuse of a right triangle from the two perpendicular sides.
  • Test Grade Calculator — Calculate the score needed on a final assessment to reach a target overall grade.
  • Average Calculator — Calculate the mean, median, mode, and range of any set of numbers.
  • Cone Volume Calculator — Calculate the volume and surface area of a cone.

Related explanations

Learn the method behind the number or compare the terminology before using the calculator.

  • Standard Deviation — Understand standard deviation as a measure of spread and the difference between population and sample standard deviation.

This page provides a calculation tool plus explanatory information so you can understand what the result means and when the underlying method may not fit your situation.

Explore more calculation resources

Keep exploring related tools, explanations, conversions, and topic pages in The Calc Studio. These links are selected around the subject of this page so you can move to the next useful calculation without returning to search.

Related calculators

  • Range Calculator — Find the range, minimum, and maximum of a data set.
  • Average Calculator — Calculate the mean, median, mode, and range of any set of numbers.
  • Circle Calculator — Calculate circle area, circumference, and diameter from radius.
  • Pythagorean Theorem Calculator — Find the hypotenuse of a right triangle from the two perpendicular sides.
  • Test Grade Calculator — Calculate the score needed on a final assessment to reach a target overall grade.
  • Cone Volume Calculator — Calculate the volume and surface area of a cone.
Browse by categoryMath CalculatorsBusiness CalculatorsEveryday ToolsConstruction CalculatorsDate & Time CalculatorsFinancial Calculators

Task collections

  • Calculators for Students — Free calculators for students, including grades, GPA, percentages, fractions, interquartile range, averages, probability, statistics, and scientific math.
  • Math & Statistics Calculators — Free math and statistics calculators for percentages, percentage-point change, interquartile range, averages, fractions, probability, standard deviation, z-scores, geometry, equations, and number systems.
  • Everyday Money Calculators — Free money calculators for salaries, overtime, discounts, VAT, sales tax, unit prices, rent splits, fuel costs, inflation, net worth, and other everyday calculations.
  • Science & Electronics Calculators — Free science and electronics calculators for density, electrical power, electricity costs, fuel efficiency, voltage drop, Ohm's law, and practical measurement relationships.

Related guides

  • How to Calculate a Z-Score — Learn how a z-score shows how far a value is from the mean in standard-deviation units.
  • How to Calculate Age from a Date of Birth — Learn how exact age is calculated using years, months, and days rather than a rough year difference.
  • How to Calculate Break-Even Point — Learn the break-even formula for units and revenue and understand fixed costs, price, and variable costs.

Related terms

  • Budget — Learn what a budget is and how simple income-minus-expenses calculations can support planning.
  • Discount — Understand discounts, percent-off pricing, and how to calculate the amount saved and the final price.
  • Markup — Learn what markup means, how markup is calculated from cost and selling price, and how it differs from margin.

Useful conversions

  • °C to °F — Convert Celsius to Fahrenheit with a free temperature converter, formula, examples, and common temperatures.
  • °F to °C — Convert Fahrenheit to Celsius with a free temperature converter, formula, examples, and common temperatures.
  • cm to feet — Convert centimeters to feet with a free cm to feet converter, formula, examples, and a quick reference table.

Browse all calculators · Read all guides · Open the glossary · See all converters · Browse collections

Want to keep learning? Move from a calculator to its formula guide, glossary definition, unit conversion, or task collection to compare related methods and tools.

Optional Premium: save calculation history across visits and remove promotional blocks. See Premium.