What this calculator does
Quartiles cut a sorted list into four parts. Q1 is the value a quarter of the way up, Q2 is the median, and Q3 is three quarters of the way up. The distance between Q1 and Q3 is the interquartile range, a spread measure that ignores the tails. That makes it the basis for a simple outlier test: values beyond the fences are worth a second look before they go into an average.
How to use it
- Enter the values separated by commas.
- Let the calculator sort the list for you.
- Read Q1, Q2, Q3, and the interquartile range.
- Compare your smallest and largest values with the lower and upper bounds.
- Re-run the list without a suspected outlier to see how the quartiles move.
How it works
Example calculations
Example 1: 1 through 8
With eight values, Q1 is the median of 1, 2, 3, 4, which is 2.5, and Q3 is the median of 5, 6, 7, 8, which is 6.5. Q2 is 4.5 and the IQR is 4. The bounds are -3.5 and 12.5, so no value is an outlier.
Example 2: evenly spaced values
For 10, 12, 14, 16, 18, 20, 22, 24, Q1 is 13 and Q3 is 21, so the IQR is 8. The median Q2 is 17. The bounds run from 1 to 33, and every value sits inside them, with the middle half spanning 8 units.
Example 3: one extreme value
For 1, 2, 3, 4, 100, the median is 3. Including the median in both halves gives Q1 = 2 and Q3 = 4, so the IQR is 2. The upper bound is 7, and 100 sits far above it, which flags it as an outlier.
What the result means
The IQR describes the middle half of the data, so it barely moves when one value is extreme. That is its advantage over the range, which is set entirely by the two most extreme values. The 1.5 x IQR rule is a convention, not a law: it flags unusual values, and unusual is not the same as wrong. A genuinely high salary in a small payroll list is an outlier and also a real number, so check the source before deleting anything. Quartiles also depend on the method, since software may interpolate between values and Q1 or Q3 can differ by a fraction of a unit. On short lists the method matters more than on long ones, and stating which method you used keeps comparisons honest.
Common mistakes
- Using a different quartile method than the one you report.
- Deleting an outlier before checking whether it is a data-entry error.
- Treating the IQR as the full spread of the data.
- Comparing IQRs from lists measured in different units.
- Assuming the 1.5 rule decides whether a value is valid.
Assumptions and limits
- Quartiles use the median-of-halves method, with the median included in both halves for odd counts.
- The list has at least four values.
- Values are real numbers separated by commas.
- Outlier bounds use the 1.5 x IQR convention.
- No values are removed before calculating.
Frequently asked questions
What is the difference between Q2 and the median?
They are the same number. Q2 is the second quartile, the value that splits the sorted list in half, which is the definition of the median.
Why do different calculators give different quartiles?
Several methods are in accepted use. Some interpolate, some average the middle of each half, and some include the median in both halves for odd counts. The results usually differ by a small amount.
What does the IQR tell me?
It is the spread of the middle 50% of the data, calculated as Q3 minus Q1. Because it ignores the tails, it describes the core of the list better than the range does.
Is an outlier always an error?
No. It may be a real but unusual observation, or it may be a data-entry mistake. The bounds flag values for review and do not prove anything is wrong.
Can I use this with fewer than four values?
Quartiles need enough values to split into halves. With three or fewer, the quartiles collapse onto the data and the IQR is not meaningful.
What do the fences mean in a box plot?
Points beyond the lower and upper bounds are drawn individually rather than at the end of a whisker. The fences are a numerical shortcut for spotting values far from the middle.
Sources
2026 update
How to use the professional output
This page is not just a formula box. The result is designed to be checked, compared, and taken away.
- Professional worksheet. The result includes the inputs used, the method and scope, and a one-variable sensitivity check for finance calculators.
- A/B scenarios. Save two input sets in the browser and compare the primary, secondary, and breakdown figures side by side.
- Print / PDF and CSV. Print a branded worksheet, or export the year-by-year table when the calculator produces one.
The formulas and assumptions above still govern the number. The worksheet makes the estimate auditable; it does not make it a lender quote, tax return, or personalized advice.
Go deeper
