On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Statistics & Probability · Grade 6-8

Range (Statistics)

The statistical range is the difference between the maximum and minimum values: range=max⁡−min⁡.

Range=Maximum−Minimum

Quick Answer

The statistical range is the difference between the maximum and minimum values: range=max⁡−min⁡. Use it for a quick sense of how spread out data is from one end to the other: the gap between the coldest and hottest day, the youngest and oldest player, the cheapest and most expensive phone. It takes one subtraction, but it looks only at the two extreme values, so a single unusual value can make the spread look far bigger than it is for most of the data.

Why This Matters

Two classes can both average 75 on a test while one scored from 70 to 80 and the other from 40 to 100. The range shows that difference in one subtraction: 10 points against 60. Because it depends only on the two extremes, it also shows why outlier-resistant spreads such as the interquartile range were needed.

Intuitive Explanation

Daily high temperatures for a week are 68, 71, 70, 95, 69, 72 and 70 degrees. The coldest is 68 and the hottest is 95, so the range is 95−68=27 degrees. Picture the temperatures as dots on a number line: the range is the length of the shortest segment that covers every dot.

The same picture shows the weakness. Six of the seven dots sit between 68 and 72, a span of only 4 degrees, and one heat-wave day stretches the segment to 27. The range reports the width of the whole data set, edge to edge, and says nothing about where the values in between sit. The sets 0, 5, 5, 5, 10 and 0, 0, 5, 10, 10 look very different but share a range of 10.

The word range also appears with functions, where the range of f(x)=x2 is the set of all outputs, y≥0. That is a set of values, not a single number, and you do not find it by subtracting. If the answer should be one number measuring spread, you want the statistical range; if it should describe which outputs are possible, you want the range of the function.

Think of it like this. The range is the width of the smallest box that fits all your data on a number line. Every value must fit inside, so pushing one end value outward stretches the whole box, while rearranging values inside it changes nothing.

Core idea. The range is just the biggest value minus the smallest — the total width of the data.


When to Use

Use the range when a problem asks for the difference between the highest and lowest values, the spread from end to end, or how much something varied over a period, such as the temperature swing in a day. It is the fastest spread measure for small sets with no strange values. If one value is far from the others, the interquartile range describes the middle half better; for the typical distance from the mean, use the standard deviation.

Tip. Ask: Am I just subtracting the smallest value from the largest?

How to Recognize It

Before using the range, check that the question is about total spread from one end of the data to the other and that the two end values can be trusted.

  1. Does the question ask how much the values varied, rather than what a typical value was?

    If yes, you need a spread measure, and the range is the simplest one. If it asks for a typical value, use a center instead: the mean or the median.

  2. Is the highest or lowest value far from all the others, like one score of 12 in a class that otherwise scored 70 to 95?

    If yes, the range mostly measures that one value; the interquartile range, which ignores the outer quarters, describes the spread of most of the data. If no, the range gives a fair quick picture of the spread.

  3. Is the question about a list of data, rather than the outputs of a function?

    If it is about a function such as y=x2, its range is the set of possible outputs, y≥0, not one difference. If it is a list of measurements, the statistical range is a single number: maximum minus minimum.

  4. Do you need a spread that reflects every value, not just the two ends?

    If yes, use the standard deviation or the mean absolute deviation, which use each value's distance from the mean. If only the total gap between the extremes matters, the range is enough.

Range (Statistics) compared with Interquartile range (IQR), Standard deviation, and Range of a function

All four rows measure how wide something is, and two of them share the word range. Ask what is measured: the gap between the extreme values, the gap across the middle half, the typical distance from the mean, or a function's outputs.

Range (Statistics)

Meaning
Use this when you want a fast, rough measure of total spread and outliers are not a concern.
Key test
Am I just subtracting the smallest value from the largest?
Formula
Range=Maximum−Minimum
Example
Find the range of the data 12,7,19,9,15.

Interquartile range (IQR)

Meaning
Spread of the middle 50%, ignoring the extreme quarter on each end.
Key test
Use when outliers would inflate the plain range and you want a robust spread.
Formula
Q3−Q1
Example
Spread of incomes after dropping the top and bottom 25%

Standard deviation

Meaning
Typical distance of values from the mean, using every data point.
Key test
Use when you want spread that reflects all values, not just the two extremes.
Formula
∑(x−μ)2n
Example
Spread of test scores around the average

Range of a function

Meaning
The set of all possible output values of a function — not a spread number.
Key test
Use in algebra/functions when describing which y-values occur.
Example
Range of y=x2 is y≥0

Formula & Notation

Range=Maximum−Minimum
R=x(n)−x(1) where x(1)=min⁡ixi and x(n)=max⁡ixi

How to read it: R=xmax⁡−xmin⁡

Worked Examples

Example 1 — Spread of scores

Easy

Find the range of the data 12,7,19,9,15.
Show the steps and the answer
  1. Scan the whole list for the largest value: 19, the 3rd entry.

    The list is not sorted, so the first and last entries (12 and 15) are not the extremes.

  2. Scan for the smallest value: 7, the 2nd entry.

    The range needs the true minimum, wherever it sits in the list.

  3. Subtract: 19−7=12.

    Maximum minus minimum is the width of the interval that holds every value.

  4. Check by sorting: 7,9,12,15,19 has ends 7 and 19.

    The sorted ends match the values found by scanning, so the subtraction used the right numbers.

Answer: 12

