Skip to calculators
calcmintly

Quartiles

Find the lower quartile, median and upper quartile by linear interpolation.

Add to workspace

Your numbers

Local calculations. Results are estimates, not professional advice.

Lower quartile Q1

—

Quartile conventions differ between software. This tool uses type-7 linear interpolation.

Formula

Sorted position h=(n−1)p, with linear interpolation (type 7).

Find the lower quartile, median and upper quartile by linear interpolation.

Worked example

Observations
1, 2, 3, 4, 5, 6, 7, 8, 9
Lower quartile Q1
3
Median Q2
5
Upper quartile Q3
7

Scope and limitations

Quartile conventions differ between software. This tool uses type-7 linear interpolation.

Inputs are checked for missing values and allowed ranges. A result outside the finite numeric range is not displayed. Rounding affects display, while the calculation uses the model’s numeric precision.

Check your units and assumptions before relying on a result. Changing a label does not convert a currency or physical unit.

Formula version: dc114441f262 · Example checked:

Methodology

Related tools