Mean Absolute Deviation Calculator | Calculate MAD

Use this Mean Absolute Deviation Calculator to quickly find the average distance of a set of values from its mean. Enter your numbers to calculate the mean absolute deviation (MAD) and understand how much your data varies around the average.

Whether you are studying statistics, checking homework, or analyzing a data set, this calculator makes calculating the mean absolute deviation simple. You can also use the result to better understand the spread of your data and learn how to calculate mean absolute deviation step by step.

What Is Mean Absolute Deviation?

Mean absolute deviation (MAD) is a measure of how far data values typically are from the mean of a dataset. It is calculated by finding the distance between each value and the mean, making those distances positive, and then finding their average.

In simple terms, mean absolute deviation tells you how much the values in a dataset vary around the mean. A smaller MAD means the values are generally closer to the mean. A larger MAD means the values are more spread out.

What Does “Absolute” Mean?

When you subtract the mean from a data value, the result can be positive or negative. For example, if a value is below the mean, its deviation is negative. If it is above the mean, its deviation is positive.

For MAD, we care about the distance from the mean, not the direction. Therefore, we use the absolute value of each deviation. This changes negative deviations into positive values while leaving positive deviations unchanged.

For example:

  • If a deviation is −4, its absolute value is 4.

  • If a deviation is +4, its absolute value is 4.

This prevents positive and negative deviations from canceling each other out. The absolute deviations are then averaged to find the mean absolute deviation from the mean.

Why Is Mean Absolute Deviation Useful?

MAD provides an easy-to-understand measure of data spread. Because it uses the average distance from the mean, it can help students compare datasets and see whether values tend to cluster near the average or are more widely spread.

The basic process is:

Find the mean → Find each deviation → Take the absolute value → Average the absolute deviations

This is also the key process to follow when calculating the mean absolute deviation by hand.

Mean Absolute Deviation Formula

The standard mean absolute deviation formula measures the average absolute distance between each data value and the dataset's mean.

MAD Formula
\[ \text{MAD}=\frac{\sum |x-\bar{x}|}{n} \]

Where:

  • x = an individual data value
  • x̄ = the mean of the dataset
  • |x − x̄| = the absolute deviation of a value from the mean
  • n = the total number of data values
  • Σ = the sum of all absolute deviations

The formula first finds how far each value is from the mean, removes the negative signs by using absolute values, adds those distances together, and divides the total by the number of values.

How to Calculate Mean Absolute Deviation

Learning how to calculate mean absolute deviation is straightforward when you follow the formula step by step. The process involves finding the mean, calculating each value's distance from that mean, and averaging those distances.

1

Find the Mean

First, calculate the mean of the dataset. Add all the data values together, then divide the total by the number of values.

\[ \text{Mean}= \frac{\text{Sum of all values}} {\text{Number of values}} \]

The mean provides the reference point used to measure the distance of every observation.

2

Find Each Deviation From the Mean

Subtract the mean from every data value:

\[ x-\bar{x} \]

Do this separately for each observation in the dataset. Some deviations may be positive, while others may be negative.

3

Take the Absolute Value

Next, take the absolute value of every deviation:

\[ |x-\bar{x}| \]

Absolute value represents distance, so the direction of the deviation does not matter. A deviation of −3 becomes 3, while a deviation of +3 remains 3.

This step ensures that negative and positive deviations do not cancel each other out.

4

Add the Absolute Deviations

Add all of the absolute deviations together:

\[ \sum |x-\bar{x}| \]

This gives you the total absolute deviation from the mean.

5

Divide by the Number of Values

Finally, divide the total absolute deviation by the number of data values:

\[ \text{MAD}= \frac{\sum |x-\bar{x}|}{n} \]

The result is the mean absolute deviation. It represents the average distance of the observations from the dataset's mean.

6

Interpret the Result

The MAD tells you the typical distance between the data values and the mean, using the same units as the original data.

What Does MAD Tell You?

A smaller MAD means the observations are typically closer to the mean. A larger MAD means the observations are typically farther from the mean.

The meaning of a particular MAD depends on the dataset and its context. MAD is therefore most useful when you interpret it alongside the values, units, and purpose of the data.

Mean Absolute Deviation Example

Let's work through a complete mean absolute deviation example using the dataset:

Dataset: 2, 4, 6, 8, 10

Step 1: Find the Mean

Add all five values and divide by 5:

\[ \bar{x}=\frac{2+4+6+8+10}{5} \]
\[ \bar{x}=\frac{30}{5}=6 \]

