Skip to main content
StatsPlotMaker
5 min readUpdated 2026-12-03

Exclusive vs. Inclusive Quartiles: Why TI-84 and Excel Disagree

Every semester, thousands of students compute Q1 and Q3 by hand (or on a TI-84 calculator), check their work in Microsoft Excel, and panic when the numbers do not match. Nothing is broken—statistics software simply uses two different quartile conventions: Exclusive vs. Inclusive.

Quick Answer

TI-84 calculators and AP Statistics use Exclusive quartiles (taking the median of the lower and upper halves while excluding the median when n is odd). Microsoft Excel’s default QUARTILE.INC uses Inclusive interpolation at p×(n−1), while Excel’s QUARTILE.EXC interpolates at p×(n+1).

Skip manual spreadsheet formatting

Paste your numbers straight into our free Box and Whisker Plot Maker for instant charts and step-by-step math.

Open Box and Whisker Plot Maker

Quick Step-by-Step Checklist

  1. Step 1
    Identify which tool your course grades against

    AP Statistics, Algebra 1/2, and TI-83/84 calculators use Exclusive (median-of-halves) quartiles. Business stats courses using Excel QUARTILE.INC or R defaults use Inclusive interpolation.

  2. Step 2
    Apply Exclusive method (TI-84 / AP Stats)

    Split sorted data at the median (excluding the single middle value when n is odd) and take the median of the lower half for Q1 and upper half for Q3.

  3. Step 3
    Apply Inclusive method (Excel QUARTILE.INC)

    Compute index i = p × (n − 1) for p = 0.25 and p = 0.75, then linearly interpolate between adjacent sorted elements.

Dataset [2, 4, 6, 8, 10, 12, 14] (n = 7)Exclusive (TI-84 / AP Stats)Inclusive (Excel QUARTILE.INC)Excel QUARTILE.EXC
Median (Q2)888
Q1 (25th Percentile)Median of [2, 4, 6] → 40.25 × (7 − 1) = idx 1.5 → 50.25 × (7 + 1) = pos 2 → 4
Q3 (75th Percentile)Median of [10, 12, 14] → 120.75 × (7 − 1) = idx 4.5 → 110.75 × (7 + 1) = pos 6 → 12
IQR (Q3 − Q1)868

When Do Exclusive and Inclusive Give Different Numbers?

They always agree on the Median (Q2), Minimum, and Maximum. However, Q1 and Q3 differ whenever the sample size n is small and (n − 1) is not evenly aligned with the halved-median positions—most visibly when n is odd (like n = 7, 9, 11). As n grows larger, the numeric gap shrinks quickly.

How StatsPlotMaker Solves This Permanently

Unlike single-formula calculators that hide which definition they use, our Box and Whisker Plot Maker gives you a one-click Exclusive (TI-84) vs. Inclusive (Excel) toggle and prints the exact formula steps for whichever convention your teacher requires.

Frequently Asked Questions

Which quartile method does AP Statistics use?+

AP Statistics and TI-83/84 graphing calculators use the Exclusive (median-of-halves) convention, excluding the single median value when n is odd.

Is Excel QUARTILE.EXC identical to TI-84 quartiles?+

Often very close or identical (for example when n = 7), but QUARTILE.EXC uses linear interpolation at p×(n+1), which can still differ from TI-84 median-of-halves on some sample sizes like n = 6 or n = 10.

Which quartile method does R or Python pandas use by default?+

Both R quantile() (type = 7) and pandas/NumPy default to the Inclusive linear interpolation formula (matching Excel QUARTILE.INC).

Does the median ever change between Exclusive and Inclusive quartiles?+

No. Minimum, Median (Q2), and Maximum are always identical across TI-84 Exclusive, Excel QUARTILE.INC, and Excel QUARTILE.EXC.

Key Takeaway

Use Exclusive (TI-84) for AP Statistics and high school math homework; use Inclusive (Excel) when matching QUARTILE.INC or R summary() outputs.

More Statistics Guides