Mean Absolute Deviation Calculator

Mean absolute deviation (MAD)1.67
Mean of the data6.00
Sum of absolute deviations10.00
Values used6
How this was calculated
  1. Mean: (4 + 8 + 6 + 5 + 9 + 4) / 6 = 6.00.
  2. Absolute deviations from the mean: 2.00, 2.00, 0.00, 1.00, 3.00, 2.00 - they add to 10.00.
  3. MAD: 10.00 / 6 = 1.67 - the typical distance of a value from the mean, in the original units.

This mean absolute deviation calculator finds the mean absolute deviation (MAD) for any set of numbers you enter. Mean absolute deviation is the average distance between each data value and the mean of the set. The calculator returns the mean of your data, the sum of the absolute deviations, and the final MAD value. For example, the data set 4, 8, 6, 5, 9, 4 has a mean of 6.00, absolute deviations summing to 10.00, and a MAD of 1.67. A second example, 10, 12, 14, 16, 18, has a mean of 14.00, deviations summing to 12.00, and a MAD of 2.40. A third example, 2, 3, 3, 4, 4, 4, 5, 7, has a mean of 4.00 and a MAD of 1.00.

MAD uses absolute values, so deviations never cancel; it is always non-negative and is in the same units as the data. This calculator computes the population form, dividing by n. MAD is less sensitive to extreme values than the standard deviation because deviations are not squared, making it a reliable standard for measuring average spread. This page shows the formula, step-by-step workings, worked examples, and sources so you can verify every result.

Worked examples

Six quiz scores

Primary result: 1.67 — the mean is 6.00 and the absolute deviations add to 10.00. (6 numbers · 4 · 8 · 6 · 5 · 9 · 4 · 0 · 0)

Mean absolute deviation (MAD)1.67
Mean of the data6.00
Sum of absolute deviations10.00
Values used6

Five even steps

Primary result: 2.40 — an evenly spread set around its mean of 14.00. (5 numbers · 10 · 12 · 14 · 16 · 18 · 0 · 0 · 0)

Mean absolute deviation (MAD)2.40
Mean of the data14.00
Sum of absolute deviations12.00
Values used5

Eight measurements

Primary result: 1.00 — a tightly clustered set with mean 4.00. (8 numbers · 2 · 3 · 3 · 4 · 4 · 4 · 5 · 7)

Mean absolute deviation (MAD)1.00
Mean of the data4.00
Sum of absolute deviations8.00
Values used8

How to calculate MAD in four steps

Mean absolute deviation (MAD) is the average distance between each data value and the mean of the set. To calculate it by hand, work through four straightforward steps: find the mean, subtract the mean from every value, take the absolute value of each result, and then average those absolute values. Because MAD uses absolute values, deviations never cancel out. The result is always non-negative and is expressed in the same units as the original data.

Start by finding the mean of your data set. Add every value together and divide by the number of values. For example, take the data set 4, 8, 6, 5, 9, 4. Adding these six values gives 36, and dividing by 6 produces a mean of 6.00. In the second step, subtract that mean from every individual value. The differences here are -2, 2, 0, -1, 3, and -2. Some are positive and some are negative, but that is expected — the mean sits in the middle of the data, so values above it produce positive differences and values below it produce negative ones.

The third step is to convert each difference into an absolute value. Remove the negative signs so every deviation becomes a positive distance. For the same example, the absolute deviations are 2, 2, 0, 1, 3, and 2. These absolute deviations sum to 10.00. The fourth and final step is to average those absolute deviations by dividing their sum by the number of values in the set. Dividing 10.00 by 6 gives a MAD of 1.67. That final number tells you, on average, how far each data point sits from the mean.

A larger data set follows the same process. Consider 10, 12, 14, 16, 18. The mean is 14.00. Subtracting the mean from each value gives deviations of -4, -2, 0, 2, and 4. The absolute values are 4, 2, 0, 2, and 4, which sum to 12.00. Dividing 12.00 by 5 values produces a MAD of 2.40. As another example, the set 2, 3, 3, 4, 4, 4, 5, 7 has a mean of 4.00 and a MAD of 1.00, meaning the typical distance from the mean is exactly one unit. This is the population form of the calculation, which means dividing by n rather than by n minus 1.

