Control Chart Constants A2, D3, D4: Table, Derivation & Worked Example

SPC Quality August 18, 2026 8 min read By Rajadurai R

Control chart constants A2, D3, and D4 are statistical scaling factors used to compute control limits for X-bar R charts. A2 converts the average range into ±3-sigma limits for the X-bar chart. D3 and D4 convert the average range into lower and upper control limits for the R chart. Each constant's value depends solely on the subgroup sample size, n.

What Are Control Chart Constants?

Statistical Process Control relies on estimated process spread rather than the population standard deviation, which is rarely known in production settings. Control chart constants are pre-derived multipliers that translate a simpler statistic — the average subgroup range, R-bar — into statistically valid 3-sigma control limits. They remove the need for manual probability calculations at every chart setup.

The constants A2, D3, and D4 appear in every X-bar R chart, which is the most widely used variable control chart in manufacturing quality. They are tabulated in the AIAG SPC Reference Manual, the NIST/SEMATECH e-Handbook of Statistical Methods, and ASTM E2587. Understanding why they change with subgroup size is as important as knowing their numeric values.

A2, D3, D4 Factor Table by Subgroup Size

The table below covers the most common subgroup sizes used in manufacturing SPC. Values are sourced from the AIAG SPC Reference Manual, 2nd Edition. For subgroup sizes outside this range or for X-bar S chart constants (A3, B3, B4), consult the full published table directly.

Subgroup Size (n) A2 (X-bar UCL/LCL factor) D3 (R chart LCL factor) D4 (R chart UCL factor)
21.88003.267
31.02302.575
40.72902.282
50.57702.115
60.48302.004
70.4190.0761.924
80.3730.1361.864
90.3370.1841.816
100.3080.2231.777

Notice that D3 = 0 for n = 2 through 6. This does not mean the lower control limit is missing — it means LCLR is mathematically set to zero because a negative range is impossible. From n = 7 onwards, D3 becomes positive and a meaningful lower limit can be plotted.

How Control Chart Constants Are Derived

Control chart constants trace back to the statistical behaviour of the range of a small sample drawn from a normal distribution. The key intermediate value is d2, the expected value of the range of a sample of size n from a standard normal population. A2 is derived as 3 / (d2 × √n), which collapses the 3-sigma formula into a single multiplier applied directly to R-bar.

D3 and D4 are derived from the relative standard deviation of the sample range, denoted d3. The upper and lower factors are D4 = 1 + 3(d3/d2) and D3 = 1 − 3(d3/d2), with D3 floored at zero. As n increases, the range distribution becomes tighter relative to its mean, so D4 decreases and D3 rises above zero. This is why a subgroup size of n = 4 or n = 5 is a practical sweet spot: control limits are neither too wide nor too noisy.

The full derivation is documented in ASQ's SPC resource library and in Duncan's Quality Control and Industrial Statistics. Understanding the derivation helps engineers explain to operators why the limit changes when subgroup size changes — a common audit question during IATF 16949 assessments.

X-bar R Chart Formulas & Variables

The four control limit formulas for a standard X-bar R chart are listed below. All limits are calculated from two grand statistics: X-double-bar (the grand average of subgroup means) and R-bar (the average of subgroup ranges).

Formula Expression Description
UCLX-barX̄̄ + A2 × R̄Upper control limit for the X-bar chart
LCLX-barX̄̄ − A2 × R̄Lower control limit for the X-bar chart
UCLRD4 × R̄Upper control limit for the R chart
LCLRD3 × R̄Lower control limit for the R chart (= 0 when n ≤ 6)
Variable Meaning
X̄̄ (X-double-bar)Grand average of all subgroup means
R̄ (R-bar)Average of all subgroup ranges
nNumber of measurements per subgroup (subgroup size)
A2Control limit factor for the X-bar chart, function of n
D3Lower control limit factor for the R chart, function of n
D4Upper control limit factor for the R chart, function of n

For a quick sanity-check of your limit calculations, the MetricMech SPC Control Charts guide walks through X-bar and R chart construction with annotated diagrams — useful when training a new quality team on chart interpretation.

Worked Example with Real Numbers

Consider a machining operation measuring shaft diameter. Twenty-five subgroups of n = 5 have been collected. After plotting, the grand mean X-double-bar = 25.04 mm and the average range R-bar = 0.12 mm. Using n = 5: A2 = 0.577, D3 = 0, D4 = 2.115.

X-bar chart limits:
UCLX-bar = 25.04 + (0.577 × 0.12) = 25.04 + 0.069 = 25.109 mm
LCLX-bar = 25.04 − (0.577 × 0.12) = 25.04 − 0.069 = 24.971 mm

R chart limits:
UCLR = 2.115 × 0.12 = 0.254 mm
LCLR = 0 × 0.12 = 0 mm

These four values are the only numbers plotted as horizontal reference lines on the two charts. Any subgroup mean or range falling outside these limits signals a potential special cause worth investigating. Once process capability is required, the estimated sigma (R-bar / d2) feeds directly into Cpk — covered in the MetricMech Cpk vs Ppk guide.

