Mean Absolute Deviation Calculator: MAD With Steps
The mean absolute deviation (MAD) is the average distance of the values from their mean. A small MAD means the data are bunched together; a big one means they're spread out.
- Every step
- Median absolute deviation too
- Paste a column
- Mean5
- Distances from 53, 1, 1, 1, 0, 0, 2, 4
- Sum of distances12
- Count8
To find the mean absolute deviation, work out the mean, find how far each value is from it (ignoring whether it's above or below), and average those distances. As a formula, MAD = Σ|x − x̄| ÷ n, where Σ means "add up", x̄ ("x-bar") is the mean and n is how many values there are. For 2, 4, 4, 4, 5, 5, 7, 9 that's (3 + 1 + 1 + 1 + 0 + 0 + 2 + 4) ÷ 8 = 1.5, so on average the values sit 1.5 away from the mean of 5. This mean absolute deviation calculator shows each step and also gives the median absolute deviation.
How to Find the Mean Absolute Deviation
- Find the mean: add the values, 2 + 4 + 4 + 4 + 5 + 5 + 7 + 9 = 40, then divide by how many there are: 40 ÷ 8 = 5.
- Find each distance from the mean, dropping minus signs: |2 − 5| = 3, |4 − 5| = 1, and so on, giving 3, 1, 1, 1, 0, 0, 2, 4.
- Add the distances: 12.
- Divide by how many values there are: 12 ÷ 8 = 1.5.
When the mean isn't a whole number, the steps are the same. For 3, 6, 6, 9, 10 the mean is 34 ÷ 5 = 6.8, the distances are 3.8, 0.8, 0.8, 2.2 and 3.2, they add up to 10.8, and the MAD is 10.8 ÷ 5 = 2.16. The calculator shows up to 4 decimal places.
The Common Core standards name the mean absolute deviation, along with the interquartile range, as a way for grade 6 students to describe variability (6.SP.B.5c). NIST's handbook calls the same formula the average absolute deviation (NIST/SEMATECH e-Handbook, 1.3.5.6).
"MAD" Can Mean Two Things
In school math, MAD means the mean absolute deviation, the average distance from the mean. In NIST's statistics handbook, MAD means the median absolute deviation: the median of the distances from the median (NIST, 1.3.5.6). They're different numbers: for 2, 4, 4, 4, 5, 5, 7, 9 the mean absolute deviation is 1.5, but the median absolute deviation is 0.5 (the median is 4.5, and the middle distance from it is 0.5). The calculator shows both, so check which one your assignment or software means. In Excel, AVEDEV returns the mean absolute deviation, the one used in school (Microsoft Support, AVEDEV function). Some statistics programs scale the median absolute deviation, so their number can differ from both.
Comparing Two Data Sets With MAD
In grade 7, MAD is used to compare two groups: you measure the gap between their means in MADs (Common Core 7.SP.B.3). The standard's own example compares basketball and soccer players' heights: the mean heights differ by 10 cm, about twice the MAD of either team. As a rough guide, a gap of a few MADs means the groups noticeably differ, while a gap under one MAD means they overlap a lot. Find each group's mean and MAD here, then divide the difference of the means by the MAD (when the two MADs are similar, as in the standard's example, either one works).
MAD, Variance and Standard Deviation
All three measure how spread out the data are. MAD averages the plain distances. Variance averages the squared distances, and the standard deviation is the square root of the variance. Squaring makes far-out values count more, so an outlier pulls the standard deviation up more than the MAD. For 1, 2, 3, 4, 10 the MAD is 2.4, while the standard deviation (dividing by n) is 3.1623. Use the variance calculator or the standard deviation calculator for those.
Frequently Asked Questions
What is the formula for mean absolute deviation?
MAD = Σ|x − x̄| ÷ n: the sum of the distances of each value from the mean, divided by the number of values.
What does the mean absolute deviation tell you?
How far, on average, the values are from the mean. A small MAD means the data are bunched close to the mean; a large one means they're spread out.
Can the mean absolute deviation be 0?
Only when every value is the same, so each one sits exactly on the mean.
Is MAD the same as standard deviation?
No. Both measure spread, but the standard deviation squares the distances before averaging. For the same data, the standard deviation (dividing by n) is never smaller than the MAD, and the gap grows when there are outliers.
More tools: the percentile calculator for quartiles and the IQR, the mean, median, mode calculator, the z-score calculator and all the math calculators.
Sources
- Common Core State Standards for Mathematics, 6.SP.B.5c and 7.SP.B.3
- Microsoft Support, AVEDEV function
- NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.5.6 Measures of Scale (average absolute deviation; median absolute deviation)
- Formulas and test cases: how we calculate