Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Range in Maths Explained with Formula and Applications

Reviewed by:
ffImage
hightlight icon
highlight icon
highlight icon
share icon
copy icon

How to Find the Range of a Data Set with Step by Step Examples

The Range

In mathematics, a range is a difference between the lowest and highest values of a numeral. In {7, 15, 4, 6, 9} the lowest value is 4, and the highest is 15, thus the range is 15 − 4 = 11. The range can also imply all the values of the output of a function. Moreover, when you start studying functions in mathematics, you'll encounter a second definition of range. To better understand range, it aids to think of functions as tiny math machines.


Range of a Function

Talking about the range of a function definition, it is the set of outputs the function accomplishes when it is pertained to its whole set of outputs. In the function machine metaphor, the range is the set of items that arise out of the machine when you insert in all the inputs.


For instance, when we apply the function notation f: R→R, we imply that f is a function →from the real numbers →to the real numbers. By this notation, we are aware that the domain (set of all inputs) of ‘f’ is the set of all possible inputs (the codomain) and as well the set of all real numbers.


But, without having to know the function f, we will be unable to identify what its outputs are further cannot even determine what its range is. All we know is that the range should be a subset of the codomain, so the range should be a subset (likely to be the whole set) of the real numbers. It is possible objects are available in the subset of codomain for which there are no inputs and for which the function will output that object.


For instance, we could describe a function f: R→R as f(x) =x2. Seeing that f(x) will invariably be non-negative, the number −3 is in the codomain set of f, but it is not in the range, since there is no input of x for which f(x) =−3. For this f, the codomain is the set of all real numbers whereas the range is the set of non-negative real numbers.


Domain and Codomain in Range

The set of values we can insert into the math machine are known as the domain (another very important concept in the range). The set of possible outcomes, once we crank those values via the math machine, is known as the ​co domain​. And the set of actual outputs or outcomes we obtain is called the range​.


Interquartile Range

The Interquartile Range also known as IQR, defines the mid ( 50%) of values when arranged from lowest to greatest in the data set. In order to determine the interquartile range (IQR), we need to ​first find the median (middle value) of the lower and upper half of the set of data. These values are assigned as quartile 1 (Q1) and quartile 3 (Q3). The IQR is thus the difference between Q3 and Q1.


Solved Examples

Example:​

Think that you happen to view your math’s teacher's notebook, and you snuck the peek so far that you saw the students' grade percentages in class are {91, 84, 37, 53, 52, 88, 46, 62}. Now, you need to find out the range of this data set or we can say the range of the students' grades?


Solution:

First, we need to determine the highest as well as the lowest value of the data set i.e

The highest data point = 91

The lowest data point= 37

Next, subtract the lowest value from the highest value determined:

91 - 37 = 54

Thus, the range of this specific data set is 54 percentage points.


Example:

Mr Alex drove through 8 southern states on his summer vacation. Fuel prices varied from state to state he travelled. Calculate the range of fuel prices?

Rs. 2.79, Rs. 0.61, Rs. 2.96, Rs. 3.09, Rs. 1.64, Rs. 2.25, Rs. 3.73, Rs. 1.67


Solution: 

Arranging the data from least to greatest, we obtain,

0.61, 1.64, 1.67, 2.25, 2.96, 2.79, 3.09, 3.73

highest - lowest = 3.73 – 0.61 = $0.48

Answer: The range of fuel prices is Rs. 3.12


Fun Facts

While finding the range, curly brackets are commonly used to enclose a set of data, so you are aware everything inside the curly brackets belongs together.

FAQs on Range in Maths Explained with Formula and Applications

1. What is range in mathematics?

The range in mathematics is the difference between the highest and lowest values in a data set. It measures how spread out the numbers are in basic statistics.

  • Formula: Range = Maximum value − Minimum value
  • It is a simple measure of dispersion.
  • Used in statistics to understand variability.
For example, in the data set 3, 7, 10, 15, the range is 15 − 3 = 12.

2. How do you calculate the range of a set of numbers?

To calculate the range, subtract the smallest number from the largest number in the data set.

  • Step 1: Arrange the numbers in order (optional but helpful).
  • Step 2: Identify the maximum value.
  • Step 3: Identify the minimum value.
  • Step 4: Use the formula Range = Max − Min.
Example: For 4, 9, 2, 11 → Max = 11, Min = 2, so Range = 11 − 2 = 9.

3. What is the formula for range in statistics?

The formula for range in statistics is Range = Maximum value − Minimum value. This formula gives a quick measure of the spread of data.

  • It only uses two values: the largest and smallest.
  • It does not consider all data points.
  • Commonly used in basic data analysis.

4. Can you give an example of finding the range?

Yes, the range is found by subtracting the smallest value from the largest value in a data set.

  • Example data: 5, 8, 12, 20, 7
  • Maximum value = 20
  • Minimum value = 5
  • Range = 20 − 5 = 15
This shows the data values spread across 15 units.

5. What does the range tell you about data?

The range tells you how spread out the data values are from the smallest to the largest value. A larger range means greater variability, while a smaller range means the data values are closer together.

  • Large range → high dispersion
  • Small range → low dispersion
  • Does not show distribution between extremes

6. What is the range in a function?

The range of a function is the set of all possible output values (y-values) the function can produce. It depends on the domain and the rule of the function.

  • Domain → input values (x-values)
  • Range → output values (y-values)
For example, if f(x) = x² and x is any real number, the range is y ≥ 0.

7. What is the difference between range and domain?

The domain is the set of input values, while the range is the set of output values of a function.

  • Domain → possible x-values
  • Range → possible y-values
  • Domain affects the resulting range
For example, in f(x) = 2x, if the domain is all real numbers, the range is also all real numbers.

8. Can the range be zero?

Yes, the range can be zero if all values in the data set are the same. When the maximum and minimum values are equal, their difference is zero.

  • Example: 6, 6, 6, 6
  • Max = 6, Min = 6
  • Range = 6 − 6 = 0
This indicates no variability in the data.

9. What are the limitations of range in statistics?

The range is limited because it only considers the highest and lowest values in a data set.

  • Ignores all other data points
  • Highly affected by outliers
  • Does not show distribution shape
Because of this, measures like variance and standard deviation are often used for deeper analysis.

10. How is range used in real life?

The range is used in real life to measure variation between the highest and lowest values in data.

  • Weather: difference between highest and lowest temperatures
  • Finance: fluctuation in stock prices
  • Education: spread of test scores
It provides a quick understanding of variability in everyday statistical data.