Median Absolute Deviation Calculator

Use this tool to find the median absolute deviation (MAD) of a dataset. It is a robust measure of variability that is less affected by extreme outliers.

Enter numbers separated by commas or spaces.

What is Median Absolute Deviation?

The median absolute deviation (also abbreviated as MAD) is a robust measure of the variability or spread of a univariate dataset. It is the median of the absolute deviations from the data's median.

Because it relies on the median rather than the mean, the median absolute deviation is much less sensitive to extreme outliers than the standard deviation or mean absolute deviation.

Median Absolute Deviation Formula

MAD = median(|x_i - median(X)|)

Where:

  • X is the entire dataset
  • median(X) is the median of the dataset
  • x_i is each individual data value
  • |x_i - median(X)| is the absolute value of the difference (distance)

When to Use Median Absolute Deviation?

You should prefer the median absolute deviation over standard deviation when:

  • Your dataset has severe outliers.
  • The distribution is highly skewed.
  • You want a descriptive statistic that represents the "typical" deviation from the center, ignoring extreme values.