Each dot is a value. Its tail shows how far it sits from the mean. The shaded band covers mean ± MAD.
valuemean± MAD
Drag a dot to change its value · Double-click empty space to add a value · Double-click a dot to remove it
Absolute deviations
One bar per value, as tall as its distance from the mean. MAD is the average bar height.
Press Level to MAD to spread the total deviation evenly. Every bar ends up exactly MAD tall.
Step-by-step working
How the result is calculated, with your numbers.
#
x
x − x̄
|x − x̄|
Distance
How to do mean absolute deviation on a calculator
To do mean absolute deviation on a calculator, find the mean, subtract the mean from each value, add the distances without their minus signs, and divide the sum by the number of values. Any calculator with +, − and ÷ keys handles these 4 steps.
The example data set below has 8 values: 14, 14, 6, 6, 10, 10, 2, 18. The key presses are the same on a phone calculator, a basic calculator or a scientific calculator.
Step 1: Find the arithmetic mean
Add the 8 values and divide the total by 8.
14+14+6+6+10+10+2+18=
Display: 80 → ÷8= → mean = 10
Step 2: Find each absolute deviation
Subtract the mean from each value and write the result without the minus sign. Subtract the smaller number from the larger one to get a positive result straight away.
|14 − 10| = 4
|14 − 10| = 4
|6 − 10| = 4
|6 − 10| = 4
|10 − 10| = 0
|10 − 10| = 0
|2 − 10| = 8
|18 − 10| = 8
Step 3: Add the absolute deviations
4+4+4+4+0+0+8+8=
Display: 32
Step 4: Divide by the number of values
32÷8=
Display: 4. The mean absolute deviation is 4.
The shaded band runs from 6 to 14 (mean ± MAD). The 2 orange values (2 and 18) sit 8 units from the mean, twice the MAD.
The mean absolute deviation calculator formula is MAD = Σ|xᵢ − x̄| ÷ n: the sum of the absolute deviations from the mean, divided by the number of values.
MAD=Σ|xᵢ − x̄|n
MAD: mean absolute deviation, the result. MAD uses the same unit as the data (cm, kg, points, dollars).
Σ (sigma): add up every term that follows.
| |: absolute value. The absolute value turns −4 into 4 and leaves 4 as 4.
Values with counts, or class midpoints for grouped data
About the median
Σ|xᵢ − M| ÷ n
Skewed data and data with outliers
Mean absolute error (MAE)
Σ|yᵢ − ŷᵢ| ÷ n
Actual values vs predictions or forecasts
The population formula and the sample formula for mean absolute deviation are identical: both divide by n. Standard deviation is different, with a sample version that divides by n − 1.
Mean absolute deviation calculator technique
The most reliable mean absolute deviation calculator technique is the table method: write each value, its deviation x − x̄ and its absolute deviation |x − x̄| in 3 columns, then total the last column and divide by n. The table keeps every number visible, so a wrong entry is easy to find.
x
x − x̄
|x − x̄|
14
4
4
14
4
4
6
-4
4
6
-4
4
10
0
0
10
0
0
2
-8
8
18
8
8
Σ = 80
Σ = 0 ✓
Σ = 32 → ÷ 8 = 4
3 checks that catch mistakes
Signed deviations add to 0. The x − x̄ column always totals 0 when the mean is correct. A total of 3 or −2 means the mean is wrong.
MAD is never larger than the standard deviation (SD). For the example, MAD = 4 and SD = 4.9.
MAD is never larger than half the range. The example range is 18 − 2 = 16, so MAD can't exceed 8.
Mean absolute deviation (MAD)4
Standard deviation (SD)4.9
Half the range8
MAD ≤ SD ≤ half the range holds for every data set. A MAD above either bar signals an arithmetic error.
5 techniques compared
Technique
Best for
What it needs
Table method by hand
Homework and exams up to 15 values
Pencil, paper, basic calculator
Calculator memory (M+)
Long lists on a scientific calculator
M+ and RCL keys
Graphing calculator list
TI-84 users, any list length
mean( and abs( functions
Spreadsheet
Data already in Excel or Google Sheets
=AVEDEV(A1:A8)
Online MAD calculator
Checking answers, large data sets, charts
A web browser
Python (NumPy) and R both use one line: np.mean(np.abs(x - np.mean(x))) and mean(abs(x - mean(x))). The R function mad() returns the median absolute deviation, a different statistic.
How to find mean absolute deviation on a graphing calculator
To find mean absolute deviation on a graphing calculator, store the data in a list and run mean(abs(L1 − mean(L1))). The TI-84 Plus and Desmos both return the mean absolute deviation in one line.
TI-84 Plus (TI-84 Plus CE)
Press STATENTER to open 1:Edit, then type the 8 values into L1.
Press 2ndMODE (QUIT) to return to the home screen.
Press 2ndSTAT, go right to MATH and choose 3:mean(.
Press MATH, go right to NUM and choose 1:abs(.
Press 2nd1 for L1, then −, then mean( again and 2nd1))).
Press ENTER. The screen shows 4.
mean(L₁)
10
abs(L₁−mean(L₁))
{4 4 4 4 0 0 8 8}
mean(abs(L₁−mean(L₁)))
4
Desmos graphing calculator
Type the list into a new expression: a = [14, 14, 6, 6, 10, 10, 2, 18].
Type mean(a) in the next expression to see the mean, 10.
Type mean(abs(a − mean(a))). Desmos shows 4.
1a = [14, 14, 6, 6, 10, 10, 2, 18]
2mean(a)= 10
3mean(abs(a − mean(a)))= 4
The TI-84 has no built-in MAD key. The 1-Var Stats screen shows x̄, Sx and σx, but σx is the population standard deviation (4.9 for the example), not the mean absolute deviation.
Mean absolute deviation in scientific calculator
A scientific calculator has no mean absolute deviation key, so use the statistics mode for the mean and the memory key M+ to add the absolute deviations. The memory method works on the Casio fx-991EX, Casio fx-82MS and TI-30XS MultiView.
Find the mean. On a Casio fx-991EX, press MENU6 (Statistics) and choose 1-Variable. Enter each value followed by =, press AC, then OPTN and choose 1-Variable Calc. The screen shows x̄ = 10.
Clear the memory: SHIFT9, then Variable Memory. Return to the calculate mode with MENU1.
Add each distance to memory: type the larger number minus the smaller one, then press M+. For 14 and 10, press 14−10M+.
Recall the total with RCLM+ (shown as M). The memory holds 32.
Divide: 32÷8=. The mean absolute deviation is 4.
Key pressesDisplayMemory M
14 − 10 M+44
14 − 10 M+48
10 − 6 M+412
10 − 6 M+416
10 − 10 M+016
10 − 10 M+016
10 − 2 M+824
18 − 10 M+832
Memory M grows by one absolute deviation per M+ press and finishes at 32. 32 ÷ 8 = 4.
Calculators with an Abs function (Casio ClassWiz and many TI models) accept Abs(14 − 10) directly. The memory total is the same either way.
How the Mean Absolute Deviation Calculator works
What is mean absolute deviation?
Mean absolute deviation (MAD) is the average distance between each value and the center of the data. It tells you, in the same units as your data, how far a typical value sits from the mean.
MAD=Σ |xi − x̄|n
A small MAD means the values sit close together. A large MAD means they are spread out.
How to calculate it
Find the mean. Add all values and divide by how many there are.
Find each distance. Subtract the mean from each value and drop the sign.
Average the distances. Add the absolute deviations and divide by n.
The calculator above does these three steps for you and shows the working.
MAD vs. standard deviation
Both measure spread. Standard deviation squares each deviation, so far-off values count for more. MAD uses plain distances, so it is easier to explain and less affected by outliers.
For roughly normal data, MAD ≈ 0.8 × σ. Try the With outlier sample and watch the two drift apart.
Mean absolute deviation is calculated by averaging the absolute distances between each value and the mean: MAD = Σ|xᵢ − x̄| ÷ n. The calculation has 4 steps: find the arithmetic mean, subtract the mean from each value, add the absolute values of those deviations, and divide the sum by the number of values.
What is the mean absolute deviation of 14 14 6 6 10 10 2 18?
The mean absolute deviation of 14, 14, 6, 6, 10, 10, 2, 18 is 4. The mean is 80 ÷ 8 = 10. The absolute deviations are 4, 4, 4, 4, 0, 0, 8 and 8, and they add to 32. 32 ÷ 8 = 4.
What is the mean absolute deviation of 10 10 9 8 10 5 6 4 8 4?
The mean absolute deviation of 10, 10, 9, 8, 10, 5, 6, 4, 8, 4 is 2.12. The mean is 74 ÷ 10 = 7.4. The absolute deviations are 2.6, 2.6, 1.6, 0.6, 2.6, 2.4, 1.4, 3.4, 0.6 and 3.4, and they add to 21.2. 21.2 ÷ 10 = 2.12.
What is the mean absolute deviation of 20 4 10 20 16 6 20 4?
The mean absolute deviation of 20, 4, 10, 20, 16, 6, 20, 4 is 6.5. The mean is 100 ÷ 8 = 12.5. The absolute deviations are 7.5, 8.5, 2.5, 7.5, 3.5, 6.5, 7.5 and 8.5, and they add to 52. 52 ÷ 8 = 6.5.
Mean or median: which center should I use?
Use the mean for the classic textbook MAD. Measuring from the median gives the smallest possible average absolute distance and is often preferred for skewed data or data with outliers.
Is mean absolute deviation the same as median absolute deviation?
No. Median absolute deviation takes the median of the absolute deviations from the median. This tool calculates the mean (average) of the absolute deviations.
Can MAD be negative?
No. It averages distances, which are never negative. MAD is 0 only when every value is the same.
What formats can I paste?
Numbers separated by commas, spaces, semicolons, tabs or line breaks. You can paste a column straight from a spreadsheet. Negative numbers and decimals work. Anything that is not a number is skipped, and the calculator tells you what it skipped.