One useful property of MAD is that it is less sensitive to extreme values than the standard deviation. The reason is that deviations are not squared, so a single unusually large or small value does not inflate the result as dramatically. That makes mean absolute deviation a practical, easy-to-interpret measure of spread when you want a clear picture of how far values typically stray from the average.

Worked examples

To see how mean absolute deviation works in practice, walk through the three preset examples loaded in the calculator. Each preset shows a different data pattern, which helps you understand why MAD is useful for comparing how spread out datasets are.

The first preset uses the dataset 4, 8, 6, 5, 9, 4. This set has a mean of 6.00. To find the mean absolute deviation, the calculator measures how far each value sits from that mean, takes the absolute value of each distance, and then averages those distances. The absolute deviations sum to 10.00, giving a MAD of 1.67. This dataset contains values that cluster fairly close to the mean, with the largest distance being only 3 units away, so the result reflects that moderate spread.

The second preset uses the dataset 10, 12, 14, 16, 18. This set has a mean of 14.00, and the deviations sum to 12.00, producing a MAD of 2.40. Notice that this evenly spread set earns a larger MAD than the first preset, even though both sets contain numbers that stay relatively close to their respective means. The reason is straightforward: the values in this second dataset are spaced out more consistently, so each value tends to sit farther from the center on average. A larger mean absolute deviation tells you the data is more spread out, regardless of whether that spread comes from clustering or from even distribution.

The third preset uses the dataset 2, 3, 3, 4, 4, 4, 5, 7. This set has a mean of 4.00 and a MAD of 1.00. Most of the values cluster tightly around the mean, with several values equal to 4 and several others just one unit away. Only the value 7 sits farther from the center. Because MAD uses absolute values, deviations never cancel each other out, so the result is always non-negative and is expressed in the same units as the original data. This preset produces the smallest MAD of the three examples, which makes sense given how many values sit at or near the mean.

These examples use the population form of the calculation, which means dividing by n, the total number of values. Mean absolute deviation is less sensitive to extreme values than the standard deviation because deviations are not squared, so a single outlier will not inflate the result as dramatically. Comparing the three presets side by side gives you a clear sense of how MAD responds to different patterns of spread in a dataset.

MAD vs standard deviation

Both the mean absolute deviation and the standard deviation measure how spread out a data set is, but they handle deviations from the mean in different ways. Mean absolute deviation (MAD) is the average distance between each data value and the mean of the set. It uses absolute values, so deviations never cancel; it is always non-negative and is in the same units as the data. The standard deviation, by contrast, squares each deviation before averaging, which changes how the numbers behave.

Because the standard deviation squares the deviations, outliers carry more weight. A value far from the mean produces a large deviation, and squaring that deviation makes it larger still. This is why MAD is less sensitive to extreme values than the standard deviation, because deviations are not squared. In data sets where extreme values are present or where you want each point to count evenly, the mean absolute deviation gives a steadier picture of typical spread.

MAD is also easier to interpret for a general audience. Because it stays in the original units, you can say that the values in a set are, on average, a certain number of units away from the mean. The standard deviation, after squaring and then taking a square root, lands back in the original units too, but the path through squaring makes the figure less intuitive to explain. A person reading a report can grasp an average distance more readily than a root mean of squared distances.

Consider the worked example 4, 8, 6, 5, 9, 4, which has mean 6.00, absolute deviations summing to 10.00, and MAD 1.67. Another set, 10, 12, 14, 16, 18, has mean 14.00, deviations summing to 12.00, and MAD 2.40. A third set, 2, 3, 3, 4, 4, 4, 5, 7, has mean 4.00 and MAD 1.00. In each case the MAD is expressed in the same units as the original data, and each value contributes its plain distance from the mean, with no squaring step.

This calculator uses the population form, dividing by n. That choice matters when comparing results across sources, since a sample form dividing by n minus one will give a slightly larger value. For the purpose of comparing MAD with the standard deviation, the key distinction remains the treatment of deviations: absolute values keep every distance on its original scale, while squaring amplifies the effect of the largest distances.

