Measuring Spread: Range, Variance, and Standard Deviation
Go beyond the average β learn to quantify how consistent or volatile your data is using range, IQR, variance, and standard deviation.
Two investment portfolios can have the same average annual return but completely different risk profiles. Two manufacturing processes can produce parts with the same mean diameter but one is wildly inconsistent. Knowing the center of your data is not enough β you need to know how spread out it is. Standard deviation is the language of risk in finance, quality in manufacturing, and significance in research. Understanding spread separates analysts who report numbers from those who understand them.
- Calculate the range and interquartile range (IQR) as simple measures of spread
- Compute population variance (\(\sigma^2\)) and standard deviation (\(\sigma\)) step by step
- Interpret what a large vs. small standard deviation means about a dataset's consistency
Use sample formulas (dividing by \(n-1\)) when working with a sample rather than the full population.
Same Mean, Very Different Spread
| Dataset | Values | Mean | Range | Std Dev (\(\sigma\)) |
|---|---|---|---|---|
| Consistent Team | 18, 19, 20, 21, 22 | 20 | 4 | 1.41 |
| Volatile Team | 5, 10, 20, 30, 35 | 20 | 30 | 11.40 |
Identical means, but the Volatile Team's Ο is 8Γ larger β far less predictable.
Dataset: 4, 8, 15, 16, 23, 42. Find range and IQR.
\[ \text{Range} = 42 - 4 = \mathbf{38} \]Sorted: 4, 8, 15, 16, 23, 42. Q1 = (4+8)/2 = 6. Q3 = (23+42)/2 = 32.5.
\[ \text{IQR} = 32.5 - 6 = \mathbf{26.5} \]Find the population standard deviation of: 2, 4, 4, 4, 5, 5, 7, 9.
\[ \mu = \frac{2+4+4+4+5+5+7+9}{8} = \frac{40}{8} = 5 \] \[ \sigma^2 = \frac{(2-5)^2+(4-5)^2+(4-5)^2+(4-5)^2+(5-5)^2+(5-5)^2+(7-5)^2+(9-5)^2}{8} \] \[ = \frac{9+1+1+1+0+0+4+16}{8} = \frac{32}{8} = 4 \] \[ \sigma = \sqrt{4} = \mathbf{2} \]A bolt manufacturer targets a diameter of 10.00 mm. Quality control measures 5 sample bolts: 9.98, 10.01, 10.00, 9.99, 10.02 mm.
\[ \mu = \frac{9.98+10.01+10.00+9.99+10.02}{5} = 10.00 \text{ mm} \] \[ \sigma^2 = \frac{(0.02)^2+(0.01)^2+(0)^2+(0.01)^2+(0.02)^2}{5} = \frac{0.001}{5} = 0.0002 \] \[ \sigma \approx 0.014 \text{ mm} \]The spec allows Β±0.05 mm. Since Ο = 0.014 mm is well within tolerance, the process is stable. If Ο were 0.04 mm, the engineer would flag a calibration issue before defects reach customers.
- Find the range of: 12, 45, 7, 33, 19.
- A dataset has \(\mu = 10\) and values 8, 10, 12. What is the population standard deviation?
- Why is IQR more useful than range when outliers are present?
βΆ Show Answers
- Max=45, Min=7. Range = \(45-7 =\) 38.
- \(\sigma^2 = [(8-10)^2+(10-10)^2+(12-10)^2]/3 = (4+0+4)/3 = 8/3 \approx 2.67\). \(\sigma = \sqrt{2.67} \approx\) 1.63.
- IQR measures the middle 50% of data, so extreme outliers at the edges don't affect it. Range is dominated by the single largest and smallest values.
- Using population formula on a sample: When analyzing a sample, divide by \(n-1\) (not \(n\)) to get an unbiased estimate of the population variance. Most calculators label this \(s\) vs. \(\sigma\).
- Forgetting to square the deviations: \((x - \mu)\) can be negative; squaring ensures all deviations contribute positively to variance. Summing raw deviations always gives zero.
- Interpreting variance directly: Variance is in squared units (e.g., mmΒ²). Always take the square root to get standard deviation in the original units for meaningful interpretation.
- Range = max β min: fast but outlier-sensitive. IQR = Q3 β Q1: robust measure of the middle 50%.
- Variance (\(\sigma^2\)) = average squared deviation from the mean β always non-negative.
- Standard deviation (\(\sigma\)) = \(\sqrt{\sigma^2}\): same units as data, the most commonly reported spread measure.
- Low Ο = consistent, predictable data. High Ο = high variability and risk.
Quality control engineers use standard deviation to monitor production consistency. If a packaging machine fills bottles with a mean of 500 mL and Ο = 2 mL, nearly all bottles fall between 494β506 mL (within Β±3Ο). When Ο increases, it's an early warning that the machine needs maintenance β before customer complaints or regulatory violations. In finance, the same standard deviation concept measures portfolio volatility: a fund with higher Ο in annual returns carries higher risk. Portfolio managers explicitly trade off expected return against Ο when constructing investment strategies.
Calculator Connection
The Basic Statistics Calculator computes range, variance, and standard deviation in one step. The Variance & Standard Deviation Calculator shows each step of the deviation-squaring process. The Standard Deviation Calculator handles both population (Ο) and sample (s) formulas. The Mean Absolute Deviation Calculator provides an easier-to-interpret alternative. The IQR Calculator finds Q1, Q3, and the interquartile range with outlier detection.
Try it with the Calculator
Apply what you've learned with these tools.
Measuring Spread: Range, Variance, and Standard Deviation: Quiz
5 questions per attempt Β· Beginner Β· Pass at 70%
Start Quiz β