LimitLine

Learn · updated 2026-10-23

Control chart constants: A2, D3, D4, d2, c4 and the rest

By Nicholas Williford, Lean Six Sigma Black Belt · About LimitLine

Control limits sit three standard deviations of the plotted statistic from the center line, but on an X̄-R or X̄-S chart you estimate the standard deviation from ranges or subgroup standard deviations. The constants turn those averages into limits, so you only multiply.

Which constant goes where. X̿ is the grand mean, R̄ the average range, s̄ the average subgroup standard deviation, n the subgroup size.

X̄-R chartX̄: X̿ ± A2 × R̄R:  D3 × R̄ to D4 × R̄X̄-S chartX̄: X̿ ± A3 × s̄S:  B3 × s̄ to B4 × s̄I-MR chart (moving ranges of 2)I:  X̄ ± 2.66 × MR̄MR: 0 to 3.267 × MR̄Process σσ = R̄ / d2  or  σ = s̄ / c4

The table

Subgroup sizes 2 to 25. Use the row for the number of parts in each subgroup.

For X̄-R charts (ranges)

nd2d3A2D3D4
21.1280.8531.88003.267
31.6930.8881.02302.575
42.0590.8800.72902.282
52.3260.8640.57702.114
62.5340.8480.48302.004
72.7040.8330.4190.0761.924
82.8470.8200.3730.1361.864
92.9700.8080.3370.1841.816
103.0780.7970.3080.2231.777
113.1730.7870.2850.2561.744
123.2580.7780.2660.2831.717
133.3360.7700.2490.3071.693
143.4070.7630.2350.3281.672
153.4720.7560.2230.3471.653
163.5320.7500.2120.3631.637
173.5880.7440.2030.3781.622
183.6400.7390.1940.3911.609
193.6890.7330.1870.4041.596
203.7350.7290.1800.4151.585
213.7780.7240.1730.4251.575
223.8190.7200.1670.4351.565
233.8580.7160.1620.4431.557
243.8950.7120.1570.4521.548
253.9310.7080.1530.4591.541

For X̄-S charts (standard deviations)

nc4A3B3B4
20.79792.65903.267
30.88621.95402.568
40.92131.62802.266
50.94001.42702.089
60.95151.2870.0301.970
70.95941.1820.1181.882
80.96501.0990.1851.815
90.96931.0320.2391.761
100.97270.9750.2841.716
110.97540.9270.3211.679
120.97760.8860.3541.646
130.97940.8500.3821.618
140.98100.8170.4061.594
150.98230.7890.4281.572
160.98350.7630.4481.552
170.98450.7390.4661.534
180.98540.7180.4821.518
190.98620.6980.4971.503
200.98690.6800.5101.490
210.98760.6630.5231.477
220.98820.6470.5341.466
230.98870.6330.5451.455
240.98920.6190.5551.445
250.98960.6060.5651.435

A2, D3 and D4 for n = 2 to 10 agree with NIST's printed table. The one difference is D4 for n = 5: the exact value is 2.1145, which NIST prints as 2.115 and this table rounds to 2.114; either gives the same limits in practice. Every value is recalculated from the definitions below each time this page is built.

Worked example

Say you measure 5 parts an hour and after 25 hours have X̿ = 10.00 mm and R̄ = 0.20 mm. From the n = 5 row:

  1. X̄ chart: 10.00 ± 0.577 × 0.20 → UCL 10.115, LCL 9.885.
  2. R chart: UCL = 2.114 × 0.20 = 0.423; LCL = 0 (D3 is 0 for n ≤ 6).
  3. Process σ = 0.20 / 2.326 = 0.0860 mm, the σ to use for Cp and Cpk.

The X̄-R chart guide works a full example with real subgroups.

Where they come from

R or S?

The range throws away the values between the largest and smallest, which costs little with small subgroups and more as they grow. NIST puts the range's efficiency at 0.955 for n = 5 and 0.850 for n = 10. Use X̄-R up to about 9 parts per subgroup and X̄-S from 10.

Chart your subgroupsPaste one subgroup per line; LimitLine picks the constants for your subgroup size (X̄-R and X̄-S are Pro tools; Free users can try the example).

Sources

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