Takeaway: Find the true maximum and minimum by scanning the whole list, then subtract; the order the data is written in does not matter.

Example 2 — One outlier inflates it

Standard

Salaries are 30k,32k,31k,33k,500k and you want 'typical spread.'
Show the steps and the answer
  1. Find the range: 500k−30k=470k.

    This end-to-end width is set entirely by the one 500k salary.

  2. Look at the cluster: without 500k the salaries run from 30k to 33k, a range of 3k.

    Four of the five people earn within 3k of each other, so a spread of 470k describes nobody's situation.

  3. Try the IQR by medians of halves: sorted 30,31,32,33,500; lower half 30,31 gives Q1=30.5k, upper half 33,500 gives Q3=266.5k.

    With only five values, each half holds two numbers, so the outlier lands inside the IQR calculation: 266.5−30.5=236k, still far too large.

  4. Report the 3k spread of the cluster and name the 500k salary separately as an outlier.

    Describing the typical spread and the exception separately is honest about both.

Answer: Range 470k misleads; the four clustered salaries span only 3k

Takeaway: One extreme value can make the range meaningless; in a very small data set even the IQR is affected, so set the outlier aside, describe the cluster, and report the outlier on its own.

Example 3 — Find the mistake: first and last are not the extremes

Application

Morning temperatures over five days were 14, 9, 21, 6 and 17 °C. Jun writes: "The range is the last value minus the first: 17−14=3 °C." Find the mistake and correct it.
Show the steps and the answer
  1. Notice that 21 and 6 are both in the list and differ by far more than 3.

    A range must cover every value, so a range of 3 cannot be right.

  2. Scan for the extremes: maximum 21 °C (day 3), minimum 6 °C (day 4).

    Jun used the positions of the values in the list instead of their sizes.

  3. Subtract: 21−6=15 °C.

    Maximum minus minimum is never negative and covers the whole week.

Answer: The range is 15 °C.

Takeaway: The first and last entries are only the extremes if the list is sorted; scan for the largest and smallest values every time.

Where You'll See It

  • Desert versus coastal temperature swings

    A desert town might reach 40 °C at 3 p.m. and fall to 22 °C before dawn, a daily range of 18 °C. A coastal town at 24 °C and 18 °C has a range of only 6 °C, because the ocean slows temperature changes. Forecasts show the high and low so you can see that swing.

  • Checking bolts on a factory line

    A machine cuts bolts meant to be 50 mm long. If a sample of 10 bolts runs from 49.8 mm to 50.3 mm, the range is 0.5 mm. Inspectors plot sample ranges on a control chart; a sudden jump in the range means the machine has become less consistent.

Common Mistakes

  1. The slip: Subtracting in the wrong order and getting a negative

    Instead: always do max⁡−min⁡ so the range is non-negative.

  2. The slip: Forgetting to find the true max and min in an unsorted list

    Instead: scan the whole list, do not assume the first and last entries are the extremes.

  3. The slip: Trusting the range when an outlier is present

    Instead: one extreme value inflates it, so switch to IQR for a robust spread.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Find the range of 24,8,15,31,12.

    Hint: Find the largest and the smallest value in the whole list.

  2. The daily low temperatures one week were −3,2,5,−6,0,4,1 degrees Celsius. Find the range.

    Hint: Subtracting a negative number adds its size.

  3. Team A's heights are 150,152,155,158,160 cm. Team B's are 140,150,155,162,175 cm. Which team has the larger range, and by how much?

    Hint: Find each team's range separately, then compare.

  4. Four test scores are 72,85,64 and one more score x. The range of all four is 30, and x is the highest score. Find x.

    Hint: Which of the known scores must be the minimum?

  5. Commute times for 8 workers are 12,15,14,16,13,15,14,95 minutes. To describe the spread of typical commutes, should you use the range or the IQR?

    Hint: Check what one very large value does to each measure.

  6. For the data 9,4,17,11,6, Mia writes: "Range = first − last =9−6=3." Correct her work.

    Hint: The first and last entries of an unsorted list are not always the extremes.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Why do weather reports give the high and the low instead of an average temperature?

Because people plan around the extremes. A day with an average of 15∘15^\circC could run from 5∘5^\circC at dawn to 25∘25^\circC in the afternoon, which means a jacket in the morning and a T-shirt later. The high and the low give you both ends and, by subtraction, the range, which is a quick measure of how much the day will change. An average alone would hide all of that.

Can adding more data ever make the range smaller?

No. A new value either falls between the current minimum and maximum, leaving the range unchanged, or lands outside them and stretches it. Only removing values can shrink the range. This is one reason the range tends to grow with the size of a sample: the heights of 1,000 students almost always have a wider range than the heights of 10, even when the groups are similar.

If I know the range and the smallest value, can I find the largest?

Yes: add them. If the shortest student in a group is 138 cm and the range of heights is 34 cm, the tallest is 138+34=172138 + 34 = 172 cm. The range alone, though, says nothing about where the data sits on the number line: the lists 10 to 20 and 90 to 100 both have a range of 10. You need at least one end value, or a center, to place it.

Learning Path

← Before

Subtraction
Range (Statistics)

You are here

You need Subtraction, plus the habit of scanning a whole list for its largest and smallest values. The range is the first measure of spread: how wide the data is, rather than where its center sits. Next, Interquartile Range measures the spread of the middle half so outliers matter less, and Standard Deviation measures the typical distance of values from the mean.

See Also