Quartile / IQR Calculator

Find the quartiles and interquartile range (IQR) of a data set. Enter the numbers separated by commas.

IQR
Middle 50 percent.

Usage Tip

Unlike range, the IQR ignores extreme values — it is the basis of the box in a box-and-whisker plot.

THE MATH
Q1, Q2 (median), Q3 split the data into quarters
IQR = Q3 − Q1
Quartiles divide ranked data into four equal parts.
The interquartile range is the spread of the middle half, a measure of variability resistant to outliers.
Enter four or more numbers separated by commas.
Q1 and Q3 are the medians of the lower and upper halves.
The IQR is used to detect outliers (beyond 1.5 times IQR past a quartile).
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.