How to Calculate Mean Absolute Deviation in Excel

If you just need to calculate mean absolute deviation in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel: use =AVEDEV(range) for the average absolute distance from the mean — a spread measure that, unlike standard deviation, is not inflated by outliers.

On this page8

Syntax

=AVEDEV(number1, [number2], ...) and =DEVSQ(number1, [number2], ...)

Arguments

Argumentrequired / optionalDescription
number1requiredThe first value or range.
number2, ...optionalFurther values or ranges.

Related functions

STDEVVARAVERAGE
▤Annotated stepsExcel
1

Select the result cell and type =AVEDEV(.

2

Select the range and press Enter.

3

Compare against STDEV.S over the same range; a large gap points to outliers.

4

Use DEVSQ when you need the raw sum of squared deviations for a further calculation.

Ctrl+CthenCtrl+Shift+V⌘+Cthen⌘+Ctrl+VPaste values · WindowsMac

What this does

AVEDEV returns the mean absolute deviation: the average of how far each value sits from the mean, ignoring direction. Because it does not square the distances, one extreme value influences it far less than it influences a standard deviation, which makes it the more honest spread measure on data with occasional wild readings. DEVSQ returns the sum of squared deviations, which is the numerator of the variance formula and appears in regression and analysis-of-variance calculations. Neither assumes a normal distribution, which standard deviation implicitly leans on. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. Treat “calculate mean absolute deviation in excel” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected cells shows up while it is still harmless. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That turns a calculation you can defend to a CFO or an auditor into a method you can reuse, explain, and defend when the workbook leaves your screen.

A worked example

Delivery times in B2:B60 with two extreme delays: =AVEDEV(B2:B60) might return 1.4 days while =STDEV.S(B2:B60) returns 3.1, because the squaring in the standard deviation amplifies those two readings. =DEVSQ(B2:B60) divided by n-1 reproduces =VAR.S(B2:B60) exactly. AVEDEV gives a spread figure that outliers cannot inflate, which is what makes it honest on data standard deviation exaggerates. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.

In Google Sheets

Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. For “calculate mean absolute deviation in excel”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.

Common mistakes

  • Substituting AVEDEV into formulas that expect a standard deviation, such as control limits — the two are not interchangeable.
  • Reporting it without saying which measure it is, since readers assume standard deviation by default.
  • Overlooking that DEVSQ is a sum, not an average, so it grows with the sample size.

Frequently asked questions

How is AVEDEV different from standard deviation?

It averages absolute distances rather than squared ones, so extreme values pull it far less.

When should I prefer it?

When the data has occasional wild readings and you want a spread figure they do not dominate.

What is DEVSQ for?

The sum of squared deviations — the numerator of variance, used directly in regression and ANOVA work.

Other ways people ask this

People reach this page typing “calculate mean absolute deviation in excel”, “how to calculate median absolute deviation in excel” and “how to find mean absolute deviation in excel”, among other phrasings; whichever wording you used, the fix above is the one you want.

Why do people search for this in so many different ways?

Because the same task has many names. “calculate mean absolute deviation in excel”, “how to calculate median absolute deviation in excel”, “how to find mean absolute deviation in excel” all point at the one operation explained on this page, which is why they all lead here.