Median Absolute Deviation - Robust Spread and 1.4826 Scale

Use this median absolute deviation calculator to compute the median of absolute deviations and the 1.4826 consistency-corrected scale from any numeric list.

Updated: June 16, 2026 • Free Tool

Median Absolute Deviation

Enter 1 to 1000 numbers separated by commas, spaces, semicolons, or new lines. Integers, decimals, and negative values are all accepted.

Number of decimal places to show in the median, MAD, scaled MAD, quartiles, and the absolute deviation list. The internal sort keeps full float64 precision.

Results

MAD
0
Scaled MAD (1.4826 x MAD) 0
Dataset Median 0
Arithmetic Mean (for comparison) 0
First Quartile (Q1) 0
Third Quartile (Q3) 0
Interquartile Range (IQR) 0
Minimum 0
Maximum 0
Range 0
Valid Values 0
Skipped Values 0
Absolute Deviations (sorted) 0

What Is a Median Absolute Deviation Calculator?

A median absolute deviation calculator is a statistics tool that locates the middle of the absolute deviations from the dataset median, a robust spread measure often called MAD. Use it when you want a typical spread number that does not move when a single outlier is added, such as summarizing income, response time, or sensor readings where one extreme value would otherwise pull the result.

  • Income and price reporting: Use MAD when reporting the spread of household income or real estate sale prices, where a few extreme entries would otherwise inflate the spread.
  • Sensor and lab measurements: Use MAD to summarize measurement noise in a sensor log, where one spike in a long recording should not push the spread estimate far above the steady-state noise level.
  • Response time and queue depth: Use MAD to summarize the spread of API response time or queue length, because the slow tail of a latency distribution shifts the mean and standard deviation far from the typical reading.
  • Grading and quality control: Use MAD to summarize test score spread or production tolerances, so a single very low or very high data point does not dictate the typical deviation from the middle value.

MAD belongs to the family of order statistics, the values you read off a sorted list by position.

The calculator prints the unscaled MAD, the 1.4826 scaled estimate, and the supporting median, quartiles, and IQR.

For a related order-statistic summary that returns the middle value from the same input format, Median Calculator reports the median with the same parse and skip rules.

How the Calculator Works

The calculator parses the input list, computes the dataset median, takes the absolute deviation of every value from that median, and returns the median of those absolute deviations. The result is then multiplied by 1.4826 to give a scale that matches the standard deviation for normal data.

MAD = median( |x_i - median(x)| ); scaled MAD = 1.4826 x MAD
  • x_i: Each numeric value in the dataset, such as a test score, a response time, or a sale price.
  • median(x): The middle value of the sorted dataset; the average of the two middle values when the count is even.
  • absolute deviation: The non-negative difference |x_i - median(x)| for every value.
  • MAD: The median of the absolute deviations, the headline robust spread number.
  • 1.4826: The reciprocal of the 75th percentile of the standard normal distribution (0.6745).

The 1.4826 constant is the reciprocal of the 75th percentile of the standard normal distribution. For normally distributed data, the median of the absolute deviations is 0.6745 times the standard deviation, so multiplying MAD by 1.4826 gives an unbiased estimate of the standard deviation.

The internal sort runs on full float64 precision, and displayed values are rounded only when the result is written to the page.

Outlier-heavy list 1, 2, 2, 2, 3, 14

Values: 1, 2, 2, 2, 3, 14 (n = 6).

Dataset median = 2. Absolute deviations: 1, 0, 0, 0, 1, 12. Sorted: 0, 0, 0, 1, 1, 12. Median of absolute deviations = 0.5. Scaled MAD = 1.4826 x 0.5 = 0.7413.

MAD = 0.5, Scaled MAD ~ 0.7413, mean = 4, range = 13.

MAD stays at 0.5 even though the 14 pulls the mean to 4.

According to Wikipedia, the median absolute deviation of a dataset is the median of the absolute deviations from the dataset median, and for a normal distribution MAD equals 0.6745 sigma, so multiplying MAD by 1.4826 gives a consistent estimator of the standard deviation.

