Median Calculator
Find the median and review the mean, mode, range, minimum, maximum, and sorted data in one step.
About the median
Median examples
Odd, even, repeated, and skewed data sets demonstrate how the middle is selected.
| Data set | Median | Calculation |
|---|---|---|
| 9, 2, 4, 7, 5 | 5 | Sorting gives 2, 4, 5, 7, 9, so the third value is the median. |
| 2, 4, 6, 8 | 5 | The two center values are 4 and 6, and their average is 5. |
| 1, 2, 2, 2, 100 | 2 | The outlier changes the mean substantially but does not move the middle position. |
| -10, -3, 0, 6 | -1.5 | The even-count median is the average of -3 and 0. |
How to find the median
- Enter or paste the observations, separating each number with a comma or space.
- Click Calculate to sort the values and locate the center position.
- Read the median and use the supporting summaries to understand the data set.
- Click Reset to clear the field before entering another list.
Median calculator FAQ
How do I find the median?
Sort all observations from smallest to largest and select the middle one. If the count is even, average the two middle observations.
What is the difference between median and mean?
The median is based on position in the sorted data, while the mean adds every value and divides by the count. Extreme values generally influence the mean much more than the median.
Can the median be a value not in the data set?
Yes. With an even number of observations, the average of the middle pair may not be an observed value. With an odd count, the median is always one of the observations.
Do repeated values count when finding the median?
Yes. Every observation occupies a position after sorting, including duplicates. Removing repeated values would generally produce the wrong result.
Is the median the same as the 50th percentile?
The median is commonly called the 50th percentile because half the observations lie on either side. Exact percentile interpolation conventions can differ, but the median's middle-position definition is consistent.