Mean Absolute Deviation- Statistics Example and Guide

What Is Mean Absolute Deviation?

Mean Absolute Deviation (MAD) tells you how spread out a set of numbers is. Unlike variance or standard deviation, MAD doesn't square the differences—it just takes the absolute values. That makes it easier to interpret in plain English.

Here's the plain definition: MAD is the average distance between each data point and the mean of the dataset.

Lower MAD = data points clustered tightly around the mean.

Higher MAD = data points scattered further away.

Why Use Mean Absolute Deviation Instead of Standard Deviation?

Standard deviation squares deviations, which makes outliers weigh more heavily in the calculation. MAD treats all deviations equally.

That difference matters in certain situations:

Standard deviation is still more common in academic statistics and hypothesis testing. MAD is popular in quality control, forecasting, and descriptive analytics.

The Formula

MAD = (Σ |xi - x̄|) / n

Where:

That's it. No squaring, no square roots. Just absolute differences averaged out.

Step-by-Step Example

Let's calculate MAD for this dataset: 4, 6, 8, 10, 12

Step 1: Find the Mean

(4 + 6 + 8 + 10 + 12) / 5 = 40 / 5 = 8

Step 2: Calculate Each Deviation from the Mean

Step 3: Average the Absolute Deviations

(4 + 2 + 0 + 2 + 4) / 5 = 12 / 5 = 2.4

The MAD is 2.4. On average, each data point sits 2.4 units away from the mean.

Comparing MAD with Other Dispersion Measures

MeasureFormula ComplexityOutlier SensitivityInterpretability
Mean Absolute DeviationSimpleLowHigh
Standard DeviationModerateHighModerate
VarianceModerateHighLow
Interquartile RangeSimpleVery LowModerate

MAD wins on interpretability and robustness. Standard deviation wins when your analysis assumes normal distribution and you need inferential statistics.

How to Calculate MAD in Excel, Google Sheets, and Python

Excel / Google Sheets

Use the formula: =AVEDEV(range)

Example: If your data is in cells A1 through A10, type =AVEDEV(A1:A10)

That's the built-in function for MAD. No manual calculation required.

Python with NumPy

import numpy as np

data = [4, 6, 8, 10, 12]
mad = np.mean(np.abs(data - np.mean(data)))
print(mad)

Output: 2.4

Python with Pandas

import pandas as pd

df = pd.DataFrame({'values': [4, 6, 8, 10, 12]})
mad = (df['values'] - df['values'].mean()).abs().mean()
print(mad)

Both approaches give you the same result. Pandas is useful when working with DataFrames.

When MAD Is the Wrong Choice

MAD isn't always the best tool. Here's when to avoid it:

Real-World Applications

MAD shows up in practical work more than most people realize:

The Bottom Line

Mean Absolute Deviation is a straightforward way to measure spread. It tells you the average distance from the mean without giving extra weight to outliers.

Use it when you need interpretability and robustness. Use standard deviation when you're doing inferential statistics or need mathematical properties MAD doesn't offer.

For most business analytics and descriptive reporting, MAD does the job fine. The formula is simple, the interpretation is clean, and calculating it takes seconds once you know what you're doing.