Advertisement

Mean absolute deviation calculator

Measure average distance from a chosen centre without squaring the deviations. The default centre is the arithmetic mean.

Calculator

Use commas, spaces or new lines between numbers. Use the same unit for every observation.

Mean absolute deviation
1.200000
Centre used
3.000000
Observation count
5.000000
Absolute distances from centre
ObservationSigned deviationAbsolute deviation
1.000000-2.0000002.000000
2.000000-1.0000001.000000
3.0000000.0000000.000000
4.0000001.0000001.000000
5.0000002.0000002.000000

Advertisement

How this calculator works

Absolute deviation removes the sign of each distance before averaging, so positive and negative departures do not cancel. The mean-centred version describes average distance from the mean; changing the centre changes the question. A median centre minimises the total absolute distance. The divisor stays n, because this is an average of distances rather than the usual unbiased sample-variance calculation.

Formula

Mean absolute deviation about c = Σ|x_i - c|/n. By default c = Σx_i/n.

Worked example

For 1, 2, 3, 4, 5, the mean is 3 and absolute distances are 2, 1, 0, 1, 2. Their average is 6/5 = 1.2.

Advertisement

Frequently asked questions

Does MAD always mean this statistic?

No. MAD also abbreviates median absolute deviation. This page takes the mean of distances; the median version has its own tool.

What unit does it use?

The same unit as the observations and centre. It does not square that unit.

Can I compare different centres?

Yes. For 0, 0, 6, the median centre 0 gives an average distance of 2; the mean centre 2 gives 8/3.

Sources

Advertisement