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…

Body fat

Use our free Body Fat Calculator, based on BMI, to determine your body fat percentage and explore your ideal body fat range.

Car crash force

With this car crash calculator, you can find out how dangerous car crashes are.

Frequency distribution

The frequency distribution calculator generates the cumulative frequency distribution table and a bar graph representing the frequency distribution for the given set of numbers.

Post test probability

The post-test probability calculator allows you to calculate pre-test probability, likelihood ratios, and finally, the post-test probability itself.
Copyright by Omni Calculator sp. z o.o.
Privacy, Cookies & Terms of Service