Skip to main content
Mathematics & Percentages

Median Calculator

Find the median, quartiles (Q1, Q3) and interquartile range of a data set, with the sorted values.

Your inputs

Results

Median

5

First quartile (Q1)
2.5
Third quartile (Q3)
8
Interquartile range
5.5
Sorted values
1, 2, 3, 5, 7, 9, 11

✓Exact calculation — rounded only for display

Notes for this result

  • Quartiles use linear interpolation between ranks (the method used by spreadsheet PERCENTILE.INC). Other textbooks use slightly different conventions.