Mean absolute deviation (MAD): formula and examples
By Jude Wallis · Published
The mean absolute deviation (MAD) is the average distance between the values and the mean. Subtract the mean from each value, drop the minus signs, then average what is left. MAD and the standard deviation both measure spread in the original units, and MAD is never the larger of the two.
AP Statistics: Unit 1 (topics 1.7 Summary Statistics for One Quantitative Variable). Topic 1.7 of the Fall 2026 AP Statistics course names the range, the interquartile range, and the standard deviation as the measures of variability for one quantitative variable. The mean absolute deviation is not among them and is not on the AP formula sheet, but it is a direct route to understanding what the standard deviation measures.
What the mean absolute deviation measures
The mean absolute deviation answers one plain question: on average, how far is a value from the mean? The formula says exactly that.
Here ("x-bar") is the sample mean, is how many values you have, and is the distance from one value to the mean with the sign thrown away. The vertical bars are absolute value, so a value 3 below the mean and a value 3 above the mean both contribute 3.
The absolute value is doing necessary work. Deviations from the mean always add to exactly zero, because the mean sits at the balance point of the data. For 2, 4, 6, 8 the mean is 5 and the deviations are -3, -1, 1, and 3, which sum to 0. Averaging raw deviations would report zero spread for every data set on earth. Absolute value fixes that by making every deviation count as a distance.
MAD comes out in the units of the data. For commute times in minutes, a MAD of 2.3 means "the typical commute sits about 2.3 minutes from the average commute." That plain reading is MAD's main selling point over the standard deviation, which needs a squaring step and a square root before it lands back in minutes.
How to find MAD in four steps
- Find the mean .
- Subtract the mean from every value to get the deviations .
- Drop the sign on each one, giving .
- Add those distances and divide by .
Step 4 divides by , not by . That is a real difference from the sample standard deviation, which uses to correct a bias in estimating a population variance. MAD has no such correction in standard use, so it always divides by the count. If you are unsure why the standard deviation is different, see why divide by n minus 1.
One warning about the abbreviation. Some software and some statisticians use MAD for the median absolute deviation, the median of the distances from the median, which is a different and much more outlier-resistant number. In an introductory course MAD means mean absolute deviation about the mean, but check the definition before you trust a printout.
MAD is never larger than the standard deviation
For any data set at all, the mean absolute deviation is less than or equal to the population standard deviation, and the population standard deviation is less than or equal to the sample standard deviation:
So MAD is at most as large as either version of the standard deviation. Four data sets, all computed the same way:
| Data set | MAD | Population SD | Sample SD |
|---|---|---|---|
| 2, 4, 6, 8 | 2.0000 | 2.2361 | 2.5820 |
| 7, 8, 8, 9, 10, 12, 13, 15 | 2.3125 | 2.6339 | 2.8158 |
| 12, 14, 15, 15, 16, 18, 78 | 15.4286 | 22.1101 | 23.8817 |
| 10, 20 | 5.0000 | 5.0000 | 7.0711 |
The last row is the one case where MAD ties the population standard deviation. With only the two values 10 and 20, both deviations from the mean of 15 have size 5, so squaring and unsquaring changes nothing. That is the general rule: MAD equals exactly when every value sits the same distance from the mean, and MAD is strictly smaller otherwise.
The reason is short, and it also delivers the equality case. Write for the deviations. Then is the average of the squared distances , while MAD is the average of the distances themselves. So is the average of the squared distances minus the square of their average, which is exactly the variance of those distances, and no variance is ever negative. That forces , with equality only when the distances have no spread at all, meaning every value sits the same distance from the mean. Squaring weights the far-out distances more heavily than the near-in ones, so the more the distances vary among themselves, the wider the gap: in the third row, one value at 78 makes about 1.43 times MAD, while in the first row the ratio is only about 1.12.
For a normal population there is a fixed ratio. The mean absolute deviation equals , which is about . That is one reason MAD never took over: on the normal curve the course is built around, it carries the same information as but does not plug into anything.
Why statistics squares instead of taking absolute values
MAD is easier to explain, so why is the standard deviation everywhere instead? Four reasons, in rough order of how much they matter.
Squares are smooth and absolute values are not. The function has a derivative everywhere. The function has a corner at where no derivative exists. Almost every result in statistics is derived by setting a derivative to zero and solving, and that whole machine stalls on a corner. Least-squares regression is the clearest case: you can find the least-squares regression line in closed form precisely because the thing being minimized is a smooth sum of squares. The absolute-value version has no such tidy formula.
Squared deviations point at the mean; absolute deviations point at the median. The mean is the number that makes as small as possible. The median is a number that makes as small as possible; with an even count, so is anything between the two middle values. Check it on 7, 8, 8, 9, 10, 12, 13, 15, where the mean is 10.25 and the median is 9.5: the sum of absolute deviations is 18.5 about the mean but only 18 about the median, while the sum of squared deviations is 55.5 about the mean and 60 about the median. Each center has its own natural measure of spread, so pairing the mean with an absolute-value spread is a slightly mismatched combination.
Variances add and MADs do not. For independent random quantities, variances combine by adding, which is what makes standard errors work. There is no comparable rule for MAD, so it cannot carry you into inference.
The standard deviation is already load-bearing. It defines the z-score, it drives the empirical rule, and it sits inside every standard error and margin of error later in the course. Replacing it would mean rebuilding all of that. For more on the squaring step itself, see why is variance in squared units and why square the residuals.
What an outlier does to MAD and to the standard deviation
Neither measure is resistant. Both use the mean, and both use every value, so a single extreme observation moves both. But it does not move them equally.
Take seven commute times: 12, 14, 15, 15, 16, 18, 22 minutes. The mean is 16, MAD is 2.2857, and the sample standard deviation is 3.2146. Now change the last value to 78 minutes, as though one trip hit a road closure. The mean jumps to 24, MAD jumps to 15.4286, and jumps to 23.8817.
MAD grew by a factor of about 6.75. The standard deviation grew by a factor of about 7.43. The squaring step gave the one enormous deviation extra leverage, so the standard deviation reacted harder. Be careful how you state that comparison, because it is a claim you often see put too strongly. The safe form is the absolute one: an outlier moves further than it moves MAD, so the gap between the two widens. Comparing growth factors, as the numbers above do, is a different question, and with only a handful of values MAD is sometimes the one that multiplies by more. Neither version makes MAD resistant. If you want a genuinely resistant measure of spread, use the interquartile range instead. See what is a resistant statistic and standard deviation vs IQR.
Where MAD fits the AP course
Topic 1.7 of the Fall 2026 AP Statistics course names three measures of variability: the range, the interquartile range, and the standard deviation. The mean absolute deviation is not one of them, and it is not on the AP formula sheet, so you will not be asked to compute a MAD on the exam.
It is still worth the ten minutes. Middle school and pre-AP courses teach MAD first because the idea of "average distance from the mean" is exactly what a standard deviation is trying to be, minus the squaring. If you can explain MAD, you can explain what is measuring, which is the interpretation the AP exam does ask for: a typical distance between the values and their mean. Many introductory college courses also use MAD as a stepping stone for the same reason.
When a question asks you to describe spread, report an IQR or a standard deviation with units. Which of the two you should report is decided by the shape of the distribution, covered in how to describe the shape of a distribution. To compute the standard deviation itself, follow standard deviation by hand or use the standard deviation calculator.
Find the mean absolute deviation of eight quiz scores
Eight students score 7, 8, 8, 9, 10, 12, 13, 15 on a 15-point quiz. Find the mean absolute deviation, then compare it with the sample standard deviation.
Find the mean. The sum is , and , so points.
Find each deviation : -3.25, -2.25, -2.25, -1.25, -0.25, 1.75, 2.75, 4.75. As a check, these add to 0.
Drop the signs to get the absolute deviations: 3.25, 2.25, 2.25, 1.25, 0.25, 1.75, 2.75, 4.75.
Add the absolute deviations: .
Divide by : points.
For comparison, square the deviations and add: .
Divide by and take the square root: points.
Compare. MAD is 2.3125 and is 2.8158, so MAD is the smaller number, as it always is unless every value is identical.
points: the typical score sits about 2.31 points from the mean of 10.25. The sample standard deviation is points, larger than MAD because squaring gives the two biggest deviations (3.25 and 4.75) extra weight.
How much does one outlier move MAD compared with s?
Seven commute times in minutes are 12, 14, 15, 15, 16, 18, 22. Compute MAD and the sample standard deviation. Then a road closure turns the 22 into 78. Recompute both and report the factor each one grew by.
Original data. The sum is and , so minutes.
Absolute deviations from 16: 4, 2, 1, 1, 0, 2, 6. They add to 16, so minutes.
Squared deviations: 16, 4, 1, 1, 0, 4, 36, which add to 62. So minutes.
Now replace 22 with 78. The new sum is , so the new mean is minutes.
New absolute deviations from 24: 12, 10, 9, 9, 8, 6, 54. They add to 108, so minutes.
New squared deviations: 144, 100, 81, 81, 64, 36, 2916, which add to 3422. So minutes.
Growth factors: MAD went from 2.2857 to 15.4286, a factor of . The standard deviation went from 3.2146 to 23.8817, a factor of .
Before: min and min. After the outlier: min and min. MAD grew by a factor of about 6.75 and by about 7.43, so the standard deviation reacted more strongly. Neither one is resistant; the median stayed at 15 minutes both times.
Frequently asked questions
Is the mean absolute deviation the same as the standard deviation?
No. Both report spread in the data's own units, but MAD averages the distances from the mean while the standard deviation averages the squared distances and then takes a square root. Squaring gives large deviations extra weight, so the two numbers differ for any data set that is not perfectly evenly spread.
Is MAD always smaller than the standard deviation?
It is never larger. MAD is less than or equal to the population standard deviation, which is itself less than or equal to the sample standard deviation. Equality with the population standard deviation happens only when every value sits the same distance from the mean, as with the two values 10 and 20, where both equal 5.
Does MAD divide by n or by n minus 1?
By . The mean absolute deviation is a plain average of the distances, so the denominator is the number of values. The denominator belongs to the sample variance and sample standard deviation, where it corrects a bias in estimating a population parameter.
Is mean absolute deviation on the AP Statistics exam?
No. Topic 1.7 of the Fall 2026 course names the range, the interquartile range, and the standard deviation as measures of variability, and MAD is not on the formula sheet. It is still useful for understanding what a standard deviation is trying to measure, and it appears in many pre-AP and college courses.
Is MAD resistant to outliers?
Not really. The standard deviation moves further, because squaring gives the outlier extra leverage, but MAD still uses the mean and every data value, so one extreme observation moves it a long way. In one example here a single outlier multiplied MAD by 6.75. For genuine resistance, use the interquartile range.