5.3 X-bar and R Charts
Key Takeaways
The X-bar and R chart pair is the standard variables control chart for continuous data collected in rational subgroups of size n = 2 to n = 9 (typically n = 4 or n = 5).
The R chart monitors process dispersion (spread) while the X-bar chart monitors process central tendency (location); the R chart must ALWAYS be evaluated and brought into statistical control first.
Control limits are computed using standard Shewhart factors: UCL_xbar, LCL_xbar = X-double-bar ± A2 * R-bar; UCL_R = D4 * R-bar; and LCL_R = D3 * R-bar (where D3 = 0 for n ≤ 6).
The true population standard deviation σ is estimated from the average range as sigma_hat = R-bar / d2, providing the foundation for subsequent process capability calculations.
Establishing standard control limits requires collecting 20 to 25 baseline subgroups, evaluating the R chart, investigating points beyond limits for assignable causes, discarding subgroups with verified assignable causes, and recalculating revision limits.
5.3 X-bar and R Charts
When quality technicians monitor continuous variables data—such as machined shaft diameters, stamped bracket thicknesses, chemical bath temperatures, or electrical resistance—the and control chart pair is the foundational statistical tool of industry. Developed by Dr. Walter Shewhart, this paired chart system monitors both the central tendency (location) and the dispersion (spread) of a manufacturing process over time.
To pass the ASQ CQT examination and successfully establish SPC on the shop floor, technicians must be able to calculate subgroup means and ranges, compute trial centerlines and control limits using standard factor tables, execute the mandatory sequence of evaluating process spread before process location, eliminate confirmed assignable causes, and estimate the process standard deviation ().
1. Application Scope: Why Variables Data and Paired Charts?
Continuous Variables Data
Variables data consists of quantitative measurements along a continuous numerical scale (e.g., millimeters, inches, pounds, foot-pounds, degrees Celsius, ohms). Variables data contains substantially more statistical information than attribute data (pass/fail or go/no-go). While an attribute check sheet only tells you whether a part is acceptable, variables data reveals where the process is centered within the tolerance band and how tightly the measurements cluster.
Subgroup Size ()
The and chart is designed specifically for subgroup sizes from to , with or representing the industry standard. Subgroup sizes larger than 9 cause the range to lose statistical efficiency, requiring the sample standard deviation () to replace the range ().
The Necessity of Paired Charts
Any continuous probability distribution is fundamentally characterized by two independent parameters: its central tendency () and its dispersion (). Monitoring only one parameter leaves the technician blind to half of all potential manufacturing failures:
- Mean Shifts with Constant Dispersion: Tool wear, thermal drift, or incorrect machine offsets shift the average part diameter toward the Upper Specification Limit, while piece-to-piece repeatability remains unchanged. This is detected by the chart.
- Dispersion Expands with Constant Mean: Bearing looseness, spindle runout, inconsistent raw material hardness, or operator clamping inconsistency widens the overall spread of parts, while the average remains centered on nominal. This is detected by the chart.
CASE 1: Mean Shifts, Spread Constant CASE 2: Spread Expands, Mean Constant
(Caught by X-bar) (Caught by R)
Shifted Mean Expanded Spread
| <----------->
. | . . | .
. | . . | .
. | . . | .
---------+--------- --------------+--------------
Target Target
2. Core Mathematical Formulas
For a baseline study consisting of rational subgroups, each containing measured observations:
Step 1: Subgroup Statistics
For each individual subgroup (where ):
- Subgroup Average ():
- Subgroup Range ():
Step 2: Centerlines (Grand Mean and Average Range)
- Grand Mean () (Centerline for the chart):
- Average Range () (Centerline for the chart):
Step 3: Range () Chart Control Limits
Control limits for process dispersion are computed first:
Important
Critical CQT Fact: for For subgroup sizes of and , the factor does not exist or is mathematically defined as 0. Therefore, for , . There is no lower control limit for the range chart because obtaining a sample range of zero in small samples is within normal common cause variation.
Step 4: Average () Chart Control Limits
Control limits for process location are computed using factor :
Derivation of Factor
Where does factor originate? Shewhart derived directly from statistical theory. The true control limits for subgroup averages are . Because the population standard deviation is unknown, it is estimated from the average range as . Substituting into the control limit equation yields:
Step 5: Estimating Process Standard Deviation ()
To calculate process capability () from an and chart, the within-subgroup population standard deviation is estimated using the standard factor :
3. Standard Factor Table for and Charts
The standard factors established by the American Society for Quality (ASQ) and ASTM are provided in the reference table below for subgroup sizes through :
| Subgroup Size () | ||||
|---|---|---|---|---|
| 2 | 1.128 | 1.880 | 0 | 3.267 |
| 3 | 1.693 | 1.023 | 0 | 2.574 |
| 4 | 2.059 | 0.729 | 0 | 2.282 |
| 5 | 2.326 | 0.577 | 0 | 2.114 |
| 6 | 2.534 | 0.483 | 0 | 2.004 |
| 7 | 2.704 | 0.419 | 0.076 | 1.924 |
| 8 | 2.847 | 0.373 | 0.136 | 1.864 |
| 9 | 2.970 | 0.337 | 0.184 | 1.816 |
| 10 | 3.078 | 0.308 | 0.223 | 1.777 |
Key Patterns to Memorize for the CQT Exam:
- As sample size increases, decreases because larger samples have a smaller standard error (), pulling the control limits closer to the grand mean.
- As sample size increases, decreases because larger samples have a higher probability of capturing extreme values, stabilizing the expected sample range.
- is zero for , and becomes a positive decimal starting at ().
4. Step-by-Step Construction and Limit Revision Workflow
Constructing an operational control chart requires an orderly engineering sequence:
[Phase 1: Setup] Select critical-to-quality (CTQ) characteristic;
Verify Gage R&R < 10% on measurement system.
|
v
[Phase 2: Baseline] Collect 20 to 25 rational subgroups (k = 20-25,
typically n = 4 or 5; 100+ total pieces).
|
v
[Phase 3: Compute] Calculate X-bar_i and R_i for each subgroup;
Calculate centerlines X-double-bar and R-bar;
Calculate trial control limits (A2, D3, D4).
|
v
[Phase 4: R Chart] CRITICAL: Evaluate the R Chart FIRST!
Are all range points in statistical control?
/ \
YES NO --> Investigate assignable cause.
| Found? Discard subgroup & recalculate.
| Not found? Retain point; resolve cause.
v
[Phase 5: X-bar Chart] Evaluate the X-bar Chart against stable R-bar.
Investigate out-of-control means for assignable causes.
|
v
[Phase 6: Release] Lock in final standard limits for live shop-floor monitoring.
Why Evaluate the Chart FIRST?
The most critical procedural rule in variables control charting is: Always evaluate the chart before interpreting the chart.
The mathematical justification is absolute: The control limits for the chart are calculated directly from (). If the chart is out of control, process dispersion is unstable. An unstable dispersion means that is a distorted, mathematically invalid estimate of process variability. If the estimate of variation is invalid, the control limits on the chart are completely fictitious! Evaluating limits when the chart is out of control is an exercise in futility.
Protocol for Handling Out-of-Control Trial Points
When a point on the initial trial or chart falls outside control limits:
- Investigate for Assignable Causes: The technician must immediately examine machine logs, setup sheets, and maintenance records for that specific time window (e.g., tool chipped, broken coolant nozzle, wrong material heat loaded).
- If an Assignable Cause is Identified and Corrected: The out-of-control subgroup is discarded from the baseline dataset. The centerlines ( and ) and control limits are recalculated using the remaining subgroups.
- If No Assignable Cause Can Be Found: The point cannot be discarded! Arbitrarily scrubbing out-of-control points without an engineering assignable cause is known as 'data scrubbing' or 'cherry-picking,' which artificially narrows limits and creates false confidence in an unstable system.
5. Fully Worked Shop-Floor Numerical Example: CNC Shaft Turning
Scenario
A precision machine shop is establishing an and control chart for the outer diameter of a hydraulic actuator shaft turned on a CNC lathe. Engineering drawing callout is ().
The quality technician collects baseline rational subgroups of size consecutive shafts across two production shifts (100 total shafts measured with an optical shaft gage).
Baseline Dataset Summary
Sum of all 20 subgroup means:
Sum of all 20 subgroup ranges:
Subgroup 8 recorded the following statistics: , .
Step 1: Calculate Initial Trial Centerlines
Step 2: Retrieve Standard Factors for
From the factor table for :
Step 3: Compute Initial Trial Limits for the Chart
Step 4: Evaluate the Chart
The technician examines all 20 subgroup ranges against :
- Subgroup 8 recorded a range of .
- Since , Subgroup 8 is out of control on the chart!
Step 5: Assignable Cause Investigation
The technician reviews the CNC maintenance log for Subgroup 8 (produced at 10:15 AM). The log reveals that the lathe's secondary coolant nozzle became clogged with aluminum swarf, causing thermal shocking and severe chipping on the carbide insert. The operator noticed the smoke, cleared the swarf, and indexed to a fresh carbide insert.
- Conclusion: A verified, documented assignable cause exists and has been physically eliminated.
- Action: Discard Subgroup 8 from the baseline study and recalculate revised limits with subgroups.
Step 6: Recalculate Revised Centerlines ()
Subtract Subgroup 8 values from the original sums:
Step 7: Recalculate Revised Chart Limits
Checking the remaining 19 subgroup ranges against the revised : the highest remaining range is , which is well below . The chart is now in statistical control!
Step 8: Compute Final Control Limits for the Chart
Now that dispersion is stable, compute limits for process location:
Checking all 19 subgroup averages against these limits confirms that all points fall safely between and . The process is in a verified state of statistical control.
Step 9: Estimate Population Standard Deviation ()
This estimated will now serve as the official denominator for calculating process capability ().
6. Common Technician Exam Pitfalls
Be prepared for these classic traps on the ASQ CQT exam:
- Exam Trap: Calculating Limits Before Checking : Questions often present a dataset with an out-of-control range point and ask for the limits. If an assignable cause is present, you must discard the subgroup and recalculate before computing limits.
- Exam Trap: Confusing with : When estimating process standard deviation, remember: . Never divide by ! Dividing by gives the standard error of the mean, not the standard deviation of individual pieces.
- Exam Trap: Forgetting : Exam questions love to test whether candidates remember that is 0 for . If a calculation gives a negative number, is automatically set to zero.
- Exam Trap: Confusing with : Factor is used exclusively with the Average Range (). Factor is used exclusively with the Average Sample Standard Deviation ().
A quality technician is establishing an X-bar and R control chart for the thickness of rolled brass strip. A baseline study of 25 rational subgroups of size n = 4 yields a grand mean of X-double-bar = 1.2500 inches and an average range of R-bar = 0.0080 inches. Using the standard factor A2 = 0.729, what are the Upper and Lower Control Limits for the X-bar chart?
UCL_xbar = 1.2580 inches and LCL_xbar = 1.2420 inches
UCL_xbar = 1.2625 inches and LCL_xbar = 1.2375 inches
UCL_xbar = 1.2558 inches and LCL_xbar = 1.2442 inches
UCL_xbar = 1.2541 inches and LCL_xbar = 1.2459 inches
When constructing and interpreting a trial Shewhart X-bar and R control chart from initial baseline data, why is the quality technician strictly required to evaluate and bring the R chart into statistical control BEFORE evaluating the X-bar chart?
The Central Limit Theorem applies only to the sample range distribution, so process normality cannot be verified until the R chart is stabilized.
The X-bar chart cannot be mathematically plotted until the R chart proves that the lower control limit is exactly zero (LCL_R = 0).
Machine operators must adjust machine tool offsets to center the process mean before process dispersion can be measured on the shop floor.
The control limits on the X-bar chart are calculated directly from R-bar (via A2 * R-bar), meaning that if process dispersion is unstable, the estimate of process variation is invalid and the X-bar control limits are mathematically meaningless.
An initial baseline capability study of an automated plastic injection molding operation collects 20 subgroups of size n = 5, yielding an average range of R-bar = 0.02326 mm. Assuming the range chart demonstrates statistical control, what is the estimated population standard deviation (sigma_hat) of the process using factor d2 = 2.326?
sigma_hat = 0.0100 mm
sigma_hat = 0.0233 mm
sigma_hat = 0.0541 mm
sigma_hat = 0.0047 mm
Sections you finish are checked off in the contents.