Fab SPC Xbar-R Chart Worksheet
Xbar-R charts are the workhorse of fab SPC for film thickness, CD, sheet resistance and overlay. This worksheet turns subgroups of five site readings into subgroup means, ranges and control limits you can chart or paste into your SPC system.
| Subgroup / lot | Site 1 (nm) | Site 2 (nm) | Site 3 (nm) | Site 4 (nm) | Site 5 (nm) | Mean (Xbar) | Range (R) | |
|---|---|---|---|---|---|---|---|---|
100.04 | 0.9 | |||||||
100.48 | 0.9 | |||||||
100.02 | 0.7 | |||||||
100.34 | 0.8 | |||||||
100 | 0.9 | |||||||
100.28 | 0.9 |
Constants are for subgroup size n = 5 (A2 0.577, D3 0, D4 2.114, d2 2.326). Use at least 20 to 25 subgroups before trusting limits, and recompute after a process change. Sort or plot the means and ranges against the limits to look for points outside limits and runs.
SPC from live measurement data
Want control charts built from your MES or metrology data? Ask for an optional expert review.
Optional. The tool and every export work without this. No spam.
How to use the worksheet
Each row is one subgroup, for example five sites on one wafer or one reading from each of five wafers in a lot. Replace the sample rows with your data, keeping five readings per row. The sheet computes the mean and range of every row, then the average of those means (Xbar-bar) and the average range (R-bar). The summary gives Xbar limits, R chart limits and the within subgroup sigma. Export to Excel to plot the points against the limits, or compare each row manually to find out of control points.
The method
Xbar-R charts track the process center with subgroup means and the spread with subgroup ranges. Control limits are three sigma estimates built from R-bar using tabulated constants. For n = 5 the Xbar limits are Xbar-bar plus or minus 0.577 x R-bar, the R chart upper limit is 2.114 x R-bar, and sigma is estimated as R-bar divided by 2.326. Control limits describe what the process does, not what the customer wants, so keep them separate from spec limits.
- Check the R chart first: if spread is unstable, Xbar limits are not valid
- Rational subgroups should capture short term variation only
- Recalculate limits after a verified process change
Common mistakes
Frequent errors include using spec limits as control limits, mixing tools or chambers in one subgroup, computing limits from too few points and recomputing limits every time a point goes out. Another is using site to site variation as the subgroup when the real risk is lot to lot drift, which makes the limits too wide. Agree on what a subgroup represents before collecting data, then link out of control actions to your OCAP.
Frequently Asked Questions
Why subgroups of five?
Five is common in fabs because five-site measurement maps are standard and the Xbar-R constants are well known. The worksheet uses n = 5 constants, so enter exactly five readings per row.
How many subgroups do I need?
Use at least 20 to 25 subgroups from a stable period to set limits. Fewer points give unreliable limits. After that, hold the limits and only recompute after a verified process change.
Are control limits the same as spec limits?
No. Control limits come from process variation and show when the process changed. Spec limits come from design and customer needs. A process can be in control and still out of spec.
Should I use Xbar-S instead?
For subgroup sizes above about 8 to 10, Xbar-S is more efficient. For n = 5 the range method is fine and simpler to check by hand.
Netray can pull measurement data from your MES or database into a private SPC view with alerts, without moving data off your network.
Related Tools
SPC Control Chart Constants Table (A2, D3, D4, d2)
Lookup table of X-bar and R chart constants for subgroup sizes 2 to 10, with the formulas for centre lines and control limits.
Quality & InspectionSPC Control Plan Worksheet
Row-by-row control plan that picks the chart type, sample size and reaction plan for each characteristic. Export to Excel.
Quality & InspectionWafer Excursion OCAP Response Template
An out of control action plan record for SPC violations and yield excursions in a wafer fab, covering trigger, containment, root cause and corrective action.
MES & Shop FloorWafer Fab Process Traveler Template
A fill-in lot traveler for wafer processing with operation table, hold points, deviations and sign offs.
More Quality & Inspection tools
See all- Wafer Sort Test Yield Pareto Worksheet
- Semiconductor Lot Hold and Release Form Template
- Wire Bond Pull and Shear Test Report Template
- Wafer Probe Bin Yield Log Worksheet
- HTOL Burn-In FIT and Acceleration Factor Calculator
- Semiconductor OCAP Out-of-Control Action Plan Template
- OSAT Supplier Qualification Assessment
- SAP QM Process Capability Cp Cpk Calculator
- SAP QM Lot Rejection Rate, PPM and Sigma Level Calculator
Keep exploring
Free tools
- X-bar and R Control Chart Limits WorksheetType in subgroups of five readings and get subgroup means, ranges, control limits for both charts and a within-subgroup sigma estimate.
- Control Chart Type Selection GuidePick the correct SPC chart from your data type and subgroup size, with center line and limit formulas for each chart.
- SPC Control Plan WorksheetRow-by-row control plan that picks the chart type, sample size and reaction plan for each characteristic. Export to Excel.
ERP fixes and how-tos
- SAP QM SPC: control charts, Cpk and stability studiesSet up SPC in SAP QM: control charts with QGC1 and QGC2, Cpk and process capability, data requirements, and where stability studies fit in quality management.
- How to Use AI on Minitab and SPC Data Stored on File SharesMake Minitab and SPC data on file shares searchable by a private AI: export strategy, deterministic Cpk and chart calculations, NTFS permissions, local model.
- DELMIAworks with SolidWorks, SPC and Shop-Floor Add-onsHow to get a SolidWorks BOM into DELMIAworks, where SPC fits, and how shop floor add-ons connect. Integration patterns and checks, without invented product claims.
Guides
- SPC Integration with ERP Quality Modules: Closing the Loop Between Control Charts and Quality RecordsSPC integration with ERP quality modules: control charts, Cpk data flow, AS9100D compliance, SyteLine and LN quality setup, and AI-driven quality automation.
- Plating Bath Control Logs and SPC: Catching Drift Before It Becomes RejectsHow finishing shops log bath analysis, additions and thickness data, apply SPC to catch drift before rejects, and connect bath records to lots for audits.
- AI-Powered Quality Management for SyteLineAutomate SyteLine quality management with AI. SPC analysis, NCR processing, CAPA management, and supplier quality for Infor CloudSuite Industrial.