Interquartile Range Calculator

Interquartile range (IQR)
8
Lower half 2, 4, 4, 5, 7 → Q1 = 4. Upper half 9, 10, 12, 15, 20 → Q3 = 12.
Tukey's hinges
TI-83/84 · AP Statistics · Moore & McCabe
8
Q1 = 4 · Q3 = 12
Including the median
Mendenhall & Sincich · some textbooks
8
Q1 = 4 · Q3 = 12
Excel QUARTILE.INC
R type 7 · NumPy default · Google Sheets
7.25
Q1 = 4.25 · Q3 = 11.5
This row is what /percentile-calculator reports for the same paste. The headline above uses Tukey's hinges, which disagree on odd-length lists.
Excel QUARTILE.EXC
R type 6
8.75
Q1 = 4 · Q3 = 12.75
Your dataset
10
n
2
Min
4
Q1
8
Median
12
Q3
20
Max
8
IQR
Outliers
-8
Lower fence
24
Upper fence
-20 to 36
Extreme (3 × IQR)
Nothing falls outside the fences. Your data has no outliers by the 1.5 × IQR rule.

Paste your numbers. Get the interquartile range and the outliers it flags. We show all four quartile methods at once, so your answer matches whatever your textbook, your calculator or your spreadsheet says.

Built by Bob QA by Ben Shipped

How to use

  1. 1

    Paste or type your numbers over the sample. Commas, spaces, tabs, semicolons and new lines all separate values, so a column copied straight out of a spreadsheet goes in as-is. Anything that isn't a number is skipped, and a note tells you how many entries were left out. There is no Calculate button — the answer moves as you type.

  2. 2

    Read the headline IQR. It uses Tukey's hinges, the method your TI-83 or TI-84 uses and the one AP Statistics teaches, because that is the method the 1.5 × IQR outlier rule was defined against.

  3. 3

    Check the four method rows underneath. Each one is labelled with where it comes from, so if you are being graded against a spreadsheet, a textbook or a particular course you can read that row instead of the headline. When the four disagree, that disagreement is the answer to why your homework did not match.

  4. 4

    Look at the outlier block. It gives you the lower and upper fences, the wider 3 × IQR pair, and the actual values from your own data that fall outside them, split into mild and extreme. Copy the headline or the summary strip with the buttons beside each.

Frequently asked questions

Ratings & Reviews

Rate this tool

Sign in to leave a written review.
Loading reviews…