StatGardenREF. DESK
Calculators/Statistics/Range of a Data Set
Statistics

Range of a Data Set calculator

The minimum, maximum and range (spread between them) for a list of numbers.

Published 21 August 2026

What this calculator does

The range of a data set is the gap between its smallest and largest values: the maximum minus the minimum. It is the simplest possible measure of spread, telling you how far the data stretches from end to end without saying anything about how the values in between are distributed.

Because it only looks at the two extreme values, range is quick to calculate and easy to understand, but it can be misleading on its own. A single unusually high or low value (an outlier) can make the range large even if almost every other value in the set sits close together, which is why range is normally reported alongside other spread measures like the standard deviation or interquartile range rather than in isolation.

The formula

FormulaRange = maximum value − minimum value

Sort the numbers from smallest to largest, then subtract the smallest (minimum) from the largest (maximum). The result is the range. It uses only these two values from the data set; everything in between plays no part in the calculation, which is exactly what makes range fast to compute but limited as a full picture of spread.

TermMeaning
MinimumThe smallest value in the data set.
MaximumThe largest value in the data set.
RangeMaximum minus minimum: the total spread from the smallest to the largest value.

The inputs explained

FieldWhat to enter
Data (comma or space separated)The list of numbers, separated by commas, spaces or line breaks.

When to use it

A quick first look at spread

Before running a full statistical breakdown, the range gives an immediate sense of how widely a data set is spread, useful as a first check before deciding whether more detailed measures are needed.

Quality control and tolerance checks

Manufacturing and lab settings often track the range of repeated measurements to flag when a process is producing results more spread out than expected, since a widening range can signal a developing problem even before the average shifts.

Spotting a likely outlier

A range that looks unexpectedly large compared to how tightly clustered most of the data appears is often a sign that one or two extreme values are pulling it, worth checking against the individual minimum and maximum shown alongside the range.

Worked examples

Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.

How does the range compare across a few small data sets?

Range, minimum and maximum for a few short example data sets.

Sample data sets
Data setMinimum valueMaximum value
12, 15, 11, 18, 22, 15, 9, 14, 15, 209.00022.000
5, 5, 6, 5, 4, 5, 64.0006.000
1, 2, 3, 1001.000100.000
10, 20, 30, 40, 5010.00050.000
The third data set has a small spread of ordinary values plus one outlier (100), which pushes its range far higher than a set of similar size with more tightly clustered numbers, exactly the kind of case where range alone can be misleading.

Questions

How do I calculate the range of a data set by hand?

Find the smallest and largest numbers in the set, then subtract the smallest from the largest. No sorting of the middle values is needed, since the range only depends on the two extremes.

Why is range considered a weak measure of spread on its own?

It depends entirely on the two most extreme values and ignores everything else in the data set. A single unusually high or low value can inflate the range even when the rest of the data is tightly clustered, which is why it is normally reported alongside a measure like standard deviation.

What is the difference between range and interquartile range?

Range uses the absolute minimum and maximum, so it is sensitive to outliers. The interquartile range uses the 25th and 75th percentiles instead, trimming off the most extreme quarter of values at each end, which makes it a more robust measure when outliers are present.

Can the range be zero?

Yes, if every value in the data set is identical, the maximum and minimum are the same number, so the range is zero.

For a fuller statistical picture beyond just the spread, see the descriptive statistics calculator, which reports the mean, median, mode, standard deviation and range together. For a spread measure less affected by outliers, see the interquartile range calculator.