What is in the example?
| Subgroup | X-bar | Range | Alert |
|---|---|---|---|
| 1 | 20.002 | 0.050 | — |
| 2 | 20.020 | 0.040 | — |
| 3 | 19.990 | 0.040 | — |
| 4 | 20.014 | 0.030 | — |
| 5 | 19.996 | 0.030 | — |
| 6 | 20.070 | 0.040 | Outside X-bar limits |
| 7 | 20.004 | 0.030 | — |
| 8 | 19.990 | 0.040 | — |
| 9 | 20.016 | 0.030 | — |
| 10 | 19.996 | 0.030 | — |
| Average | 20.010 | 0.036 |
The point of the example is the split between a high within-subgroup index and a visible shift, not a benchmark value you should chase.
How should each result be handled in the story?
The X-bar alert is the first sentence. Then you say Ppk is lower than Cpk because overall variation includes the shift. Then you say what you would do in a real plant: investigate subgroup 6, do not present Cpk as a close-out, and do not drop the subgroup from the index unless a documented rule says you may, and then you say that you did.
| 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 |
What would a weak version of the same study look like?
- A slide with Cpk only.
- A chart picture with no table.
- Subgroup 6 quietly removed.
- Ppk labelled as Cpk.
How can you reproduce the example?
Download the sample CSV
Open it in Excel.
Read the sample report
See the same study as a pack.
Paste it into the preview
Confirm the alert and the two indices.
Then replace the demo units with yours
Never show this example as your own audit record.
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
Is this a real customer example?
No. It is illustrative demo data.
Why is Cpk so much higher than Ppk?
Within-subgroup variation is small, but subgroup 6 is a shift, so overall s is larger.
Can I run my own data the same way?
Yes. Use the free preview or the sample file layout.
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.