Free calculatorLive resultsSteps and sourcesEmbed on your site, free

Median Absolute Deviation Calculator

Median absolute deviation calculator works out Count (n) and Sum from Data set, Quartile method and Outlier fence multiplier. The default figures on this page give median absolute deviation of 0.5; change any entry and the result, the working and the sources update together.

Median absolute deviation
0.5
Descriptive Statistics Calculator
Count (n)
8
Sum
40
Mean
5
Median
4.5
Mode
4
Minimum
2
Maximum
9
Range
7
Midrange
5.5
Sample variance (s squared)
4.571429
Sample standard deviation (s)
2.13809
Population variance (sigma squared)
4
Population standard deviation (sigma)
2
Standard error of the mean
0.755929
Sum of squared deviations (SS)
32
First quartile (Q1)
4
Second quartile (Q2, the median)
4.5
Third quartile (Q3)
5.5
Interquartile range (IQR)
1.5
Lower outlier fence
1.75
Upper outlier fence
7.75
Requested percentile
4.5
Mean absolute deviation
1.5
Coefficient of variation
42.761799 %
Skewness (G1)
0.818488
Excess kurtosis (G2)
0.940625
Worked out from NIST/SEMATECH e-Handbook of Statistical Methods, section 1.3.5 Quantitative Techniques and 3 other sources.
1 value(s) fall outside the 1.5 x IQR fences: 9.

Your figures

Updates as you type
Separate values with commas, spaces or new lines.
Different textbooks and calculators split quartiles differently. Pick the one your course uses.
Tukey used 1.5 x IQR for "outliers" and 3 x IQR for "far out" points.

How this is worked out

8 steps
  1. Sorted data (n = 8): 2, 4, 4, 4, 5, 5, 7, 9
  2. Mean = 40 / 8 = 5
  3. Median = average of the two middle values = 4.5
  4. Sum of squared deviations SS = 32
  5. Sample variance = SS / (n - 1) = 32 / 7 = 4.57142857, so s = 2.13808994
  6. Population variance = SS / n = 32 / 8 = 4, so sigma = 2
  7. Quartiles (linear method): Q1 = 4, Q2 = 4.5, Q3 = 5.5, IQR = 1.5
  8. Outlier fences = Q1 - 1.5 x IQR = 1.75 and Q3 + 1.5 x IQR = 7.75
Modal valuestable
4
Outlierstable
9
Five-number summarytable
2, 4, 4.5, 5.5, 9
Sorted datatable
2, 4, 4, 4, 5, 5, 7, 9

Its 5 worked examples are re-run on every release, last on 15 September 2026. What changed

Sources and references

4 sources
Hyndman, R.J. & Fan, Y. (1996), "Sample Quantiles in Statistical Packages", The American Statistician 50(4), 361-365
Definitions of the type 6 (exclusive) and type 7 (linear/inclusive) quantile estimators offered here.
Tukey, J.W. (1977), Exploratory Data Analysis, Addison-Wesley
Five-number summary and the 1.5 x IQR outlier fences.
Joanes, D.N. & Gill, C.A. (1998), "Comparing measures of sample skewness and kurtosis", The Statistician 47(1), 183-189
The G1 skewness and G2 excess-kurtosis estimators used by Excel, SPSS and SAS.

What the median absolute deviation calculator calculates

Computes the full descriptive summary of a data set: count, sum, mean, median, mode, range, midrange, sample and population variance and standard deviation, quartiles, interquartile range, percentiles, the five-number summary, Tukey outlier fences, mean and median absolute deviation, coefficient of variation, skewness and excess kurtosis.

How to use this median absolute deviation calculator

Enter Data set, Quartile method and Outlier fence multiplier. Count (n) updates as you type. Change one figure at a time to see what drives the result.

How the result is worked out

Open “How this is worked out” beside the result for the step-by-step calculation behind Count (n), Sum and Mean.

The method follows NIST/SEMATECH e-Handbook of Statistical Methods, section 1.3.5 Quantitative Techniques, Hyndman, R.J. & Fan, Y. (1996), "Sample Quantiles in Statistical Packages", The American Statistician 50(4), 361-365, Tukey, J.W. (1977), Exploratory Data Analysis, Addison-Wesley and Joanes, D.N. & Gill, C.A. (1998), "Comparing measures of sample skewness and kurtosis", The Statistician 47(1), 183-189.

What you can compare

Change one input at a time to see how it affects Count (n), Sum and Mean. The inputs you can vary are Data set, Quartile method and Outlier fence multiplier.

Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

See something wrong? Report a problem with this calculator

Frequently asked questions

How to calculate the median absolute deviation?

Computes the full descriptive summary of a data set: count, sum, mean, median, mode, range, midrange, sample and population variance and standard deviation, quartiles, interquartile range, percentiles. Open “How this is worked out” beside the result to see each step for your own figures.

What is the mean absolute deviation of 10 10 9 8 10 5 6 4 8 4?

On the figures this page opens with, the median absolute deviation is 0.5. No single number fits everyone: it follows Data set, Quartile method and Outlier fence multiplier, so enter your own above and the answer updates as you type.

What is the mean absolute deviation of 4 12 2 12 20 16 12 18?

It needs Data set, Quartile method and Outlier fence multiplier. Nothing else is required, and the figures stay in your browser.

What information do I need for the median absolute deviation calculator?

You need Data set, Quartile method and Outlier fence multiplier. The page opens with default figures that give median absolute deviation of 0.5, so you can see the scale before entering your own.

What does this median absolute deviation calculator show?

It shows Count (n), Sum, Mean, Median, Mode, Modal values, Minimum and Maximum, with the working and any warnings for your entries.

Can I check how the median absolute deviation calculator result was calculated?

Yes. The “How this is worked out” section shows the calculation steps, and the sources section identifies the references used for the method.

Related calculators

View all related calculators8 more