Mean Absolute Deviation (MAD) Calculator

The mean absolute deviation answers one plain question: on average, how far do the values sit from the mean? This calculator reports that MAD with every intermediate step shown — the mean, each distance from it, and the final average — plus the median-based cousin that confusingly shares the same abbreviation.

The Idea in One Sentence

Find the average, measure how far each number is from it (ignoring direction), then average those distances.

That is the whole statistic — no squaring, no square roots — which is exactly why MAD is the first measure of spread taught in grades 6 and 7, before the standard deviation appears.

Entering Your Data

  • Separate numbers with commas, spaces, or line breaks.
  • Keep all values in the same unit; the MAD is reported in that same unit.
  • The step-by-step breakdown below the results mirrors how the calculation is shown in class, so it can double as homework checking.

Enter numbers separated by commas or spaces

The MAD Formula

Written out, the calculation the breakdown card walks through is:

MAD = Σ|x − x̄| / n

Where:

  • x = each value, x̄ = the mean of all values
  • |x − x̄| = the distance of each value from the mean, ignoring sign
  • n = how many values there are

The absolute-value bars are doing essential work. Deviations from the mean always add to exactly zero — the values above the mean cancel the ones below it, by the very definition of the mean. Taking absolute values before averaging keeps the distances from cancelling, turning a useless zero into an honest measure of spread. The mean, median, mode calculator covers the center-finding half of this story.

One Abbreviation, Two Different Statistics

"MAD" is genuinely ambiguous in statistics, and knowing which one a textbook or library means matters:

  • Mean absolute deviation (this page's headline result): the average distance from the mean. This is the school statistic and the default meaning in introductory courses.
  • Median absolute deviation (the secondary result): the median distance from the median, computed as median(|x − median|). This is the robust-statistics workhorse — since both steps use medians, up to half the data can be corrupted before it breaks, which is why outlier screens like the modified z-score are built on it.

The two react differently to extreme values: one wild number shifts the mean and inflates every distance in the mean-based MAD, while the median-based version barely moves. Comparing the two results above is itself a quick outlier check — a large gap hints that something in the data is pulling the mean around, which the outlier calculator can then pin down.

MAD vs Standard Deviation

Both statistics summarize distance from the mean; they differ in how they treat big deviations. The standard deviation squares each deviation before averaging, so a value twice as far counts four times as much — extremes dominate. The MAD weights every unit of distance equally, which makes it both easier to interpret ("values are typically 1.6 points from the average") and less jumpy when one unusual value appears.

For the same data, the standard deviation is always at least as large as the MAD, and for bell-shaped data it runs about 25% larger (the exact ratio for a normal distribution is σ = MAD × √(π/2) ≈ 1.2533 × MAD). Statisticians still build their machinery on the standard deviation because squared deviations have far friendlier algebra — variances add across independent variables, absolute values do not. A reasonable division of labor: MAD for teaching, quick descriptions, and outlier-wary summaries; standard deviation for inference, confidence intervals, and anything downstream of the normal distribution.

Worked Example: Five Quiz Scores

A student's last five quiz scores, out of 10: 6, 3, 8, 5, 3. Following the four steps exactly as a grade-7 class would:

  1. Mean: 6 + 3 + 8 + 5 + 3 = 25, so the mean is 25 ÷ 5 = 5.
  2. Distances from the mean: |6−5| = 1, |3−5| = 2, |8−5| = 3, |5−5| = 0, |3−5| = 2.
  3. Sum of distances: 1 + 2 + 3 + 0 + 2 = 8.
  4. Divide by the count: MAD = 8 ÷ 5 = 1.6.

Plain-language reading: the quizzes average 5 points, and a typical quiz lands about 1.6 points away from that average. For the secondary statistic, the sorted scores 3, 3, 5, 6, 8 have median 5; the distances from it are 2, 2, 0, 1, 3, which sort to 0, 1, 2, 2, 3 with median 2 — so the median absolute deviation is 2. And for comparison, the population standard deviation of the same scores is √(18 ÷ 5) ≈ 1.897, a little larger than the MAD of 1.6, exactly as the previous section predicts.

Frequently Asked Questions

Is MAD the mean absolute deviation or the median absolute deviation?

Both statistics legitimately use the abbreviation, which causes real confusion. In school mathematics and most introductory courses, MAD means the mean absolute deviation - the average distance from the mean, this calculator's headline result. In robust statistics and much statistical software, MAD means the median absolute deviation - the median distance from the median. This page reports both and labels them explicitly.

Why do we take absolute values instead of just averaging the deviations?

Because the plain deviations always sum to zero. The mean sits exactly at the balance point of the data, so the positive deviations above it cancel the negative ones below it, for any data set whatsoever. Absolute values convert each deviation to a pure distance, and distances cannot cancel, so their average genuinely reflects spread.

Why is the standard deviation of my data larger than its MAD?

That is guaranteed, not a coincidence. Squaring amplifies large deviations before the standard deviation averages them, so values far from the mean contribute disproportionately. The MAD counts each unit of distance equally. For roughly bell-shaped data the standard deviation is about 1.25 times the MAD; a much larger ratio suggests extreme values are inflating the standard deviation.

What does a MAD of 0 mean, and can the MAD be negative?

A MAD of 0 means every value equals the mean - the data has no spread at all, as in 7, 7, 7, 7. The MAD can never be negative, because it averages absolute values, each of which is at least zero.

Why do schools teach MAD before standard deviation?

MAD appears in the Common Core standards for grades 6 and 7 because every step is arithmetic a middle schooler already owns: subtract, drop the sign, average. It builds the concept of typical distance from the mean without the squaring and square roots that make standard deviation feel like a black box. Once the concept lands, standard deviation is introduced later as a differently weighted version of the same idea.