# Range Calculator (Statistics)

URL: https://speedycalculator.com/calculators/statistics/range/
Last updated: 2026-11-08

> The range calculator finds the spread between the largest and smallest values of a data set, maximum − minimum, and shows the minimum, maximum, midrange, interquartile range, standard deviation and the range-rule estimate of the standard deviation.

## Inputs

- Data set

## Results

- Range
- Minimum
- Maximum
- Midrange
- Interquartile range (for comparison)
- Sample standard deviation
- Range-rule estimate of SD (range ÷ 4)
- Number of values
- Step-by-step working
- Sorted data
- Dot plot

## Formula

```
Range = maximum − minimum · range rule of thumb: s ≈ range ÷ 4
```

## Explanation

The range is the simplest measure of how spread out data are: subtract the smallest value from the largest. A week of daily highs between 18 and 30 °C has a range of 12 °C. Quality-control charts, weather summaries and school statistics all use it because it is quick to compute and easy to explain.

The price of that simplicity is sensitivity. The range depends only on the two most extreme values, so one outlier can double it, and it tends to grow as you collect more data because extreme values become more likely. That is why the interquartile range, which covers only the middle half of the data, and the standard deviation, which uses every value, are usually preferred for serious analysis.

A handy rule of thumb links the range to the standard deviation: for moderate, roughly bell-shaped samples, s is often close to range ÷ 4. The calculator gives this estimate next to the actual standard deviation so you can see how well the rule fits your data.

### How to use the Range Calculator

- **Data set**

Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.

### How it works

Find the minimum and maximum of the data and subtract: range = max − min. The IQR (median-of-halves quartiles) and the sample standard deviation are computed from the same data for comparison.

### Worked example

Daily high temperatures for a week: 18, 22, 25, 19, 30, 27, 21 °C. Sorted: 18, 19, 21, 22, 25, 27, 30. **Range = 30 − 18 = 12 °C**, midrange = 24 °C. For comparison the IQR is 27 − 19 = 8 °C and the sample standard deviation is 4.38 °C; the range rule estimates 12 ÷ 4 = 3 °C.

### How sample size affects the range

For normally distributed data the expected range grows with the sample size: about 2.3σ for 5 values, 3.1σ for 10, 3.7σ for 20 and 4.5σ for 50. So the "range ÷ 4" rule works best for samples of a few dozen; for small samples range ÷ 3 or less is closer, and for very large samples range ÷ 6.

## Worked example

Inputs: Data set: 18, 22, 25, 19, 30, 27, 21.

Results: **Range = 12**; Minimum = 18; Maximum = 30; Midrange = 24; Interquartile range (for comparison) = 8; Sample standard deviation = 4.3753.

## Key terms

- **Range**: Maximum minus minimum.
- **Interquartile range**: Q3 − Q1, the spread of the middle half of the data.
- **Range rule of thumb**: Standard deviation ≈ range ÷ 4.

## FAQ

**How do you find the range in statistics?**
Subtract the smallest value from the largest. For 18, 22, 25, 19, 30, 27, 21 the range is 30 − 18 = 12.

**Can the range be negative?**
No. The maximum is always at least as large as the minimum, so the range is zero or positive.

**What does a range of zero mean?**
Every value is the same.

**Why is the range a poor measure of spread?**
It uses only two values, so one outlier changes it a lot, and it grows with sample size.

**What is the range rule of thumb?**
The standard deviation is roughly a quarter of the range. In the example 12 ÷ 4 = 3 versus an actual s of 4.38, so it is a rough guide only.

**What is the difference between the range and the interquartile range?**
The range covers all the data, the IQR only the middle 50%. The IQR is not affected by outliers.

**How do I compute the range in Excel?**
=MAX(range) − MIN(range).


## Sources

- [NIST/SEMATECH e-Handbook: Measures of scale](https://www.itl.nist.gov/div898/handbook/eda/section3/eda356.htm)
- [OpenStax: Introductory Statistics 2e](https://openstax.org/details/books/introductory-statistics-2e)
- [Khan Academy: Statistics and probability](https://www.khanacademy.org/math/statistics-probability)
