Math · 93 calculators
Mean Absolute Deviation Calculator
The mean absolute deviation measures the typical distance of observations from their mean, in the same units as the data. This page shows the four-step calculation using five fixed values, explains why absolute values are essential, and compares the result with the better-known standard deviation.
Last updated
Mean absolute deviation
0.72
- Mean value
- 3.8
- Total absolute deviation
- 3.6
- MAD at doubled spread
- 1.44
Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.
The formula this calculator uses
MAD = Sum|xi - mean| / n
- xi
- Each individual observation in the data set
- mean
- The arithmetic average of all observations
- n
- The number of observations
- MAD
- The mean absolute deviation, in the units of the data
How to check the result by hand
- 1
Find the mean of the values
Add all observations and divide by how many there are. For 2, 4, 4, 4 and 5 the total is 19, and 19 divided by 5 gives a mean of 3.8. This number is the centre from which every distance will be measured, so an error here propagates into every later step.
- 2
Subtract the mean from each value
Work through the observations one at a time and record xi - mean. The five fixed values give -1.8, 0.2, 0.2, 0.2 and 1.2. At this stage the signed results still sum to zero, which is expected and is the reason the next step cannot be skipped.
- 3
Take the absolute value of each deviation
Discard the sign of every difference and keep only its magnitude. The signed list -1.8, 0.2, 0.2, 0.2 and 1.2 becomes 1.8, 0.2, 0.2, 0.2 and 1.2. Negative deviations must not be left negative, or the positive and negative contributions will cancel and destroy the measurement.
- 4
Add the absolute deviations
Sum the five positive distances. Here 1.8 + 0.2 + 0.2 + 0.2 + 1.2 equals 3.6, a quantity sometimes called the total absolute deviation. This total is not yet the answer; it still needs to be shared across the number of observations.
- 5
Divide by the number of values
Divide the total by n to obtain the average distance. With a total of 3.6 and five observations, 3.6 divided by 5 gives 0.72. This final figure is the mean absolute deviation, expressed in the original units. Sanity-check it against the mean of 3.8 before reporting it.
Common Questions
How does the Mean Absolute Deviation Calculator work?
Find the mean, subtract it from every value, take the absolute value of each difference, add those differences, then divide by the number of values. For 2, 4, 4, 4 and 5 the mean is 3.8, the absolute deviations are 1.8, 0.2, 0.2, 0.2 and 1.2, their sum is 3.6, and the mean absolute deviation is 0.72. If every distance doubled, the result would be 1.44.
What do I need to enter in the Mean Absolute Deviation Calculator?
It takes 5 inputs: First value, Second value, Third value, Fourth value, Fifth value. Fields that expect a unit say so next to the label.
Where does Mean absolute deviation come from?
It comes from MAD = Sum|xi - mean| / n — the average of the absolute distances from the arithmetic mean. Each difference is made positive before it is added, so positive and negative deviations cannot cancel.
What is the most common mistake with the Mean Absolute Deviation Calculator?
Averaging the signed deviations without absolute values. Because the mean is the balance point of the data, signed deviations always add to zero. If you skip the absolute value step you will report zero spread for every data set, including obviously scattered ones. Always make each difference positive before summing.
For worked examples, common mistakes and the limits of this formula, read the full How To Calculate The Mean Absolute Deviation page.
