LimitLine

Learn · updated 2026-10-21

The X̄-R chart (X-bar and range)

Use an X̄-R chart when you measure a few parts at a time, say 5 every hour. The X̄ chart watches the process average; the R chart watches the spread inside each subgroup. Read the R chart first: if the spread isn't stable, the X̄ limits mean nothing.

The formulas. X̿ is the mean of the subgroup means, R̄ the mean of the subgroup ranges, n the subgroup size.

X̄ chartUCL = X̿ + A2 × R̄LCL = X̿ − A2 × R̄R chartUCL = D4 × R̄LCL = D3 × R̄

For subgroups of 5 (NIST's table): A2 = 0.577, D3 = 0, D4 = 2.115. For 10 or more per subgroup, use the X̄-S chart instead.

Worked example: 8 subgroups of 5

SubgroupValuesMean X̄Range R
110.2 9.8 10.1 10.0 9.910.0000.4
210.4 10.1 9.7 10.0 10.210.0800.7
39.9 10.0 10.3 10.1 9.810.0200.5
410.0 9.6 10.2 10.1 10.09.9800.6
510.3 10.2 9.9 10.0 10.110.1000.4
610.1 9.9 10.0 10.2 9.810.0000.4
79.8 10.0 10.1 9.9 10.210.0000.4
810.0 10.3 9.9 10.1 10.010.0600.4
  1. Grand mean: X̿ = 10.030. Average range: R̄ = 0.475.
  2. X̄ limits: 10.030 ± 0.577 × 0.475 → UCL 10.304, LCL 9.756.
  3. R limits: 2.115 × 0.475 = 1.004; the lower limit is 0 because D3 = 0 for n = 5.
  4. Estimated process σ for capability: R̄ / d2 = 0.475 / 2.326 = 0.2042.
UCL 10.304LCL 9.756CL 10.030Point 1: 10Point 2: 10.08Point 3: 10.02Point 4: 9.98Point 5: 10.1Point 6: 10Point 7: 10Point 8: 10.05999999999999912345678
X̄ chart of the eight subgroup means: all inside the limits, and the R chart (not drawn) has every range below 1.00.

LimitLine computes the constants for any subgroup size from 2 to 25, and its values match NIST's printed table; see the validation page.

Picking subgroups

Open this example in LimitLineThese eight subgroups are the app's built-in Subgroups example (a Pro chart; Free users can try it on this example).

Sources

  1. NIST/SEMATECH e-Handbook, §6.3.2.1 Shewhart X-bar and R and S Control Charts (table of A2, D3, D4)