STATISTICSDescriptive StatisticsStatistics Calculator
📊

Mean Absolute Deviation Calculator

Free mean absolute deviation (MAD) calculator. Compute MAD about mean or median, compare to SD, see

Run CalculatorExplore data analysis and statistical calculations

Why This Statistical Analysis Matters

Why: Statistical calculator for analysis.

How: Enter inputs and compute results.

MAD
STATISTICSDescriptive Statistics

Mean Absolute Deviation — MAD about Mean or Median

Robust alternative to SD. MAD about mean vs median. Relationship to standard deviation. Relative MAD for cross-dataset comparison.

Real-World Scenarios — Click to Load

Data Input

mad_results.sh
CALCULATED
$ mad --center="mean" --n=10
MAD
6.0000
Mean
84.0000
Median
84.0000
SD (sample)
7.3937
MAD (mean)
6.0000
MAD (median)
6.0000
MAD/SD
0.8115
normal ≈ 0.7979
Relative MAD
7.14%
Share:
Mean Absolute Deviation
MAD = 6.0000
6.000
Center: meanMAD/SD: 0.812Relative: 7.1%
numbervibe.com/calculators/statistics/mean-absolute-deviation-calculator

MAD vs SD Comparison

Data Values with Center Line

Absolute Deviations |xᵢ − center|

Calculation Breakdown

COMPUTATION
Center (chosen)
84.0000
x̄ = Σx/n = 84.0000
COMPUTATION
Absolute deviations
Σ|xᵢ − center|
For each xᵢ: |xᵢ − 84.00|
RESULT
MAD
6.0000
MAD = Σ|xᵢ − center|/n = 6.0000
COMPARISON
MAD (about mean)
6.0000
ext{Average} ext{absolute} ext{deviation} ext{from} ext{mean}
COMPARISON
MAD (about median)
6.0000
ext{Robust} ext{to} ext{outliers}
COMPARISON
SD (sample)
7.3937
√(\text{Sigma} (x-x̄)^{2}/(n-1))
INTERPRETATION
MAD/SD ratio
0.8115
ext{For} ext{normal}: approx 0.7979
INTERPRETATION
Relative MAD
7.14%
( ext{MAD}/|x̄|) imes 100%

For educational and informational purposes only. Verify with a qualified professional.

Key Takeaways

  • MAD about mean: MAD_mean = Σ|xᵢ − x̄|/n — average absolute deviation from the mean
  • MAD about median: MAD_median = Σ|xᵢ − median|/n — robust to outliers
  • Relationship to SD: For normal distributions, MAD ≈ 0.7979 × SD
  • Relative MAD: MAD/mean × 100% — compare variability across scales
  • Use MAD when: Data has outliers; you want a robust measure of spread

Did You Know?

📐MAD uses absolute values instead of squares, so it is less sensitive to outliers than standard deviation.Source: Robust Statistics
🔢The constant 0.7979 comes from the normal distribution: E[|X−μ|]/σ = √(2/π) ≈ 0.7979.Source: NIST Handbook
📊MAD about the median is always ≤ MAD about the mean for any dataset.Source: Optimization theory
🧪In robust statistics, MAD is used as a scale estimator for outlier-resistant methods.Source: Hampel et al.
📈Relative MAD (MAD/mean × 100%) is analogous to the coefficient of variation (CV).Source: Descriptive stats
🎯MAD minimizes sum of absolute deviations; mean minimizes sum of squared deviations.Source: L1 vs L2

How MAD Works

Step 1: Choose a Center

Use the mean (x̄) or the median. Mean is standard; median is more robust.

Step 2: Compute Deviations

For each value xᵢ, find |xᵢ − center|. Absolute value ensures all deviations are positive.

Step 3: Average the Deviations

MAD = Σ|xᵢ − center| / n. This gives the average distance from the center.

MAD vs Standard Deviation

PropertyMADSD
UsesAbsolute deviationsSquared deviations
Outlier sensitivityRobustSensitive
UnitsSame as dataSame as data
For normal dataMAD ≈ 0.7979 × SDSD

Expert Tips

When to Use MAD

Use MAD when your data has outliers or is skewed. SD can be inflated by a few extreme values.

Mean vs Median Center

MAD about median is more robust. MAD about mean matches the classical definition and relates to SD.

Frequently Asked Questions

What is the relationship between MAD and SD for normal data?

For a normal distribution, MAD ≈ 0.7979 × SD. The constant √(2/π) ≈ 0.7979 comes from the expected value of |X−μ| when X is standard normal.

Why use MAD instead of standard deviation?

MAD is robust to outliers. A single extreme value can greatly inflate SD, but has limited effect on MAD. Use MAD when your data may contain outliers.

What is relative MAD?

Relative MAD = (MAD / mean) × 100%. It allows comparing variability across datasets with different units or scales, similar to the coefficient of variation.

MAD about mean vs median?

MAD about the median is always ≤ MAD about the mean. The median minimizes the sum of absolute deviations. Use median when you want maximum robustness.

Can MAD be zero?

Yes. MAD is zero when all values are identical (no variation).

How does MAD compare to IQR?

Both are robust. IQR uses quartiles; MAD uses absolute deviations from center. MAD is simpler to interpret as an average distance.

MAD by the Numbers

0.7979
MAD/SD for normal
√(2/π)
Theoretical factor
L1
MAD minimizes
L2
SD minimizes

Disclaimer: MAD is a robust measure of spread. For normally distributed data, the 0.7979 factor relates MAD to SD. Use appropriate measures for your data distribution.

👈 START HERE
⬅️Jump in and explore the concept!
AI

Related Calculators