Measures of Spread: Range, IQR, Variance & Standard Deviation

    By Oge Nwaozuzu7 min readUpdated: March 8, 2026

    Why Measuring Spread Matters

    Two datasets can share the same mean and median yet behave completely differently. Imagine two factories producing bolts with a target diameter of 10mm. Factory A produces bolts ranging from 9.8mm to 10.2mm. Factory B produces bolts ranging from 8.5mm to 11.5mm. The center is identical, but Factory B has a quality problem that only a measure of spread reveals.

    Spread — also called variability, dispersion, or scatter — quantifies how far data values deviate from the center. Four standard measures exist, each with distinct strengths.

    Range: The Simplest Measure

    Range = Maximum − Minimum. It uses only two data points and captures the total extent of the data.

    Dataset: 12, 15, 18, 22, 25, 30, 85 Range = 85 − 12 = 73

    Strengths: Instant to calculate, easy to interpret.

    Weakness: Completely determined by the two most extreme values. A single outlier (the 85 above) inflates the range from 18 to 73, giving a misleading picture of the typical spread.

    Interquartile Range (IQR): The Robust Middle

    IQR = Q3 − Q1. It measures the spread of the middle 50% of data, ignoring extremes entirely.

    Dataset: 12, 15, 18, 22, 25, 30, 85 Q1 = 15    Q3 = 30    IQR = 30 − 15 = 15

    The IQR of 15 reflects the typical spread far more accurately than the range of 73. Removing or changing the outlier (85) would not affect the IQR at all.

    IQR and Outlier Detection

    The 1.5 × IQR rule defines outlier boundaries: any value below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR is flagged as an outlier. In the example above, the upper fence is 30 + 1.5(15) = 52.5, confirming that 85 is an outlier.

    Variance: Average Squared Deviation

    Variance measures the average squared distance from the mean. For a sample of n values:

    s² = Σ(xᵢ − x̄)² / (n − 1)

    The division by (n − 1) instead of n is Bessel's correction, which compensates for the fact that a sample tends to underestimate population variability.

    Strength: Uses every data point and has desirable mathematical properties (additivity for independent variables).

    Weakness: Expressed in squared units (e.g., cm² for height data), making it difficult to interpret directly. Sensitive to outliers because squaring amplifies large deviations.

    Standard Deviation: Variance in Original Units

    Standard deviation is the square root of variance:

    s = √(s²)

    This returns the measure to the original units of the data, making it interpretable. For normally distributed data, approximately 68% of values fall within ±1 SD of the mean, and 95% within ±2 SD.

    Side-by-Side Comparison

    PropertyRangeIQRVarianceStd Dev
    Uses all dataNo (2 values)No (middle 50%)YesYes
    Robust to outliersNoYesNoNo
    Original unitsYesYesNo (squared)Yes
    Pairs withAny centerMedianMeanMean
    Part of 5-number summaryImplied (Max−Min)Implied (Q3−Q1)NoNo

    Worked Example: All Four Measures

    Dataset: 4, 7, 8, 10, 12, 14, 15, 18, 42

    Range = 42 − 4 = 38 Q1 = 7.5    Q3 = 16.5    IQR = 9 Mean = (4+7+8+10+12+14+15+18+42) / 9 = 14.44 Deviations²: 109.1, 55.4, 41.5, 19.8, 6.0, 0.2, 0.3, 12.7, 758.6 Variance = 1003.6 / 8 = 125.4 Standard Deviation = √125.4 = 11.2

    Notice how the outlier (42) inflates the range to 38 and the standard deviation to 11.2, while the IQR remains a compact 9. The IQR more accurately reflects the typical spread of the non-outlier values.

    Decision Rule

    Use IQR (paired with the median) when data is skewed or contains outliers. Use standard deviation (paired with the mean) when data is roughly symmetric and outlier-free. Report the range as supplementary information, never as the sole measure of spread.

    Choosing the Right Measure of Spread

    • Quick screening: Range — fast but unreliable as the only measure
    • Skewed data or outliers: IQR — robust, pairs naturally with the median and five number summary
    • Symmetric data, no outliers: Standard deviation — uses all data points, required for many statistical procedures
    • Comparing groups: Use the same measure for all groups. Box plots (IQR-based) or error bars (SD-based) facilitate visual comparison
    • Research papers: Report both. The five number summary provides the IQR implicitly, while mean ± SD is standard in many fields

    How Spread Appears in the Five Number Summary

    The five number summary encodes two measures of spread directly:

    • Range: Max − Min (total extent)
    • IQR: Q3 − Q1 (robust middle spread)

    Additionally, comparing the distances Min-to-Q1, Q1-to-Median, Median-to-Q3, and Q3-to-Max reveals information about the shape and symmetry of the distribution — something neither variance nor standard deviation can show on their own.

    Verify Your Calculations

    Use the free five number summary calculator to check your work.

    Open Calculator

    Written by Oge Nwaozuzu

    Statistics educator and data analyst. Creator of 5numbersummarycalculator.app.