Range Calculator
For the data set 4, 7, 9, 12, 15: the minimum is 4 and the maximum is 15, so the range is 15 − 4 = 11. It tells you how far the data spans from one extreme to the other.
What Is Range in Statistics?
Range sits within the family of descriptive statistics as a measure of spread. Where measures of center like the mean and median describe a typical value, the range captures how far the observations stretch from one end to the other.
One thing to keep in mind: the range is not the same as the range of a function in mathematics. A function's range refers to the set of all output values it can produce. This page is entirely about range as a statistical measure of spread. The two meanings share a word but nothing else.
The range uses only two observations: the minimum and the maximum. Every value between them is invisible to this measure. This is its greatest strength (simplicity) and its most significant weakness (sensitivity to outliers).
Range Formula
R = range
Xmax = largest value
Xmin = smallest value
In plain language: Range = largest value − smallest value.
The range always carries the same units as the original data. If you measured heights in centimeters, the range is in centimeters. If you recorded salaries in dollars, the range is in dollars. This makes the result easy to communicate: a temperature range of 18°C means the readings span 18 degrees from coldest to warmest.
Unlike variance, the range has no n−1 correction for samples. Whether you are working with a population or a sample, the calculation is always the same: Maximum − Minimum.
How to Find the Range
Finding the range takes three steps. Sorting the data first makes the minimum and maximum easier to spot, but sorting is not mathematically necessary. You can simply scan the values for the smallest and largest.
Identify the minimum value
Find the smallest observation in the data set. In an unordered list, scan through all values. If you sort the data in ascending order, the minimum is always the first number.
Identify the maximum value
Find the largest observation. In a sorted list, the maximum is always the last number. In an unordered list, scan through all values again and note the largest.
Subtract: Range = Maximum − Minimum
Subtract the minimum from the maximum. The result is the range. If the data contain negative values, take care with the subtraction: subtracting a negative number adds its absolute value to the result.
Interpret the result in context
State the range in the units of your data and explain what it means. A range of 14 exam points tells you the highest and lowest scores are 14 points apart, not that the scores are evenly spread across those 14 points.
Worked through step by step: Data: 6, 9, 12, 15, 20.
Minimum = 6. Maximum = 20. Range = 20 − 6 = 14. The observations span 14 units from the smallest to the largest value.
Range on a Number Line
The range is the total distance between the minimum and maximum
Worked Examples
Example 1: Simple data set
Find the range of: 3, 7, 9, 12, 15
Minimum: 3
Maximum: 15
Range = 15 − 3 = 12
✓ Range = 12. The observations span 12 units from smallest to largest.
Example 2: Unordered data
Find the range of: 18, 5, 27, 11, 9
Scanning the list: Minimum = 5
Scanning the list: Maximum = 27
Range = 27 − 5 = 22
✓ Range = 22. The data does not need to be sorted first. Only the two extreme values matter.
Example 3: Negative numbers
Find the range of: −10, −4, −2, 3
Minimum = −10
Maximum = 3
Range = 3 − (−10) = 3 + 10 = 13
✓ Range = 13. Subtracting a negative number is the same as adding its absolute value. The result is always non-negative.
Example 4: Decimal values
Find the range of: 2.5, 3.75, 4.2, 8.6
Minimum = 2.5
Maximum = 8.6
Range = 8.6 − 2.5 = 6.1
✓ Range = 6.1. Decimal arithmetic is straightforward: subtract as you would with whole numbers.
Example 5: Repeated values
Find the range of: 4, 4, 4, 7, 7, 10
Minimum = 4 (appears three times, still the minimum)
Maximum = 10
Range = 10 − 4 = 6
✓ Range = 6. Duplicate values never change the range unless they introduce a new minimum or maximum.
Example 6: Real-world context (daily temperatures)
A weather station records these daily high temperatures (°C) over a week: 14, 18, 22, 25, 23, 19, 11. What is the range?
Minimum = 11°C (Saturday, the coldest day)
Maximum = 25°C (Thursday, the warmest day)
Range = 25 − 11 = 14°C
✓ The week's temperatures spanned 14°C from the coldest to the warmest day. A meteorologist might compare this to the range from the same week in previous years to assess weather variability.
Example 7: Identical values (range of zero)
Find the range of: 8, 8, 8, 8
Minimum = 8
Maximum = 8
Range = 8 − 8 = 0
✓ Range = 0. When all values are identical, there is no observed spread. A range of zero is mathematically correct and meaningful. It tells you there is no variation in the data.
Range from a Frequency Table
When data appear in a frequency table, the frequency column tells you how many times each value appears. The range depends only on which values are present, not how often they appear.
| Value | Frequency |
|---|---|
| 10 | 3 |
| 15 | 5 |
| 20 | 7 |
| 25 | 4 |
| 30 | 2 |
Minimum = 10 (highlighted in blue). Maximum = 30 (highlighted in green). Range = 30 − 10 = 20.
Notice that the value 30 appears only twice while 20 appears seven times. Frequency does not change which value is the minimum or maximum. The most common value is irrelevant to the range calculation.
Range from Grouped Data
Grouped data present the measurements as class intervals rather than individual values. When intervals are all you have, you cannot determine the exact range because the raw observations within each class are unknown.
Consider these class intervals: 10–19, 20–29, 30–39, 40–49. The lowest class starts at 10 and the highest ends at 49. What you can say is that the data lie somewhere between 10 and 49, giving an approximate spread of up to 39 units. What you cannot say is that any observation is exactly 10 or exactly 49. Those are the class boundaries, not confirmed data points.
When working with grouped data, treat any stated range as an approximation based on class boundaries. The true range from the underlying raw data could be narrower, because actual observations may not reach the lower bound of the first class or the upper bound of the last class.
What Does Range Tell You?
A larger range means the minimum and maximum observations are farther apart. A smaller range means the extreme values are closer together. That is the complete picture the range gives you on its own.
What the range does not tell you: how the observations between the two extremes are distributed. Two data sets with identical ranges can look completely different inside.
Both data sets below have a range of 10. They are otherwise very different.
Data set A: 0, 1, 2, 3, 10 , with values clustering near zero and one outlier at 10. Range = 10.
Data set B: 0, 8, 9, 9, 10 , with values clustering near ten and one low outlier at 0. Range = 10.
Advantages and Disadvantages
Advantages of Range
- Takes only seconds to calculate
- Requires no formula beyond simple subtraction
- Expressed in the original data units
- Useful for quick comparisons of total spread
- Easy to explain to non-technical audiences
- Helpful when the extreme values are the point of interest
Disadvantages of Range
- Ignores every value except the minimum and maximum
- Highly sensitive to outliers
- Two data sets with the same range can be distributed very differently
- Unstable: adding one extreme observation can dramatically change it
- Gives no information about how data cluster or spread between the extremes
- Less useful than IQR or standard deviation for most analytical purposes
How Outliers Affect the Range
Because the range depends entirely on the two extreme values, a single outlier can distort it beyond usefulness. This is the single most important limitation to understand before reporting or interpreting the range.
One extreme observation changes everything
Data set A: 10, 11, 12, 13, 14. Range = 14 − 10 = 4. A tightly clustered group of values.
Data set B: 10, 11, 12, 13, 100. Range = 100 − 10 = 90. Same first four values, one outlier added.
✓ The range increased from 4 to 90 with a single observation. Someone looking only at the range of data set B would assume the values are wildly spread, when four of the five are within 4 units of each other.
When a data set may contain outliers, the interquartile range is usually a more informative measure of spread. The IQR trims the top and bottom 25% of observations before measuring spread, leaving a result that reflects the behavior of the central data rather than the extremes.
Range vs Other Measures of Dispersion
| Property | Range | IQR | Standard Deviation |
|---|---|---|---|
| Formula | Xmax − Xmin | Q3 − Q1 | Square root of variance |
| Values used | 2 (min and max only) | Middle 50% of data | All observations |
| Sensitive to outliers? | Yes, very much so | No, resistant | Yes, moderately |
| Units | Original data units | Original data units | Original data units |
| Best for | Quick spread summary | Skewed data, outliers present | Symmetric data, complete analysis |
| Sample vs population correction | None | None | n−1 for samples |
Range vs IQR
The range uses the two most extreme observations: Maximum − Minimum. The interquartile range uses the boundaries of the middle half: Q3 − Q1. Because the IQR discards the top and bottom quarters of the data before measuring spread, it is not affected by outliers the same way the range is.
If you have a data set with one extreme value, the range will tell a story dominated by that outlier while the IQR will reflect how the central 50% of observations are distributed. For skewed data or data containing outliers, the IQR is usually the better choice.
Range vs Standard Deviation
The range measures the distance between the two most extreme observations. The standard deviation uses every observation to measure how far each one lies from the mean, then summarizes that as a single number. Two data sets can have the same range but very different standard deviations, depending on how the interior values are arranged.
Range vs Variance
The variance incorporates all observations through squared deviations from the mean, producing a result in squared units (square centimeters, square dollars). The range ignores interior observations entirely and produces a result in the original units. For most practical communication, the range is easier to explain. For analysis and formal inference, variance and standard deviation are more informative.
Range in Sample vs Population Data
The range formula is identical for samples and populations. You always subtract the smallest observed value from the largest observed value. There is no adjustment like the n−1 correction applied when calculating sample variance or standard deviation.
The one practical consideration: a sample's range tends to underestimate the population range. If your sample happens to miss the true minimum or maximum of the full population, the range from your sample will be narrower than the range of all possible observations. Larger samples tend to capture the extremes more reliably.
Range in Descriptive Statistics
Descriptive statistics divide naturally into two types: measures of center and measures of spread. The range belongs to the second group alongside the IQR, standard deviation, and variance.
Reporting a measure of center without a measure of spread gives an incomplete picture. Knowing the average exam score is 72 tells you where scores cluster. Knowing the range is 58 tells you the scores stretched from (say) 40 to 98, which is a very different situation from a range of 10 where everyone scored between 67 and 77. Together, a center measure and a spread measure describe a data set far more fully than either does alone. See the full descriptive statistics guide for a complete overview of these tools.
Real-World Applications
Education
The gap between the highest and lowest exam scores in a class tells a teacher how spread out student performance is before deciding on grading or intervention approaches.
Weather
Meteorologists report daily temperature ranges to convey how much conditions changed from the coolest to the warmest part of the day.
Finance
The difference between a stock's 52-week high and low is a range. Traders use it as a rough measure of price volatility over that period.
Manufacturing
Quality control engineers calculate the range of part measurements to detect whether a production process is staying within acceptable tolerance limits.
Healthcare
The range of blood pressure readings across a patient cohort gives a quick initial sense of how widely measurements vary before more detailed analysis begins.
Research
Researchers often include the range alongside the mean and standard deviation in summary tables, giving readers an immediate sense of the full observed spread.
When to Use the Range
The range is a reasonable choice when:
- You need a fast, simple description of total spread
- The data set is small and you can easily spot the minimum and maximum
- The extreme values themselves are what matter (the fastest and slowest runner, the highest and lowest bid)
- The audience is non-technical and needs an easy-to-grasp spread measure
- You are producing a quick preliminary summary before deeper analysis
Consider a different measure when:
- Outliers are present and likely to distort the range. Use the IQR instead
- You need to measure spread relative to the mean. Use standard deviation
- You are conducting formal statistical inference. Use variance or standard deviation instead
- The data set is large and the extremes are likely to be anomalies
Common Mistakes When Finding the Range
| Mistake | Wrong | Correct |
|---|---|---|
| Adding instead of subtracting | Range = Max + Min | Range = Max − Min |
| Forgetting the negative sign | 8 − −4 = 4 | 8 − (−4) = 12 |
| Using the second-largest value | Using 13 instead of 15 as the maximum | Always use the true extreme values |
| Thinking data must be sorted first | Sorting is required to find the range | Sorting helps, but you can scan any list for min and max |
| Thinking range uses all values | Range is an average of all values | Range uses only the minimum and maximum |
| Confusing range with IQR | Range = Q3 − Q1 | Range = Max − Min; IQR = Q3 − Q1 |
| Expecting the range to be negative | Range can be negative | Range is always zero or positive |
Practice Problems
Find the range of: 5, 8, 12, 14, 19
Find the range of: −7, −2, 3, 8
Find the range of: 2.5, 4.1, 7.8, 9.3
Find the range of: 15, 15, 15, 15
Data set A: 20, 22, 25, 28, 30. Data set B: 5, 10, 20, 30, 35. Which has the larger range, and by how much?
Frequently Asked Questions
Range = Maximum − Minimum. It is a measure of statistical dispersion, describing how far the data spread from one extreme to the other.Range = 0. This means there is no observed variability in the data. Example: the data set 5, 5, 5, 5 has a range of 0.8 − (−4) = 12, not 4. Subtracting a negative is equivalent to adding its absolute value. The calculator on this page handles negative values automatically.Max − Min) measures the total spread of a data set using only the two most extreme observations. The interquartile range (IQR = Q3 − Q1) measures the spread of the middle 50% of the data, ignoring the most extreme values. The IQR is less sensitive to outliers and is often preferred for skewed distributions.Range = Maximum value − Minimum value. Frequency counts do not affect which values are the minimum and maximum. Only the values themselves matter. Even a value that appears only once determines the range if it is the smallest or largest.Summary
The range in statistics is the difference between the largest and smallest values in a data set. The formula is R = Xmax − Xmin, and the result always carries the same units as the original observations. It is quick to compute, easy to understand, and expressed directly in meaningful terms.
Its practical value comes with a clear limitation: range only reflects two observations. One extreme value can shift the range dramatically while the rest of the data sit unchanged. When outliers are present or when a complete picture of spread is needed, the interquartile range or standard deviation will tell you more.
For a quick check of your own data, use the Range Calculator at the top of this page. Enter your values, press Calculate, and you will see the minimum, maximum, range, and the full calculation laid out.
Explore the full descriptive statistics guide, practice with the interquartile range, or compare results using the descriptive statistics calculator.