What is a Mean Absolute Deviation Calculator?
A mean absolute deviation calculator finds the average distance between each value and the mean: MAD = Σ|x − x̄| / n. For 2, 4, 6 and 8 the mean is 5, the absolute deviations are 3, 1, 1 and 3, and the MAD is 8 / 4 = 2. It measures spread in the original units, and it is never larger than the standard deviation.
What the Mean Absolute Deviation Calculator does
This MAD calculator (also called a mean deviation calculator, average absolute deviation calculator or absolute deviation calculator) takes a list of numbers and returns the mean absolute deviation with a table of every deviation and absolute deviation, each step from the mean to the MAD, and the standard deviation of the same data for comparison. Switch to Frequency table to enter each value with how often it occurs, or class midpoints for grouped data; both modes also report the mean deviation about the median, which some courses use instead. Switch to Forecast errors to get the MAD of a forecast, Σ|actual − forecast| / n, with the bias, MSE, MAPE and tracking signal.
The MAD is the most intuitive measure of spread: “on average, how far are the values from the mean?” It is taught in middle-school math (the “MAD” of grade 6 and 7 statistics) before the standard deviation, and in forecasting the same idea applied to errors is called the mean absolute error. Because it does not square deviations, it reacts less strongly to a single extreme value than the SD does.
One warning about the name: MAD can also mean the median absolute deviation, median(|x − median|), a different statistic used in robust statistics. If your course or software means that one, use the median absolute deviation calculator instead.
How to use the Mean Absolute Deviation Calculator
- Choose List of values and type or paste your numbers into Data values, choose Frequency table and enter each value with its frequency, or choose Forecast errors and enter the actual and forecast values.
- Read the mean absolute deviation and, beside it, the population standard deviation and the ratio between them.
- Check the table to see each x − x̄ and |x − x̄|, with totals in the footer.
- Open the step-by-step solution to follow the calculation or copy it into your work.
How to find the mean absolute deviation of a data set
To calculate the MAD by hand, follow four steps. The calculator does the same thing and shows every line of the working.
- Find the mean. Add the values and divide by how many there are: x̄ = Σx / n.
- Find each absolute deviation. Subtract the mean from each value and drop the sign: |x − x̄|.
- Add the absolute deviations. The total is Σ|x − x̄|.
- Divide by n. The mean absolute deviation is MAD = Σ|x − x̄| / n.
Mean absolute deviation formula
| Symbol | Meaning |
|---|---|
| xᵢ | each data value (or class midpoint) |
| fᵢ | frequency of xᵢ, for a frequency table |
| Aₜ, Fₜ | actual and forecast value in period t |
| x̄ | mean of the data |
| n | number of values |
| |·| | absolute value (distance, ignoring sign) |
The same formula is sometimes written as the M.A.D. formula or the average absolute deviation formula; all three names describe Σ|x − x̄| / n.
The abbreviation MAD is also used for the median absolute deviation, median(|x − median|), a different and more robust statistic. Use the Median Absolute Deviation Calculator for that one.
By the inequality between the mean and the root mean square, MAD ≤ σ for every dataset, with equality only when all deviations have the same size.
Worked example
Worked example: daily support tickets
Problem. A help desk logs 2, 3, 4, 5, 6, 8, 12, 24 tickets on eight days. Find the mean absolute deviation and compare it with the standard deviation.
- 01Mean: x̄ = 64 / 8 = 8 tickets.
- 02Absolute deviations: 6, 5, 4, 3, 2, 0, 4, 16.
- 03Sum: 6 + 5 + 4 + 3 + 2 + 0 + 4 + 16 = 40.
- 04MAD = 40 / 8 = 5 tickets.
- 05Population SD: σ = √(362 / 8) = 6.7268, so MAD / σ = 0.7433.
Answer. A typical day is 5 tickets away from the mean of 8. The standard deviation is higher (6.7268) mostly because of the 24-ticket day, whose squared deviation (256) is 71% of the total sum of squares.
Mean absolute deviation examples with answers
These data sets come up again and again as “what is the mean absolute deviation of …” questions. Each one is a preset button above the calculator, so you can load it and see the full table and steps.
| Data set | Mean, x̄ | Σ|x − x̄| | MAD |
|---|---|---|---|
| 2, 8, 6, 8, 6, 8, 10, 12 | 60 / 8 = 7.5 | 17 | 2.125 |
| 14, 14, 6, 6, 10, 10, 2, 18 | 80 / 8 = 10 | 32 | 4 |
| 4, 2, 2, 3, 5, 4, 2, 1, 5, 2 | 30 / 10 = 3 | 12 | 1.2 |
| 9, 13, 43, 55 | 120 / 4 = 30 | 76 | 19 |
Why the MAD uses absolute values
The deviations from the mean, x − x̄, always add up to exactly zero: the values above the mean balance those below it. In the support-ticket example the deviations are −6, −5, −4, −3, −2, 0, 4 and 16, and they sum to 0. Averaging them would say the data has no spread at all.
Taking the absolute value turns each deviation into a distance (6, 5, 4, 3, 2, 0, 4, 16), and distances can be averaged. The variance and standard deviation get around the same problem a different way, by squaring each deviation, which is why they weight large deviations more heavily.
Mean absolute deviation vs standard deviation
Both describe how far values typically are from the mean, but they weight large deviations differently. A deviation of 10 counts 10 times as much as a deviation of 1 in the MAD, but 100 times as much in the variance behind the SD.
| Mean absolute deviation | Standard deviation | |
|---|---|---|
| Formula | Σ|x − x̄| / n | √[Σ(x − x̄)² / n] (or n − 1) |
| Effect of one large deviation | Grows in proportion | Grows faster (squared) |
| Typical ratio for normal data | ≈ 0.80 σ | σ |
| Main use | Intuitive description, forecasting accuracy | Inference: confidence intervals, tests, models |
Mean absolute deviation in Excel, Google Sheets, R and Python
Spreadsheets have a built-in function for the mean absolute deviation; R and Python do not, and their functions named “mad” compute the median absolute deviation instead. Use these formulas to match this calculator.
| Software | Mean absolute deviation | Watch out for |
|---|---|---|
| Excel | =AVEDEV(A1:A20) | Same result as this calculator |
| Google Sheets | =AVEDEV(A1:A20) | Same result as this calculator |
| R | mean(abs(x - mean(x))) | mad(x) is the scaled median absolute deviation |
| Python (NumPy) | np.mean(np.abs(x - np.mean(x))) | pandas Series.mad() was removed in pandas 2.0 |
| TI-84 | No built-in command: store data in L1, set L2 = abs(L1 − mean(L1)), then mean(L2) | Find mean(L1) with 1-Var Stats or the LIST MATH menu |
Common use cases
- Teaching spread: the MAD is easy to compute and explain, so it is the first measure of variability many students meet.
- Forecast accuracy: the average absolute forecast error (often also called MAD or MAE) tells planners how wrong forecasts are in units they understand. The tracking signal, Σ(A − F) / MAD, flags a forecast that is consistently too high or too low.
- Quick consistency checks: compare the typical deviation of delivery times, weights or scores between two groups.
- Data with an occasional large value: the MAD is less dominated by a single extreme observation than the SD, though it is not fully robust.
Assumptions and limitations
- The MAD still uses the mean, which itself is pulled by outliers. For a measure that resists outliers, use the median absolute deviation or the IQR.
- Most inferential methods (t-tests, confidence intervals, regression) are built on the variance, not the MAD, so the standard deviation remains the standard for reporting.
- There is no n − 1 version in common use; the MAD always divides by n.
- With grouped classes, the frequency-table result treats every value as sitting at its class midpoint, so it is an estimate of the MAD of the raw data.
Frequently asked questions
How do you find the mean absolute deviation (MAD)?
What does the mean absolute deviation tell you?
What is the mean absolute deviation of 2, 8, 6, 8, 6, 8, 10, 12?
Why do you use absolute values in the MAD?
Is the mean absolute deviation always smaller than the standard deviation?
Should I measure absolute deviations from the mean or the median?
Is mean absolute deviation the same as MAD in forecasting?
How do I calculate the mean absolute deviation in Excel?
Cite this page
Statculator. (2026, November 14). Mean Absolute Deviation Calculator. Retrieved November 14, 2026, from https://statculator.com/descriptive-statistics/mean-absolute-deviation-calculator/