CalculatorForEver
MATH / GUIDE

Why can an outlier change the mean more than the median?

Calculator ForEver 3 min read

The mean uses the magnitude of every observation, while the median depends on ordered center positions. Changing an extreme value can leave the center unchanged.

Keep the number of observations fixed

To isolate the effect, replace one extreme value without adding or deleting observations. A change in sample count can move median positions as well. The median is resistant to some extreme-value changes, but it is not immune to every change in a dataset.

Worked example

For 2, 3, 4, 5, 6, the mean and median are both four. Replace six with 100: the median stays four, while the mean becomes 114 ÷ 5 = 22.8. The last value’s increased size affects the sum even though the middle position remains unchanged.

Choose a summary for the actual question

A median may describe a typical position in a skewed list, while a mean can matter when totals and allocation are relevant. Inspect the observations rather than declaring one summary universally better. Calculator ForEver’s separate average and median tools let you compare these descriptions without treating their difference as a complete distribution analysis.

Keep the central positions in view

The mean uses the numerical magnitude of every observation, while the median uses the central position or positions after sorting. Moving an observation that remains outside those central positions can change the mean without changing the median. This makes the median less sensitive to the size of some extreme values. It does not mean that adding or changing an observation can never affect the median: changes in ordering or sample size can move the central positions and therefore change the result.

Change one extreme while preserving the middle

For 2, 4, 5, 7 and 12, the median is 5 and the mean is 6. Replacing 12 with 102 keeps the sorted middle value at 5, while the mean becomes 24. The extreme increased by 90, so the mean increased by 90/5 = 18. The median did not use the magnitude of that last observation to determine its central value. This example isolates the effect of an extreme change while leaving the number of observations and the middle position unchanged.

Compare a new observation rather than a replacement

Adding 102 to the original five-value list creates six observations: 2, 4, 5, 7, 12, 102. The median now averages 5 and 7, giving 6. That change comes from a new sample size and two middle positions, not from the precise magnitude of 102 alone. If the added value were 1,002 instead, the median would still be 6. State whether you added, removed or replaced an observation when describing outlier sensitivity, because those operations can affect the median differently.

Choose a summary that fits the measurement question

A median can describe a central observation without being pulled as far by large extremes, while the mean retains information about total magnitude. For costs or workloads, the total and mean may remain useful even when a median better describes a typical case. Report the sample size and consider the distribution rather than choosing a statistic solely because it gives a preferred result. Calculator ForEver can show several descriptive summaries, but it cannot decide which observation is erroneous or whether an extreme should be excluded from the dataset.

Questions about this calculation

Should I delete an outlier before finding the median?

Only with a justified data rule. An unusual observation can be real; removing it solely to obtain a preferred summary changes the question.

Try these values in the calculator

Find the middle of an ordered set of numbers.

Use the median calculator

References

More median questions

Related explanations

Related tools