Mean Absolute Deviation Calculator Formula
Understand the math behind the mean absolute deviation calculator. Each variable explained with a worked example.
Formulas Used
Mean Absolute Deviation
mad = (abs(v1 - mn) + abs(v2 - mn) + abs(v3 - mn) + abs(v4 - mn)) / 4Mean
mean_val = mnVariables
| Variable | Description | Default |
|---|---|---|
v1 | Value 1 | 3 |
v2 | Value 2 | 6 |
v3 | Value 3 | 9 |
v4 | Value 4 | 12 |
mn | Derived value= (v1 + v2 + v3 + v4) / 4 | calculated |
How It Works
How to Calculate Mean Absolute Deviation
Formula
MAD = (1/n) * Sum of xi - mean
For each value, find the absolute difference from the mean, then average those differences. Unlike variance, MAD does not square the deviations, making it less sensitive to outliers and easier to interpret: it is literally the average distance from the mean.
Worked Example
Find the MAD of 3, 6, 9, 12.
- 01Mean = (3 + 6 + 9 + 12) / 4 = 30 / 4 = 7.5
- 02Absolute deviations: |3-7.5|=4.5, |6-7.5|=1.5, |9-7.5|=1.5, |12-7.5|=4.5
- 03Sum of absolute deviations = 4.5 + 1.5 + 1.5 + 4.5 = 12
- 04MAD = 12 / 4 = 3
Frequently Asked Questions
How does MAD differ from standard deviation?
MAD uses absolute deviations while SD uses squared deviations. MAD is more robust to outliers and easier to interpret, but SD has nicer mathematical properties for theoretical statistics.
Is MAD always smaller than standard deviation?
For most distributions, yes. For a normal distribution, MAD ≈ 0.7979 * SD. Squaring in SD amplifies large deviations, making SD generally larger.
When should I use MAD?
Use MAD when you want a robust, easily interpretable measure of spread, especially if outliers are present or the distribution is non-normal.
Ready to run the numbers?
Open Mean Absolute Deviation Calculator