Skip to content
FiftyCalc Free calculators for all 50 states

Dispersion Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Paste or type a list of numbers to measure how spread out they are, with the usual measures of dispersion side by side.

Result

Sample figures

Sample standard deviation (s)—

Sample variance (s²) —

  • Range (max − min)—
  • Interquartile range (Q3 − Q1)—
  • Mean absolute deviation—
  • Coefficient of variation (s ÷ mean)—
  • Count—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Dispersion Calculator

Numbers (separated by commas, spaces or new lines): type or paste your values. Prefilled example: 12, 15, 17, 20, 22, 25, 31.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Numbers (separated by commas, spaces or new lines): type or paste your values.
  2. Read the result: Sample standard deviation (s); the panel also shows Sample variance (s²), Range (max − min), Interquartile range (Q3 − Q1), Mean absolute deviation, Coefficient of variation (s ÷ mean) and Count.

How this calculator works

Range = largest − smallest value. Interquartile range = Q3 − Q1, with the quartiles taken as the medians of the lower and upper halves of the sorted list (the median itself left out when the count is odd, the method of TI-83/84 calculators).

Sample variance s² = Σ(x − x̄)² ÷ (n − 1) and sample standard deviation s = √s². Mean absolute deviation = Σ|x − x̄| ÷ n. Coefficient of variation = s ÷ |x̄| × 100%.

The range uses only the two extreme values; the IQR ignores the top and bottom quarters, so it resists outliers; the standard deviation uses every value.

Worked example

Numbers (separated by commas, spaces or new lines)12, 15, 17, 20, 22, 25, 31
Sample standard deviation (s)6.4217
Sample variance (s²)41.2381
Range (max − min)19
Interquartile range (Q3 − Q1)10
Mean absolute deviation4.898
Coefficient of variation (s ÷ mean)31.66%
Count7

Frequently asked questions

Which measure of dispersion should I use?

The standard deviation for roughly symmetric data, the interquartile range when there are outliers or the data are skewed, and the coefficient of variation to compare spreads of data with different means or units.

What is the dispersion of 12, 15, 17, 20, 22, 25, 31?

The range is 19, the interquartile range 25 − 15 = 10 and the sample standard deviation about 6.4.

Questions answered

Related calculators