According to MathWorld, the statistical median is an order statistic that, for an odd count, is the middle ranked value and, for an even count, is the average of the two middle ranked values, and is the standard robust summary for the middle of a sample.

For the classical spread statistic that MAD is often compared to, Standard Deviation Calculator returns the standard deviation, variance, and range from the same input format.

Key Concepts Behind MAD

Four ideas sit behind the calculator and explain why MAD behaves differently from the standard deviation in the presence of outliers.

Order statistics

MAD is an order statistic, which depends only on the rank of each value in the sorted list, so an outlier does not move the result.

Robustness and breakdown point

The breakdown point of MAD is 50%, the highest possible breakdown point for any scale estimator, so up to half the values can be replaced by arbitrary numbers and the result will still stay bounded.

Consistency constant 1.4826

Multiplying MAD by 1.4826 turns the median of absolute deviations into a consistent estimator of the standard deviation for normal data.

MAD vs IQR

Both MAD and the interquartile range are robust spread statistics, but MAD uses the median as the center while IQR uses Q1 and Q3.

Order statistics are the right tool when the question is how spread out the typical observation is, rather than how far the average observation sits from the mean.

The 50% breakdown point is the technical reason MAD is preferred over the standard deviation in fields where outliers are common, such as finance, sensor data, and biology.

For the IQR side of this trade-off from the same input list, Interquartile Range Calculator returns Q1, Q3, and the interquartile range with the same sort step.

How to Use the Calculator

Paste a list of numbers into the textarea, pick a precision, and read the MAD and the 1.4826 scaled estimate next to the dataset median and the quartiles.

  1. 1 Enter the values: Type or paste up to 1000 numbers. Use commas, spaces, semicolons, or new lines as separators.
  2. 2 Skip unparseable tokens: If a token is not a finite number, the calculator skips it and adds to the Skipped Values counter.
  3. 3 Choose decimal places: Set the precision from 0 to 10. The default of 4 is enough for most test scores and prices.
  4. 4 Read the MAD and the scaled estimate: The headline result is the unscaled MAD, and the second row shows the 1.4826 scaled estimate.
  5. 5 Check the median and the spread: Use the dataset median as the reference point and the Q1, Q3, and IQR rows to see how the middle 50% of the data behaves.
  6. 6 Compare to the mean and the range: A large gap between the median and the mean, or between MAD and the range, is a signal that the dataset is skewed or contains outliers.

Suppose an API monitoring system collects 11 response times in milliseconds: 110, 115, 118, 120, 122, 124, 126, 128, 130, 134, 410. The dataset median is 124, the unscaled MAD is 6, and the 1.4826 scaled estimate is 8.8956. The mean is 148, inflated by the 410 spike, while MAD stays at 6.

For the classical mean that MAD is often compared to from the same list, Mean Calculator returns the arithmetic average with the same parse and skip rules.

Benefits of Using the Calculator

The MAD calculator is most useful when the spread of the data has to survive one or two extreme values without inflating the headline number.

  • Resistant to outliers: Use MAD when the dataset may contain a few extreme values, such as a luxury home sale in a neighborhood price report or a single very slow API response in a latency log.
  • Right summary for skewed data: For income, house prices, and other right-skewed distributions, MAD describes the typical spread better than the standard deviation, which is dominated by the long right tail.
  • Scaled estimate alongside the raw MAD: The 1.4826 scaled estimate lives on the same scale as the standard deviation for normal data, so the calculator doubles as a robust replacement for the standard deviation.
  • Works for small samples: MAD is well defined for a single value, two values, or any other count, so this calculator handles tiny samples where the standard deviation is unstable or undefined.
  • Cross-check for the standard deviation: Run the same list through MAD and the standard deviation side by side. A large gap is a signal that the dataset is skewed or contains outliers.
  • Transparent absolute-deviation step: The calculator shows the underlying absolute deviations in the supporting rows, so the MAD number is not a black box and the user can see which points contribute to the middle value.