So, the mean is 6.

Step 2: Calculate Each Deviation

Subtract the mean from each value:

  • \(2-6=-4\)
  • \(4-6=-2\)
  • \(6-6=0\)
  • \(8-6=2\)
  • \(10-6=4\)

Step 3: Convert the Deviations to Absolute Values

Now take the absolute value of each deviation:

  • \(|-4|=4\)
  • \(|-2|=2\)
  • \(|0|=0\)
  • \(|2|=2\)
  • \(|4|=4\)

Step 4: Add the Absolute Deviations

Add all of the absolute deviations together:

\[ 4+2+0+2+4=12 \]

The total absolute deviation is 12.

Step 5: Divide by the Number of Values

There are 5 values in the dataset:

\[ \text{MAD}=\frac{12}{5}=2.4 \]
Therefore, the mean absolute deviation is 2.4.

Mean Absolute Deviation Table

Value Mean Deviation Absolute Deviation
2 6 −4 4
4 6 −2 2
6 6 0 0
8 6 2 2
10 6 4 4
Total — 0 12

The result means that the values in this dataset are 2.4 units away from the mean on average.

Calculating Mean Absolute Deviation by Hand

Calculating mean absolute deviation by hand follows a simple sequence:

Dataset → Mean → Deviations → Absolute Deviations → Sum → Divide

To calculate MAD manually:

  1. Write down the dataset.
  2. Find the mean by adding all values and dividing by the number of values.
  3. Subtract the mean from each value to find the deviations.
  4. Take the absolute value of every deviation.
  5. Add the absolute deviations together.
  6. Divide the total by the number of values.

Example With a Smaller Dataset

Consider the smaller dataset 3, 5, 7.

The mean is:

\[ \bar{x}=\frac{3+5+7}{3}=5 \]

The absolute deviations are:

\[ |3-5|=2,\quad |5-5|=0,\quad |7-5|=2 \]

Add them:

\[ 2+0+2=4 \]

Then divide by 3:

\[ \text{MAD}=\frac{4}{3}\approx1.33 \]
So, the mean absolute deviation is approximately 1.33.

This manual method works for any numerical dataset. Once you understand these steps, you can use the Mean Absolute Deviation Calculator to check your calculations quickly.

How to Calculate Mean Absolute Deviation From a Dataset

When you want to calculate mean absolute deviation from a dataset, work through the values in a fixed order. This helps reduce arithmetic mistakes and makes it easier to check each step.

Dataset: 4, 7, 9, 12, 13, 15

Step 1: Find the Mean

Add the six values and divide by 6:

\[ \bar{x}= \frac{4+7+9+12+13+15}{6} = \frac{60}{6} = 10 \]

The mean is 10.

Step 2: Find Each Absolute Deviation

Subtract 10 from every original value and take the absolute value:

Value Absolute Deviation
4 6
7 3
9 1
12 2
13 3
15 5

Step 3: Add and Divide

Add the absolute deviations:

\[ 6+3+1+2+3+5=20 \]

Then divide by the number of values:

\[ \text{MAD}=\frac{20}{6}\approx3.33 \]
So, the mean absolute deviation is approximately 3.33.
Tip

Keep the original data values and the calculated mean separate. Do not replace the original values with deviations. Writing the work in columns can help you avoid using the wrong number in a later step.

The complete workflow is:

Original dataset → Mean → Deviations → Absolute deviations → Sum → Divide by n → MAD

Mean Absolute Deviation vs. Standard Deviation

Both mean absolute deviation and standard deviation describe how values vary around the mean, but they calculate that variation differently.

Measure Basic Idea
Mean Absolute Deviation (MAD) Finds the average absolute distance of values from the mean.
Standard Deviation Uses squared deviations from the mean to measure variation.

For MAD, you find each deviation from the mean, take its absolute value, add the absolute deviations, and divide by the number of values.

Standard deviation instead squares each deviation, averages the squared deviations according to the chosen population or sample formula, and then takes the square root.

The key difference is therefore the treatment of deviations: MAD uses absolute deviations, while standard deviation uses squared deviations. Because of this difference, the two measures can produce different numerical values even when they describe the same dataset.

Mean Absolute Deviation vs. Mean Absolute Error

Mean absolute deviation (MAD) and mean absolute error (MAE) both involve absolute differences, but they are commonly used for different purposes.

Mean absolute deviation describes the dispersion of values within a dataset. It measures the average absolute distance between the observations and their mean.

Mean absolute error, on the other hand, is commonly used to evaluate predictions. It measures the average absolute difference between predicted values and actual values.

