Range & Midrange: formula
The range and midrange ignore every interior observation. A data-entry error at either endpoint changes both results. Neither describes the frequency, clustering or shape of the remaining values.
Different collections can share the same endpoints while concentrating their interior values in very different places. Examine the actual observations before using either endpoint-based summary as a description of the whole sample.
Range & Midrange: worked example
| Number of observations to include | 6 |
|---|---|
| Value 1 | 12 |
| Value 2 | 18 |
| Value 3 | 9 |
| Value 4 | 22 |
| Value 5 | 15 |
| Value 6 | 20 |
| Range | 13 |
| Midrange | 15.5 |
Enter observations in one measurement unit. Only the smallest and largest entries determine these outputs; intermediate observations still count as data but do not affect the endpoints. The count selector chooses which value slots belong to the set.
Range & Midrange: changing Value 3
| Value 3 | Range | Midrange |
|---|---|---|
| 7 | 15 | 14.5 |
| 8 | 14 | 15 |
| 9 (example) | 13 | 15.5 |
| 10 | 12 | 16 |
| 11 | 11 | 16.5 |
Range & Midrange: compare input ranges
| Input | Tested from | To | Range: low input | Range: high input | Swing |
|---|---|---|---|---|---|
| Number of observations to include | 1 | 6 | 0 | 13 | 13 (100%) |
| Value 4 | 20 | 24 | 11 | 15 | 4 (31%) |
| Value 3 | 8 | 10 | 14 | 12 | 2 (15%) |
| Value 1 | 11 | 13 | 13 | 13 | 0 |
| Value 2 | 16 | 20 | 13 | 13 | 0 |
| Value 5 | 14 | 17 | 13 | 13 | 0 |
| Value 6 | 18 | 22 | 13 | 13 | 0 |
Range & Midrange: individual input comparisons
| Input | Value | Range | Midrange |
|---|---|---|---|
| Number of observations to include | 1 | 0 | 12 |
| 2 | 6 | 15 | |
| 3 | 9 | 13.5 | |
| 4 | 13 | 15.5 | |
| 5 | 13 | 15.5 | |
| 6 | 13 | 15.5 | |
| Value 1 | 10 | 13 | 15.5 |
| 11 | 13 | 15.5 | |
| 12 | 13 | 15.5 | |
| 13 | 13 | 15.5 | |
| 14 | 13 | 15.5 | |
| Value 2 | 14 | 13 | 15.5 |
| 16 | 13 | 15.5 | |
| 18 | 13 | 15.5 | |
| 20 | 13 | 15.5 | |
| 22 | 13 | 15.5 | |
| Value 3 | 7 | 15 | 14.5 |
| 8 | 14 | 15 | |
| 9 | 13 | 15.5 | |
| 10 | 12 | 16 | |
| 11 | 11 | 16.5 | |
| Value 4 | 18 | 11 | 14.5 |
| 20 | 11 | 14.5 | |
| 22 | 13 | 15.5 | |
| 24 | 15 | 16.5 | |
| 26 | 17 | 17.5 | |
| Value 5 | 12 | 13 | 15.5 |
| 14 | 13 | 15.5 | |
| 15 | 13 | 15.5 | |
| 17 | 13 | 15.5 | |
| 18 | 13 | 15.5 | |
| Value 6 | 16 | 13 | 15.5 |
| 18 | 13 | 15.5 | |
| 20 | 13 | 15.5 | |
| 22 | 13 | 15.5 | |
| 24 | 15 | 16.5 |
Range & Midrange: combined input changes
| Value 3 / Value 2 | 14 | 18 | 22 |
|---|---|---|---|
| 7 | 15 | 15 | 15 |
| 8 | 14 | 14 | 14 |
| 9 | 13 | 13 | 13 |
| 10 | 12 | 12 | 12 |
| 11 | 11 | 11 | 11 |
Range & Midrange: which assumptions move the result?
Range & Midrange: values and definitions
| Quantity and definition | Value used |
|---|---|
| Number of observations to include — Uses the first 1–6 value slots; an included zero is data, not a missing-value marker. | 6 |
| Value 1 | 12 |
| Value 2 | 18 |
| Value 3 | 9 |
| Value 4 | 22 |
| Value 5 | 15 |
| Value 6 | 20 |
| Range | 13 |
| Midrange | 15.5 |
Common error: Treating midrange as equivalent to the average. Midrange only looks at the two endpoints; mean uses every value, and the two can differ substantially whenever the data isn't evenly distributed between its extremes.
Identical endpoints can hide very different observations
Consider the assumed sets (0, 1, 2, 9, 10) and (0, 5, 5, 5, 10). Both have range 10 and midrange 5, although their interior clustering is different. With only endpoints retained, that difference cannot be recovered.
The separate prefilled example (8, 14, 14, 16, 50) has range 42 and midrange 29; its mean is 20.4 and median is 14. Thus the midrange need not describe an observation near the middle rank. An endpoint data-entry error can affect the range even when most observations were entered correctly.
Check the original measurements before using the two extrema as a summary of variability. A change of measurement scale illustrates the difference between span and location. If assumed Celsius observations run from 8°C to 50°C, their range is 42°C and their midrange is 29°C.
In Fahrenheit the endpoints are 46.4°F and 122°F: range becomes 75.6°F while the midrange becomes 84.2°F. The conversion offset cancels in subtraction but remains in the midpoint. This arithmetic is why a range should carry a temperature-difference unit and a midrange should carry a temperature-location unit.
Statistics & Probability calculators: Permutation & Combination Calculator, Simple Probability Calculator, Z-Score Calculator, Confidence Interval Calculator, Sample Size Calculator, Binomial Probability Calculator.
Range and midrange are both built from just the two extreme values in a dataset and ignore everything in between, which makes them fast to compute and easy to distort. One unusually high or low reading can swing both figures substantially even if every other value in the set stayed exactly the same.
Scan the full dataset for an obvious outlier before trusting range or midrange as a description of the typical spread. A single stray value can dominate both.
Get more robust measures on the standard deviation and mean and median calculators, and see how far a value lies from the mean on the z-score page. The percent difference and percentage change calculators compare values. The weighted average calculator handles importance.
What is the range of a data set?
Subtract the smallest observation from the largest. The result is the range. It measures the full span between the extremes, while leaving the positions and frequency of all observations inside that span unspecified.
What is the midrange?
Add the largest and smallest observations, then halve their sum. That is the midrange. It sits halfway between the extremes, which can differ from the median position or the arithmetic mean of every observation.
Why is the range a limited measure?
Only the minimum and maximum enter the range. An outlier can change either extreme sharply. Every other observation is ignored in that subtraction; adding a value inside the existing span leaves the range unchanged.