The benefit is not that MAD is always a better number than the standard deviation. MAD is the right spread statistic for data where a single extreme value should not move the result, and the calculator surfaces the supporting median, quartiles, and IQR so the user can decide which statistic fits the question at hand.

Pair MAD with the median for a complete robust central tendency and spread review.

To put MAD next to the median, quartiles, and IQR in a single visual summary from the same data, Box Plot Calculator draws the box-and-whisker plot with the same quartile values.

Factors That Affect Your MAD Result

Five factors and two caveats shape how the calculator behaves on real data, and they are worth keeping in mind when interpreting the MAD number.

Sample size

MAD is well defined for any count, but precision improves with sample size.

Outliers and skew

MAD is unaffected by the size of an outlier, so heavy outliers leave the MAD in place while the mean and the standard deviation move.

Ties at the center

When several values share the central position, the median averages the two central values, which can land between the two tied values.

Consistency constant choice

Multiplying by 1.4826 is the convention for normal data. For non-normal data, the link to the standard deviation is approximate.

Data entry format

The calculator accepts commas, spaces, semicolons, and new lines, and skips unparseable tokens.

  • MAD is a single number and does not describe the full shape of the distribution beyond the center. Use a histogram or a box plot to see the tails.
  • The calculator returns a numeric MAD and a scaled estimate, but does not flag which points are statistical outliers. Combine the MAD with the 3 x MAD fence rule to identify outliers.

For a quick sanity check, the dataset median always lies between the minimum and the maximum, and Q1 is at most the median and the median is at most Q3. If the displayed numbers do not satisfy that ordering, re-check the inputs.

When the inputs are mixed units (for example, dollars and euros), the numeric result is still computed but no longer interpretable as a single quantity.

According to NIST/SEMATECH e-Handbook of Statistical Methods, the median absolute deviation is the most robust measure of statistical dispersion and is preferred over the standard deviation when the dataset contains outliers or comes from a heavy-tailed distribution.

To see how the 3 x MAD fence maps to a standardized cut-off, Z-Score Calculator returns z-scores from the same dataset so the outlier decision can be expressed in standard-deviation units.

median absolute deviation calculator showing the MAD and the 1.4826 scaled estimate with the absolute deviation list and a worked example
median absolute deviation calculator showing the MAD and the 1.4826 scaled estimate with the absolute deviation list and a worked example

Frequently Asked Questions

Q: What is the median absolute deviation (MAD)?

A: The median absolute deviation is the median of the absolute deviations from the dataset median. Sort the values, locate the median, take the absolute difference of every value from that median, then take the median of those absolute differences. That second median is the MAD.

Q: How is median absolute deviation different from standard deviation?

A: Standard deviation squares every deviation from the mean, so a single very large value can inflate the result. MAD only uses the absolute deviations and reads the middle one, so an extreme value shifts the result by at most one position in the sorted list.

Q: How do I calculate median absolute deviation step by step?

A: Sort the dataset, locate the dataset median, compute the absolute value of every deviation from that median, sort those absolute deviations, and take the median. For a normal dataset, multiply the result by 1.4826 to match the standard deviation scale.

Q: Why is the consistency constant 1.4826 used with MAD?

A: For normally distributed data, the median of the absolute deviations is 0.6745 times the standard deviation, so the reciprocal 1.4826 is multiplied by MAD to recover an unbiased estimate of sigma on the same scale.

Q: When should I use MAD instead of standard deviation?

A: Use MAD when the dataset may contain a few extreme values, when the distribution is heavy-tailed or skewed, or when the sample is too small for the standard deviation to be stable. Use the standard deviation when the data are roughly normal.

Q: How do I detect outliers using median absolute deviation?

A: Flag any value that is more than 3 times the MAD away from the dataset median as a likely outlier. The 3 x MAD fence is the robust version of the mean plus or minus 3 standard deviations fence.