MeasureWhat It Commonly Measures
Mean Absolute Deviation (MAD)How far observations typically are from the dataset’s mean
Mean Absolute Error (MAE)How far predictions typically are from actual values

The terms can look similar because both use absolute differences. The key distinction is the reference point: MAD typically uses the dataset mean, while MAE typically compares predictions with actual outcomes.

What Does Mean Absolute Deviation Tell You?

Mean absolute deviation tells you the typical absolute distance of observations from the mean. It gives a numerical way to describe how closely or widely the values are distributed around the average.

Smaller MAD

A smaller MAD means the values are, on average, closer to the mean. The observations have a smaller typical absolute distance from the dataset’s average.

Larger MAD

A larger MAD means the values are, on average, farther from the mean. The observations have a greater typical absolute distance from the average.

MAD and Data Spread

MAD provides a measure of data spread by summarizing the typical absolute distance between observations and the mean.

For example, two datasets can have the same mean but different MAD values. The dataset with the larger MAD has observations that are typically farther from its mean.

Because MAD is expressed in the same units as the original data, its result can be interpreted directly as an average distance from the mean.

When Is Mean Absolute Deviation Used?

Mean absolute deviation is useful when you need a straightforward way to describe variation around a mean. It commonly appears in:

  • Statistics: Measuring the spread of observations around the average.

  • Mathematics: Practicing measures of central tendency and variability.

  • Data analysis: Summarizing how closely values cluster around a mean.

  • Comparing variability: Examining the typical distance from the mean across datasets.

  • Classroom statistics problems: Learning how absolute deviations are calculated and interpreted.

  • Understanding data distributions: Describing how spread out observations are around the center.

For students, MAD is especially useful because its calculation follows a clear sequence: find the mean, find each absolute deviation, add the deviations, and divide by the number of values.

How to Find Mean Absolute Deviation in Excel

If you already have a dataset in a spreadsheet, Excel can calculate mean absolute deviation with a simple sequence of formulas. Excel does not require a special built-in MAD function for this calculation. Instead, you can calculate the mean, find each absolute deviation, and then average those deviations.

For example, suppose your data values are stored in cells A2:A11.

Enter the Data

Start by entering each observation in a single column, with one value per cell.

For example:

CellValue
A212
A315
A418
A520
A622
A725
A827
A930
A1032
A1135

Keeping the observations in one column makes the formulas easier to apply and reduces the chance of skipping a value.

Calculate the Mean

Use Excel’s AVERAGE function to find the mean:

=AVERAGE(A2:A11)

This returns the arithmetic mean of all values in the selected range.

You can place the result in another cell, such as B2, and label it Mean. Keeping the mean in a separate cell makes the next calculation easier to check.

Calculate Absolute Deviations

Next, calculate how far each observation is from the mean.

If the mean is stored in B2, enter this formula in B3:

=ABS(A2-$B$2)

The ABS function returns the absolute value, so both positive and negative deviations become positive distances.

The dollar signs in $B$2 keep the mean cell fixed when you copy the formula down the column.

Then drag the formula down for all observations.

Your worksheet will now contain the original values and their corresponding absolute deviations.

Calculate MAD

Finally, average the absolute deviations.

If the absolute deviations are in B3:B12, use:

=AVERAGE(B3:B12)

The result is the mean absolute deviation for your dataset.

The complete Excel workflow is:

Enter data → AVERAGE() → ABS() → AVERAGE()

This method is useful for checking calculations or working with larger datasets. For a quick result without building spreadsheet formulas, you can enter the values directly into a Mean Absolute Deviation Calculator.

Common Mistakes When Calculating Mean Absolute Deviation

Small calculation errors can change the final MAD. Checking each stage of the process can help you avoid the most common mistakes.

Forgetting to Find the Mean First

MAD measures the average absolute distance from the mean. You must calculate the dataset’s mean before finding the deviations.

Do not calculate the distance from an arbitrary value or from the median unless the problem specifically asks for a different measure.

Using Signed Deviations Instead of Absolute Deviations

A common mistake is adding deviations such as −4, −2, 0, 2, and 4 directly.

Positive and negative deviations can cancel each other out. MAD instead uses absolute deviations:

∣−4∣=4,∣−2∣=2,∣2∣=2|-4|=4,\qquad |-2|=2,\qquad |2|=2

Always apply the absolute value before adding the deviations.

Dividing by the Wrong Number of Observations

After adding the absolute deviations, divide by the number of data values used in the dataset.

