Two datasets can share the same mean yet behave completely differently. Dispersion measures — range, variance, standard deviation — capture how spread out or consistent the data really is, which is often what matters most in quality control.
Level 4 HN Engineering MathsInteractive ToolsVisual DiagramsGraded Practice
2Topics
8Worked Examples
4Eng. Cases
12Practice Qs
↔️Range & DeviationSimple spread measures
√Variance & SDThe standard engineering measure
⚙️ApplicationsReal engineering
🎮Quick-Fire GameTest your speed
📝PracticeGraded questions
🎯What you will learn
Calculate range and mean deviation as simple spread indicators; understand why variance (mean squared deviation) is the mathematically preferred measure; and compute standard deviation for both raw and grouped data.
💡 Standard deviation is just √variance — it's preferred over variance itself because it's back in the original units (mm, not mm²), making it directly comparable to the mean.
🧭How to use this resource
1. Read the rules banner at the top of each tab
2. Experiment with the interactive tool
3. Check the key vocabulary panel
4. Study the visual diagram, then the worked examples
↔️
Range & Deviation
The simplest ways to describe how spread out a dataset is.
📏 The Rules — Range & Deviation
Range = max − min
The simplest spread measure — but ignores everything in between
Deviation = x − mean
How far a single value sits from the mean (can be negative)
Σ(x−mean) = 0 always
Deviations always sum to zero — this is why we square them next
🔧Range & Deviation CalculatorEnter data separated by commas
Enter a list of numbers, then press Calculate to see the range and each value's deviation from the mean…
📖 Key Vocabulary
Range — the difference between the largest and smallest values; sensitive to outliers.
Deviation — the signed distance of a value from the mean.
Mean absolute deviation — the average of |deviations|, avoiding the cancellation problem.
Interquartile range — Q3−Q1, a range measure that ignores the extreme 25% at each end.
👁️ Visual aid: values below the mean give negative deviations, values above give positive ones — they always balance to zero overall.
✏️Worked Example 1 — Finding the rangeType: Range
Question Find the range of 23, 45, 12, 38, 51, 19.
Identify max & minmax=51, min=12
Subtract51 − 12
Answer Range = 39
📐Worked Example 2 — Calculating individual deviationsType: Deviation
Question Data: 8, 12, 10, 14, 6 (mean=10). Find each deviation and confirm they sum to zero.
Answer Deviations sum to zero exactly, as expected for any dataset.
📊Worked Example 3 — Mean absolute deviationType: MAD
Question Using the data from Example 2, find the mean absolute deviation.
Take absolute values|−2|,|2|,|0|,|4|,|−4| = 2,2,0,4,4
Average them(2+2+0+4+4)/5 = 12/5
Answer MAD = 2.4 — a typical value differs from the mean by about 2.4 units.
⚙️Worked Example 4 — Engineering context (range as a quick QC check)Type: Engineering
Question Ten shaft diameters (mm) range from 24.97 to 25.04. The tolerance band is ±0.05 mm (0.10 mm total). Is the range within tolerance?
Range25.04 − 24.97 = 0.07 mm
Compare0.07 mm < 0.10 mm tolerance band
Answer Yes — the full spread of measured diameters fits comfortably inside the tolerance, a quick first check before deeper statistical analysis.
🧠 Common slip: relying on range alone to judge consistency — two datasets can have identical ranges but very different spreads everywhere else. Range only looks at the two extremes.
√
Variance & Standard Deviation
Squaring the deviations fixes the cancellation problem — and taking the square root brings the units back to normal.
📏 The Rules — Variance & SD
Variance σ² = Σ(x−mean)² / n
The mean of the squared deviations
SD σ = √variance
Back in the original units — the standard engineering measure
Grouped: σ² = Σf(x−mean)² / Σf
Same idea, weighted by frequency
🔧Variance & Standard Deviation CalculatorEnter data separated by commas
Enter a list of numbers, then press Calculate to see the mean, squared deviations, variance and standard deviation…
📖 Key Vocabulary
Variance (σ²) — the average squared deviation from the mean; in squared units.
Standard deviation (σ) — √variance; back in the original units, so directly comparable to the mean.
Population vs sample SD — sample SD divides by (n−1), not n, to correct for bias when estimating from a subset.
Low vs high SD — low SD means tightly clustered data; high SD means widely spread data.
👁️ Visual aid: both curves are centred on the same mean, but the narrow green curve represents far more consistent (lower variance) data.
✏️Worked Example 1 — Full variance and SD calculationType: Full calculation
Question Find the variance and SD of 8, 12, 10, 14, 6.
⚙️Worked Example 4 — Engineering context (process capability)Type: Engineering
Question A shaft's target diameter is 20.00 mm with tolerance ±0.06 mm. Ten samples give SD = 0.018 mm. Roughly how many SDs fit inside the tolerance band?
Half-tolerance0.06 mm
Divide by SD0.06 ÷ 0.018 ≈ 3.33
Answer The tolerance band spans about ±3.3 standard deviations — comfortably capturing nearly all production under a normal distribution (a process capability check engineers run routinely).
🧠 Common slip: forgetting to square-root the variance — variance and standard deviation are often confused, but they are in different units (mm² vs mm) and mean different things physically.
⚙️
Engineering Applications
Four live scenarios — each with its own calculator. Enter your own numbers.
🔩 Process Capability — Tolerance vs SD
Comparing tolerance width to standard deviation gives an instant sense of how capable a process is of staying within spec.
Capability ratio = tolerance half-width ÷ SD
📟 Try it — Capability Ratio
Enter tolerance and SD, then press Calculate…
🏭 Batch Consistency — Standard Deviation from Data
Direct SD calculation on a batch of readings reveals whether a process is running consistently.
σ = √[Σ(x−mean)² ÷ n]
📟 Try it — Batch SD Calculator
Enter the readings, then press Calculate…
📶 Signal Noise — Standard Deviation as Noise Level
In signal processing, the standard deviation of a noisy signal (after removing the mean/trend) quantifies the noise level directly.
Noise level ≈ σ of the residual signal
📟 Try it — Noise Level Calculator
Enter the residual values, then press Calculate…
⚖️ Comparing Two Batches — Coefficient of Variation
Comparing SD alone can mislead if means differ greatly; the coefficient of variation (SD/mean ×100%) normalises for scale.
CV (%) = (SD ÷ mean) × 100
📟 Try it — Coefficient of Variation
Enter mean and SD, then press Calculate…
🎮
Quick-Fire Dispersion Game
12 questions on range, deviation, variance and SD. How many can you get?
⚡ Dispersion Challenge
Score: 0Question: 1/12Streak: 0🔥
Press Start to begin!
📝
Practice Questions
Graded from warm-up to challenge. Attempt fully before revealing the working.
🥉 Q1–4 Warm-up🥈 Q5–8 Standard🥇 Q9–12 Challenge
Question 1 🥉2 marks
Find the range of 14, 8, 22, 17, 5.
22 − 5 = 17
Question 2 🥉2 marks
Data 4,6,8,10,12 has mean 8. Find the deviation of each value.