Skip to content
Omnikalc

Mean absolute deviation calculator: MAD, mean, standard deviation and relative MAD of up to 8 values

Enter up to eight values to get the mean absolute deviation, the mean, the standard deviation, the ratio of the two and the relative MAD.

Updated on
Your inputs

Value out of range

Value out of range

Value out of range

Value out of range

Value out of range

Value out of range

Value out of range

Value out of range

Value out of range

Results

Mean absolute deviation (around the mean)

2.531

Arithmetic mean
14.714
Standard deviation (population)
3.010
Ratio MAD / standard deviation
0.841
Relative MAD (MAD as a share of the mean)
17.2 %

The mean absolute deviation (MAD) is the average distance between the values and their mean. The mean absolute deviation calculator gives the MAD of up to eight values, with the mean, the population standard deviation, the ratio of the MAD to the standard deviation and the relative MAD.

How the calculation works

  • Choose the number of values to use, from 2 to 8, and enter them. Unused value fields are ignored.
  • The calculator finds the arithmetic mean of the values.
  • It then averages the absolute distances to the mean: MAD = (|x₁ − mean| + |x₂ − mean| + …) / n.
  • It also gives the population standard deviation, the ratio MAD / standard deviation and the relative MAD, which is the MAD as a percentage of the mean.

Example

Take the 7 values 12, 15, 11, 18, 14, 20 and 13. The sum is 103, so the mean is 14.714. The distances to the mean are 2.714, 0.286, 3.714, 3.286, 0.714, 5.286 and 1.714, and their sum is 17.714. The mean absolute deviation is 17.714 / 7 = 2.531. The population standard deviation is 3.010, so the ratio is 0.841. The relative MAD is 17.2 % of the mean.

Why it matters

The calculator helps students in school statistics, teachers, analysts and anyone who wants a simple measure of the spread of a small data set, for example the daily temperatures, the test scores or the weekly sales. It also shows the standard deviation next to the MAD, so you can see the effect of the large deviations.

Good to know

The calculator uses the population formula, dividing by the number of values, as the definition of the MAD requires. The deviation is measured around the mean and not around the median. With only a few values, both measures of spread are rough. If one value is far from the others, compare the MAD with the standard deviation, and look at the data before you rely on one number.

The standard deviation calculator gives the usual measure of spread, the Pearson skewness calculator measures the asymmetry of a data set, the coefficient of variation calculator expresses the spread relative to the mean, and the IQR outliers calculator detects unusual values.

Frequently asked questions

What is the mean absolute deviation?

The mean absolute deviation, or MAD, is the average of the distances between each value and the mean of the values. It tells how far, on average, the data points are from the center. The distances are taken as positive numbers, so values above and below the mean do not cancel each other.

How is the MAD different from the standard deviation?

The standard deviation squares the distances before averaging and then takes a square root, so it gives more weight to the large distances. The MAD treats all distances the same way. For data that follow a normal distribution, the MAD is about 0.798 times the standard deviation, and a ratio far from this value can indicate heavy tails or outliers.

When is the MAD preferred?

The MAD is easier to explain, which is why it is taught in school. It is also less sensitive to extreme values than the standard deviation, though not as robust as the median absolute deviation. In forecasting, the MAD of the errors is a common accuracy measure, since it is in the same units as the data.

Is there another kind of MAD?

Yes. The median absolute deviation is the median of the distances to the median, a robust measure of spread. Some textbooks also use the mean absolute deviation around the median. This calculator gives the one around the mean, with the formula taught in school.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.