standarddeviationcalculator.net

Mean absolute deviation calculator

The mean absolute deviation is the average distance from the mean, without squaring. Enter your numbers to get it about both the mean and the median, alongside the standard deviation for comparison.

Separate values with commas, spaces, tabs or new lines — paste a column straight from a spreadsheet and it will parse. Decimals and negatives are fine.

Treat the data as
Mean absolute deviation 1.5
MAD about the mean1.5
MAD about the median1.5
Σ|x − x̄|12
Standard deviation2.13809
MAD ÷ SD0.7016
Count (n)8
Mean (x̄)5
Standard deviation2.13809
Variance4.57143
Sum40
Σ(x − x̄)²32
Standard error0.755929
Coefficient of variation0.427618
Relative SD (%RSD)42.7618%
Minimum2
Maximum9
Range7
Median (Q2)4.5
Q14
Q35.5
IQR1.5
x̄ = 5 −1σ +1σ -1.414 11.41

The shaded bands are one, two and three standard deviations either side of the mean. 6 of 8 values — 75% — fall inside the innermost band.

Show the working, step by step

The formula

MAD = Σ|x − x̄| / n

Find the mean, take the distance of each value from it, drop the minus signs, and average. That is the whole calculation — noticeably simpler than the standard deviation formula, and the reason MAD is often taught first.

Why the standard deviation won anyway

MAD is easier to compute and easier to explain, so its near-total absence from statistical practice needs an explanation. Three reasons:

The trade-off runs the other way when outliers are present, which is why MAD retains a place in forecasting and robust statistics.

A worked example

Data: 2, 4, 4, 4, 5, 5, 7, 9. The mean is 5.

xx − x̄|x − x̄|(x − x̄)²
2−339
4−111
4−111
4−111
5000
5000
7224
94416
Σ01232

MAD = 12 ÷ 8 = 1.5. The population standard deviation is √(32 ÷ 8) = 2. Both describe the same data; the SD is larger because the value at 9, four units out, contributed 16 to the squared column but only 4 to the absolute one.

Note the middle column summing to exactly zero. That is why some way of removing the signs — absolute values or squares — is unavoidable.

The ratio between them

For normally distributed data the two settle into a fixed relationship: MAD ≈ 0.7979 × σ, or σ ≈ 1.2533 × MAD. The calculator reports the MAD ÷ SD ratio for your own data, and a value far from 0.8 is a useful hint that your data is not normal — usually because outliers are inflating the standard deviation.

Related calculators

Common questions

What is the mean absolute deviation?

The average distance of each value from the mean, using absolute values rather than squares: MAD = Σ|x − x̄| / n. Like the standard deviation it measures spread, and it is in the same units as the data.

What is the difference between MAD and standard deviation?

Both stop deviations cancelling out, but by different means. MAD takes absolute values; the SD squares them, then square-roots at the end.

Squaring makes the SD weight far-out values much more heavily — a point twice as far from the mean contributes four times as much, not twice. So the SD is always the larger of the two, and the gap widens the more outliers you have.

Which should I use?

The standard deviation for almost anything feeding into further statistics — confidence intervals, t-tests, regression — because variances add and mean absolute deviations do not.

MAD when you want a plain, honest "average distance from the middle" that is easier to explain and less swayed by a single extreme value. It is also common in forecasting, where mean absolute error is the standard accuracy measure.

Should I measure deviations from the mean or the median?

From the mean by default, which is what "mean absolute deviation" normally means. The median version is always smaller — deviations about the median are mathematically minimal — and is more robust to outliers. This calculator reports both.

Is MAD the same as median absolute deviation?

No, and the shared abbreviation causes real confusion. Mean absolute deviation averages the distances. Median absolute deviation takes the median of them, and is a different, more robust statistic used for outlier detection.

Written and reviewed by our editorial team. Last updated . Method and sources: how these numbers are computed.