mean absolute deviation calculator

Mean Absolute Deviation Calculator

Paste your numbers to get the mean absolute deviation (MAD) — the average distance of each value from the mean — with every step of the working shown so you can follow or check the maths.

How mean absolute deviation works

The mean absolute deviation measures spread in three steps. First find the mean of your numbers. Then find how far each number is from that mean, ignoring whether it is above or below (the absolute value). Finally, average those distances. The result is in the same units as your data: a MAD of 1.5 on test scores means scores typically sit 1.5 marks from the average.

MAD versus standard deviation

Both measure spread, but they punish outliers differently. Standard deviation squares each distance, so one wild value drags it up sharply. MAD treats every distance equally, which makes it the steadier choice when your data has outliers or you want a plain-language summary of typical variation. For roughly normal data without outliers, the two tell a similar story.

Frequently asked questions

What is a good MAD value?

There is no universal good or bad — it depends on your data. A MAD of 1.5 on exam scores out of 100 is tiny; on a 1-to-5 rating scale it is large. Compare it to the mean and the range of your own numbers.

Can MAD be zero?

Yes, when every number is identical. Then each distance from the mean is zero and the average of the distances is zero.

Why use absolute values instead of just averaging the differences?

Plain differences cancel out: values above the mean offset values below it, and the average difference from the mean is always zero. Absolute values stop the cancelling so the spread survives.

How is this different from mean absolute error?

Mean absolute error compares predictions against actual outcomes. Mean absolute deviation compares data points against their own mean. Same averaging idea, different reference point.

Is my data sent anywhere?

No. The calculation runs in your browser on what you paste. Nothing leaves the page.

See also: Free Online Calculators and Tools, Histogram Maker and Race Pace Calculator.

Mean absolute deviation calculator: a worked example

Take the default data: 4, 8, 6, 5, 3, 7. The mean is 33 divided by 6 = 5.5. Distances from the mean are 1.5, 2.5, 0.5, 0.5, 2.5 and 1.5, which sum to 9. Divide by 6 and the MAD is 1.5 — the typical value sits one and a half units from the average. The working table above shows this row by row for any data you paste. Paste any dataset into the mean absolute deviation calculator above and the table updates row by row.

MAD shines when one number is far from the rest. Add 100 to the default data and the MAD rises to about 23.1 while the standard deviation jumps past 33 — the squaring in the standard deviation lets the single outlier dominate. When you want the outlier to count but not to rule, MAD is the calmer measure.

Should I use MAD or standard deviation?

Use MAD when your data has outliers you want to keep but not over-weight — income data, response times, or any skewed sample. Use standard deviation when your data is roughly symmetric and you want the conventional measure most textbooks quote. The worked example above shows how transparent the MAD calculation is: every step is visible in the table.