What mean absolute deviation describes
Mean absolute deviation, often shortened to MAD or MeanAD, answers a plain question: on average, how far is a value from the mean? Because it averages distances without squaring them, it is easy to explain and its unit is the same as the data. If heights are in centimeters, the MAD is in centimeters. People use it to describe forecast error, process scatter and the variability of repeated measurements. This page computes the version centered on the arithmetic mean. The name is shared with a different statistic, the median absolute deviation, so the center used always needs to be stated alongside the number.
Mean, absolute differences, then their average
The formula is MAD = mean of |x − mean(x)|. First find the arithmetic mean of the list. Then subtract the mean from each value and drop the sign, giving the absolute deviation of each observation. Finally add those distances and divide by the number of values. Unlike the sample standard deviation, which divides by n − 1, this average divides by n, so it works for a list of a single value, which gives zero. The page accepts up to 10,000 numbers separated by commas, semicolons, spaces or line breaks, with dots for decimals, and shows results with up to 12 significant digits.
The default list
The page begins with the numbers 1, 2, 3. Their mean is 2. The absolute deviations are 1, 0 and 1, which add up to 2, and dividing by 3 gives 0.6667, repeating. By comparison, the sample standard deviation of the same list is 1. This difference is typical: MAD is smaller than the standard deviation because squaring gives more weight to large departures. If you add a fourth value, say 4, the mean becomes 2.5, the absolute deviations are 1.5, 0.5, 0.5 and 1.5, and the MAD is 1. Small lists make the arithmetic easy to follow by hand. Checking one small list manually before pasting a long column of data is a good habit, because a stray separator or text character is easier to spot in a short list. If the result seems too small or too large, confirm the mean first, since every distance depends on it.
A worked example with eight values
Take the list 2, 4, 4, 4, 5, 5, 7, 9. The mean is 40 / 8 = 5. The absolute deviations are 3, 1, 1, 1, 0, 0, 2 and 4, which sum to 12, so the MAD is 12 / 8 = 1.5. The population standard deviation of this list happens to be exactly 2, so the MAD is 75 percent of it. For data that follow a normal distribution, the mean absolute deviation is about 0.7979 times the standard deviation, which is the square root of 2 divided by pi. Values far from that ratio suggest heavy tails or outliers. Two values, 10 and 20, have a mean of 15 and a MAD of 5.
Sensitivity to outliers
The mean is pulled by extreme values, and the MAD around that mean is pulled with it. Consider the list 1, 2, 3, 4, 100. The mean is 22, the absolute deviations are 21, 20, 19, 18 and 78, and the MAD is 156 / 5 = 31.2. Four of the five values sit within three units of each other, yet the MAD reports 31.2. A single outlier inflated both the center and the spread. For skewed data or lists with possible errors, the median absolute deviation, which has a separate calculator on this site, behaves much better, giving 1 for that same list. Choose the statistic that matches the question you want answered.
Comparing with other measures of spread
Range uses only the two extreme values. Variance and standard deviation square the deviations, weighting large departures heavily, and they are the basis of most classical inference. Mean absolute deviation treats every unit of distance equally, and median absolute deviation resists outliers. The interquartile range summarizes the middle half of the data. No single one is best. MAD is attractive when you want an intuitive unit-preserving figure, for instance the average miss in a forecasting system, where it is also called mean absolute error when the center is a forecast and not the mean. The center is what distinguishes the two.
Using the number in practice
Report MAD together with the mean it is based on, as in a mean of 5 and a mean absolute deviation of 1.5. A reader can then see that typical values land within about 1.5 of 5. It pairs well with a count, because a MAD from three readings carries less weight than one from three hundred. In quality settings, compare it between batches measured the same way. Since MAD is on the data scale, comparing two datasets with different units or magnitudes calls for a relative measure, such as the coefficient of variation, instead.
Mean absolute deviation in forecasting
Forecasters use a closely related quantity to judge accuracy. If a model predicted weekly demand of 100, 110, 120 and 130 units and actual sales were 104, 105, 126 and 124, the absolute errors are 4, 5, 6 and 6, and their average is 5.25 units. That figure is the mean absolute error, which averages distances from the forecast and not from the mean of the data. Entering the four errors with their signs removed on this page would not reproduce it, because this page measures distance from the list's own mean. The two ideas share a structure, so a clear label on the center avoids misreading a reported deviation as a forecast error or the other way around. Writing the center beside the number in any report is the simplest safeguard.
Numeric entry rules for mean deviation
Use a dot as the decimal separator and keep every value numeric. A comma used as a decimal mark would split one number into two. Remove text labels and units from the list. At most 10,000 values are supported, and all inputs must be finite numbers. Calculations use floating-point arithmetic, so a result such as 0.6666666666666666 is shown with the digits the machine can represent, and long decimals reflect that precision and not extra accuracy. The page does not offer a sample or population choice for this statistic, because the mean absolute deviation about the mean simply averages over the n values entered.