

How to Calculate Mean Absolute Deviation with Examples and Step-by-Step Solutions
The concept of Measures of Variability in Data Set: Mean Absolute Deviation Formula is central to statistics and data analysis. Understanding mean absolute deviation helps students grasp how data values differ from the average, which builds strong analytical foundations. This topic is frequently tested in school boards, competitive exams like JEE, and is useful in interpreting real-life data. At Vedantu, we make these core concepts simple and accessible for all students.
What is Mean Absolute Deviation?
In statistics, variability refers to how much the values in a data set spread out or vary from their central value (mean or median). Mean Absolute Deviation (MAD) is a key measure of variability. It calculates the average of the absolute differences between each data value and the mean of the data set. In simple words, it tells you, on average, how far each value is from the center. MAD is easy to calculate and interpret, and is often used alongside other measures like variance and standard deviation.
Mean Absolute Deviation Formula Explained
The formula for mean absolute deviation differs based on the type of data set you have. Here are the formulas for both ungrouped and grouped data:
-
For Individual (Ungrouped) Data:
\( \text{MAD} = \frac{1}{n} \sum_{i=1}^{n} |x_i - \bar{x}| \)
Where \( x_i \) = each data value, \( \bar{x} \) = mean, and \( n \) = total number of data points. -
For Grouped (Frequency) Data:
\( \text{MAD} = \frac{1}{N} \sum_{i=1}^{k} f_i |x_i - \bar{x}| \)
Where \( f_i \) = frequency of the class, \( x_i \) = class midpoint, \( \bar{x} \) = mean, and \( N = \sum f_i \).
Let’s break down each part:
- Step 1: Find the mean of your data set (\( \bar{x} \)).
- Step 2: Calculate how far each number is from the mean (ignore minus signs by taking the absolute value).
- Step 3: For grouped data, multiply each absolute deviation by its frequency.
- Step 4: Find the sum of all absolute deviations.
- Step 5: Divide by the number of data points (or total frequency).
Worked Examples
Ungrouped Data Example
Find the mean absolute deviation for the data set: 4, 6, 8, 10, 12.
- Calculate the mean:
\( \bar{x} = (4+6+8+10+12)/5 = 40/5 = 8 \) - Find absolute deviations:
|4-8| = 4, |6-8| = 2, |8-8| = 0, |10-8| = 2, |12-8| = 4 - Sum of absolute deviations: 4 + 2 + 0 + 2 + 4 = 12
- MAD = 12/5 = 2.4
Grouped Data Example
Consider this frequency distribution:
Class Interval | Midpoint (xi) | Frequency (fi) |
---|---|---|
10–20 | 15 | 3 |
20–30 | 25 | 5 |
30–40 | 35 | 2 |
- Total frequency \( N = 3+5+2 = 10 \)
- Calculate mean: \( \bar{x} = (3 \times 15 + 5 \times 25 + 2 \times 35)/10 = (45+125+70)/10 = 24 \)
- Calculate absolute deviations:
- |15-24| = 9
- |25-24| = 1
- |35-24| = 11
(3×9) + (5×1) + (2×11) = 27 + 5 + 22 = 54 - MAD = 54/10 = 5.4
Practice Problems
- Calculate the mean absolute deviation for: 2, 7, 7, 10, 11.
- The following data has frequencies:
Value (x) Frequency (f) 10 2 20 3 30 5
Find the MAD. - For the set 5, 15, 20, 20, 30: What is the mean absolute deviation?
- Which is more affected by outliers: mean, median, or MAD?
- True or False: MAD can be negative.
Common Mistakes to Avoid
- Not using absolute values when subtracting the mean from each data value.
- Dividing by the wrong total (for grouped data, always use total frequency).
- Mixing up MAD with standard deviation (SD uses squared differences, not absolute values).
- Forgetting to multiply by frequency in grouped data calculations.
Real-World Applications
Mean absolute deviation is widely used in quality control, financial forecasting, and measuring consistency in test scores. For example, businesses analyze MAD to see how much sales figures vary each month. Schools use MAD to understand how consistently students perform compared to the class average. At Vedantu, we use such statistics to tailor our learning strategies for every student’s needs.
Page Summary
On this page, we have learned that Mean Absolute Deviation Formula is a simple but essential measure to understand how much the values in a data set deviate from the average. It provides a clear idea of data consistency and is less sensitive to outliers than standard deviation. Practice applying these concepts to strengthen your data analysis skills. For further guidance and practice problems on statistics, explore related topics like Variance, Standard Deviation, and more with Vedantu’s trusted resources.
FAQs on Mean Absolute Deviation: Understanding Measures of Data Variability
1. What is the mean absolute deviation (MAD)?
The mean absolute deviation (MAD) measures the average distance between each data point and the mean of a dataset. It indicates the amount of variability or dispersion in the data. A lower MAD suggests less variability, while a higher MAD signifies greater spread.
2. What is the formula for mean absolute deviation for ungrouped data?
The formula for MAD in ungrouped data is: MAD = (∑|xi – x̄|)/n, where: ∑ represents summation, |xi – x̄| is the absolute difference between each data point (xi) and the mean (x̄), and n is the total number of data points. This formula calculates the average absolute deviation from the mean.
3. What is the formula for mean absolute deviation for grouped data?
For grouped data, the MAD formula is: MAD = (∑fi|xi – x̄|)/N, where: fi is the frequency of each class interval, xi is the midpoint of each class interval, x̄ is the mean of the dataset, and N is the total number of data points (∑fi). This accounts for the frequency of data points within each interval.
4. How do you calculate mean absolute deviation in Excel?
In Excel, you can calculate MAD using the formula: =AVERAGE(ABS(data range - AVERAGE(data range))). This formula first calculates the mean of your data range, then finds the absolute differences between each data point and the mean, and finally averages these absolute differences. This provides a quick and efficient way to determine the MAD.
5. What is the difference between MAD and standard deviation?
Both MAD and standard deviation measure data variability, but they differ in how they handle deviations from the mean. MAD uses the average of the absolute deviations, making it less sensitive to outliers. Standard deviation, on the other hand, squares the deviations, which magnifies the effect of extreme values. MAD is easier to understand conceptually, while standard deviation is used more frequently in advanced statistical analysis.
6. What is the measure of variability mean absolute deviation?
The mean absolute deviation (MAD) is a measure of variability (or dispersion) in a dataset. It quantifies how spread out the data points are around the mean. A smaller MAD indicates that data points are clustered tightly around the mean, whereas a larger MAD signifies greater data spread. It is a simpler measure of variability than the standard deviation.
7. What is the formula for absolute deviation?
The absolute deviation for a single data point is simply the absolute difference between that data point and the mean of the dataset. The formula is: |xi - x̄|, where xi represents the individual data point and x̄ represents the mean.
8. What is the mean absolute deviation of 2, 8, 6, 8, 6, 8, 10, 12?
To find the MAD, first calculate the mean: (2 + 8 + 6 + 8 + 6 + 8 + 10 + 12) / 8 = 68/8 = 8.5. Then, calculate the absolute deviations from the mean: |2-8.5|=6.5, |8-8.5|=0.5, |6-8.5|=2.5, |8-8.5|=0.5, |6-8.5|=2.5, |8-8.5|=0.5, |10-8.5|=1.5, |12-8.5|=3.5. Finally, sum the absolute deviations and divide by the number of data points: (6.5 + 0.5 + 2.5 + 0.5 + 2.5 + 0.5 + 1.5 + 3.5) / 8 = 18 / 8 = 2.25
9. What is the mean absolute deviation 3, 1, 5, 5, 2, 3, 2, 3, 4, 2?
First, calculate the mean: (3 + 1 + 5 + 5 + 2 + 3 + 2 + 3 + 4 + 2) / 10 = 20/10 = 2. Then, find the absolute deviations: |3-2|=1, |1-2|=1, |5-2|=3, |5-2|=3, |2-2|=0, |3-2|=1, |2-2|=0, |3-2|=1, |4-2|=2, |2-2|=0. Sum the absolute deviations: 1 + 1 + 3 + 3 + 0 + 1 + 0 + 1 + 2 + 0 = 12. Finally, divide by the number of data points: 12 / 10 = 1.2
10. When should I use MAD instead of variance or standard deviation?
Use MAD when you need a simpler, more intuitive measure of variability that's less sensitive to outliers than standard deviation or variance. MAD is easier to interpret and understand, particularly for introductory statistics. However, standard deviation and variance are preferred in more advanced analyses where the squared deviations are useful. Consider the context and your audience's statistical knowledge when choosing between them.

















