Mean Absolute Deviation (MAD) Calculator

Calculate average distance from the mean.

Calculator by SuperCalX: formulas, worked examples and 250+ free calculators.

Your values

Result

Mean Absolute Deviation
2.50
Mean
5.50
Count
10

Result breakdown

The figures from your result, side by side
mean
5.5
mad
2.5
count
10

The largest figure is count at 10. It is about 4.0 times larger than mad (2.5).

Change any input and these figures update straight away. Open the Charts tab to see them as a graph; the formula and a worked example are further down this page.

How to Use

Step-by-step instructions
  1. 1Enter comma-separated values.
  2. 2View the MAD and mean.

Mean Absolute Deviation

Average of absolute deviations from the mean.
MAD = Σ|x - μ| / n

Variables:

xData value
μMean
nCount

Example

Dataset

Inputs:

Data:1,2,3,4,5

Steps:

  1. 1.Mean = 3
  2. 2.|1-3| + |2-3| + |3-3| + |4-3| + |5-3| = 6
  3. 3.MAD = 6/5 = 1.2
Result:
1.2

Mean Absolute Deviation Calculator: the short answer

Mean absolute deviation (MAD) is the average distance of each value from the mean: MAD = Σ|x − x̄| ÷ n. For 3, 5, 7, 8, 12, 13, 14, 18, 21 the mean is 11.22 and the absolute distances average 4.86, so a typical value sits about 4.9 away from the mean.

  • MAD is always less than or equal to the standard deviation (here 4.86 vs 5.65 population SD).
  • It is easier to explain than standard deviation.
  • "MAD" sometimes means median absolute deviation, a different, more robust statistic.

By the SuperCalX team · Reviewed by Dr. Ahmed Mortuza Saleque, founder and editor · Last reviewed · How we check our calculators

MAD in forecasting

Forecasters use the closely related mean absolute error (MAE): the average of |actual − forecast|. It shows the typical size of a miss in the same units as the data. For percentage error on a single measurement, see the accuracy calculator.

Teaching MAD step by step

For 2, 4, 6, 8, 10: the mean is 6, the distances are 4, 2, 0, 2, 4, their sum is 12 and MAD = 12 ÷ 5 = 2.4. Many middle-school curricula introduce spread with MAD before standard deviation because it needs no squares or square roots.

  • Find the mean.
  • Subtract the mean from each value and drop the sign.
  • Add up these distances.
  • Divide by the number of values.

Worked examples

Example set

  1. |3 − 11.22| = 8.22, |5 − 11.22| = 6.22, … , |21 − 11.22| = 9.78.
  2. Sum of distances = 43.78.
  3. MAD = 43.78 ÷ 9.

4.86.

Common mistakes

  • Forgetting the absolute value, which always gives 0.

Mean Absolute Deviation Calculator FAQ

Is MAD better than standard deviation?

It is simpler and less influenced by outliers. Standard deviation is used more in statistical theory and tests.

What is the median absolute deviation?

The median of |x − median|. It is even more robust and is used for outlier detection.

How do MAD and standard deviation compare for normal data?

For normally distributed data, MAD is about 0.8 times the standard deviation.

Can MAD be zero?

Only when every value is identical.

MAD vs Standard Deviation?

MAD is less sensitive to outliers than standard deviation.

Add this calculator to your website

Teachers, bloggers and businesses can show the Mean Absolute Deviation Calculator on their own pages for free. Copy this code and paste it into your page's HTML:

Please keep the credit link so readers can find the formula, worked examples and guide.