Everyday Calculators

Median calculator with quartiles

Use a period for decimals (12.5) and no thousands separators.

–median
–Q1 (first quartile)
–Q3 (third quartile)
–interquartile range
–mean
–count
–minimum
–maximum
–range
–standard deviation (sample)
–standard deviation (population)

The link reopens the page with your numbers.

Paste your numbers to get the median, quartiles, mean and spread, with the sorted list.

Updated November 24, 2026 · calculated in your browser, nothing is sent.

How to find the median

Sort the numbers from smallest to largest. With an odd count, the median is the middle number. With an even count, it is the average of the two middle numbers.

Example: 12, 7, 15, 9, 11, 18, 7, 14 sorts to 7, 7, 9, 11, 12, 14, 15, 18. There are 8 numbers, so the median is (11 + 12) ÷ 2 = 11.5.

Quartiles

Quartiles split the sorted data into four parts. Q1 is the median of the lower half and Q3 is the median of the upper half. When the count is odd, the middle number is left out of both halves. In the example, Q1 = (7 + 9) ÷ 2 = 8 and Q3 = (14 + 15) ÷ 2 = 14.5, so the interquartile range is 14.5 − 8 = 6.5.

Other tools, such as spreadsheet functions, interpolate between values and can return slightly different quartiles.

Median vs. mean

The mean is sensitive to extreme values, and the median is not. In 10, 11, 12, 13 and 200, the mean is 49.2 but the median is 12, which better describes a typical value. This is why reports often quote the median income or median home price.

Other measures

Sources

Checked on November 24, 2026. Spotted an error? Email contact@maxicards.net.

Frequently asked questions

How do I find the median of a list of numbers?

Sort them in order. The median is the middle value, or the average of the two middle values if there is an even count.

What is the median of an even set of numbers?

The average of the two middle numbers. For 2, 4, 6 and 8 the median is (4 + 6) ÷ 2 = 5.

What is the difference between median and mean?

The mean is the sum divided by the count. The median is the middle value, so extreme values barely affect it.

How do I find Q1 and Q3?

Split the sorted list at the median. Q1 is the median of the lower half and Q3 is the median of the upper half.

Other calculators