All calculators
Sign in

Range Calculator

Sign up to favourite this calculator

Paste a list of numbers to get the range — the distance between the highest and lowest values — with both extremes and the midrange shown.

Your data set

Two or more values, separated by commas, spaces or new lines.
Working
789 − 0 = 789
Sorted values
0, 0.5, 1, 25, 45, 789
Range
789
Lowest value
0
Highest value
789
Midrange
394.5
Mean
143.4167
How many values
6

Save to My calculations

Sign in to keep your calculations

How to use this calculator

  1. Type or paste at least two numbers, separated by commas, spaces or new lines. Order does not matter.
  2. Read the range at the top, with the two values it came from beside it. The working line under the box shows the subtraction.
  3. Compare the midrange with the mean. When they are far apart, the data is lopsided and the range is being driven by one extreme value.

What do I need to enter?

  • List of numbers — two to 1,000 values, separated by commas, spaces, semicolons, pipes or new lines. Negatives and decimals are fine, up to 1,000,000,000,000 in size. Any entry that is not a number is flagged rather than skipped.

What do the results show?

  • Range — the main figure: the highest value minus the lowest.
  • Lowest value and highest value — the two extremes the range comes from.
  • Midrange — the point halfway between the lowest and highest values.
  • Mean and how many values — the average of the list, and how many numbers were read.
  • Working and sorted values — the subtraction, and your list in ascending order.

How to calculate the range

The range is the simplest measure of spread there is: one subtraction, using only the two values at the ends.

Range = Highest value − Lowest value
  • Highest — the largest value in the set, e.g. 789
  • Lowest — the smallest value in the set, e.g. 0
  • Range — the distance between them, e.g. 789

Because only the extremes count, two data sets with completely different shapes can share a range. That is the measure's weakness and its usefulness: it says how wide the data is, and nothing at all about how it is distributed inside that width.

For a spread measure that uses every value rather than just the two extremes, see the Standard Deviation Calculator.

Worked examples

Ranges for four data sets
Data setLowest and highestRange
45, 789, 0.5, 25, 1, 00 to 789789
12, 14, 15, 13, 1612 to 164
−8, 3, 11−8 to 1119
77 to 70

The first and second rows are the point of the measure. Both sets have five or six values, but one spans 789 and the other spans 4 — and no average would have told you that.

Frequently asked questions

How do I calculate the range?

Subtract the smallest value from the largest. For 45, 789, 0.5, 25, 1 and 0 the highest is 789 and the lowest is 0, so the range is 789. Nothing in between affects it.

Can the range be negative?

No. The largest value is never smaller than the smallest, so the range is always zero or more. A range of zero means every value in the set is identical.

Does the range work with negative numbers?

Yes, and it is the distance between them that counts. From −8 to 11 the range is 19, because 11 − (−8) = 19. Subtracting a negative adds, which is why the answer is larger than either value.

Why is the range a weak measure of spread?

Because it uses only two values and throws away everything else. One unusual reading can multiply it several times over while the rest of the data has not moved. For a measure that uses every value, look at standard deviation instead.

What is the midrange?

The midpoint of the two extremes: the highest plus the lowest, divided by two. It sits at the centre of the range rather than the centre of the data, so it can be far from both the mean and the median when the values are lopsided.

How many values do I need?

At least two for a range to mean anything. A single value has a range of zero, which is true but not informative, so the calculator asks for two or more.

Last updated 25 October 2026.