Data setMeanSum of absolute deviationsMAD
4, 8, 6, 5, 9, 46.0010.001.67
10, 12, 14, 16, 1814.0012.002.40
2, 3, 3, 4, 4, 4, 5, 74.00—1.00
MAD stays in the original units and treats each deviation as a plain distance, which makes it easier to explain and less sensitive to outliers than the standard deviation.

Where MAD is used

Mean absolute deviation shows up in three practical areas where a straightforward measure of spread is needed. Because MAD uses absolute values, deviations never cancel out. The result is always non-negative and is expressed in the same units as the original data, which makes it easy to interpret in real-world contexts.

In middle-school statistics standards, MAD is one of the first measures of variability students encounter. It gives learners a concrete way to see how spread out a data set is around its mean. Teachers often use small worked examples to build intuition. For the set 4, 8, 6, 5, 9, 4, the mean is 6.00, the absolute deviations sum to 10.00, and the MAD is 1.67. For 2, 3, 3, 4, 4, 4, 5, 7, the mean is 4.00 and the MAD is 1.00. Students can see that the second set is tighter around its mean, even though both sets contain eight or fewer values. Another common classroom example, 10, 12, 14, 16, 18, has a mean of 14.00, deviations summing to 12.00, and a MAD of 2.40.

MAD is also used in forecast accuracy, where it is a close cousin of mean absolute error. Analysts compare predicted values to actual outcomes and average the absolute differences. Because MAD is less sensitive to extreme values than the standard deviation—deviations are not squared—it provides a steadier picture of typical error size when a few large misses would otherwise dominate. This is the population form, dividing by n, which suits situations where the full set of observed errors is being summarized rather than sampled from a larger process.

In quality control, the same property matters. A production line turning out parts with a target length wants to know how far typical pieces sit from the target. Mean absolute deviation gives teams a readable number in the same units as the parts themselves. When an outlier appears from a single bad batch, MAD does not let that one extreme value overwhelm the overall picture the way a squared measure might, making it a practical first check for consistency.

FAQs

What does mean absolute deviation tell you?

It shows the typical distance between the data values and their mean. For example, a MAD of 1.67 means values sit about 1.67 units from the mean on average. This gives you a straightforward sense of how spread out your data is around the center.

How is MAD different from standard deviation?

MAD averages absolute deviations, while standard deviation averages squared deviations and then takes a root. Because standard deviation squares the deviations first, it punishes outliers more heavily than MAD does. MAD therefore gives a more balanced picture of typical spread.

Can MAD be zero?

Only when every value equals the mean, that is, when all values in the set are identical. If any single value differs from the mean, the absolute deviation for that value will be positive, making the overall MAD greater than zero.

Do you divide by n or n - 1 for MAD?

The school and descriptive-statistics convention divides by n, the number of values, as in the worked examples. This matches the idea of finding the average distance from the mean for the data you actually have, rather than estimating spread for a larger population.

What is the MAD of 2, 3, 3, 4, 4, 4, 5, 7?

The mean is 4.00 and the MAD is 1.00, a tightly clustered set. Each value sits about one unit from the mean on average, showing that most of the data points are close to the center with relatively little spread.

Is MAD in the same units as the data?

Yes; unlike variance, MAD is measured in the original units, which makes it easy to explain. If your data is in dollars, the MAD is also in dollars, so you can describe the typical deviation in terms people understand without converting back from squared units.

Sources

Related calculators

Quartile Calculator
First quartile, median, third quartile and the interquartile range for up to eight numbers — Tukey hinge method, with the 1.5 × IQR outlier fences applied.
Standard Deviation Calculator
Mean, sample and population standard deviation and variance for up to eight numbers — with the n versus n−1 difference explained.
Variance Calculator
Sample and population variance for up to eight values, with both standard deviations and the full sum-of-squares workings.
Average Calculator
Mean, median, mode, range, sum and count for 2 to 8 numbers — the full descriptive-statistics starter set in one pass.