Control chart constants: A₂, d₂, c₄, D₄ and more, n = 2 to 25

Updated

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

ConstantUsed forFormula
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 limitsLCL = D₃R̄, UCL = D₄R̄
B₃, B₄S chart limitsLCL = B₃s̄, UCL = B₄s̄
E₂Individuals limits from moving ranges of n valuesx̄ ± 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

Control chart constants for subgroups of n values
nA₂A₃c₄B₃B₄d₂d₃D₃D₄E₂
21.88002.65870.797903.26651.12840.852503.26652.6587
31.02331.95440.886202.56821.69260.888402.57461.7725
40.72861.62810.921302.26602.05880.879802.28211.4572
50.57681.42730.940002.08902.32590.864102.11451.2898
60.48321.28710.95150.03041.96962.53440.848002.00381.1837
70.41931.18190.95940.11771.88232.70440.83320.07571.92431.1093
80.37251.09910.96500.18511.81492.84720.81980.13621.86381.0537
90.33671.03170.96930.23911.76092.97000.80780.18401.81601.0101
100.30830.97540.97270.28371.71633.07750.79710.22301.77700.9748
110.28510.92740.97540.32131.67873.17290.78730.25561.74440.9455
120.26580.88590.97760.35351.64653.25850.77850.28331.71670.9207
130.24940.84950.97940.38161.61843.33600.77040.30721.69280.8993
140.23540.81730.98100.40621.59383.40680.76300.32811.67190.8806
150.22310.78850.98230.42821.57183.47180.75620.34661.65340.8641
160.21230.76260.98350.44791.55213.53200.74990.36301.63700.8494
170.20280.73910.98450.46571.53433.58790.74410.37791.62210.8361
180.19430.71760.98540.48181.51823.64010.73860.39131.60870.8242
190.18660.69790.98620.49661.50343.68900.73350.40351.59650.8132
200.17960.67970.98690.51021.48983.73500.72870.41471.58530.8032
210.17330.66290.98760.52281.47723.77830.72420.42501.57500.7940
220.16750.64730.98820.53441.46563.81940.71990.43451.56550.7855
230.16210.63270.98870.54521.45483.85830.71590.44341.55660.7775
240.15720.61910.98920.55531.44473.89530.71210.45161.54840.7701
250.15260.60630.98960.56481.43523.93060.70840.45931.54070.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̄.

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