In statistics, the range of data is the difference between the highest and lowest values.
It can be used as a measure of variability.
For example, for the given data , the highest value is and the lowest value is . So the range of the data is
In relations and functions, domain and range are important terms. The range is the set of all possible dependent values a relation can produce from a domain value. In a function, there will be exactly one output value for an input value.
For example, a function , the domain is all the values of and the range is the corresponding values of .