R chart (range chart): how to monitor process spread

Updated

An R chart, or range chart, plots the range of each subgroup (its largest value minus its smallest) over time. It watches the short-term spread of a process: whether parts made at the same time stay as consistent as they usually are. It is the bottom half of the Xbar-R chart, and it should be read first, because the Xbar limits depend on it.

When to use it

  • You measure a continuous characteristic in small rational subgroups (2 to 9 values made close together) and want to know whether the within-subgroup variation is stable.
  • The mean is adjusted routinely (a filling target, a print offset) and consistency is what you need to watch.
  • You need a stable estimate of σ for an Xbar chart or a capability study, and you want proof that the spread did not change during the data collection.
  • You review repeated measurements by an appraiser in a gage R&R study: the range chart shows whether the gauge and the person measure consistently.

For subgroups of 10 or more, use the S chart. For one value at a time, the moving range chart plays the same role.

How it works

For each of the m subgroups, compute Rᵢ = max − min. The average range R̄ is the center line, and the limits are

UCL = D₄R̄ CL = R̄ LCL = D₃R̄

The constants come from the distribution of the range of n normal values: d₂ is its mean and d₃ its standard deviation, both for σ = 1. So R̄/d₂ estimates σ, and the limits sit at R̄ ± 3d₃(R̄/d₂), which gives D₃ = 1 − 3d₃/d₂ (set to 0 when negative) and D₄ = 1 + 3d₃/d₂.

n2345678910
d₂1.1281.6932.0592.3262.5342.7042.8472.9703.078
D₃000000.0760.1360.1840.223
D₄3.2672.5742.2822.1142.0041.9241.8641.8161.777
σ̂ = R̄ / d₂

Apply Tests 1 to 4 from the tests for special causes: a point beyond the limits, 9 in a row on one side, 6 in a row rising or falling, and 14 alternating. The zone tests (5 to 8) assume a symmetric distribution, and ranges are skewed to the right.

Example

A solder paste inspection machine measures the paste height on one reference pad of a circuit board. The stencil is 120 µm thick. Every 15 minutes the engineer records the heights from 5 consecutive boards. The 20 subgroup ranges (µm) were:

1–56–1011–1516–20
9, 4, 5, 5, 169, 12, 10, 5, 67, 9, 5, 10, 832, 11, 6, 5, 10

R̄ = 184 / 20 = 9.2 µm. With n = 5, D₄ = 2.114 and D₃ = 0:

  • UCL = 2.114 × 9.2 = 19.45 µm.
  • LCL = 0.
  • σ̂ = 9.2 / 2.326 = 3.96 µm.
R chart of solder paste height0102030Range (µm)CL=9.2UCL=19.45LCL=0135791113151719Subgroup
R chart of solder paste height

Subgroup 16 has a range of 32 µm, well above the limit. Its five heights were 124, 119, 92, 120 and 118 µm: one board got far too little paste. The stencil under-wipe had been skipped for two cycles and the aperture was partly clogged. After the wipe interval was fixed, subgroup 16 leaves the baseline: R̄ = 8.0 µm, UCL = 16.91 µm, and σ̂ = 8.0 / 2.326 = 3.44 µm. One bad subgroup had inflated σ̂ by 15%.

How to read the results

  • A point above the UCL means at least one value in that subgroup was far from the others. Look at the raw values: often a single part is the culprit, as here.
  • A run of 9 above the center line means the spread has grown in a sustained way: wear, a loose fixture, a new material source.
  • A run of 9 below the center line means the spread has shrunk. That is good news if you changed something on purpose; confirm it and recompute the limits.
  • Ranges of 0 that keep coming back often mean the gauge resolution is too coarse for the process. A chunky-data check tells you whether the measurements have enough resolution.

Common mistakes

  • Reading the Xbar chart before the R chart. If the R chart is out of control, the Xbar limits computed from R̄ are wrong.
  • Expecting a lower limit with small subgroups. With n ≤ 6 the LCL is 0, so a single point cannot show reduced spread; only a run can.
  • Rational subgroups that are not rational. If the 5 values come from different heads, nozzles or cavities, R measures the differences between them, not the short-term noise.
  • Using the range for subgroups of 10 or more. The range ignores the values in between and loses efficiency; the S chart is better there.

Frequently asked questions

Why is the range used instead of the standard deviation?

It is easy to compute by hand on the shop floor, and for subgroups of up to about 9 values it estimates σ almost as well as the standard deviation does. Before calculators were common, that mattered a great deal.

Can the R chart be used on its own?

Yes, when the mean is managed separately or when consistency is the main concern. Most of the time, though, it is paired with an Xbar chart so that you see both the center and the spread.

What does d₂ mean?

d₂ is the average range of n values drawn from a normal distribution with standard deviation 1. Dividing R̄ by d₂ converts the average range into an estimate of the process standard deviation.

Why should I not use the 1σ and 2σ zone tests on an R chart?

Those tests assume points are equally likely to fall in matching zones above and below the center line. Ranges are bounded at zero and skewed to the right, so the zones do not have those probabilities and the tests would give misleading alarms.

Try it with your own data

StatLab SPC is free, open-source statistics for engineers. It runs in your browser, works offline, and never uploads your data.

Open StatLab