Average Deviation Calculator
Calculate mean absolute deviation (MAD), individual deviations, mean, median, variance, and standard deviation from any dataset instantly.
| # | Value (xi) | Deviation (xi − x) | |Deviation| |
|---|
About
Average deviation quantifies how far data points scatter from the arithmetic mean x̄. Formally termed Mean Absolute Deviation (MAD), it computes the average of all absolute deviations |xi − x̄| across n observations. Unlike variance, MAD uses absolute values instead of squares, making it more robust against outliers and easier to interpret in the original units. A MAD of 0 indicates all values are identical. Misreporting dispersion can distort quality control limits, risk assessments, and tolerance intervals. This tool assumes a finite population. For samples, the denominator remains n (not n − 1) per the standard MAD definition.
The calculator also reports the median absolute deviation, standard deviation σ, variance σ2, and range for cross-comparison. For normally distributed data, MAD ≈ 0.7979 ⋅ σ. Significant divergence from this ratio signals skewness or heavy tails. Note: for datasets exceeding 105 values, precision loss from floating-point arithmetic may appear at the 15th significant digit.
Formulas
The primary computation proceeds in three stages. First, compute the arithmetic mean of the dataset:
Next, compute each individual absolute deviation from the mean:
Finally, the Mean Absolute Deviation (MAD) is the arithmetic mean of all individual deviations:
Where xi = each data point, = arithmetic mean of the dataset, n = total number of observations, di = absolute deviation of the i-th value from the mean, and MAD = mean absolute deviation (average deviation).
For comparison, the population standard deviation uses squared deviations:
Reference Data
| Measure | Formula | Sensitive to Outliers | Units | Use Case |
|---|---|---|---|---|
| Mean Absolute Deviation (MAD) | 1n n∑i=1 |xi − | | Low | Same as data | Quality control, robust dispersion |
| Median Absolute Deviation | median(|xi − median(x)|) | Very Low | Same as data | Outlier detection, robust statistics |
| Variance (σ2) | 1n n∑i=1 (xi − )2 | High | Squared units | Parametric tests, ANOVA |
| Standard Deviation (σ) | √σ2 | High | Same as data | Normal distribution analysis, confidence intervals |
| Range | xmax − xmin | Extreme | Same as data | Quick spread estimate |
| Interquartile Range (IQR) | Q3 − Q1 | Low | Same as data | Box plots, outlier fences |
| Coefficient of Variation | σ × 100% | High | Dimensionless | Comparing variability across different scales |
| Mean Squared Error | 1n n∑i=1 (xi − )2 | High | Squared units | Regression, prediction error |
| Root Mean Square (RMS) | √1n n∑i=1 xi2 | High | Same as data | Signal processing, AC voltage |
| Geometric Mean Deviation | exp(1n n∑i=1 ln|xi − |) | Moderate | Same as data | Log-normal distributions |
| MAD / σ Ratio (Normal) | ≈ 0.7979 | N/A | Dimensionless | Normality diagnostic |
| Sample Std Dev (s) | √1n − 1 n∑i=1 (xi − )2 | High | Same as data | Bessel-corrected estimate for samples |