Intermediate

Median Absolute Deviation Calculator — Robust Spread Measure

Enter a list of numbers and get the median absolute deviation (MAD) — the median of how far each value sits from the dataset median — along with the robust standard deviation estimate, mean, and population standard deviation.
Separate values with commas, spaces, or semicolons
Median Absolute Deviation (MAD)
0.5000

Median of |xᵢ − median| — a robust spread measure

Count (n)
8
Median
4.5
Mean (x̄)
5
Min / Max
2 / 9
Robust σ (MAD / 0.6745)
0.7413
Population std dev (σ)
2
−MAD+MADNormal distribution centred on the median; shaded band = ±MAD
Step by step
  1. 1

    Median of dataset

    4.5
    The middle value of the sorted data; used as the center for computing deviations.
  2. 2

    MAD = median(|xᵢ − median|)

    median(|xᵢ − 4.5|) = 0.5000
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

Median Absolute Deviation = median(|xᵢ − median(x)|). Compute the median, find each value's absolute distance from it, then take the median of those distances. For normally distributed data, MAD ≈ 0.6745 σ, so divide by 0.6745 for a robust σ estimate. MAD resists outliers better than standard deviation.

Formula
MAD = median(|xᵢ − median(x)|) • Robust σ = MAD / 0.6745
How this is calculated

The median absolute deviation (MAD) measures spread by centering on the median rather than the mean. First the median of all values is found. Then the absolute deviation of each value from that median is computed: |xᵢ − median|. Finally, the median of those absolute deviations is taken — that is the MAD.

MAD is more robust than the standard deviation or the mean absolute deviation (MAD from the mean) because both the center and spread are computed using medians, which are unaffected by a small fraction of extreme outliers. Under a normal distribution, the relationship MAD ≈ 0.6745 × σ holds, so dividing MAD by 0.6745 gives a robust estimate of the population standard deviation σ — useful when you suspect contamination or heavy tails.

The calculator also reports the arithmetic mean and population standard deviation (σ, dividing by n) for comparison. When the data is symmetric and outlier-free the two spread measures agree closely; a large gap between MAD/0.6745 and σ is a signal that outliers or skewness are inflating the classical deviation.

Frequently asked questions

This calculator computes the median of |xᵢ − median|, which is the classic "Median Absolute Deviation." Some sources instead compute the mean of |xᵢ − mean|, which is sometimes called "Mean Absolute Deviation." Both use "MAD" as an abbreviation, but the median-based version is the more robust of the two.

Under a normal distribution, the expected MAD equals 0.6745 σ. Dividing by this factor re-scales MAD to be a consistent estimator of σ. The scaling factor (Φ⁻¹(3/4) ≈ 0.6745) comes from the inverse normal CDF at the 75th percentile.

Use MAD when your data may contain outliers or is from a heavy-tailed distribution. It is popular in robust statistics, anomaly detection, and fields such as finance where extreme values are common but should not dominate the spread measure.

Also known as

median absolute deviation
mad from median
robust spread measure
outlier resistant dispersion
mad formula statistics
median deviation calculator
robust standard deviation estimate

APA

TG we-Calculate Editorial Team. (2026). Median Absolute Deviation Calculator — Robust Spread Measure [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/median-absolute-deviation-calculator

Chicago

TG we-Calculate Editorial Team. "Median Absolute Deviation Calculator — Robust Spread Measure." TG we-Calculate. 2026. https://we-calculate.com/calculator/median-absolute-deviation-calculator.

IEEE

TG we-Calculate Editorial Team, "Median Absolute Deviation Calculator — Robust Spread Measure," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/median-absolute-deviation-calculator

BibTeX

@misc{wecalculate_median_absolute_deviation_calculator, title = {Median Absolute Deviation Calculator — Robust Spread Measure}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/median-absolute-deviation-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?