# Median Absolute Deviation Calculator

Created by Julia Żuławińska
Reviewed by Bogna Szyk and Jack Bowater
Last updated: Apr 06, 2022

Here we come with yet another way of - the median absolute deviation calculator! If you're looking to learn how to calculate median absolute deviation, you're in the right place. Keep reading to learn the MAD definition and formula. And if mathematical equations aren't your language, don't worry, we also give you a step-by-step solution and an every-day-life median absolute deviation example.

So, input up to 50 numbers and get the median absolute deviation for your dataset!

## What is the median absolute deviation?

In statistics, deviation means the difference between an observed value and a statistically significant central point. You measure it to see how spread out the points of a dataset are. In a set that can be characterized by the normal distribution, we recommend using standard deviation. For non-normal data, you can use median absolute deviation.

But what is absolute deviation and median?

• Absolute deviation means that it doesn't matter if a number is bigger or smaller than the central point - the distance between them is always positive.
• Median is the "middle" number of a sorted set. It always has the same amount of numbers below and above it. In a dataset containing an even amount of numbers, the median is the average between the two middlemost numbers.

By calculating the median absolute deviation, also known by its acronym MAD, you determine the median of the positive deviations around the median. Somewhat confusing? We'll look at the formula and a step-by-step solution in a second.

 💡 The acronym MAD is also used to describe mean absolute deviation. It's similar in concept, but not the same. Learn more about it in the [mean absolute deviation calculator.](calc:2834)

## How to calculate median absolute deviation?

The median absolute deviation formula is:

MAD = median(Xi - m), where

• m is the median of a dataset; and
• Xi is the dataset in question.

You calculate median absolute deviation around the median. Here's how to do that in a few steps:

1. Sort the dataset and find the median.

2. Subtract the median from each data point.

3. Find the absolute value of each number.

4. Sort the numbers.

5. Find the median of the new dataset.

Let's use these five steps to solve a MAD exercise.

## Median absolute deviation example

Let's say you organized a running race between you and some of your friends. You all ran 100 m and wrote down your results: 12s, 16s, 12s, 11s, 14s, 15s. How to calculate the median absolute deviation of your running times?

1. First, sort the dataset, [11, 12, 12, 14, 15, 16], and find the median. m = 13
2. Get the new dataset by subtracting the median from each data point:
• 11 - 13 = -2
• 12 - 13 = -1
• 12 - 13 = -1
• 14 - 13 = 1
• 15 - 13 = 2
• 16 - 13 = 3
1. Find the absolute value of each point:
• |-2| = 2
• |-1| = 1
• |-1| = 1
• |1| = 1
• |2| = 2
• |3| = 3
1. Sort new points: [1, 1, 1, 2, 2, 3]
2. Find the median: MAD = 1.5

## Deviation calculators

Learn more about deviation and other ways of analyzing a dataset with these calculators:

Julia Żuławińska Data (enter up to 50 numbers)
x₁
x₂
People also viewed…

### Moneyline odds

Find out how much you can win or lose if you wager \$100 with the moneyline odds calculator's help. 