Formula:
This works because subtracting the minimum from the maximum captures the total width of the data set on the number line.
Quartiles divide an ordered data set into four parts of roughly equal size. The lower quartile marks the point below which about 25% of the data lie, the median marks 50%, and the upper quartile marks the point below which about 75% of the data lie.
Interquartile range measures the spread of the middle half of the data and is found by subtracting the lower quartile from the upper quartile.
Formula:
Key check: Range can never be negative, because the highest value is always at least as large as the lowest value.
Formula:
A small range or small IQR suggests the data are relatively close together, while a large range or large IQR suggests more spread. However, the range may be large because of just one unusual value, whereas a large IQR indicates that a substantial middle portion of the data is genuinely spread out.
When comparing data sets, use the same measure of spread for both and explain what the numerical comparison means in context. For example, a smaller IQR usually indicates greater consistency among the middle half of the observations.
| Feature | Range | Interquartile Range |
|---|---|---|
| Formula | ||
| Uses extremes? | Yes | No |
| Affected by outliers? | Strongly | Much less |
| Best for | Quick overall spread | Typical spread with possible outliers |
Median vs quartiles: the median splits data into two halves, while quartiles split data into four parts. This matters because finding IQR requires more than just the center; it requires identifying the spread of the central portion of the distribution.
Even vs odd number of data values changes how the halves are formed. With an odd number of values, the median is excluded from both halves so that and represent the centers of the remaining lower and upper groups.
Measure of spread vs measure of average is an essential distinction in statistics. Range and IQR describe variability, whereas mean, median, and mode describe typical or central value, so they should not be interpreted as interchangeable.
Always order the data before finding quartiles. Many errors occur because students try to locate the lower and upper quartiles from an unsorted list, which produces incorrect positions and therefore an incorrect IQR.
Show the subtraction clearly when finding the range or IQR. Writing something like makes your method visible and helps avoid sign mistakes, especially when negative values or decimals are involved.
Check whether outliers are present before deciding which spread measure is more informative. If the data include an extreme value, the IQR is usually the better summary because it reflects the spread of the central data instead of being distorted by one unusual observation.
Use language of interpretation, not just calculation, when comparing results. Saying that one data set has a smaller IQR means the middle 50% of its values are closer together, so it is more consistent in that central region.
Sanity-check the size of your answer after calculating. The IQR should never exceed the range, and neither the range nor the IQR can be negative, so either outcome indicates a mistake in ordering, quartile choice, or subtraction.
Range and IQR are often paired with averages when comparing data sets. A complete comparison usually discusses both a measure of center, such as the median, and a measure of spread, such as the IQR, because two data sets can have similar centers but very different variability.
Box plots are built directly from quartiles and provide a visual summary of minimum, , median, , and maximum. This means understanding quartiles and IQR is a foundation for reading graphical summaries of distributions.
Outlier detection often uses the IQR because resistant measures are more reliable for unusual-value analysis. A common rule labels values below or above as potential outliers, showing how IQR extends beyond basic spread description into data analysis.