Dispersion Calculator

Calculate range, variance, standard deviation, IQR, MAD, CV, skewness, and kurtosis from any dataset with deviation tables, visual spread plot, and outlier detection.

Range
30.0000
Min 65.00 to Max 95.00
Sample Variance (s²)
94.4556
Population σ² = 85.0100
Sample Std Dev (s)
9.7188
Population σ = 9.2201
IQR
13.7500
Q1=73.50, Q3=87.25
Mean Abs Deviation
7.7000
Average |x − x̄|
Median Abs Deviation
8.0000
Median of |x − median|
Coeff. of Variation
12.04%
(s / |x̄|) × 100
Standard Error
3.0734
s / √n = 9.72 / √10

Shape Measures

Skewness
-0.1194
Approximately symmetric
Excess Kurtosis
-1.0496
Platykurtic (light tails)
Dispersion Index
1.1705
Variance / |Mean| (VMR)
Outliers
0
None detected (1.5×IQR rule)

Deviation Table

Valuex − x̄|x − x̄|(x − x̄)²Status
65.00-15.70015.700246.490
70.00-10.70010.700114.490
72.00-8.7008.70075.690
78.00-2.7002.7007.290
80.00-0.7000.7000.490
82.00+1.3001.3001.690
85.00+4.3004.30018.490
88.00+7.3007.30053.290
92.00+11.30011.300127.690
95.00+14.30014.300204.490
Sum-0.00077.000850.100

Visual Spread

65.0
95.0
x̄=80.7

Measure Comparison

MeasureValueRobustnessBest For
Range30.0000LowQuick overview, sensitive to outliers
Sample Variance94.4556Low-MedMathematical properties (additive)
Sample SD9.7188Low-MedSame units as data
IQR13.7500HighSkewed data, outlier resistant
MAD (mean)7.7000MediumAverage absolute spread
MAD (median)8.0000Very HighRobust estimation
CV12.04%Low-MedComparing variability across scales
Planning notes, formulas, and examples

About the Dispersion Calculator

Measures of dispersion describe how spread out data values are around the center. While the mean tells you the typical value, dispersion reveals whether values cluster tightly or scatter widely. Two datasets with the same mean can have wildly different spreads — and understanding this spread is essential for statistical inference, quality control, and decision-making.

This calculator computes every major dispersion measure from your data: range, sample and population variance, sample and population standard deviation, interquartile range (IQR), mean absolute deviation (MAD), median absolute deviation, coefficient of variation (CV), standard error, skewness, excess kurtosis, and the dispersion index (VMR). It also detects outliers using the 1.5×IQR rule.

The deviation table breaks down every data point's contribution to the variance calculation, showing deviation from the mean, absolute deviation, and squared deviation. The visual spread plot displays data points on a number line with mean, IQR box, and outlier highlighting. A comparison table explains when to use each measure, helping you choose the right statistic for your context.

When This Page Helps

Understanding data spread is just as important as understanding the center. It gives a comprehensive dispersion analysis in one tool — no need to calculate range, variance, IQR, and outliers separately. The deviation table shows exactly how variance is computed step by step, making it an ideal learning tool.

The visual spread plot and measure comparison table provide insights that raw numbers alone cannot. Seeing data points with outliers highlighted and the IQR box overlay gives immediate intuition about distribution shape. The comparison table helps you choose the right measure for your specific context — a question students and professionals alike frequently face.

How to Use the Inputs

  1. Enter your data values separated by commas or spaces.
  2. Use presets for sample datasets: test scores, temperatures, incomes, or wait times.
  3. Review the primary output cards for range, variance, SD, IQR, MAD, and CV.
  4. Check shape measures (skewness, kurtosis) to understand distribution shape.
  5. Examine the deviation table to see how each value contributes to overall spread.
  6. Use the visual spread plot to identify clustering, gaps, and outliers.
  7. Consult the measure comparison table to choose the right dispersion metric.
Formula used
Range = max − min Sample Variance: s² = Σ(xᵢ − x̄)² / (n − 1) Sample SD: s = √s² IQR = Q3 − Q1 MAD = Σ|xᵢ − x̄| / n CV = (s / |x̄|) × 100% SE = s / √n Skewness = [Σ(xᵢ − x̄)³/n] / σ³ Kurtosis = [Σ(xᵢ − x̄)⁴/n] / σ⁴

Example Calculation

Result: Range: 30, s² = 93.07, s = 9.65, IQR = 16.5, CV = 12.25%

The test scores span from 65 to 95 (range 30). The standard deviation of 9.65 means most scores fall within about 10 points of the mean (80.7). The CV of 12.25% indicates moderate relative variability. IQR of 16.5 captures the middle 50% of scores.

Tips & Best Practices

  • Always report a measure of center alongside a measure of spread — they're two halves of the same story.
  • For normally distributed data, about 68% of values fall within 1 SD, 95% within 2 SDs.
  • CV is meaningless for ratio data with arbitrary zero points (like temperature in °C).
  • Median absolute deviation (MAD) is the most robust measure — resistant to up to 50% contamination.
  • Check skewness before choosing between mean/SD and median/IQR for summarizing data.
  • If outliers are present but valid data, report both SD and IQR to show the difference.

Choosing the Right Dispersion Measure

**Range** is the simplest but least informative — it uses only two values and is extremely sensitive to outliers. Use it for a quick first look. **Variance and standard deviation** are the workhorses of statistics, required for confidence intervals, hypothesis tests, and regression. However, they give outsized weight to extreme values (because deviations are squared).

**IQR** is robust: it ignores the bottom 25% and top 25%, making it ideal for skewed data or datasets with outliers. It's the basis for box plots and the 1.5×IQR outlier rule. **Mean absolute deviation** averages absolute deviations without squaring, giving a more intuitive "average distance from the mean." **Coefficient of variation** normalizes spread by the mean, enabling comparison across different measurement scales.

Variance: Why n−1?

Bessel's correction (dividing by n−1 instead of n) corrects for the fact that sample variance tends to underestimate population variance. When you compute deviations from the sample mean (rather than the true population mean), the deviations are systematically too small because the sample mean is closer to the data than the population mean would be. Dividing by n−1 compensates for this bias exactly.

Shape Beyond Spread

Skewness and kurtosis describe aspects of distribution shape that dispersion measures miss. A symmetric distribution with heavy tails (high kurtosis) looks very different from one with light tails, even if their standard deviations are identical. In finance, excess kurtosis quantifies "tail risk" — the probability of extreme events beyond what a normal distribution would predict. The 2008 financial crisis was partly a kurtosis problem: models assumed normal distributions when actual returns had much heavier tails.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Use IQR when your data is skewed or contains outliers. IQR is resistant to extreme values because it only considers the middle 50% of data. Standard deviation is more informative for symmetric distributions without outliers.