Interquartile Range Calculator
Calculate the distance between the first and third quartiles of your data.
Result for the values shown.
Calculations run in your browser.
What to enter
| Input | Meaning and units |
|---|---|
| Numbers | Separate values with commas, spaces or line breaks. Use dots for decimals; at most 10,000 values. |
Understanding your result
These are descriptive results for the observations you entered, not proof of causation, significance or a particular population distribution.
Common mistakes
- Comparing different quartile/percentile conventions, or treating an outlier fence as proof that data is wrong.
Check your calculation
- Try a small hand-checkable list; confirm the stated quartile/rank/denominator convention before comparing with another application.
Calculation checks, sources and review limits
How wide is the middle half of these values?
Calculate the distance between the first and third quartiles of your data.
Common uses
- Calculate the distance between the first and third quartiles of your data.
How it works
IQR=type7Q3-type7Q1 Lists accept commas, semicolons, spaces or line breaks as separators; use a dot for decimals. At most 10,000 observations are supported. Calculations use floating-point arithmetic; displayed numeric results have up to 12 significant digits. Quantiles use linear interpolation with h=(n-1)p (Hyndman–Fan type 7). Other conventions can give different values.
Worked example
Enter Numbers: 1, 2, 3, 4, 5. The result is Iqr: 2.
FAQ
How wide is the middle half of these values?
IQR=type7Q3-type7Q1 Lists accept commas, semicolons, spaces or line breaks as separators; use a dot for decimals. At most 10,000 observations are supported. Calculations use floating-point arithmetic; displayed numeric results have up to 12 significant digits. Quantiles use linear interpolation with h=(n-1)p (Hyndman–Fan type 7). Other conventions can give different values.
What assumptions and limits apply?
Inputs and results must stay within the stated supported ranges.