Mean absolute deviation calculator with work

Mean absolute deviation
—

Enter some numbers to see the full work.

Values (n)
—
Mean (x̄)
—
Σ |x − x̄|
—

Written solution

Show your work

Running total of the distances

Each step up adds one |x − x̄|. The dashed line goes from 0 to the total, and its slope is the MAD: the average height of a step.

distanceslope = MAD

Work table

Every value, its distance from the mean and the running total.

#xx − x̄|x − x̄|Running total

How mean absolute deviation calculator with work works

The mean absolute deviation calculator with work works by writing out every line of the solution in 4 parts: the given data, the mean with every value added, 1 distance line per value, and the sum divided by n with the answer boxed. Copy work puts the full solution on the clipboard as plain text.

  1. GivenThe data and n.
  2. MeanEvery value added, then divided by n.
  3. Distances1 line per value: |xᵢ − x̄|.
  4. Sum and divideΣ|xᵢ − x̄| ÷ n, answer boxed.

The calculator shows the work 3 ways: a written solution, a running total chart and a work table. The default homework set 12, 15, 11, 18, 14 gives the solution below, with MAD = 2.

Given: 12, 15, 11, 18, 14 n = 5
Formula: MAD = Σ|xᵢ − x̄| ÷ n
Mean: x̄ = (12 + 15 + 11 + 18 + 14) ÷ 5 = 70 ÷ 5 = 14
Distance 1: |x₁ − x̄| = |12 − 14| = 2
Distance 2: |x₂ − x̄| = |15 − 14| = 1
Distance 3: |x₃ − x̄| = |11 − 14| = 3
Distance 4: |x₄ − x̄| = |18 − 14| = 4
Distance 5: |x₅ − x̄| = |14 − 14| = 0
Sum: Σ|xᵢ − x̄| = 2 + 1 + 3 + 4 + 0 = 10
Answer: MAD = 10 ÷ 5 = 2
The written solution for 5 values takes 9 lines. Every number in the answer traces back to 1 visible line.

Mean absolute deviation calculator with work formula

The mean absolute deviation calculator with work formula is MAD = Σ|xᵢ − x̄| ÷ n, written as the first line of the work and filled in 1 part per line.

  • MAD: the boxed answer on the last line.
  • Σ: the sum line, 10 for the example.
  • | |: absolute value bars, written on every distance line.
  • xᵢ: each value, labelled x₁ to x₅.
  • x̄: the mean line, 14 for the example.
  • n: the count from the Given line, 5 for the example.

The formula with the example data

MAD = (|12 − 14| + |15 − 14| + |11 − 14| + |18 − 14| + |14 − 14|) ÷ 5 = 10 ÷ 5 = 2

Where each line of work comes from

Line of workFormula partLines needed
FormulaMAD = Σ|xᵢ − x̄| ÷ n1
Meanx̄ = Σxᵢ ÷ n1
Distances|xᵢ − x̄|n (5 for the example)
SumΣ|xᵢ − x̄|1
Answer÷ n1

Mean absolute deviation calculator with work technique

The most dependable mean absolute deviation calculator with work technique is line-by-line comparison: place your work next to the written solution and compare from the top; the first line that differs holds the mistake. The running total locates a slip inside a long sum.

05102x = 123x = 156x = 1110x = 1810x = 14
Each step up is 1 distance. The running total climbs 2 → 3 → 6 → 10 → 10. The dashed line rises 2 per value on average, which is the MAD.

4 common mistakes on the example

MistakeWrong resultRight result
Dropping the absolute value bars02
Dividing by n − 1 = 42.52
Rounding the mean 3.53 to 4 (decimals sample)0.80.7
Skipping the formula and substitution linesAnswer with no visible method9 lines of work
01230No | | bars2.5Divide by n − 12Correct
Dropping the bars always gives 0. Dividing by n − 1 always gives a result 5 ÷ 4 = 1.25 times too large for 5 values.

Frequently asked questions

What is the mean absolute deviation of 12, 15, 11, 18, 14 with work shown?

The mean absolute deviation of 12, 15, 11, 18, 14 is 2. Mean: (12 + 15 + 11 + 18 + 14) ÷ 5 = 70 ÷ 5 = 14. Distances: |12 − 14| = 2, |15 − 14| = 1, |11 − 14| = 3, |18 − 14| = 4, |14 − 14| = 0. Sum: 2 + 1 + 3 + 4 + 0 = 10. MAD: 10 ÷ 5 = 2.

What are the most common mistakes when showing work for mean absolute deviation?

The 4 most common mistakes are dropping the absolute value bars, dividing by n − 1 instead of n, rounding the mean too early and skipping the substitution line. For 12, 15, 11, 18, 14, dropping the bars gives 0 instead of 2, and dividing by n − 1 gives 2.5 instead of 2.

Do I need to write the formula when showing work?

Yes, write the formula MAD = Σ|xᵢ − x̄| ÷ n as the first line of the work. The formula line tells the grader which statistic you calculate, mean absolute deviation and not median absolute deviation or standard deviation, and each later line fills in 1 part of the formula.

How many lines does the work for mean absolute deviation take?

The work for mean absolute deviation takes n + 4 lines: 1 formula line, 1 mean line, n distance lines, 1 sum line and 1 answer line. A data set of 5 values takes 9 lines, and a data set of 12 values takes 16 lines.

How should I show my work for mean absolute deviation?

Show the work for mean absolute deviation in 5 parts: the formula, the mean with every value added, each distance |x − x̄| on its own line, the sum of the distances, and the division by n. The written solution on this page follows that layout line by line.

Can I copy the work into a document?

Yes, Copy work puts the full written solution on the clipboard as plain text. Paste the solution into a document, an email or a homework portal.

What does the running total chart show?

The running total chart shows the sum of the distances growing 1 value at a time. Each step up is one |x − x̄|. The dashed line runs from 0 to the final total, and the slope of the dashed line (rise per value) is the MAD.

Should I round the mean before finding the distances?

No, keep the full mean until the end and round only the final answer. Rounding the mean early changes the MAD: for 2.5, 3.1, 4.8, 2.9, 3.7, 4.2, rounding the mean 3.53 to 4 gives 0.8 instead of 0.7. Set the decimal places to match what your teacher asks for.