Median Absolute Deviation Calculator

Calculate median absolute deviation (MAD), a robust measure of statistical spread that resists outliers.

Median Absolute Deviation Calculator
Enter numbers to find their median, absolute deviations, and median absolute deviation.

About median absolute deviation

Median absolute deviation, commonly abbreviated MAD, measures the typical distance of observations from their median. It is a robust measure of statistical dispersion, meaning that a small number of exceptionally high or low values have limited influence on the answer. This property makes MAD valuable for skewed distributions, noisy measurements, and data sets where outliers are possible or meaningful. To calculate MAD, first sort the observations and find their median. Next, compute the absolute distance from every observation to that median. Sort those distances and find their median. The resulting number is the median absolute deviation. For the values 1, 2, 3, 5, and 100, the center is 3. Their absolute distances are 2, 1, 0, 2, and 97. The median distance is 2, so the MAD is 2 even though one observation is extremely far away. This stability contrasts with measures centered on the arithmetic mean. An outlier affects the mean itself and can then enlarge many distances measured from that shifted center. Variance and standard deviation also square deviations, which gives extreme observations additional weight. Median absolute deviation depends on ranks and the middle distance, so fewer than half of the observations can change dramatically without forcing the statistic to change dramatically. Robustness is useful in many settings. A network monitoring system can summarize normal response-time variability without allowing a few outages to dominate the baseline. A laboratory can describe repeated measurements while retaining unusual readings for investigation. Financial analysts can assess typical changes in data that occasionally exhibit large jumps. MAD can also support outlier detection by comparing each observation's distance from the median with a multiple of the statistic. Some statistical software reports a scaled MAD, usually multiplying the raw result by approximately 1.4826. Under a normal distribution, that scaled value estimates the population standard deviation. This calculator reports the unscaled, raw median absolute deviation so the displayed result follows the direct definition: median(|xi − median(x)|). If a method requires the consistency-scaled version, multiply this result by the factor specified by that method. Do not confuse median absolute deviation with mean absolute deviation. They share the abbreviation MAD, but mean absolute deviation averages distances from the arithmetic mean, whereas this statistic takes the median of distances from the median. Enter integers, decimals, or negative values separated by commas or spaces. The result panel includes the center and sorted absolute deviations, making the robust calculation easy to inspect and verify.

Median absolute deviation examples

These examples illustrate how MAD describes typical spread while limiting outlier influence.

Data setMADCalculation
1, 2, 3, 5, 1002Median 3 produces distances 0, 1, 2, 2, and 97; their median is 2.
2, 4, 6, 82Median 5 produces distances 3, 1, 1, and 3; the middle-distance average is 2.
7, 7, 7, 70Every value equals the median, so all absolute distances are zero.
-5, -2, 0, 2, 52The center is zero and the sorted distances are 0, 2, 2, 5, and 5.

How to calculate median absolute deviation

  1. Enter or paste all observations, separating numbers with commas or spaces.
  2. Click Calculate to find the data median and every absolute distance from it.
  3. Review the median of those distances as the MAD and inspect the sorted deviations.
  4. Click Reset to clear the field before analyzing another data set.

Median absolute deviation FAQ

Why is median absolute deviation robust?

It depends on the middle observation and the middle distance rather than an arithmetic average. A few extreme values therefore cannot dominate the result.

How is median absolute deviation calculated?

Find the data median, calculate each absolute distance from that center, and then find the median of those distances. This calculator displays both the center and the sorted distances.

Is MAD the same as standard deviation?

No. Standard deviation uses squared distances from the arithmetic mean, while MAD uses the median distance from the median. They measure spread differently and generally have different numerical values.

Should I multiply MAD by 1.4826?

Only if your statistical method requests a normal-consistency scaled estimate. The calculator reports raw MAD, so the scaling factor is not applied automatically.

Can median absolute deviation be zero?

Yes. A zero MAD means at least half of the observations have zero distance from the median. The data can still contain other, different values.