Find the range of a list of numbers, the gap between the smallest and largest, along with the midrange, the interquartile range and a comparison with the standard deviation.
Range = maximum − minimum · Midrange = (maximum + minimum) ÷ 2
Separate with commas, spaces or new lines. Negative numbers are fine.
The range is the largest value minus the smallest. It's the simplest measure of spread: the full width of the data in a single number.
Its simplicity is also its weakness. The range depends on only two values, the most extreme ones, so a single unusual reading changes it completely. It also tends to grow as you collect more data, simply because a bigger sample is more likely to include an extreme value.
For a steadier picture of spread, use the interquartile range (the middle half of the data) or the standard deviation. The range is still useful for small samples, such as quality checks on five items at a time, and for spotting typing errors before you analyse anything.
Definitions as given in OpenStax Introductory Statistics; d₂ constants from the NIST/SEMATECH e-Handbook. See Sources.
Pick out the smallest and largest values. With negative numbers, the smallest is the most negative.
Quality-control charts use the d₂ version, because it accounts for how the expected range depends on the sample size.
With only 10 values, range ÷ 4 underestimates the spread. The d₂ estimate gets much closer, and the remaining gap is because these times are spread fairly evenly rather than bunched in the middle like a bell curve.
The average range of n values drawn from a normal distribution, measured in standard deviations. These are the d₂ constants used in quality-control charts. Range ÷ 4 only fits samples of about 25 to 30.
| Sample size | Expected range (× SD) | Estimate SD as |
|---|---|---|
| 2 | 1.128 | range ÷ 1.13 |
| 5 | 2.326 | range ÷ 2.33 |
| 10 | 3.078 | range ÷ 3.08 |
| 15 | 3.472 | range ÷ 3.47 |
| 20 | 3.735 | range ÷ 3.73 |
| 25 | 3.931 | range ÷ 3.93 |
No. The maximum is always at least as big as the minimum, so the range is zero or positive. Zero means every value is the same.
The range covers all the data, from the very smallest to the very largest. The IQR covers only the middle 50%, so it ignores extreme values. Use the range when the extremes themselves matter, such as the hottest and coldest days.
It’s a quick estimate of the centre, halfway between the extremes. Because it depends only on the two extremes, it’s easily thrown off and rarely used in serious analysis.
For the small subgroups typical in quality control (often 4 or 5 items), the range is quick to work out on the shop floor and almost as informative as the standard deviation.
There’s no RANGE function. Use =MAX(range) − MIN(range).
Indirectly. A range much bigger than you’d expect from the IQR or standard deviation suggests an extreme value. The outlier calculator checks this properly.
Only if consistency is the goal, as with a manufacturing process. For something naturally varied, such as the ages at a family event, a wide range is just a description.
It’s a rough check that works best for bell-shaped data with about 25 to 30 values. For smaller samples, divide by the d₂ constant in the table above instead.
Related Tools