Example 1
- List: 12 7 9 3 18
9
Sorted: 3, 7, 9, 12, 18. The middle is 9.
Type a list of numbers. The median is the middle value after sorting. 12 7 9 3 18 sorts to 3, 7, 9, 12, 18, so the middle is 9. For the even list 4 10 2 8 the middle pair is 4 and 8, and their average is 6.
The median is the middle of a sorted list. With an odd count, take the center value. With an even count, average the two center values. One extreme number usually hurts the median less than it hurts the ordinary mean.
Enter a list of numbers to see the median.
Take the numbers 3, 7, 2. Sorted: 2, 3, 7. The middle is 3, that is the median. With an even count, for example 1, 4, 6, 10, the middle pair is 4 and 6. The median is (4+6)/2 = 5.
That is not the arithmetic mean. The mean feels every value. The median mostly looks at order and the center. 10 12 11 1000 has mean 258.25, and the median falls between 11 and 12. One outlier spoils the picture less.
The Numbers field. Separate with spaces, semicolons, or commas, for example 12 7 9. Write 3.5 with one comma or period. Type 12 7 9 3 18, click Calculate. The calculator also shows how many numbers were used.
4 10 2 8 sorts to 2, 4, 8, 10, median 6. The mean of that same list is also 6, a coincidence. 1 1 2 3 100: median 2, mean 21.4.
Without a list, nothing computes. Input order does not matter; the calculator sorts. The header does not move the middle.
The list 2 5 9 11 20 has median 9. 10 10 10 10 50 has median 10. Compare both with means 9.4 and 18. The median is after sorting the list.
The median is the middle of a sorted list. Five numbers 12 7 9 3 18 give 9. Four numbers 4 10 2 8 give 6.
9
Sorted: 3, 7, 9, 12, 18. The middle is 9.
6
Sorted: 2, 4, 8, 10. Middle pair 4 and 8. Average: 6.
11.5
Median (11+12)/2 = 11.5. The mean would be much higher because of 1000.
9
Scores 2 5 9 11 20: after sorting the middle is 9.
2
Four small amounts and 100: median 2, though the mean is 21.4.
10
Four tens and a 50: the median stays 10.
7.5
The list 3 6 9 12: middle pair 6 and 9, median 7.5.
4
The list −2 0 4 8 10: after sorting the middle is 4.
The median is 9. Lined up from smallest the list is 3, 7, 9, 12, 18, and an odd five has its middle exactly on nine.
It comes out 6. Sorted 2, 4, 8, 10 have two middle values, 4 and 8, and their average is 6.
Sort the list and take the single middle value. Three numbers 2, 3 and 7 give median 3, with no averaging.
Average the two middle entries. For 1, 4, 6, 10 the middle pair is 4 and 6, so the median is (4+6)/2 = 5.
The mean divides the sum by n and feels every outlier. The median stays in the middle: for 1 1 2 3 100 the median is 2 and the mean is 21.4.
After sorting the middle pair is 11 and 12, so the median is 11.5. The mean of the same four jumps to 258.25 because of the thousand.
No. 18 3 9 7 12 sorts to the same five, so the middle is still 9.
The median stays 10, because after sorting the middle still sits on ten. The mean of that list is 18.
Use spaces, semicolons, or commas between values. 3.5 is one decimal, not two entries 3 and 5.
Yes. The list is already in order, so the middle is 9. The mean of those same scores is 9.4.
The calculator computes the same formula as the definition below.
Page updated in 2026.