StatSteps

Mean Absolute Deviation Calculator

Enter your data below to get the MAD, the mean, a full step-by-step solution and a deviation graph — instantly, free, right in your browser.

Updated September 19, 2026 · Calculation method and references

Try an example:

Paste 2–2,000 numbers, separated by spaces, commas, tabs or newlines. Commas are separators, never thousands marks. Use decimal points; scientific notation is supported. Magnitudes: 1e-12 to 1e12, or zero. Calculations stay in this browser.

MAD (mean absolute deviation)
Mean x̄
Values n
Σ|xᵢ − x̄|

Step-by-step solution

Inspect individual deviations (25 values per page)
#InputDeviationAbsolute deviation

Absolute deviation graph

What is the mean absolute deviation?

The mean absolute deviation (MAD) measures how spread out a data set is. It is the average distance between each value and the mean: add up how far every value sits from the mean (ignoring the direction), then divide by how many values there are. A MAD of 0 means every value is identical; the bigger the MAD, the more spread out the data.

MAD = Σ|xᵢ − x̄| ⁄ n

where xᵢ is each value, is the mean, and n is the number of values.

How to calculate MAD (4 steps)

  1. Count the values: that's your n.
  2. Find the mean: add all values, divide by n.
  3. Find each absolute deviation: subtract the mean from each value and drop the minus signs.
  4. Average the deviations: add them up and divide by n — that's the MAD.

Worked examples

Example 1 — test scores

Data: 3, 8, 10, 17, 24, 27

Example 2 — a data set with an outlier

Data: 72, 75, 74, 73, 96, 74, 75 (daily temperatures, °F)

Notice the hot 96°F day: its deviation (19) is more than 2.5 × MAD ≈ 13.6, illustrating a large deviation. This comparison is descriptive, not a formal outlier test; the calculator does not classify outliers.

MAD vs. standard deviation

MADStandard deviation
Formula coreAverage of absolute distances from the meanSquare root of the average of squared distances
UnitsSame as the data — easy to explainSame as the data, but less intuitive to explain
Outlier sensitivityModerate (each value counts once)High (squaring amplifies extremes)
Typical useSchool statistics, quick spread checks, outlier flagsAdvanced statistics, finance, quality control, z-scores

Rule of thumb: if you need to explain the spread to a human, use MAD; if you're feeding it into further statistics, standard deviation is more common.

How to interpret your MAD value

The MAD is measured in the same units as your data, which makes it easy to read: a MAD of 7.8 on test scores means "a typical score sits about 7.8 points away from the average." There is no universal "good" MAD — it only means something relative to your data's scale and to other data sets. Two comparisons help:

Some textbooks also call this the average absolute deviation or mean deviation — same calculation, different name. The median absolute deviation is different: take the median of |xᵢ − median(x)|. Simply averaging distances from the median does not produce that statistic.

FAQ

What does MAD mean in math?
MAD stands for mean absolute deviation — the average of the absolute distances between each data value and the mean. It answers "how far from the average does my data usually sit?" in the same units as the data itself.
How do I find the mean absolute deviation by hand?
1) Find the mean. 2) Subtract the mean from each value. 3) Take the absolute value of each difference. 4) Add those absolute deviations and divide by the number of values. The calculator above shows every one of these steps for your data.
What is the difference between MAD and standard deviation?
Both measure spread, but MAD averages absolute distances while standard deviation averages squared distances (then takes the square root). Squaring makes standard deviation more sensitive to outliers; MAD is easier to interpret and explain.
Is MAD affected by outliers?
Yes, but less than standard deviation. One extreme value pulls the mean toward itself and adds a large deviation, yet because MAD doesn't square distances, extreme values can still strongly affect both the mean and MAD. (For a median-based, very robust alternative, statisticians use the median absolute deviation.)
When should I use MAD instead of the mean alone?
The mean tells you the center; MAD tells you the spread. Two classes can both average 75 yet have MADs of 2 vs. 12 — very different consistency. Report them together (this calculator does) whenever you want to say something about reliability or consistency, not just the typical value.

More from StatSteps