How the mean absolute deviation is calculated
First find the mean by adding the values and dividing by how many there are. Next find how far each value is from the mean, ignoring whether it is above or below, so every distance is positive. Finally, add those distances and divide by the count. The result is the typical distance from the average.
For the example 3, 6, 6, 7, 8, 11, 15 and 16, the mean is 72 ÷ 8 = 9. The distances from 9 are 6, 3, 3, 2, 1, 2, 6 and 7, which add up to 30. Dividing by 8 gives a mean absolute deviation of 3.75.
MAD compared with standard deviation
Both measure spread around the mean, but the standard deviation squares each distance before averaging and then takes a square root. Squaring gives large distances more weight, so the standard deviation reacts more strongly to outliers. The MAD treats every unit of distance the same, which makes it easier to interpret and less sensitive to a single extreme value.
For the example, the population standard deviation is about 4.30, larger than the MAD of 3.75. For data from a normal distribution, the MAD is roughly 0.8 times the standard deviation. Use the standard deviation when a method or formula calls for it; use the MAD when you want a plain average distance.
Not the same as median absolute deviation
The abbreviation MAD is also used for the median absolute deviation, which takes the median of the distances from the median. That measure is even more resistant to outliers, but it is a different number. This calculator gives the mean absolute deviation around the mean, as taught in most school curricula.
In forecasting, a mean absolute deviation is also used to summarize forecast errors. In that case the distances are between forecasts and actual values rather than from the mean, so use a forecast-error tool for that purpose.
Entering data
Separate numbers with commas, spaces, semicolons or new lines, or paste a column from a spreadsheet. Decimals and negative numbers are fine. A single number gives a MAD of zero, because it does not differ from its own mean.
If something cannot be read as a number, the calculator names the line and value to fix and clears the results until it is corrected. Results show six significant digits, and the calculation keeps full precision.