Range Calculator

The range is the simplest measure of spread: the largest value minus the smallest. Enter a data set to get the range, minimum, maximum and midrange.

6 values read.

Range
22
Minimum
9
Maximum
31
Midrange
20
Count
6
1015202530
▲ mean 20.1667 · ◆ median 20

Step-by-step working

  1. Sort the values9, 14, 18, 22, 27, 31
  2. Subtract the minimum from the maximumrange = 31 − 9 = 22
  3. Midrange is the average of min and max(9 + 31) ÷ 2 = 20

Formula range = max − min midrange = (max + min) ÷ 2

Ask the tutor about your result

An AI tutor reads your inputs and results above and explains them in plain English. The numbers come from the calculator; the explanation is AI-written, so check it against your notes.

How to find the range

Sort the numbers (or just scan for the extremes), then subtract the smallest from the largest. For 14, 22, 9, 31, 18, 27 the range is 31 − 9 = 22.

Limits of the range

Because it uses only two values, one unusual measurement changes the range completely. For a spread measure that ignores the extremes, use the interquartile range; for one that uses every value, use the standard deviation. A rough rule of thumb for bell-shaped data is SD ≈ range ÷ 4.

Frequently asked questions

Can the range be negative?

No. The maximum is always at least as large as the minimum, so the range is zero or positive.

What is the range of a function?

That is a different idea from algebra: the set of possible output values. This calculator finds the statistical range of a data set.