Statistics

Quartile Calculator

Calculate Q1, Q2 (median), and Q3 quartiles from a set of numbers.

Enter your values

Results update as you type. Nothing is sent anywhere — the maths runs in your browser.

Enter your numbers separated by commas.

Formula

Q1 = 25th percentile Q2 = 50th percentile (median) Q3 = 75th percentile IQR = Q3 − Q1

Quartiles divide sorted data into four equal parts. The interquartile range (IQR) measures spread.

Median (Q2)
—

Enter values to calculate.

Q1 (25th pct)
—
Q3 (75th pct)
—
IQR
—
Data points
—

Frequently asked questions

What are quartiles?

Values that divide a sorted dataset into four equal parts. Q1 is the 25th percentile, Q2 is the median, Q3 is the 75th.

What is IQR used for?

The interquartile range (Q3−Q1) measures data spread. Values beyond 1.5×IQR from Q1 or Q3 are potential outliers.

Quartiles vs percentiles?

Quartiles are specific percentiles: Q1=P25, Q2=P50, Q3=P75. Percentiles offer finer granularity.

How many data points do I need?

Quartiles are meaningful with at least 4 values but more reliable with 20+. Small datasets produce unstable estimates.