Median calculator
The median is the middle value once a list is put in order, which makes it less sensitive to unusually large or small entries than the mean.
Results
Enter your values to see the result.
About this tool
Type your numbers separated by commas or spaces and this calculator sorts them, finds the middle, and shows how many values it used. It is often used for incomes, house prices and survey answers.
- How it is calculated
- sort the numbers; the median is the middle one, or the mean of the two middle ones
- Worked example
- With Numbers (separated by commas or spaces): 3,1,9,7,5,11, the result is: Median: 6; Count: 6.
- Good to know
- The list is sorted from smallest to largest automatically, so entry order does not matter. With an even count, the median is the average of the two middle numbers, which may not appear in your list.
Frequently asked questions
What if there is an even number of values?
There is no single middle entry, so the two central numbers are added and divided by two. In the default list of six numbers, the median of 5 and 7 is 6, a value not in the list.
Do I need to sort the numbers before entering them?
No. The calculator sorts them itself, from smallest to largest, before picking the middle. You can paste figures in any order and still get the correct Median.
When is the median more useful than the average?
When a few extreme numbers would drag the mean away from a typical value. One very high entry changes the mean a lot but moves the median only slightly, so it often describes a typical case better.