Short definition
The range is the difference between the largest and smallest observed values in a dataset. It describes how far apart the two outermost values are. As a measure of spread, it complements measures of location such as the mean or median (Statistics Canada, 2021a, 2021b).
Meaning and calculation
The range belongs to descriptive statistics. It summarises a property of the values actually observed. To calculate it, you only need the minimum and maximum of the variable being studied (Statistics Canada, 2021b).
Range = maximum − minimum
Proceed as follows:
- Identify the smallest observed value.
- Identify the largest observed value.
- Subtract the smallest value from the largest.
This definition implies that the range is nonnegative. If all values are equal, it is zero. Subtraction preserves the unit of measurement. For times recorded in minutes, the range is therefore also in minutes. Unlike variance, it is not expressed in squared units (Statistics Canada, 2021b; National Institute of Standards and Technology, n.d.).
Hypothetical worked example
You record five processing times: 12, 14, 15, 18 and 21 minutes. The minimum is 12 minutes and the maximum is 21 minutes. The calculation is 21 − 12 = 9 minutes. The range is therefore 9 minutes.
If another processing time of 40 minutes is added, the calculation becomes 40 − 12 = 28 minutes. The range is now 28 minutes, although the previous observations remain unchanged. The example illustrates its sensitivity to extreme values, which Statistics Canada (2021b) also highlights.
What the range does not show
The range does not tell you where most values lie. It also cannot distinguish between a uniform distribution and a strong concentration in the centre when the minimum and maximum are unchanged. Two datasets can therefore have the same range yet different distributions (National Institute of Standards and Technology, n.d.).
Do not use the range as your only description of spread. Add other summary measures and, where appropriate, a graphical display. The appropriate addition depends on whether you want to describe the entire distribution or its central part in particular (Statistics Canada, 2021b; National Institute of Standards and Technology, n.d.).
Distinguishing the range from other quantities
The statement “12 to 21 minutes” gives the minimum and maximum. The calculated range, by contrast, is the single value of 9 minutes. In your results, explicitly distinguish the observed interval of values from its width (Statistics Canada, 2021b).
The interquartile range describes the middle half of the data and is more robust to extreme observations. It is not synonymous with the range. Standard deviation is another distinct measure: it accounts for deviations from the mean rather than using only the two outermost values (Statistics Canada, 2021a, 2021b; National Institute of Standards and Technology, n.d.).
Practical guidance
Use the range for numerical measurements whose differences are meaningfully interpretable. Mere numerical codes for unordered categories do not yield a meaningful range. Always report the unit and make clear which observations your value refers to. For large samples, NIST urges particular caution because of the dependence on extreme values (Statistics Canada, 2021a; National Institute of Standards and Technology, n.d.).
For practical guidance on presenting results, see the article Reporting descriptive statistics correctly.
References
National Institute of Standards and Technology. (n.d.). 1.3.5.6. Measures of scale. In NIST/SEMATECH e-Handbook of Statistical Methods. Original source.
Statistics Canada. (2021a, September 2). 4.5 Measures of dispersion. In Statistics: Power from Data! Original source.
Statistics Canada. (2021b, September 2). 4.5.1 Calculating the range and interquartile range. In Statistics: Power from Data! Original source.
Background knowledge
Related glossary terms