Mean Absolute Deviation Calculator
Enter a numeric dataset to calculate mean absolute deviation about the mean, compare optional median absolute deviation, and inspect each absolute distance from center.
Load a realistic sample, then edit the values, units, center choice, and rounding.
Mean Absolute Deviation Result
The MAD about the mean divides the sum of absolute distances by n.
Formula used for the main result: MAD about mean = sum(|x - mean|) / n.
| # | Value | x - mean | |x - mean| | x - median | |x - median| | Mean MAD share |
|---|---|---|---|---|---|---|
| Calculate to show deviation rows. | ||||||
| Measure | Formula | Center used | Best use | Outlier sensitivity |
|---|---|---|---|---|
| Mean MAD | sum(|x - mean|) / n | Mean | Standard classroom and descriptive-stat spread | Moderate |
| Median MAD | median(|x - median|) | Median | Robust spread when extremes may be errors | Low |
| Average deviation from median | sum(|x - median|) / n | Median | Compare mean-centered and median-centered distance | Moderate |
| Standard deviation | sqrt(sum((x - mean)^2) / n) | Mean | When squared deviations are required | High |
| Range | max - min | Extremes | Fastest minimum-to-maximum spread check | Very high |
| IQR | Q3 - Q1 | Quartiles | Middle 50 percent spread | Low |
| Pattern | MAD clue | What to compare | Common action |
|---|---|---|---|
| Scores clustered near mean | Small MAD | MAD vs range | Report center and tight spread |
| One extreme value | Mean MAD rises | Mean MAD vs median MAD | Check the extreme before removing it |
| Two balanced tails | Mean and median MAD close | Mean vs median | Use mean MAD for simple summary |
| Skewed sample | Mean MAD differs from median MAD | Center gap | Show both centers in notes |
| Different units | MAD not comparable directly | Relative MAD | Use MAD divided by |mean| |
| Very small n | MAD may swing | n and max deviation | Add more observations if possible |
The measure of standard deviation is what you typically learn first; it show up everywhere in textbooks. Another way to do this is with a measure called mean absolute deviation (MAD). MAD measures the average distance of a set of numbers away from their mean, but doesn’t square these difference. That preserves simplicity of the units and makes arithmetic easy.
MAD gives you the typical distance from the middle. In contrast, squared error distorts the value of standard deviation. The calculator takes calculation off your hands. You plug in your values (say, a set of quiz scores or temperatures). The calculator produce the average of that data set. That’s the key: without center point, how can we talk about distance?
What Is Mean Absolute Deviation
The farther you move away from middle, the more outlying you are. And once we have center point, the calculator determines the distance of each value to the center point. It takes absolute value (removing negatives) and then computes average of these distances.
Why? This method isn’t as harsh on outliers than standard deviation is. In many scenarios, you want to see typical experience without letting extreme values dominate the story.
Think of a class: The vast majority of students gets an eighty or an eighty-five on their test, whereas one person got a zero. Because the zero’s such a long way away from average, standard deviation will go up significantly. And squaring the gap makes it huge. So does MAD, though not so dramatically. It view the person who got a zero as having just had a bad day (a big mistake, sure, but still only a bad day).
That makes MAD good for data which is naturaly fine, with just a couple unusual points. With MAD you get to see what usual experience looks like; no added noise.
As an option, the tool provides comparison against what’s called the median absolute deviation (MAD). Why? Because your data might be messy. The median is middle value and isn’t affected by extreme values. So comparing the MAD based on mean versus median can be thought of as a type of sensitivity test. A large gap between the mean and median MAD tell you that outliers are probably pulling average off course. That’s a sign to look at the extreme values before drawing conclusions. It’s a diagnostic flag, not just a number.
The other issue is choosing center. For example, most folks chooses the mean because we’re used to it. However, the mean is also sensitive to skew. If you have very skewed data, such as household income, then the median can be more representitive of what’s typical. You can toggle in the calculator to get both perspectives. It will show you that center you choose changes the story about your spread. The MAD is small around the mean. Consistency! Or maybe not, the median may tell a different tale. If the median tells a different story, it means there’s a long tail.
It helps to know context though. Five degrees of temperature is not the same as five points on 100 point test. For the former, it may mean wide variability (especially if starting temp is low), while for latter it indicates close proximity between performances.
Unlike variance, MAD doesn’t change its units; variance squares them, which confuses most folk. That simplicity is part of its power. I can state that average deviation is five minutes, and you all know what I am talking about for your commute.
On that page, they put together a nice comparison table between MAD vs. Range, interquartile range, etc… And range is simple to compute, while also being easily skewed (it’s just the two extremes). IQR is more robust, but it doesn’t take into account anything outside of the quartiles. MAD is a nice compromise. It accounts for everything, but it is gentle about it. Turns out, that’s useful in a lot of ways for the world.
One thing to know about MAD: When working with small samples, MAD can be a fickle friend. In big samples, it’s nice and stable; in small samples, it jitter around. So don’t rely too much on a MAD calculated from only three numbers. You should of used more data if you wanted accuracy. But do use it for fast descriptions and spot-checks, it’ll help you understand variability without needing to dive into more complicated stats.
It’s not the entire tale. The average isn’t everything. When looking at a set of survey scores or lab results, it’s also important to see the spread. How far do those individual points moves away from the average? That’s what completes the picture; that makes a mere number more than a number. Instead of just viewing highest point, you begin viewing the space surrounding it. And that’s where absolute deviation truly shines. It takes a series of figures and transforms them into a story regarding variation and consistensy.

