How to Find the Range of a Data Set | Calculator & Formula

In statistics, the range is the spread of your data from the lowest to the highest value in the distribution. It is a commonly used measure of variability.

Along with measures of central tendency, measures of variability give you descriptive statistics for summarising your data set.

The range is calculated by subtracting the lowest value from the highest value. While a large range means high variability, a small range means low variability in a distribution.

Range calculator

You can calculate the range by hand or with the help of our range calculator below.

Calculate the range by hand

The formula to calculate the range is:

Formula to find the range

  • R = range
  • H = highest value
  • L = lowest value

The range is the easiest measure of variability to calculate. To find the range, follow these steps:

  1. Order all values in your data set from low to high.
  2. Subtract the lowest value from the highest value.

This process is the same regardless of whether your values are positive or negative, or whole numbers or fractions.

Range example
Your data set is the ages of 8 participants.

Participant 1 2 3 4 5 6 7 8
Age 37 19 31 29 21 26 33 36

First, order the values from low to high to identify the lowest value (L) and the highest value (H).

Age 19 21 26 29 31 33 36 37

Then subtract the lowest from the highest value.

R = HL

R = 37 19 = 18

The range of our data set is 18 years.

How useful is the range?

The range generally gives you a good indicator of variability when you have a distribution without extreme values. When paired with measures of central tendency, the range can tell you about the span of the distribution.

But the range can be misleading when you have outliers in your data set. One extreme value in the data will give you a completely different range.

Range example with an outlier
One value in your data set is replaced with an outlier.

Age 19 21 26 29 31 33 36 61

Using the same calculation, we get a very different result this time:

R = HL

R = 61 – 19 = 42

With an outlier, our range is now 42 years.

In the example above, the range indicates much more variability in the data than there actually is. Although we have a large range, most values are actually clustered around a clear middle.

Because only two numbers are used, the range is easily influenced by outliers. It can’t tell you about the shape of the distribution of values on its own.

To get a clear idea of your data’s variability, the range is best used in combination with other measures of variability like interquartile range and standard deviation.

Frequently asked questions

What is the range in statistics?

In statistics, the range is the spread of your data from the lowest to the highest value in the distribution. It is the simplest measure of variability.

Can the range be a negative number?

No. Because the range formula subtracts the lowest number from the highest number, the range is always zero or a positive number.

What are the 4 main measures of variability?

Variability is most commonly measured with the following descriptive statistics:

What’s the difference between central tendency and variability?

While central tendency tells you where most of your data points lie, variability summarises how far apart your points from each other.

Data sets can have the same central tendency but different levels of variability or vice versa. Together, they give you a complete picture of your data.

Cite this Scribbr article

If you want to cite this source, you can copy and paste the citation or click the ‘Cite this Scribbr article’ button to automatically add the citation to our free Reference Generator.

Bhandari, P. (2023, January 19). How to Find the Range of a Data Set | Calculator & Formula. Scribbr. Retrieved 18 November 2024, from https://www.scribbr.co.uk/stats/range-statistics/

Is this article helpful?
Pritha Bhandari

Pritha has an academic background in English, psychology and cognitive neuroscience. As an interdisciplinary researcher, she enjoys writing articles explaining tricky research concepts for students and academics.