For example, if your dataset contains 8 observations, divide the total absolute deviation by 8.

Do not divide by the sum of the values, the mean, or the number of distinct values unless the specific problem calls for something else.

Rounding Too Early

Avoid rounding the mean or individual deviations before completing the calculation unless the instructions require it.

For example, if the exact mean is 12.6667, using 12.7 too early can slightly change every deviation and the final MAD.

Keep sufficient precision during the calculation and round the final answer at the end.

Confusing MAD With Standard Deviation

MAD and standard deviation both describe variation, but they are not calculated the same way.

MAD uses absolute deviations from the mean. Standard deviation uses squared deviations, averages them according to the relevant population or sample formula, and takes the square root.

Using a standard deviation formula when a problem asks for MAD will produce a different statistic.

Using the Wrong Formula for the Intended Statistic

Several statistics use the word “mean” and involve differences, so it is important to identify exactly what the problem asks you to calculate.

For mean absolute deviation from the mean, use:

MAD=∑∣x−xˉ∣n\text{MAD}=\frac{\sum|x-\bar{x}|}{n}

Here, you find the mean, calculate each absolute distance from that mean, add those distances, and divide by the number of observations.

If a question asks for mean absolute error (MAE), standard deviation, or another measure, use the formula appropriate to that statistic rather than substituting the MAD formula.

Mean absolute deviation gives you a simple way to understand how far values typically are from the mean of a dataset. To calculate it by hand, find the mean, determine each absolute deviation, add the deviations, and divide by the number of observations.

For larger datasets or a quick calculation, the Mean Absolute Deviation Calculator can save time and help you verify your work. Enter your values and use the result to understand the typical spread of your data around its mean.

Ready to calculate your result?

QUICK ANSWERS

Frequently Asked Questions About Mean Absolute Deviation

Find clear answers to common questions about the mean absolute deviation formula, calculations, interpretation, and Excel.

Mean absolute deviation (MAD) is a measure of how spread out the values in a dataset are around their mean. It represents the average absolute distance between each data value and the dataset's mean. A smaller MAD means the values are typically closer to the mean, while a larger MAD indicates greater typical distance from the mean.

To calculate mean absolute deviation, first find the mean of the dataset. Then subtract the mean from each value, take the absolute value of each difference, add the absolute deviations, and divide their total by the number of observations.

MAD = Σ|x − x̄| ÷ n

The standard formula for mean absolute deviation is MAD = Σ|x − x̄| ÷ n. Here, x is an individual data value, x̄ is the mean, n is the number of observations, and Σ means to add all the absolute deviations together.

To calculate MAD by hand, follow six steps: find the mean, subtract the mean from every value, take the absolute value of each deviation, add the absolute deviations, divide by the number of values, and interpret the result.

Keeping your work in separate columns for value, deviation, and absolute deviation can make the calculation easier to check.

MAD tells you the typical absolute distance of observations from the mean. It is a measure of spread expressed in the same units as the original data.

For example, a MAD of 4 means the observations are typically 4 units away from the mean, based on the absolute deviations.

There is no universal "good" mean absolute deviation. The meaning of a MAD depends on the scale, units, and context of the dataset.

A MAD of 5 could represent relatively little variation in one dataset but much more variation in another. MAD is best interpreted in relation to the original values and the purpose of the analysis.

No. MAD and standard deviation are different measures of variability. MAD uses the absolute differences from the mean and averages them.

Standard deviation uses squared differences from the mean, averages them according to the population or sample formula, and then takes the square root. Because they use different calculations, their numerical results are generally different.

You can calculate MAD in Excel by first finding the mean with AVERAGE, then calculating each absolute deviation with the ABS function. Finally, average the absolute deviations to obtain the MAD.

=AVERAGE(A2:A11)

If the mean is stored in B2, an absolute deviation can be calculated with:

=ABS(A2-$B$2)

Copy the formula down for all observations, then use AVERAGE on the absolute deviations.

No. Mean absolute deviation cannot be negative. Absolute deviations are zero or positive, and their average must also be zero or positive.

A MAD of 0 is possible when every value in the dataset is exactly the same as the mean.

If every value in a dataset is identical, the mean is equal to that same value. Therefore, every deviation from the mean is 0, and every absolute deviation is also 0.

Dataset 7, 7, 7, 7
MAD = (0 + 0 + 0 + 0) ÷ 4 = 0

Therefore, the mean absolute deviation is 0, indicating that every observation has zero distance from the mean.

Scroll to Top