Range calculator
Calculator
The calculator needs JavaScript. The tables below give the same numbers for common cases.
How it is worked out
- Range = largest − smallest = 22 − 3 = 19.
| Inputs | Answer |
|---|---|
| Numbers: 14, 3, 22, 9, 17 | The range is 19 (from 3 to 22). |
| Numbers: 2, 4, 4, 4, 5, 5, 7, 9 | The range is 7 (from 2 to 9). |
| Numbers: 100, 200, 150 | The range is 100 (from 100 to 200). |
How to use it
The range is the largest value minus the smallest: a quick measure of spread. The midrange is the average of the largest and smallest, and the interquartile range (IQR) is the spread of the middle half of the data.
Quartiles here use linear interpolation between sorted values, the method most spreadsheets use.
Frequently asked questions
What is the range of 14, 3, 22, 9, 17?
22 − 3 = 19.
What is the midrange?
The average of the smallest and largest values.
Why use the IQR?
It ignores the extremes, so outliers do not distort it.
Method: standard arithmetic shown step by step; no outside data is used. Checked 2026-11-12.
About · How we verify this · Editorial policy · Corrections
General information only. Results are plain arithmetic on the numbers you enter; check anything important (money, health, school work) against your own records or the official source.