Mean absolute deviation calculator with steps

Mean absolute deviation
—

Enter some numbers, then step through the working.

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

Step 1: Find the mean

Step 1 of 4

All steps at once

The same working on one screen, ready to copy.

    #xx − x̄|x − x̄|

    How mean absolute deviation calculator with steps works

    The mean absolute deviation calculator with steps works by splitting the calculation into 4 steps, finding the mean, measuring each distance, adding the distances and dividing by n, and drawing 1 picture for each step with your numbers. The Previous and Next buttons, or the left and right arrow keys, move between the steps.

    1. Find the meanA seesaw balances the values at x̄.
    2. Measure each distanceAn arrow runs from the mean to each value.
    3. Add the distancesThe arrows line up into 1 bar of length Σ|x − x̄|.
    4. Divide by nThe bar splits into n equal pieces. 1 piece is the MAD.

    The example below uses the calculator's default data, 8 quiz scores: 4, 8, 6, 5, 3, 7, 9, 6. The mean is 6 and the mean absolute deviation is 1.5.

    x̄ = 62213132345678910
    Below the meanAbove the mean
    Step 2 in one picture: 8 arrows of length 2, 2, 0, 1, 3, 1, 3, 0. Values equal to the mean (6 and 6) have a distance of 0.

    Mean absolute deviation calculator with steps formula

    The mean absolute deviation calculator with steps formula is MAD = Σ|xᵢ − x̄| ÷ n, and each of its 4 parts matches 1 step: x̄ is step 1, |xᵢ − x̄| is step 2, Σ is step 3 and ÷ n is step 4.

    StepFormula partExample result
    1. Find the meanx̄ = Σxᵢ ÷ n48 ÷ 8 = 6
    2. Measure each distance|xᵢ − x̄|2, 2, 0, 1, 3, 1, 3, 0
    3. Add the distancesΣ|xᵢ − x̄|12
    4. Divide by n÷ n12 ÷ 8 = 1.5

    The formula with the example data

    MAD = (|4 − 6| + |8 − 6| + |6 − 6| + |5 − 6| + |3 − 6| + |7 − 6| + |9 − 6| + |6 − 6|) ÷ 8 = 12 ÷ 8 = 1.5

    The absolute value bars | | turn every deviation into a distance. Without them, the 8 deviations -2, 2, 0, -1, -3, 1, 3, 0 add to 0 for every data set, and the formula returns 0.

    Mean absolute deviation calculator with steps technique

    The most reliable mean absolute deviation calculator with steps technique is check-as-you-go: finish 1 step, test the result with that step's check, and move on only when the check passes. A mistake caught at step 1 never reaches the final answer.

    StepCheckExample
    1. Find the meanSigned deviations x − x̄ add to 0-2 + 2 + 0 + -1 + -3 + 1 + 3 + 0 = 0
    2. Measure each distanceEvery distance is 0 or positive2, 2, 0, 1, 3, 1, 3, 0
    3. Add the distancesDistances below the mean equal distances above6 = 6
    4. Divide by nMAD ≤ standard deviation ≤ half the range1.5 ≤ 1.87 ≤ 3

    Steps 3 and 4 as bars

    Step 3: the 8 distances end to end, total 12
    221313
    Step 4: the same bar cut into 8 equal pieces of 1.5
    1.51.51.51.51.51.51.51.5
    The outlined piece is the mean absolute deviation: 12 ÷ 8 = 1.5. Blue pieces come from values below the mean and orange pieces from values above it, 6 each.

    Negative values follow the same 4 steps. The data set -4, 2, -1, 5, 0, -2, 3 has a mean of 0.43 and a MAD of 2.49.

    Frequently asked questions

    What is the mean absolute deviation of 4, 8, 6, 5, 3, 7, 9, 6?

    The mean absolute deviation of 4, 8, 6, 5, 3, 7, 9, 6 is 1.5. Step 1: the mean is 48 ÷ 8 = 6. Step 2: the distances are 2, 2, 0, 1, 3, 1, 3 and 0. Step 3: the distances add to 12. Step 4: 12 ÷ 8 = 1.5.

    How do you check each step of a mean absolute deviation calculation?

    Check each step with 1 rule: the signed deviations add to 0 (step 1), every distance is 0 or positive (step 2), the distances below and above the mean are equal (step 3), and the MAD is at most half the range (step 4). For 4, 8, 6, 5, 3, 7, 9, 6, the distances below and above the mean are 6 and 6, and the MAD of 1.5 is under half the range, 3.

    Can you find mean absolute deviation with negative numbers?

    Yes, mean absolute deviation works with negative numbers in the same 4 steps. The data set −4, 2, −1, 5, 0, −2, 3 has a mean of 3 ÷ 7 ≈ 0.43 and a MAD of about 2.49. The distance from −4 to 0.43 is 4.43, a positive number.

    Which part of the formula does each step match?

    Step 1 matches x̄, step 2 matches |xᵢ − x̄|, step 3 matches Σ and step 4 matches ÷ n in MAD = Σ|xᵢ − x̄| ÷ n. The step player highlights the matching part of the formula on every step.

    What are the steps to find mean absolute deviation?

    There are 4 steps to find mean absolute deviation: find the mean, find the distance of each value from the mean, add the distances, and divide the total by the number of values. The step player walks through each step with your numbers.

    Why do we drop the minus signs?

    We drop the minus signs so the deviations do not cancel out: signed deviations from the mean always add to 0. Values below the mean give negative differences and values above give positive ones. Dropping the signs keeps only the distance, and distance measures spread.

    Why is the mean called the balance point?

    The mean is called the balance point since equal weights placed at each value on a ruler balance at the mean. The total distance on the left of the mean equals the total distance on the right. Step 1 shows the balance as a seesaw.

    Can I use the keyboard to move between steps?

    Yes, the left and right arrow keys move between steps. Click the step panel first, or tab to the Previous and Next buttons.