In a function, the range is the set of all possible values of a function for the values of the variable, or the values that result when a function takes in the domain. For …example, the function y=2X+3, the range is all real numbers. In statistical data, the range is the difference between the smallest value and the largest value in the set. To find range, you subtract the smallest value in the data set from the largest value.