Control chart constants: A₂, d₂, c₄, D₄ and more, n = 2 to 25
Control chart constants turn the average range or standard deviation of your subgroups into control limits and estimates of σ. Each depends only on the subgroup size n, so they are tabulated once. The table below gives them to four decimals for n = 2 to 25, computed from the exact values StatLab uses; StatLab computes them for any size, so subgroups of unequal size are handled exactly.
What each constant does
| Constant | Used for | Formula |
|---|---|---|
| d₂ | σ from the average range | σ̂ = R̄ / d₂ |
| c₄ | σ from the average standard deviation | σ̂ = s̄ / c₄ |
| d₃ | The spread of the range | σ of R = d₃σ |
| A₂ | Xbar chart limits from R̄ | x̄̄ ± A₂R̄ |
| A₃ | Xbar chart limits from s̄ | x̄̄ ± A₃s̄ |
| D₃, D₄ | R chart limits | LCL = D₃R̄, UCL = D₄R̄ |
| B₃, B₄ | S chart limits | LCL = B₃s̄, UCL = B₄s̄ |
| E₂ | Individuals limits from moving ranges of n values | x̄ ± E₂MR̄ |
With moving ranges of two consecutive values, the usual I-MR chart, n = 2: E₂ = 2.6587 (often printed 2.66) and D₄ = 3.2665 (3.267).
The table
| n | A₂ | A₃ | c₄ | B₃ | B₄ | d₂ | d₃ | D₃ | D₄ | E₂ |
|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 1.8800 | 2.6587 | 0.7979 | 0 | 3.2665 | 1.1284 | 0.8525 | 0 | 3.2665 | 2.6587 |
| 3 | 1.0233 | 1.9544 | 0.8862 | 0 | 2.5682 | 1.6926 | 0.8884 | 0 | 2.5746 | 1.7725 |
| 4 | 0.7286 | 1.6281 | 0.9213 | 0 | 2.2660 | 2.0588 | 0.8798 | 0 | 2.2821 | 1.4572 |
| 5 | 0.5768 | 1.4273 | 0.9400 | 0 | 2.0890 | 2.3259 | 0.8641 | 0 | 2.1145 | 1.2898 |
| 6 | 0.4832 | 1.2871 | 0.9515 | 0.0304 | 1.9696 | 2.5344 | 0.8480 | 0 | 2.0038 | 1.1837 |
| 7 | 0.4193 | 1.1819 | 0.9594 | 0.1177 | 1.8823 | 2.7044 | 0.8332 | 0.0757 | 1.9243 | 1.1093 |
| 8 | 0.3725 | 1.0991 | 0.9650 | 0.1851 | 1.8149 | 2.8472 | 0.8198 | 0.1362 | 1.8638 | 1.0537 |
| 9 | 0.3367 | 1.0317 | 0.9693 | 0.2391 | 1.7609 | 2.9700 | 0.8078 | 0.1840 | 1.8160 | 1.0101 |
| 10 | 0.3083 | 0.9754 | 0.9727 | 0.2837 | 1.7163 | 3.0775 | 0.7971 | 0.2230 | 1.7770 | 0.9748 |
| 11 | 0.2851 | 0.9274 | 0.9754 | 0.3213 | 1.6787 | 3.1729 | 0.7873 | 0.2556 | 1.7444 | 0.9455 |
| 12 | 0.2658 | 0.8859 | 0.9776 | 0.3535 | 1.6465 | 3.2585 | 0.7785 | 0.2833 | 1.7167 | 0.9207 |
| 13 | 0.2494 | 0.8495 | 0.9794 | 0.3816 | 1.6184 | 3.3360 | 0.7704 | 0.3072 | 1.6928 | 0.8993 |
| 14 | 0.2354 | 0.8173 | 0.9810 | 0.4062 | 1.5938 | 3.4068 | 0.7630 | 0.3281 | 1.6719 | 0.8806 |
| 15 | 0.2231 | 0.7885 | 0.9823 | 0.4282 | 1.5718 | 3.4718 | 0.7562 | 0.3466 | 1.6534 | 0.8641 |
| 16 | 0.2123 | 0.7626 | 0.9835 | 0.4479 | 1.5521 | 3.5320 | 0.7499 | 0.3630 | 1.6370 | 0.8494 |
| 17 | 0.2028 | 0.7391 | 0.9845 | 0.4657 | 1.5343 | 3.5879 | 0.7441 | 0.3779 | 1.6221 | 0.8361 |
| 18 | 0.1943 | 0.7176 | 0.9854 | 0.4818 | 1.5182 | 3.6401 | 0.7386 | 0.3913 | 1.6087 | 0.8242 |
| 19 | 0.1866 | 0.6979 | 0.9862 | 0.4966 | 1.5034 | 3.6890 | 0.7335 | 0.4035 | 1.5965 | 0.8132 |
| 20 | 0.1796 | 0.6797 | 0.9869 | 0.5102 | 1.4898 | 3.7350 | 0.7287 | 0.4147 | 1.5853 | 0.8032 |
| 21 | 0.1733 | 0.6629 | 0.9876 | 0.5228 | 1.4772 | 3.7783 | 0.7242 | 0.4250 | 1.5750 | 0.7940 |
| 22 | 0.1675 | 0.6473 | 0.9882 | 0.5344 | 1.4656 | 3.8194 | 0.7199 | 0.4345 | 1.5655 | 0.7855 |
| 23 | 0.1621 | 0.6327 | 0.9887 | 0.5452 | 1.4548 | 3.8583 | 0.7159 | 0.4434 | 1.5566 | 0.7775 |
| 24 | 0.1572 | 0.6191 | 0.9892 | 0.5553 | 1.4447 | 3.8953 | 0.7121 | 0.4516 | 1.5484 | 0.7701 |
| 25 | 0.1526 | 0.6063 | 0.9896 | 0.5648 | 1.4352 | 3.9306 | 0.7084 | 0.4593 | 1.5407 | 0.7632 |
A lower factor (B₃ or D₃) is 0 when the formula would give a negative number: a range or standard deviation cannot be negative, so the chart has no lower limit for those sizes.
How they are calculated
Every constant comes from three numbers for samples of n values from a normal distribution:
- d₂, the average range in units of σ: the expected value of max − min for n standard normal values. It has no closed form; it is the integral of 1 − (1 − Φ(x))ⁿ − Φ(x)ⁿ over all x, where Φ is the standard normal cumulative distribution.
- d₃, the standard deviation of that range, from a double integral of the same kind.
- c₄, the average sample standard deviation in units of σ:
c₄ = √(2 / (n − 1)) × Γ(n / 2) / Γ((n − 1) / 2)The others follow from these:
A₂ = 3 / (d₂√n)
A₃ = 3 / (c₄√n)
E₂ = 3 / d₂
D₃ = max(0, 1 − 3d₃/d₂)
D₄ = 1 + 3d₃/d₂
B₃ = max(0, 1 − 3√(1 − c₄²)/c₄)
B₄ = 1 + 3√(1 − c₄²)/c₄StatLab's d₂ and d₃ come from numerical integration to 15 significant digits and are checked against high-precision values; the table agrees with published tables. A few printed tables differ by one in the last decimal where they derived one constant from others already rounded: D₄ for n = 3 is 2.5746, while 1 + 3(0.888)/1.693 gives 2.574.
Example
A machining line measures 5 shafts every hour. Over 25 subgroups the grand mean is x̄̄ = 25.002 mm and the average range is R̄ = 0.012 mm. For n = 5, A₂ = 0.5768, D₄ = 2.1145 and d₂ = 2.3259:
- Xbar chart: 25.002 ± 0.5768 × 0.012, so the limits are 24.9951 mm and 25.0089 mm.
- R chart: the upper limit is 2.1145 × 0.012 = 0.0254 mm; D₃ = 0, so there is no lower limit.
- The short-term standard deviation is σ̂ = 0.012 / 2.3259 = 0.00516 mm.
Frequently asked questions
Why does StatLab not round the constants?
Rounded constants add small errors to the limits and to Cp and Cpk. StatLab uses the exact values, so its results match the formulas to many digits rather than to the three decimals of a printed table.
What happens when subgroups have different sizes?
Each subgroup gets the constants for its own size: its limits widen or narrow with n, and σ is estimated by weighting the subgroups as described in the formulas.
Where do E₂ and the 2.66 for individuals charts come from?
E₂ = 3/d₂ for moving ranges of n values. For the usual moving range of two consecutive values, d₂ = 1.1284, so the individuals limits are x̄ ± 2.66 MR̄.