The mean absolute deviation (MAD) is the average distance between the values and their mean. The mean absolute deviation calculator gives the MAD of up to eight values, with the mean, the population standard deviation, the ratio of the MAD to the standard deviation and the relative MAD.
How the calculation works
- Choose the number of values to use, from 2 to 8, and enter them. Unused value fields are ignored.
- The calculator finds the arithmetic mean of the values.
- It then averages the absolute distances to the mean: MAD = (|x₁ − mean| + |x₂ − mean| + …) / n.
- It also gives the population standard deviation, the ratio MAD / standard deviation and the relative MAD, which is the MAD as a percentage of the mean.
Example
Take the 7 values 12, 15, 11, 18, 14, 20 and 13. The sum is 103, so the mean is 14.714. The distances to the mean are 2.714, 0.286, 3.714, 3.286, 0.714, 5.286 and 1.714, and their sum is 17.714. The mean absolute deviation is 17.714 / 7 = 2.531. The population standard deviation is 3.010, so the ratio is 0.841. The relative MAD is 17.2 % of the mean.
Why it matters
The calculator helps students in school statistics, teachers, analysts and anyone who wants a simple measure of the spread of a small data set, for example the daily temperatures, the test scores or the weekly sales. It also shows the standard deviation next to the MAD, so you can see the effect of the large deviations.
Good to know
The calculator uses the population formula, dividing by the number of values, as the definition of the MAD requires. The deviation is measured around the mean and not around the median. With only a few values, both measures of spread are rough. If one value is far from the others, compare the MAD with the standard deviation, and look at the data before you rely on one number.
Related tools
The standard deviation calculator gives the usual measure of spread, the Pearson skewness calculator measures the asymmetry of a data set, the coefficient of variation calculator expresses the spread relative to the mean, and the IQR outliers calculator detects unusual values.