How to use the median absolute deviation calculator
Find a robust measure of spread that is not pulled by outliers. Enter data values in the field above; the median absolute deviation, scaled to match standard deviation are computed instantly and plotted on the chart so you can see how the answer changes.
Common searches this calculator answers include “median absolute deviation MAD”, “robust spread”, “outlier resistant spread”, “calculate median absolute deviation”, “find median absolute deviation”.
Formula
Variables
- d — Data values
Worked example
With data values = 2,4,4,4,5,5,7,9,40, the calculator gives median absolute deviation ≈ 1; scaled to match standard deviation ≈ 1.4826.
Frequently asked questions
What is the median absolute deviation calculator used for?
Find a robust measure of spread that is not pulled by outliers. It helps with questions such as “median absolute deviation MAD”, “robust spread”, “outlier resistant spread”.
What is the formula for the median absolute deviation calculation?
Median absolute deviation = med(d.map(function(v){return abs(v-med(d))})). Scaled to match standard deviation = 1.4826 × [Median absolute deviation]. Here d is data values.
What inputs do I need for the median absolute deviation calculator?
You need data values. Each field is pre-filled with a typical example so you can see how the result responds as you edit the numbers.
How do I use the median absolute deviation calculator?
Type values into the input fields. Results and the chart update instantly. Use Reset to restore the example values, Copy results to paste them elsewhere, or Share to copy a link that preserves your inputs.
Is the median absolute deviation result exact?
Calculations use standard formulas and double-precision arithmetic, then display about seven significant figures. Real-world measurements carry uncertainty, so treat results as estimates unless your inputs are exact.