anındahesapla

Quartiles and IQR calculator

Finds the quartiles, median, range and interquartile range of a data set.

· Updated:

WhatsApp X Facebook

Interquartile range (IQR): 6. Sorting 7, 3, 9, 12, 5, 8, 15, 2, 11 gives a first quartile of 5, a median of 8 and a third quartile of 11. The IQR is 11 − 5 = 6 and the range is 13.

Statistics students, researchers, teachers and anyone summarising data use this calculator.

A spread measure that resists outliers.

Results appear instantly, the tool is free and no sign-up is needed.

Box plot values included.

Free.

Result

IQR = 6

Interquartile range (IQR): 6

What quartiles and the IQR show

Quartiles split sorted data into four parts.

The median sits in the middle.

The first quartile is the middle of the lower half and the third quartile the middle of the upper half, and the gap between them, the IQR, shows how spread out the central half of the data is, here 11 − 5 = 6.

The IQR ignores extremes.

The range does not.

That makes the IQR stable.

A single faulty reading can stretch the range dramatically, while the IQR looks only at the middle values and stays stable, which is why reports on incomes, house prices or test scores often prefer it.

Outliers are flagged with the IQR.

Points far beyond the quartiles stand out.

Box plots draw these five numbers. Minimum, Q1, median, Q3 and maximum show at a glance.

Quick rule: IQR = Q3 − Q1.

Methods differ slightly.

Software packages calculate quartiles in slightly different ways, and for small data sets the answers can differ a little, so check which method a course or report expects before comparing results.

The median and IQR together summarise a distribution briefly.

They suit skewed data better than the mean.

Quality control teams track the IQR of measurements from a production line, and a growing spread signals that a process is drifting even when the average still looks fine.

Health studies report medians and IQRs for measures such as hospital stay length, where a few unusually long stays would distort the mean.

Teachers use quartiles to describe class results without letting one extreme score dominate the picture, and comparing the IQR of two classes shows which group performed more evenly.

How to use it

Formula: IQR = Q3 − Q1.

  1. Enter the data separated by commas or spaces.
  2. The calculator sorts the values.
  3. Read the quartiles, median and IQR.
ResultValue
Minimum2
Q1 (1st quartile)5
Median (Q2)8
Q3 (3rd quartile)11
Maximum15
Range13
IQR6

Data is sorted automatically.

If you need the result for coursework, compare it with a hand calculation on a small sample first, since checking the method on a few values makes it clear whether your textbook and this calculator split the halves in the same way.

Frequently Asked Questions

What is the IQR of the example data?
6.
What is the median?
The middle of the sorted data.
Why use the IQR?
It is not affected by extremes.
How are outliers found?
With limits based on the IQR.
Do all programs give the same quartiles?
Not always, small data sets can differ by method.