Skip to content
Statculator
Descriptive Statistics

Mean Absolute Deviation Calculator

Free MAD calculator: find the mean absolute deviation of a data set or frequency table with Σ|x − x̄| / n, a deviation table and step-by-step work.

Free, no sign-up Runs in your browserBy Hira Noor, BS MathematicsUpdated

Try
Data format
8 values

Separate values with commas, spaces or new lines, or paste a column from Excel or Google Sheets.

Results

Mean absolute deviation, MAD
5
Σ|x − x̄| / n = 40 / 8
Population standard deviation, σ
6.7268
MAD / σ = 0.743 (about 0.80 for normal data)
Count, n
8
Mean, x̄
8
Sum of absolute deviations, Σ|x − x̄|
40
Largest absolute deviation
16
Sample standard deviation, s
7.1913
Ratio MAD / σ
0.7433
Median
5.5
Mean absolute deviation around the median
4.5

Interpretation: On average, each value is 5 units away from the mean of 8. The standard deviation (6.7268) is noticeably larger than the MAD because squaring gives extra weight to the biggest deviations (here, the value 24).

Absolute deviation table

#xx − x̄|x − x̄|(x − x̄)²
12-6636
23-5525
34-4416
45-339
56-224
68000
7124416
8241616256
Σ64040362

The deviations x − x̄ always add to 0, which is why the MAD uses their absolute values. The last column is what the standard deviation uses, shown for comparison.

Step-by-step solution

  1. 1

    Find the mean

    x̄ = Σx / n = 64 / 8 = 8
  2. 2

    Find each value’s absolute distance from the mean

    Drop the minus signs so that values below the mean do not cancel those above it.

    |2 − 8| = 6
    |3 − 8| = 5
    |4 − 8| = 4
    |5 − 8| = 3
    |6 − 8| = 2
    |8 − 8| = 0
    …
  3. 3

    Add the absolute deviations

    Σ|x − x̄| = 6 + 5 + 4 + 3 + 2 + 0 + 4 + 16 = 40
  4. 4

    Divide by n

    MAD = Σ|x − x̄| / n = 40 / 8 = 5
  5. 5

    Compare with the standard deviation

    For normally distributed data, MAD ≈ 0.7979 × σ.

    σ = √[Σ(x − x̄)² / n] = √(362 / 8) = 6.7268
    MAD / σ = 5 / 6.7268 = 0.7433

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

  1. 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.
  2. Read the mean absolute deviation and, beside it, the population standard deviation and the ratio between them.
  3. Check the table to see each x − x̄ and |x − x̄|, with totals in the footer.
  4. 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.

  1. Find the mean. Add the values and divide by how many there are: x̄ = Σx / n.
  2. Find each absolute deviation. Subtract the mean from each value and drop the sign: |x − x̄|.
  3. Add the absolute deviations. The total is Σ|x − x̄|.
  4. Divide by n. The mean absolute deviation is MAD = Σ|x − x̄| / n.

Mean absolute deviation formula

Mean absolute deviation (list of values)
MAD = Σ|xᵢ − x̄| / n
Mean absolute deviation (frequency table)
MAD = Σfᵢ|xᵢ − x̄| / Σfᵢ, where x̄ = Σfᵢxᵢ / Σfᵢ
MAD of forecast errors (forecasting)
MAD = Σ|Aₜ − Fₜ| / n
Relationship to σ for normal data
MAD ≈ √(2/π) · σ ≈ 0.7979 σ
Formula symbols
SymbolMeaning
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
nnumber 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.

  1. 01Mean: x̄ = 64 / 8 = 8 tickets.
  2. 02Absolute deviations: 6, 5, 4, 3, 2, 0, 4, 16.
  3. 03Sum: 6 + 5 + 4 + 3 + 2 + 0 + 4 + 16 = 40.
  4. 04MAD = 40 / 8 = 5 tickets.
  5. 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.

MAD chart: four data sets worked from the mean
Data setMean, x̄Σ|x − x̄|MAD
2, 8, 6, 8, 6, 8, 10, 1260 / 8 = 7.5172.125
14, 14, 6, 6, 10, 10, 2, 1880 / 8 = 10324
4, 2, 2, 3, 5, 4, 2, 1, 5, 230 / 10 = 3121.2
9, 13, 43, 55120 / 4 = 307619

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 deviationStandard deviation
FormulaΣ|x − x̄| / n√[Σ(x − x̄)² / n] (or n − 1)
Effect of one large deviationGrows in proportionGrows faster (squared)
Typical ratio for normal data≈ 0.80 σσ
Main useIntuitive description, forecasting accuracyInference: 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.

SoftwareMean absolute deviationWatch out for
Excel=AVEDEV(A1:A20)Same result as this calculator
Google Sheets=AVEDEV(A1:A20)Same result as this calculator
Rmean(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-84No 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)?

Find the mean, then the distance of each value from it, ignoring the sign. Add those absolute deviations and divide by the number of values. For 2, 4, 6, 8 the mean is 5, the absolute deviations are 3, 1, 1 and 3, and the MAD is 8 ÷ 4 = 2.

What does the mean absolute deviation tell you?

It tells you the average distance of the data values from their mean, in the same units as the data. A MAD of 5 minutes means values are, on average, 5 minutes above or below the mean. A larger MAD means more spread.

What is the mean absolute deviation of 2, 8, 6, 8, 6, 8, 10, 12?

The mean is 60 ÷ 8 = 7.5. The absolute deviations are 5.5, 0.5, 1.5, 0.5, 1.5, 0.5, 2.5 and 4.5, which add to 17. The MAD is 17 ÷ 8 = 2.125.

Why do you use absolute values in the MAD?

Deviations from the mean always add to zero, because values above and below the mean cancel out. Taking the absolute value turns every deviation into a distance, so they can be averaged. The standard deviation solves the same problem by squaring instead.

Is the mean absolute deviation always smaller than the standard deviation?

Yes, it is always less than or equal to the population standard deviation, and equal only when every deviation has the same size. Squaring in the SD gives extra weight to large deviations, which pushes it up. For normal data the MAD is about 80% of σ.

Should I measure absolute deviations from the mean or the median?

Most courses and this calculator use the mean. Deviations from the median give a slightly smaller or equal average, because the median minimizes the sum of absolute distances. The calculator shows both so you can match your textbook.

Is mean absolute deviation the same as MAD in forecasting?

In forecasting, MAD usually means the mean absolute deviation of forecast errors, Σ|actual − forecast| / n, also called the mean absolute error. The idea is the same, but the deviations are measured from the forecasts rather than from the mean. Choose Forecast errors in the calculator to compute it.

How do I calculate the mean absolute deviation in Excel?

Use =AVEDEV(range), for example =AVEDEV(A1:A20). It returns the average of the absolute deviations from the mean, the same quantity as this calculator. Google Sheets uses the same AVEDEV function.

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/