Separating mean and median absolute deviation
Compute two statistics that share the words absolute deviation, mean absolute deviation and median absolute deviation, and see how a single outlier affects each.
Two statistics with similar names
Mean absolute deviation and median absolute deviation both measure spread using absolute differences, which avoids the cancellation that happens when signed deviations are added. They differ in two places. One centers on the mean and averages the absolute deviations. The other centers on the median and takes the median of the absolute deviations. Those changes affect how each reacts to extreme values. Because the names are close, reports sometimes use one when they mean the other. This guide runs both on one list so the difference can be seen number by number. A third relative, the average absolute deviation around the median, also circulates under the same short name in some software, which is one more reason to state the center and the aggregation explicitly whenever a figure is quoted. The two statistics computed here are the ones the linked calculators return.
Median-centered steps for 1, 2, 3, 4, 100
Sort the list: 1, 2, 3, 4, 100. The median is the middle value, 3. The absolute deviations from 3 are 2, 1, 0, 1 and 97. Sorted, they are 0, 1, 1, 2, 97, and their median is 1. The Median Absolute Deviation Calculator returns an unscaled value of 1. The single value of 100 produced an absolute deviation of 97, but because the median ignores the size of the largest value and looks only at its rank, the statistic is not moved by it.
Mean-centered steps for the same list
The mean of 1, 2, 3, 4 and 100 is 110 divided by 5, which is 22. The absolute deviations from 22 are 21, 20, 19, 18 and 78. They sum to 156, and the average of five of them is 31.2. The Mean Absolute Deviation Calculator returns 31.2. The same data gave 1 under one definition and 31.2 under the other. The mean was pulled toward 100, so four of the five values sit far from it, and the outlier still contributes the largest term.
The same pair without the outlier
Replace 100 with 5 to get 1, 2, 3, 4, 5. The median is 3 and the absolute deviations from it are 2, 1, 0, 1 and 2, with a median of 1. The mean is also 3, and the absolute deviations from it are the same five numbers, which sum to 6 and average 1.2. Now the unscaled median absolute deviation is 1 and the mean absolute deviation is 1.2, close to each other. The gap between the statistics grew from 0.2 to 30.2 because of one changed value, which shows how much more the mean-based measure responds to an outlier.
Robust and non-robust summaries
A statistic is called robust when a few extreme values barely change it. The median and the median absolute deviation have this property, with a breakdown point of 50 percent, meaning nearly half the data can be arbitrary before the statistic can be driven to any value. The mean and the mean absolute deviation lack it, because a single value can move them without limit. Neither type is better in general, and the distinction is easy to see in the list above: replacing 100 with 1,000 would raise the mean-based figure again while leaving the median-based figure at 1. If outliers are measurement errors, a robust statistic is safer. If they are genuine and important, such as rare large losses, the non-robust measure correctly registers them.
Why the scaling convention matters
The median absolute deviation is often multiplied by 1.4826 so that, for normally distributed data, it estimates the standard deviation. The tool here returns the unscaled value and applies no such factor. For the list above the unscaled value is 1, and a scaled version would be about 1.4826. Another report might quote either number under the same name. When exchanging a deviation value, state the center, the aggregation (mean or median) and whether a scaling factor was applied. Without those three pieces, a reader cannot reproduce the figure.
How the deviations are listed for each center
It helps to tabulate the two calculations side by side for the list 1, 2, 3, 4, 100. Under the median center of 3, the deviations are 2, 1, 0, 1 and 97, and the statistic is the middle of the sorted set, which is 1. Under the mean center of 22, the deviations are 21, 20, 19, 18 and 78, and the statistic is their sum, 156, divided by 5. Notice that the mean-centered deviations are large for four of the five values. The mean has been dragged so far toward the outlier that the ordinary values look distant from it, which is the reason a mean-based spread reads high here.
Comparing deviations with the standard deviation
Neither statistic equals the standard deviation. The standard deviation squares the deviations, which gives large values extra weight, and takes a root at the end. For 1, 2, 3, 4, 5 the sample standard deviation is about 1.58, while the mean absolute deviation is 1.2 and the unscaled median absolute deviation is 1. The ordering is typical for data without extreme values. With the outlier in place, the standard deviation grows far larger than either deviation, because squaring magnifies a deviation of 78 or 97. Each statistic measures spread in a different sense. For the list 1, 2, 3, 4, 100 the sample standard deviation is about 43.6, far above the mean absolute deviation of 31.2 and the unscaled median absolute deviation of 1, so the three statistics describe three quite different pictures of the same five numbers.
Choosing between them in practice
Choose by the question. For a typical spread that a few wild values should not distort, such as response times with occasional stalls, the median absolute deviation fits. For an average distance from the mean that includes every value, the mean absolute deviation fits. Report which one you used and the data it came from. The page performs the arithmetic on supplied numbers and does not decide which statistic suits your purpose, nor does it classify any point as an outlier. For a reader who wants the spread of the typical value in a skewed list, say 1, 2, 3, 4, 100, the figure of 1 describes the bulk of the data. For a reader who wants to know how far the values are from the average on the whole, 31.2 describes the list including its extreme member. Both statements are true, and the report should say which question it answers.
Reproduce the checks
Unscaled median absolute deviation
Open the Median Absolute Deviation Calculator and enter:
- Numbers
1,2,3,4,100
Expected output:
Unscaled mad
1The median-centered deviations are 2, 1, 0, 1 and 97.
Mean absolute deviation
Open the Mean Absolute Deviation Calculator and enter:
- Numbers
1,2,3,4,100
Expected output:
Deviation
31.2The mean-centered absolute deviations sum to 156 across five items.
References and implementation scope
The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.
Sources
- Primary definition and convention reference ↗ · 2026-10-08