When you collect data – whether it’s temperature readings across weather stations, pollutant concentration levels, or species counts in a forest survey – one of the first things you want to know is how spread out your data is. Are the values tightly clustered, or do they vary widely? That’s where measures of dispersion come in. And among them, the range is the simplest and most intuitive starting point. It takes just two numbers and a single subtraction to give you an immediate sense of how far your data stretches.
Table of Contents
- What is range?
- Why does range matter?
- Steps for calculating range in ungrouped data
- Another example with environmental data
- Steps for calculating range in grouped data
- Formula for grouped data
- Alternative method: using class midpoints
- Advantages of range as a measure of dispersion
- Limitations of range
- Sensitivity to outliers
- Ignores data distribution
- Not a robust measure
- Increases with sample size
- No use for open-ended distributions
- When should you use range?
- Range in environmental research: a practical perspective
What is range?
The range is a basic measure of dispersion that tells you the total spread of your data set. It is calculated as the difference between the largest (maximum) value and the smallest (minimum) value in a data set.
Range = Maximum value – Minimum value
For example, if you record daily temperatures in a city over a week and get values of 22ยฐC, 25ยฐC, 28ยฐC, 30ยฐC, 24ยฐC, 21ยฐC, and 27ยฐC, the range would be 30 – 21 = 9ยฐC. This tells you that the temperatures spanned a 9-degree window during the week.
A larger range indicates greater variability in the data, meaning values are more spread out. A smaller range indicates that the data points are closer together, with less variation. This makes the range useful as a quick-glance indicator of how dispersed your observations are.
Why does range matter?
In environmental science research, knowing the spread of your data is just as important as knowing the average. Two rivers might have the same mean dissolved oxygen level of 7 mg/L, but if one river’s readings range from 6.5 to 7.5 mg/L and the other ranges from 2 to 12 mg/L, the second river is clearly experiencing far more variability – and potentially more ecological stress.
The range gives you that first snapshot. It’s a quick and easy calculation that sets the boundaries of your data, helping you understand the overall scope before diving into more detailed analysis.
Steps for calculating range in ungrouped data
Ungrouped data refers to raw, individual data points that have not been organized into classes or intervals. Calculating the range for ungrouped data is straightforward.
Step 1: Arrange the data. While not strictly necessary, sorting the data in ascending order makes it easier to identify the minimum and maximum values. For example, consider the following air quality index (AQI) readings recorded over 10 days: 45, 62, 78, 55, 90, 48, 73, 85, 60, 52.
Arranged in order: 45, 48, 52, 55, 60, 62, 73, 78, 85, 90.
Step 2: Identify the maximum and minimum values. From the sorted data, the maximum value is 90 and the minimum value is 45.
Step 3: Subtract the minimum from the maximum. Range = 90 – 45 = 45.
This tells us that the AQI values spanned 45 units over the 10-day period. The calculation takes seconds, yet it immediately tells you something meaningful about the variability in air quality during that time.
Another example with environmental data
Suppose you measured the heights (in cm) of 15 saplings in a reforestation plot: 128, 144, 146, 143, 136, 142, 138, 129, 140, 152, 144, 140, 150, 142, 154. The tallest sapling is 154 cm and the shortest is 128 cm. Therefore, the range is 154 – 128 = 26 cm. This gives you a quick understanding of growth variation across the plot.
Steps for calculating range in grouped data
When data is organized into frequency distribution tables with class intervals, you no longer have access to the individual raw values. In this case, you can only estimate the range because the exact maximum and minimum values within each class are unknown.
Formula for grouped data
For grouped or continuous frequency distributions, the range is estimated using the class boundaries:
Range = Upper boundary of the highest class – Lower boundary of the lowest class
Consider the following frequency distribution of monthly rainfall data (in mm) collected from a weather station:
20-40: 3 months
40-60: 5 months
60-80: 8 months
80-100: 4 months
100-120: 2 months
Here, the lowest class is 20-40 and the highest class is 100-120. The lower boundary of the lowest class is 20, and the upper boundary of the highest class is 120.
Range = 120 – 20 = 100 mm
This is an estimated range because we don’t know the exact individual values within each class. The actual smallest value could be anywhere between 20 and 40, and the actual largest value could be anywhere between 100 and 120.
Alternative method: using class midpoints
A second approach uses the midpoints of the extreme class intervals to estimate the range. The midpoint of a class is calculated as (Lower limit + Upper limit) / 2.
Using the same rainfall data:
Midpoint of the lowest class (20-40) = (20 + 40) / 2 = 30
Midpoint of the highest class (100-120) = (100 + 120) / 2 = 110
Estimated Range = 110 – 30 = 80 mm
This method gives a slightly more conservative estimate and is useful when other descriptive statistics like the mean are also being calculated using midpoints, as it keeps all your calculations consistent.
Advantages of range as a measure of dispersion
Before discussing limitations, it’s worth noting why range remains a widely taught and used statistic, especially in preliminary data analysis.
Simplicity and speed. The range requires only two values and one subtraction. No complex formulas, no calculators needed for basic data sets. This makes it ideal for quick, on-the-field assessments – for instance, a field researcher noting the temperature spread during a day of ecological surveying.
Ease of interpretation. Everyone can understand what the range means. It’s accessible even to those without a strong statistical background, making it useful for communicating findings to non-technical audiences.
Useful for error detection. The range can serve as a data quality check. If you’re recording ages of participants in a study and your range spans from 7 to 123, you know there’s likely a data entry error somewhere. Similarly, in environmental monitoring, an unusually large range in sensor readings can flag instrument malfunction.
Sets data boundaries. The range establishes the outer limits of your data, which is useful when you need to know whether any values crossed critical thresholds – for example, whether pollutant levels exceeded safety limits during a monitoring period.
Limitations of range
Despite its simplicity, the range has several important drawbacks that researchers need to keep in mind. Understanding these limitations is essential for choosing the right statistical tools.
Sensitivity to outliers
This is the most significant limitation of the range. Because the range depends entirely on the maximum and minimum values, a single extreme data point can dramatically distort it.
Consider a scenario where you measure dissolved oxygen levels (in mg/L) at 10 points along a river: 6.5, 7.0, 6.8, 7.2, 6.9, 7.1, 6.7, 7.0, 6.8, and 15.0. The last reading of 15.0 mg/L is an outlier – possibly a sensor error. Without the outlier, the range would be 7.2 – 6.5 = 0.7 mg/L. With the outlier, the range balloons to 15.0 – 6.5 = 8.5 mg/L. One single value has inflated the range by more than 12 times, giving a misleading picture of the data’s actual variability.
Ignores data distribution
The range only uses two values out of the entire data set and completely ignores how the rest of the values are distributed. Two data sets can have identical ranges yet have completely different internal distributions.
For example, Data set A: 10, 50, 50, 50, 50, 50, 90 (Range = 80) and Data set B: 10, 20, 30, 50, 70, 80, 90 (Range = 80). Both have a range of 80, but Data set A has most values clustered around 50, while Data set B is evenly spread. The range cannot distinguish between these two very different patterns.
Not a robust measure
In statistical terminology, robustness refers to a statistic’s ability to resist the influence of extreme values. The range is one of the least robust measures of dispersion. It is not used in calculating other statistical parameters, and it lacks the mathematical properties needed for more advanced statistical inference.
Increases with sample size
As you collect more data points, the likelihood of encountering more extreme values increases. This means the range tends to grow as the sample size increases, even if the underlying population variability hasn’t changed. This makes it unreliable for comparing dispersion across data sets of different sizes.
No use for open-ended distributions
In frequency distributions where the first or last class is open-ended (e.g., “below 10” or “100 and above”), the range simply cannot be calculated because the actual minimum or maximum boundary is undefined.
When should you use range?
Given its limitations, range works best in specific situations. It’s a good fit for initial data exploration where you want a fast overview of variability. It’s also helpful when data sets are small, contain no obvious outliers, and when you need a quick comparison between two similar data sets.
For more rigorous analysis, especially with larger or more complex environmental data sets, researchers typically complement the range with other measures. The interquartile range (IQR) focuses on the middle 50% of data and is resistant to outliers. The standard deviation and variance use every data point in their calculation, providing a more comprehensive picture of data spread.
In practice, experienced environmental researchers use the range as a starting point – a quick scan of data spread – and then turn to standard deviation or IQR for deeper analysis and reporting in research papers.
Range in environmental research: a practical perspective
Environmental data is particularly prone to outliers and extreme values. A sudden spike in air pollutant readings due to a nearby fire, an unusually warm day during winter, or a single high mercury reading in a water sample – all of these can make the range unreliable as a standalone measure.
However, the range still plays a role. Its primary advantage is that it is easy to calculate, making it a practical tool during fieldwork or preliminary data screening. When environmental monitoring programmes deal with quality control of large-scale datasets, the range often serves as one of the first checks – flagging data points that fall far outside expected boundaries before more sophisticated outlier detection methods are applied.
The key takeaway: the range is a useful first step in understanding your data’s spread, but it should rarely be the only measure of dispersion you rely on.
What do you think? When analysing environmental data that may contain extreme values from natural events (like storms or wildfires), is it better to report both the range and IQR together – or does the range lose its usefulness entirely in such cases? How would you decide which measure of dispersion best suits your research question?
References
- https://pmc.ncbi.nlm.nih.gov/articles/PMC3198538/
- https://statistics.laerd.com/statistical-guides/measures-of-spread-range-quartiles.php
- https://libguides.leedsbeckett.ac.uk/skills-for-learning/maths-and-stats/statistics/measurements-of-dispersion
- https://www.statology.org/range-of-grouped-data/
- https://scales.arabpsychology.com/stats/what-is-the-range-of-grouped-data/
- https://sixsigmadsi.com/range-measure-of-dispersion/
- https://www.quanthub.com/how-do-outliers-impact-measures-of-variability/
- https://open.maricopa.edu/psy230mm/chapter/chapter-5-measures-of-dispersion/
- https://www.healthknowledge.org.uk/public-health-textbook/research-methods/1b-statistical-methods/mldap
- https://link.springer.com/article/10.1007/s10661-022-10661-0
Leave a Reply