Process monitoring
Control Chart Constants d₂, d₃, c₄, A₂, A₃, D₃, D₄, B₃, B₄ for n = 2 to 25
A reference table for process engineers who set control limits in a spreadsheet and want to know where every constant comes from.
Quick answer
Pick the row for your subgroup size n, the number of measurements inside each subgroup, not the number of subgroups. Then:
- X̄-R chart: X̄ limits X̿ ± A₂ R̄; R limits D₃ R̄ and D₄ R̄.
- X̄-s chart: X̄ limits X̿ ± A₃ s̄; s limits B₃ s̄ and B₄ s̄.
- I-MR chart: moving ranges of two consecutive values use the n = 2 row: I limits x̄ ± 2.659 MR̄ (usually quoted as 2.66), MR upper limit 3.267 MR̄, no lower limit.
- Standard deviation estimate: σ̂ = R̄/d₂ from ranges, or σ̂ = s̄/c₄ from subgroup standard deviations.
The constants are not arbitrary. d₂ and d₃ are the mean and standard deviation of the range of n values drawn from a normal distribution with σ = 1, c₄ is the mean of the sample standard deviation of n such values, and every other constant is a short formula in those three. The table below was recomputed from those definitions; the formulas are written out after it so that any entry can be checked.
About the example. The worked example uses a synthetic set of 60 thickness readings, 15 subgroups of 4, chosen to show the arithmetic. The constants are derived from their definitions (Montgomery, 2013, Chapter 6 and Appendix VI; NIST/SEMATECH e-Handbook, Section 6.3.2) and rounded once, at the end, to the digits shown.
The table
The columns are grouped by use. d₂, d₃ and c₄ are the base quantities; A₂, D₃ and D₄ serve the X̄-R chart; A₃, B₃ and B₄ serve the X̄-s chart; E₂ = 3/d₂ is the multiplier for individual-value limits when a moving range of n points is used. A zero in the D₃ or B₃ column means the lower limit of the range or s chart is zero for that subgroup size.
| n | d₂ | d₃ | c₄ | A₂ | A₃ | D₃ | D₄ | B₃ | B₄ | E₂ |
|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 1.128 | 0.853 | 0.7979 | 1.880 | 2.659 | 0 | 3.267 | 0 | 3.267 | 2.659 |
| 3 | 1.693 | 0.888 | 0.8862 | 1.023 | 1.954 | 0 | 2.575 | 0 | 2.568 | 1.772 |
| 4 | 2.059 | 0.880 | 0.9213 | 0.729 | 1.628 | 0 | 2.282 | 0 | 2.266 | 1.457 |
| 5 | 2.326 | 0.864 | 0.9400 | 0.577 | 1.427 | 0 | 2.114 | 0 | 2.089 | 1.290 |
| 6 | 2.534 | 0.848 | 0.9515 | 0.483 | 1.287 | 0 | 2.004 | 0.030 | 1.970 | 1.184 |
| 7 | 2.704 | 0.833 | 0.9594 | 0.419 | 1.182 | 0.076 | 1.924 | 0.118 | 1.882 | 1.109 |
| 8 | 2.847 | 0.820 | 0.9650 | 0.373 | 1.099 | 0.136 | 1.864 | 0.185 | 1.815 | 1.054 |
| 9 | 2.970 | 0.808 | 0.9693 | 0.337 | 1.032 | 0.184 | 1.816 | 0.239 | 1.761 | 1.010 |
| 10 | 3.078 | 0.797 | 0.9727 | 0.308 | 0.975 | 0.223 | 1.777 | 0.284 | 1.716 | 0.975 |
The second half of the table continues to n = 25. Subgroups this large are unusual on a production line, but they do occur when a whole panel or strip is measured at many sites, and the s chart is the better choice there (see below).
| n | d₂ | d₃ | c₄ | A₂ | A₃ | D₃ | D₄ | B₃ | B₄ | E₂ |
|---|---|---|---|---|---|---|---|---|---|---|
| 11 | 3.173 | 0.787 | 0.9754 | 0.285 | 0.927 | 0.256 | 1.744 | 0.321 | 1.679 | 0.946 |
| 12 | 3.258 | 0.778 | 0.9776 | 0.266 | 0.886 | 0.283 | 1.717 | 0.354 | 1.646 | 0.921 |
| 13 | 3.336 | 0.770 | 0.9794 | 0.249 | 0.850 | 0.307 | 1.693 | 0.382 | 1.618 | 0.899 |
| 14 | 3.407 | 0.763 | 0.9810 | 0.235 | 0.817 | 0.328 | 1.672 | 0.406 | 1.594 | 0.881 |
| 15 | 3.472 | 0.756 | 0.9823 | 0.223 | 0.789 | 0.347 | 1.653 | 0.428 | 1.572 | 0.864 |
| 16 | 3.532 | 0.750 | 0.9835 | 0.212 | 0.763 | 0.363 | 1.637 | 0.448 | 1.552 | 0.849 |
| 17 | 3.588 | 0.744 | 0.9845 | 0.203 | 0.739 | 0.378 | 1.622 | 0.466 | 1.534 | 0.836 |
| 18 | 3.640 | 0.739 | 0.9854 | 0.194 | 0.718 | 0.391 | 1.609 | 0.482 | 1.518 | 0.824 |
| 19 | 3.689 | 0.733 | 0.9862 | 0.187 | 0.698 | 0.404 | 1.596 | 0.497 | 1.503 | 0.813 |
| 20 | 3.735 | 0.729 | 0.9869 | 0.180 | 0.680 | 0.415 | 1.585 | 0.510 | 1.490 | 0.803 |
| 21 | 3.778 | 0.724 | 0.9876 | 0.173 | 0.663 | 0.425 | 1.575 | 0.523 | 1.477 | 0.794 |
| 22 | 3.819 | 0.720 | 0.9882 | 0.167 | 0.647 | 0.435 | 1.565 | 0.534 | 1.466 | 0.785 |
| 23 | 3.858 | 0.716 | 0.9887 | 0.162 | 0.633 | 0.443 | 1.557 | 0.545 | 1.455 | 0.778 |
| 24 | 3.895 | 0.712 | 0.9892 | 0.157 | 0.619 | 0.452 | 1.548 | 0.555 | 1.445 | 0.770 |
| 25 | 3.931 | 0.708 | 0.9896 | 0.153 | 0.606 | 0.459 | 1.541 | 0.565 | 1.435 | 0.763 |
Published tables agree with this one except in the last digit of a few entries that sit close to a rounding boundary, D₄ at n = 3 (printed as 2.574 or 2.575) and at n = 5 (2.114 or 2.115) being the usual ones. Differences like these come from how many digits of d₂ and d₃ were carried before the division. In the control limit they amount to 0.001 R̄, under 0.05 % of the limit, far less than the sampling uncertainty of R̄ itself, which is several percent with 25 subgroups. This page carries full precision through the division and rounds once.
Where the constants come from
Every variables control chart needs an estimate of the process standard deviation σ, and the constants exist to turn a statistic that is easy to compute by hand, the range R or the standard deviation s of a small subgroup, into that estimate. Three quantities carry all the information; the rest are arithmetic.
d₂ and d₃: the range of n normal values. Take n values from a normal distribution with standard deviation σ and compute their range R = max − min. The range is a random variable; its mean is d₂ σ and its standard deviation is d₃ σ. For n = 2, R is the absolute difference of two values, so d₂ = 2/√π = 1.128 and d₃ = √(2 − 4/π) = 0.853. For larger n, d₂ is the integral of 1 − Φ(x)ⁿ − [1 − Φ(x)]ⁿ over all x, where Φ is the standard normal cumulative distribution, and d₃ comes from the corresponding expression for the mean of R². For most n the integrals are evaluated numerically; a few small n still have closed forms, for example d₂ = 3/√π = 1.693 at n = 3. Because the mean range is d₂ σ, the average of many subgroup ranges estimates d₂ σ, and σ̂ = R̄/d₂. The constant grows with n, from 1.128 at n = 2 to 3.931 at n = 25, because the extremes of a larger sample sit further apart.
c₄: the standard deviation of n normal values. The sample standard deviation s (with n − 1 in the denominator) is an unbiased estimator of σ² when squared, but s itself is biased low: its mean is c₄ σ with c₄ below 1. The exact value is c₄ = √(2/(n − 1)) × Γ(n/2)/Γ((n − 1)/2), where Γ is the gamma function. For n = 2, c₄ = √(2/π) = 0.7979; by n = 10 it is 0.9727 and by n = 25 it is 0.9896, so the bias shrinks quickly as the subgroup grows. The standard deviation of s is σ √(1 − c₄²). Averaging subgroup standard deviations gives s̄, and σ̂ = s̄/c₄.
The chart constants are 3σ limits rewritten in R̄ or s̄. A Shewhart chart places its limits three standard deviations of the plotted statistic from the centre line. The mean of a subgroup of n values has standard deviation σ/√n, so the X̄ limits are X̿ ± 3σ/√n. Substituting σ̂ = R̄/d₂ gives X̿ ± [3/(d₂ √n)] R̄, and A₂ is defined as that bracket. Substituting σ̂ = s̄/c₄ gives A₃ instead. The range chart's limits are R̄ ± 3 d₃ σ̂ = R̄ ± 3 (d₃/d₂) R̄, so D₃ = 1 − 3 d₃/d₂ and D₄ = 1 + 3 d₃/d₂. The s chart's limits are s̄ ± 3 σ̂ √(1 − c₄²), which gives B₃ = 1 − 3 √(1 − c₄²)/c₄ and B₄ = 1 + 3 √(1 − c₄²)/c₄. For an individuals chart the plotted statistic is a single value with standard deviation σ, so the limits are x̄ ± 3 σ̂ = x̄ ± (3/d₂) MR̄, and E₂ = 3/d₂.
| Constant | Formula | Used for |
|---|---|---|
| A₂ | 3/(d₂ √n) | X̄ limits from R̄ |
| A₃ | 3/(c₄ √n) | X̄ limits from s̄ |
| D₃ | 1 − 3 d₃/d₂, or 0 when negative | R chart lower limit |
| D₄ | 1 + 3 d₃/d₂ | R chart upper limit |
| B₃ | 1 − 3 √(1 − c₄²)/c₄, or 0 when negative | s chart lower limit |
| B₄ | 1 + 3 √(1 − c₄²)/c₄ | s chart upper limit |
| E₂ | 3/d₂ | Individuals limits from MR̄ |
Why the lower limits are zero for small subgroups. A range or a standard deviation cannot be negative, but the formula 1 − 3 d₃/d₂ is negative for n up to 6, and 1 − 3 √(1 − c₄²)/c₄ is negative for n up to 5. In those rows the lower limit is set to zero. The practical consequence is that a range chart with n ≤ 6 cannot flag a reduction in variation by the single-point rule, because no range can fall below zero; a run of ranges below the centre line is still visible to the run rules, and that is how an improvement is usually noticed on such a chart.
Why A₂ falls as n grows. Two effects act in the same direction. A larger subgroup has a larger mean range, so dividing by d₂ gives a smaller σ̂ per unit of R̄, and the mean of more values varies less, so the limits sit at 3σ/√n rather than 3σ. At n = 2 the X̄ limits are 1.880 R̄ wide on each side; at n = 5 they are 0.577 R̄; at n = 10 they are 0.308 R̄. A chart drawn with the wrong row therefore has limits that are wrong by a large factor, not by a few percent, which is why the subgroup size is the first thing to check when a chart looks too quiet or too noisy.
When to prefer the s chart. For subgroups of 2 to about 10 the range uses nearly all the information in the subgroup and is easier to compute, so the X̄-R chart is the usual choice. As n grows the range increasingly ignores the values in the middle of the subgroup, and the standard deviation becomes the better estimator; the X̄-s chart is preferred for larger subgroups, roughly n above 10, and whenever the subgroup size varies from sample to sample, because s̄/c₄ handles unequal n more naturally than ranges do. On the same data with the same n the two charts give almost the same limits, as the example shows.
Worked example: one data set, both charts
A solder-resist layer is measured at four sites on each panel, 15 panels in a row, in µm. The subgroup is the panel, n = 4, and the four sites are measured under the same conditions within a few minutes, so the within-panel spread represents common-cause variation.
Readings by panel, one row per subgroup, four sites per row:
1,24.7,24.9,25.2,25.7
2,25.2,25.3,25.3,24.3
3,24.9,26.6,25.2,26.1
4,26.2,24.6,25.7,24.8
5,23.9,25.5,25.6,25.0
6,24.8,25.1,24.3,25.4
7,25.3,24.5,25.8,26.0
8,25.4,24.4,23.9,24.1
9,24.4,24.7,23.7,24.8
10,25.1,24.3,25.0,25.0
11,25.5,25.9,25.6,24.8
12,23.8,23.7,24.6,25.4
13,24.8,24.7,24.7,24.9
14,24.8,23.9,24.4,23.3
15,25.7,24.1,24.9,24.6
For each panel compute the mean x̄, the range R and the standard deviation s (n − 1 in the denominator).
| Panel | x̄ (µm) | R (µm) | s (µm) |
|---|---|---|---|
| 1 | 25.125 | 1.0 | 0.435 |
| 2 | 25.025 | 1.0 | 0.486 |
| 3 | 25.700 | 1.7 | 0.787 |
| 4 | 25.325 | 1.6 | 0.754 |
| 5 | 25.000 | 1.7 | 0.779 |
| 6 | 24.900 | 1.1 | 0.469 |
| 7 | 25.400 | 1.5 | 0.668 |
| 8 | 24.450 | 1.5 | 0.666 |
| 9 | 24.400 | 1.1 | 0.497 |
| 10 | 24.850 | 0.8 | 0.370 |
| 11 | 25.450 | 1.1 | 0.465 |
| 12 | 24.375 | 1.7 | 0.793 |
| 13 | 24.775 | 0.2 | 0.096 |
| 14 | 24.100 | 1.5 | 0.648 |
| 15 | 24.825 | 1.6 | 0.670 |
The three averages over the 15 panels are X̿ = 24.913 µm, R̄ = 1.273 µm and s̄ = 0.572 µm. Intermediate values are shown rounded, but every result below was carried at full precision and rounded at the end.
Sigma estimates. From the n = 4 row, d₂ = 2.059 and c₄ = 0.9213:
- σ̂ = R̄/d₂ = 1.273/2.059 = 0.618 µm
- σ̂ = s̄/c₄ = 0.572/0.9213 = 0.621 µm
The two estimates differ by 0.003 µm, well within what the sampling variation of 15 subgroups can produce.
X̄-R limits. With A₂ = 0.729, D₃ = 0 and D₄ = 2.282:
- X̄ chart: 24.913 ± 0.729 × 1.273 = 23.986 to 25.841 µm
- R chart: UCL = 2.282 × 1.273 = 2.906 µm, LCL = 0
X̄-s limits. With A₃ = 1.628, B₃ = 0 and B₄ = 2.266:
- X̄ chart: 24.913 ± 1.628 × 0.572 = 23.982 to 25.845 µm
- s chart: UCL = 2.266 × 0.572 = 1.297 µm, LCL = 0
The X̄ limits from the two routes differ by 0.004 µm, well below the 0.1 µm resolution of the readings. Both charts show the same picture: the panel means run from 24.100 to 25.700, inside the limits; the largest range is 1.7 against an upper limit of 2.906, and the largest standard deviation is 0.793 against 1.297. The process shows only common-cause variation over these 15 panels, and these trial limits can be carried forward to monitor the next panels. The lower limit of zero on the R and s charts means that panel 13, with a range of 0.2 µm, is not flagged by the single-point rule even though it is unusually uniform; it would take a run of such panels to signal a real reduction in spread.
Checking a constant by hand. A₂ for n = 4 should equal 3/(d₂ √n) = 3/(2.059 × 2) = 0.729, and it does; D₄ should equal 1 + 3 d₃/d₂ = 1 + 3 × 0.880/2.059 = 2.282, and it does. The same two lines check any row of the table, which is the point of knowing where the constants come from: a transcription error in a spreadsheet is caught in a minute.
Common mistakes
- Using the number of subgroups as n. The row is chosen by the number of readings inside one subgroup (4 in the example), not by how many subgroups were collected (15). Confusing the two is the most common reason for limits that are far too tight.
- Mixing the n = 2 constants into a subgrouped chart. The I-MR multipliers 2.659 (or 2.66) and 3.267 belong to moving ranges of two consecutive values. An X̄-R chart with n = 5 uses 0.577 and 2.114; applying 2.66 to R̄ there would place the X̄ limits more than four times too far from the centre line.
- Pairing R-chart constants with s̄, or s-chart constants with R̄. A₂, D₃ and D₄ multiply R̄; A₃, B₃ and B₄ multiply s̄. In the example, A₂ × s̄ would give limits only 0.417 µm wide on each side instead of 0.928 µm.
- Estimating σ with the overall standard deviation of all readings. The constants convert within-subgroup spread into σ. The standard deviation of all 60 readings pooled together includes any drift between panels and belongs to capability indices such as Pp and Ppk, not to control limits.
- Reading a zero lower limit as "no lower limit needed". D₃ = 0 for n ≤ 6 and B₃ = 0 for n ≤ 5 are consequences of the 3σ formula going negative, not a statement that reduced variation is unimportant. Use run rules on the R or s chart to detect improvement.
- Treating the last digit of a table as exact. Two tables can print 2.574 and 2.575 for the same constant. Neither is wrong; the upper limits they produce differ by 0.001 R̄, about 0.04 %, far smaller than the sampling uncertainty of R̄ from the 20 or 25 subgroups normally used to set trial limits.
Using the tools and guides with this table
The Which control chart for which data guide decides between I-MR, X̄-R, p and c charts and works the first two with the n = 2 and n = 5 rows of this table. The I-MR control chart guide carries an individuals chart end to end on ordered thickness data using the n = 2 row. The Subgroup Control Chart Calculator applies the unrounded values behind this table to pasted subgroups of 2 to 25, so its limits agree with this guide's worked example. Once a chart shows the process is stable, the Process Capability Calculator estimates the within-process σ from consecutive readings with the same d₂ = 1.128 and turns it into Cp and Cpk; the Cpk vs Ppk guide explains why a within σ estimated from ranges and d₂, as in this table, and the overall σ of all readings answer different questions. The Z, t and chi-square tables cover the probability side: how rare a point beyond 3σ is, and how wide an interval for σ from a small sample is.
Sources and further reading
- Montgomery, D. C., Introduction to Statistical Quality Control, 7th ed., Wiley, 2013: Chapter 6 (X̄-R, X̄-s and individuals charts, including the derivation of the control limit factors) and Appendix VI (factors for constructing variables control charts).
- NIST/SEMATECH e-Handbook of Statistical Methods, Section 6.3.2, What are Variables Control Charts? (Shewhart X̄-R and X̄-s charts, with the definitions of d₂, d₃ and c₄ and a table of A₂, D₃ and D₄ for n = 2 to 10).
- Kitstead Labs guides: Which control chart for which data, I-MR control charts, Cpk vs Ppk.