What sources do we use?
| Source | What we take from it |
|---|---|
| NIST/SEMATECH e-Handbook: Shewhart Control Charts | Shewhart chart structure and the idea of limits based on within-subgroup variation. |
| NIST/SEMATECH e-Handbook: Process Capability | The usual capability-index forms that compare a mean and a sigma estimate with a specification. |
| Standard chart constants for n = 2 to 5 | A2, D3, D4 and d2 as commonly tabulated; I-MR uses 2.66 and 3.267. |
| 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 are Cpk and Ppk calculated?
Cp = (USL − LSL) / (6σ). Cpk = min( (USL − mean)/(3σ), (mean − LSL)/(3σ) ), with σ estimated from R-bar/d2 on an X-bar and R chart (or MR-bar/d2 on an I-MR chart). Ppk uses the same form with the overall sample standard deviation. On the demo, Cpk is 3.019 and Ppk is 1.793. If only one specification exists, the one-sided ratio that can be formed is reported.
We label which sigma went into the index. We do not invent a customer target such as 1.33 or 1.67. If your customer requires a specific index and a specific sigma, say so in the review and compute that index — do not relabel Ppk as Cpk.
What do we not do in the method?
- The public preview does not apply the full Western Electric or Nelson run-rule set; it flags 3-sigma points.
- We do not test normality and then silently switch formulas.
- We do not drop an out-of-control subgroup from Cpk unless you remove it from the input file yourself, and you should say that you did.
- We do not treat a high index as proof the process is stable.
What is the disclaimer?
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.
Pages were last reviewed December 1, 2026. If you find a conflict between this site and the official handbook text or your mandated procedure, follow that text and tell us. A chart pack is only as good as the measurements and the sampling plan behind it.
Frequently asked questions
Is this an official NIST tool?
No. We cite a public handbook; we are not NIST.
Can I rely on the demo Cpk?
No. It is illustrative demo data for a fictitious shaft diameter.
Do you update the method when a standard changes?
We review cited material and date the pages. You should still confirm the method you are required to use.
Is this statistical advice?
No.
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.