Omni Calculator logo

Median Absolute Deviation Calculator

Created by Julia Żuławińska
Reviewed by Bogna Szyk and Jack Bowater
Last updated: May 22, 2023


Here we come with yet another way of analyzing a dataset — 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 everyday-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 are 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.

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. (Learn how to do that in our median calculator).

  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

Before you go, learn more about deviation and other ways of analyzing a dataset with the mean median mode calculator and the variance calculator.

Julia Żuławińska
Median absolute deviation formula
Data (enter up to 50 numbers)
x₁
x₂
Check out 44 similar descriptive statistics calculators 📊
5 number summary5★ rating averageCoefficient of variation… 41 more
People also viewed…

False positive

The false positive calculator finds the rate of false positives based on the specificity and prevalence.

Helium balloons

Wondering how many helium balloons it would take to lift you up in the air? Try this helium balloons calculator! 🎈

Poisson distribution

The Poisson distribution calculator is a tool for determining the probability of a certain number of independent events happening in a given time.

Test grade

With this test grade calculator, you'll quickly determine the test percentage score and grade.
Copyright by Omni Calculator sp. z o.o.
Privacy, Cookies & Terms of Service