Step-by-Step Method for Setting Control Limits

  1. Define the subgroup size. Choose n based on process rate and rational subgrouping logic. Subgroup sizes of 4 or 5 are standard in most automotive and aerospace SPC plans.
  2. Collect baseline data. Gather a minimum of 25 subgroups during a stable production period. AIAG recommends at least 100 individual measurements in total for a reliable baseline.
  3. Calculate each subgroup mean (X-bar) and range (R). The range is simply the maximum minus the minimum value within each subgroup.
  4. Compute X-double-bar and R-bar. Average all subgroup means to get X-double-bar; average all subgroup ranges to get R-bar.
  5. Look up A2, D3, and D4 from the table above for your chosen subgroup size n.
  6. Calculate the four control limits using the formulas in the table above: UCL and LCL for the X-bar chart, and UCL and LCL for the R chart.
  7. Plot the centre lines and limits. Draw the centre line at X-double-bar on the X-bar chart and at R-bar on the R chart. Add the four control limits as dashed horizontal lines.
  8. Apply the Western Electric rules or Nelson rules to identify out-of-control signals. A single point beyond a control limit is the primary trigger; runs of seven points on one side of the centre line are a secondary signal.
  9. Investigate and remove special causes before finalising limits. Recalculate limits after removing any subgroups confirmed to have an assignable cause. Never remove points arbitrarily.
  10. Document and approve the control plan. Approved control limits belong in the control plan and, for first-article submissions, in the measurement data package. When ballooning dimensional features to a drawing for FAI, CadNexa's auto-ballooning tool links each measured feature to its control chart characteristic without manual re-entry.

Common Mistakes to Avoid

Using the wrong constant for the wrong chart type

A2, D3, and D4 apply only to X-bar R charts. Engineers switching to X-bar S charts must use A3, B3, and B4 instead. Mixing these constants produces control limits that are either too wide or too tight, causing false alarms or missed signals. Software such as Minitab and JMP selects constants automatically, but manually built spreadsheets are a frequent source of this error.

Calculating limits before removing outlier subgroups

If a special-cause event occurred during data collection — a tool change, a material lot switch, a machine breakdown — the affected subgroup inflates R-bar. Inflated R-bar widens all four limits, making the chart less sensitive to future process shifts. Always verify the baseline is free of known special causes before locking in limits.

Mixing subgroup sizes across the chart

When subgroup size varies (for example, n = 4 for most periods but n = 3 during a short shift), A2 and D4 must be recalculated for each different n. Applying a single set of constants to a mixed-size chart is a common error that audit teams flag during IATF 16949 or AS9100 reviews. If variable subgroup sizes are unavoidable, consider switching to an individuals (IMR) chart or a standardised chart.

Confusing control limits with specification limits

Control limits are derived from process data and describe what the process actually produces. Specification limits are set by the customer or engineering drawing. Plotting spec limits on a control chart, or using spec limits to set control limits, is a fundamental SPC error documented in the AIAG SPC manual as a common misapplication. The two should never be treated as equivalent.

Recalculating limits too frequently

Control limits should remain fixed until a deliberate process improvement or confirmed process change occurs. Recalculating limits each month to "tighten up" the chart defeats the purpose of SPC — it chases noise rather than detecting signal. Process capability metrics like Cpk and Cmk (see the MetricMech Cmk Calculation guide) are the correct tools for tracking improvement over time, not the control limits themselves.

When your SPC data feeds into first-article inspection reports or PPAP packages, linking measured features on drawings to their corresponding control characteristics can consume significant manual effort. See how the PPAP Checklist guide structures measurement data requirements, and consider using CadNexa's ballooning tool to automate feature numbering and cross-reference directly from the drawing — reducing transcription errors that can invalidate an SPC study.

Frequently Asked Questions

What is the A2 constant in a control chart?

A2 is a scaling factor used in X-bar R charts to convert the average range (R-bar) into 3-sigma control limits for the X-bar chart. Its value depends on the subgroup size n; for n = 5, A2 equals 0.577. The larger the subgroup, the smaller A2 becomes, reflecting the increased statistical power of larger samples.

Why do D3 and D4 change with subgroup size?

D3 and D4 are derived from the statistical distribution of the sample range. Smaller subgroups have higher relative variability in the range, so D4 is larger and D3 may be set to zero — meaning the lower control limit cannot be negative. As subgroup size grows, the range distribution tightens, and D3 rises above zero while D4 decreases toward 1.

At what subgroup size does D3 become greater than zero?

D3 first exceeds zero at a subgroup size of n = 7. For n = 2 through n = 6, D3 is defined as zero, meaning the lower control limit for the R chart is set to zero rather than a mathematically negative number. Plotting an LCLR of zero is correct practice and is not an error in the chart.

Can I use the same constants for an X-bar S chart?

No. X-bar S charts use different constants: A3 for the X-bar limits and B3/B4 for the S chart limits. A2, D3, and D4 apply specifically to X-bar R charts where variability is tracked using the subgroup range. X-bar S charts are preferred for larger subgroup sizes (n ≥ 10) because the sample standard deviation is a more efficient estimator than the range at those sizes.

Where are the official control chart constant tables published?

The authoritative manufacturing source is the AIAG SPC Reference Manual, 2nd Edition. The NIST/SEMATECH e-Handbook of Statistical Methods and ASTM E2587 also publish verified factor tables and are freely accessible for quality practitioners who need to verify values independently.

RR
Rajadurai R
Founder, 14 years plant-head experience · Mechanical engineer