Mean Absolute Deviation Calculator

Measure average distance from the mean without squaring.

Math and PercentUpdated 2026-11-202 min read
Mean Absolute Deviation Calculator
Numbers separated by commas or spaces, between 2 and 1000 values.
Mean absolute deviation
...
Mean...
Values...

What it does

Mean absolute deviation, often shortened to MAD, measures the typical distance of observations from their average. It is one of the simplest ways to describe spread in a data set.

University of Chicago statistics notes introduce MAD while explaining why statisticians usually prefer standard deviation. They use the data set 1, 2, 2 and 7, whose mean is 3 and whose mean absolute deviation is 2.

NYU lecture notes describe the same measure and contrast it with the median absolute deviation, which uses the median as its centre. The version here uses the mean.

This tool computes the arithmetic mean, takes the absolute difference of each value from it, and averages those differences.

MAD is easy to explain and interpret, but standard deviation has mathematical properties that make it more convenient in many statistical procedures.

How to use

  1. Enter numbers separated by commas or spaces.
  2. Read the mean absolute deviation in the main result.
  3. Check the mean, which is the centre used for the differences.
  4. Check the count of values entered.
  5. Try 1, 2, 2, 7 to reproduce the published example.
  6. Compare the result with a standard deviation for the same data.

Formula

MAD = (1/n) x sum of |x(i) - mean|, where mean is the arithmetic average.
x(i)
One observation in the data set.
mean
Arithmetic average of all observations.
absolute value
The sign of each difference is removed before averaging.
n
Number of observations.

The engine uses the population form with n in the denominator, because this is a descriptive measure for the list you entered. It does not apply Bessel's correction.

Worked example

Example: four numbers

Data set 1, 2, 2, 7.

  1. The mean is (1 + 2 + 2 + 7) / 4 = 3.
  2. Differences from the mean are -2, -1, -1 and 4.
  3. Absolute differences are 2, 1, 1 and 4.
  4. Their sum is 8, and dividing by 4 gives 2.
  5. The tool reports MAD 2.000000, mean 3.000000 and count 4.
  6. The standard deviation for the same data would be larger because it squares the deviations.

Reference table

Deviation table for the worked example
ValueDifference from meanAbsolute difference
1-22
2-11
2-11
744
Mean 3Sum 0MAD 2

Limits

  • The centre used here is the mean, not the median.
  • It uses n in the denominator, as a descriptive measure.
  • It is less common in inferential statistics than standard deviation.
  • Input is limited to 1000 values.

Common mistakes

  • Using the median as the centre without saying so.
  • Dividing by n minus one, which belongs to the sample variance.
  • Forgetting the absolute value and getting zero.
  • Comparing MAD with a variance, which has different units.
  • Mixing MAD with median absolute deviation.

Try it yourself

Quick checks. Answers sit tucked under each question.

What is the MAD of 1, 2, 2, 7?

2, from absolute differences 2, 1, 1 and 4 around the mean 3.

What centre does this tool use?

The arithmetic mean.

How is MAD different from standard deviation?

It averages absolute distances rather than square roots of squared distances.

Questions

What is mean absolute deviation?

The average absolute distance of observations from their mean.

What units does it have?

The same units as the original data.

Why not always use it?

Standard deviation has nicer mathematical properties for inference.

What is median absolute deviation?

A related measure that uses the median as its centre.

Does the tool use n or n minus one?

It uses n, as a descriptive statistic.

Is MAD sensitive to outliers?

Less so than standard deviation, because differences are not squared.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.