Quartile and IQR Calculator
Enter your data to split it into quarters and measure the middle half.
Numbers separated by commas, spaces or new lines
Result
You entered
Quartiles use the exclusive-median method: the median is left out of both halves.
Outlier fences
Outliers
Show the work
Sort the data
Write the values in order from smallest to largest, so the middle and the ends are easy to find. The smallest is and the largest is .
Median (the second quartile Q2)
The median is the middle value of the ordered list. Here is odd, so it is the 4th value, which is .
Lower quartile (Q1)
The lower half is the values below the median position: . Its median is the lower quartile . The median itself is left out of both halves.
Upper quartile (Q3)
The upper half is the values above the median position: . Its median is the upper quartile . The median itself is left out of both halves.
Interquartile range (IQR)
The interquartile range is the width of the middle half of the data: the upper quartile minus the lower quartile.
Result
So , , and the interquartile range is .