What should you do before the first point is plotted?
Name the characteristic, the unit, the measurement method, and why this subgroup size was chosen. Decide what you will do if a point is out of control. If you need a capability index, write LSL and USL down in the same unit. If you cannot explain those choices, a polished chart will not help you later.
How do you compute an X-bar and R chart?
- For each subgroup, compute the mean and the range (max − min).
- Average the means to get X-double-bar; average the ranges to get R-bar.
- X-bar UCL and LCL = X-double-bar ± A2 × R-bar.
- R UCL = D4 × R-bar; R LCL = D3 × R-bar (often zero for small n).
- Mark any subgroup mean or range outside its limits.
For n = 5, A2 = 0.577, d2 = 2.326, D4 = 2.114, D3 = 0. The demo uses those constants and flags subgroup 6. See the NIST/SEMATECH e-Handbook: Shewhart Control Charts.
How do you add Cpk and Ppk?
Estimate within-subgroup σ as R-bar/d2. Cpk is the minimum of (USL − X-double-bar)/(3σ) and (X-double-bar − LSL)/(3σ). Ppk uses overall sample s in the same form. On the demo, Cpk is 3.019 and Ppk is 1.793. If the chart is out of control, report that fact with the index; do not present the index alone.
| Statistic | Formula used here | Demo value |
|---|---|---|
| X-double-bar | Mean of subgroup means | 20.010 mm |
| R-bar | Mean of subgroup ranges | 0.036 mm |
| X-bar UCL / LCL | X-double-bar ± A2 × R-bar (n=5, A2=0.577) | 20.031 / 19.989 mm |
| R UCL / LCL | D4 × R-bar / D3 × R-bar (D4=2.114, D3=0) | 0.076 / 0.000 mm |
| Within σ estimate | R-bar / d2 (d2=2.326 for n=5) | 0.0155 mm |
| Cp | (USL − LSL) / (6σ) | 3.230 |
| Cpk | min( (USL − X-bar)/(3σ), (X-bar − LSL)/(3σ) ) | 3.019 |
| Ppk | Same form with overall sample standard deviation | 1.793 |
How do you close the job?
Write the constants and the data vintage on the pack
A later reader must be able to rerun it.
Hand the alerts to whoever owns the reaction plan
A chart that nobody acts on is decoration.
Export the file into the quality record
Or paste the table into the free preview and keep a copy of the result.
Do not freeze pretty limits after a shift “so next month looks better”
Recalculate only when your procedure says you may.
SPC Charts is a calculation and charting tool, not a substitute for a quality system, a process-validation study, or professional statistical advice. It is not affiliated with NIST, ISO, AIAG or any standards body.
Frequently asked questions
Can I build this automatically in software?
You can compute it automatically from a table. You cannot skip defining the sampling plan.
What if I have individuals, not subgroups?
Use an I-MR chart and MR-bar/d2, with the usual 2.66 and 3.267 factors, as the preview does when n = 1.
Do I have to test normality first?
This site does not silently switch formulas after a normality test. If your procedure requires a test, do it and say so.
How much does the software cost?
$29 per run, $22 a month or $209 a year.
Official source. Chart and capability methods on this page follow NIST/SEMATECH e-Handbook: Shewhart Control Charts. Always confirm current rules and rates with your base jurisdiction before filing.