How to use this calculator
Free Median absolute deviation calculator. Measure robust spread by finding the median distance from the data median.
- Enter Observations, comma-separated. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Spread around the median, with less pull from extremes
The median absolute deviation (MAD) is built from distances to the sample median. Because both steps use medians, a single faraway observation usually has less influence than it has on the standard deviation.
Inputs for this calculation
- Observations, comma-separated: Provide a numeric reference sample; all values should be on the same measurement scale.
Formula and method
First find m = median(x). Then calculate the raw MAD = median(|xᵢ − m|). This page also reports a normal-scaled version, 1.4826 × raw MAD, which is on the standard-deviation scale when the data are approximately normal.
Worked example
For 4, 6, 7, 8, 10, 12, 40, the median is 8. The absolute deviations sort to 0, 1, 2, 2, 4, 4, 32, so raw MAD = 2 and the normal-scaled value is 1.4826×2 = 2.9652, displayed as 2.97.
Reading the result
The raw MAD says a typical absolute distance from the median is 2 units. The scaled value is useful when comparing a robust spread estimate with a standard deviation, but it is not a correction for every non-normal distribution.
Assumptions and limits
If most observations are identical, MAD can be zero even when a few values differ. In that case it cannot serve as a nonzero scale denominator for a robust z-score.
Method references
Frequently asked questions
Why show both raw and scaled MAD?
The raw MAD is a direct median distance. Multiplying by 1.4826 makes it comparable to standard deviation under a normal model; the raw value remains the less assumption-dependent description.
How do I use the Median absolute deviation calculator?
Enter Observations, comma-separated. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Median absolute deviation?
For 4, 6, 7, 8, 10, 12, 40, the median is 8. The absolute deviations sort to 0, 1, 2, 2, 4, 4, 32, so raw MAD = 2 and the normal-scaled value is 1.4826×2 = 2.9652, displayed as 2.97.
What does the Median absolute deviation calculator calculate?
Free Median absolute deviation calculator. Measure robust spread by finding the median distance from the data median.
What assumptions apply to Median absolute deviation?
If most observations are identical, MAD can be zero even when a few values differ. In that case it cannot serve as a nonzero scale denominator for a robust z-score.