Median Calculator
Find the median (middle value) of a list of numbers, plus the first and third quartile, the minimum, the maximum and the sorted list.
Enter numbers separated by commas, spaces or new lines (use a dot for decimals).
Sorted
Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.
How to use the Median Calculator
- 1 Type or paste your numbers, separated by commas, spaces or new lines.
- 2 The numbers are sorted and the median appears immediately.
- 3 Read the quartiles and check the sorted list.
About the Median Calculator
The median is the middle value of a list sorted from small to large. For 1, 3, 5, 7, 8, 9, 12 the median is 7: three numbers lie below it and three above. With an even count there are two middle numbers, and the median is their average: for 1, 3, 5, 7 the median is (3 + 5) / 2 = 4.
Unlike the mean, the median is barely affected by outliers. If one house in a street sells for ten million, the average price jumps, but the median hardly moves. That is why median income and median house prices are often reported instead of averages.
The calculator also gives the first quartile Q1 (the median of the lower half) and the third quartile Q3 (the median of the upper half), so you see where the middle 50% of the data lies. With an odd count the middle value itself is left out of both halves; other software sometimes uses slightly different quartile methods.
Frequently asked questions
How do you find the median?
Sort the numbers, then take the middle one. With an even number of values, take the average of the two middle values.
What is the median of an even number of values?
The average of the two middle values: for 2, 4, 6, 8 it is (4 + 6) / 2 = 5.
When is the median better than the average?
When the data contain outliers or are skewed, such as incomes, house prices or waiting times. The median then shows the typical value better.
What are quartiles?
Q1, the median and Q3 split the sorted data into four parts with roughly a quarter of the values each. Q3 − Q1 is the interquartile range.
Does the order I type the numbers in matter?
No. The calculator sorts them first.