STEM-TutorLearn • Practice • ExcelBook Free DemoFree demo

Mean absolute deviation: how to find the MAD, step by step

The mean absolute deviation (MAD) is the average distance of the data values from their mean. It measures spread: a small MAD means the values sit close to the mean, a large one means they are spread out. It is quick to work out by hand and easy to interpret.

On this page
  1. The formula
  2. How to find the MAD in four steps
  3. Worked examples
  4. Interpreting the MAD in context
  5. Mean absolute deviation vs standard deviation
  6. Mean absolute deviation vs median absolute deviation
  7. Practice questions
  8. Common mistakes
  9. Frequently asked questions
  10. Key takeaways

The formula

MAD = ∑|x − x̄| / n, where x̄ is the mean and n the number of values. The bars | | mean absolute value: every distance counts as positive.

The absolute value is the key step. Without it, the deviations above and below the mean always add up to zero, so they would tell you nothing about spread.

How to find the MAD in four steps

  1. Find the mean of the data.
  2. Subtract the mean from each value.
  3. Take the absolute value of each difference.
  4. Find the mean of those absolute values.

Worked examples

Example 1: a simple data set

Find the MAD of 2, 4, 6, 8, 10.

Value xx − mean|x − mean|
2−44
4−22
600
822
1044
Total012

Example 2: comparing two data sets

Two classes scored 12, 15, 15, 18, 20 and 5, 10, 15, 25, 25. Compare them.

Example 3: from a frequency table

Scores of 20 students: score 1 (2 students), 2 (3), 3 (5), 4 (6), 5 (4). Find the MAD.

Example 4: the effect of an outlier

Find the MAD of 3, 5, 5, 6, 7, 8, then add a value of 30.

Interpreting the MAD in context

A number on its own earns little in a statistics answer. Say what it means for the data: "The mean absolute deviation of the delivery times is 2.4 days, so on average a delivery time is 2.4 days away from the mean of 6 days." When comparing two groups, compare both the centre and the spread, in context, as in Example 2.

Example 5: negative values

Morning temperatures over five days were −3, 0, 2, 5 and 6 °C. Find the MAD.

Mean absolute deviation vs standard deviation

Mean absolute deviationStandard deviation
What it averagesThe distances from the meanThe squared distances, then a square root
Formula∑|x − x̄| / n√(∑(x − x̄)² / n), or n − 1 for a sample
For 2, 4, 6, 8, 102.42.83 (population) or 3.16 (sample)
Effect of outliersLargeLarger, because distances are squared
Where it is usedMiddle school and introductory statisticsAP Statistics, A level and beyond, because of its link to the normal distribution

For any data set, the MAD is never larger than the population standard deviation. AP Statistics uses the standard deviation and the IQR to describe spread; see our standard deviation guide.

Mean absolute deviation vs median absolute deviation

Both can be shortened to MAD, which causes confusion. The median absolute deviation takes the median of the distances from the median. It is much less affected by outliers. If a question says "mean absolute deviation", use the method on this page.

Practice questions

Try each one before opening the answer.

Q1. Find the MAD of 1, 3, 5, 7.

Show answer
Mean 4; distances 3, 1, 1, 3; MAD = 8/4 = 2.

Q2. Find the MAD of 10, 10, 10, 10.

Show answer
Every value equals the mean, so the MAD is 0: there is no spread.

Q3. Find the MAD of 4, 7, 9, 12, 13.

Show answer
Mean 9; distances 5, 2, 0, 3, 4; MAD = 14/5 = 2.8.

Q4. Data set A has MAD 1.5 and data set B has MAD 6. Which is more consistent?

Show answer
A: its values are, on average, much closer to its mean.

Q5. Five delivery times in days are 3, 5, 6, 8 and 8. Find the MAD and interpret it.

Show answer
Mean 6; distances 3, 1, 0, 2, 2; MAD = 8/5 = 1.6 days. On average a delivery time is 1.6 days away from the mean of 6 days.

Common mistakes

Frequently asked questions

What does the mean absolute deviation tell you?

How far, on average, the values are from the mean. A larger MAD means the data are more spread out.

Can the mean absolute deviation be negative?

No. It is an average of distances, which are never negative. It is zero only when every value is the same.

Is MAD the same as standard deviation?

No. Both measure spread, but standard deviation squares the distances first, so it is usually larger and more affected by outliers.

Is mean absolute deviation on the AP Statistics exam?

AP Statistics uses standard deviation and IQR as its measures of spread. MAD is mainly taught in middle school statistics, but it is a useful way to understand spread.

Key takeaways