Finds the largest and smallest values of a data set and the range, their difference. The range is the simplest measure of spread.
The range is the difference between the largest and the smallest value in a data set — the simplest measure of spread there is.
For the data 12, 15, 18, 20, 25 the maximum is 25 and the minimum is 12.
The range is easy to grasp, but it is a blunt instrument.
For a serious look at spread, use the standard deviation, which uses every value, or the interquartile range, which resists outliers. The range is for a quick sense of the overall width.