EVERYDAY CLARITY

Quartile Calculator

Find the first quartile, median and third quartile using linear percentile interpolation.

Enter your values

01
Separate values with commas, spaces or line breaks. Use dots for decimals; at most 10,000 values.

Use dots for decimals in lists.

Your result
Q1
2
Q2
3
Q3
4

Result for the values shown.

Calculations run in your browser.

What to enter
InputMeaning and units
NumbersSeparate values with commas, spaces or line breaks. Use dots for decimals; at most 10,000 values.

Understanding your result

These are descriptive results for the observations you entered, not proof of causation, significance or a particular population distribution.

Common mistakes

  • Comparing different quartile/percentile conventions, or treating an outlier fence as proof that data is wrong.

Check your calculation

  • Try a small hand-checkable list; confirm the stated quartile/rank/denominator convention before comparing with another application.

Calculation checks, sources and review limits

What are the first, second and third quartiles of these numbers?

Find the first quartile, median and third quartile using linear percentile interpolation.

Common uses

  • Find the first quartile, median and third quartile using linear percentile interpolation.

How it works

Linear quantile (Hyndman-Fan type7): h=(n-1)p; interpolate sorted x[floor(h)] and next. Lists accept commas, semicolons, spaces or line breaks as separators; use a dot for decimals. At most 10,000 observations are supported. Calculations use floating-point arithmetic; displayed numeric results have up to 12 significant digits. Quantiles use linear interpolation with h=(n-1)p (Hyndman–Fan type 7). Other conventions can give different values.

Worked example

Enter Numbers: 1, 2, 3, 4, 5. The result is Q1: 2; Q2: 3; Q3: 4.

FAQ

What are the first, second and third quartiles of these numbers?

Linear quantile (Hyndman-Fan type7): h=(n-1)p; interpolate sorted x[floor(h)] and next. Lists accept commas, semicolons, spaces or line breaks as separators; use a dot for decimals. At most 10,000 observations are supported. Calculations use floating-point arithmetic; displayed numeric results have up to 12 significant digits. Quantiles use linear interpolation with h=(n-1)p (Hyndman–Fan type 7). Other conventions can give different values.

What assumptions and limits apply?

Explicit type7; other conventions can differ for small samples.