What median absolute deviation tells you
Median absolute deviation (MAD) is a robust measure of spread. Instead of measuring distances from the arithmetic mean and averaging them, it measures absolute distances from the median and takes the median of those distances.
Because up to half the data can be arbitrarily extreme without moving the median, median absolute deviation is widely used in outlier detection, lab quality control, and robust statistics. NIST e-Handbook, section 1.3.5.6 Measures of Scale reserves the acronym "MAD" specifically for this median-based measure and refers to the mean-based version as "average absolute deviation."
The formula
Given a numeric sample x1, x2, ..., xn with sample median M = median(x):
To use MAD as a consistent estimator of standard deviation for normally distributed data, multiply by the constant 1.4826: Scaled MAD = 1.4826 × MAD.
Step-by-step example
Consider the outlier data set 3, 5, 6, 8, 40:
Finding Median Absolute Deviation for 3, 5, 6, 8, 40
- Find the sample median: The sorted values are
3, 5, 6, 8, 40, so the middle value isM = 6. - Find each absolute deviation from 6:
|3 − 6| = 3,|5 − 6| = 1,|6 − 6| = 0,|8 − 6| = 2,|40 − 6| = 34. - Sort the absolute deviations:
0, 1, 2, 3, 34. - Take the median of the deviations: The middle value is 2. (Scaled MAD:
2 × 1.4826 = 2.9652.)
Compare that to the Mean Absolute Deviation Calculator on the exact same numbers: mean absolute deviation jumps to 11.04 because 40 pulls the mean up to 12.4, while median absolute deviation stays at 2.
FAQ
What is the difference between mean and median absolute deviation?
Mean absolute deviation averages distances from the mean; median absolute deviation takes the median of distances from the median, which resists extreme outliers.
What is the 1.4826 scaled MAD?
Multiplying median absolute deviation by 1.4826 makes it a consistent estimator of standard deviation for normally distributed data.
Can median absolute deviation equal zero?
Yes. If at least half of the observations are identical to the median, the median of the absolute deviations is 0.
References & Methodology
- NIST e-Handbook, section 1.3.5.6 Measures of Scale
- Convert & Count Methodology & Mathematical Conventions
Calculations use standard 64-bit IEEE 754 floating-point arithmetic. Display values may be rounded for readability.