What this process capability calculator works out
Paste the readings for one characteristic, enter its specification limits, and the calculator returns Cp, Cpk, Pp and Ppk, the two standard deviations behind them, and an estimate of the parts per million outside the limits. It is the arithmetic a customer expects to see behind a capability claim on a PPAP or a first production run.
Capability compares the spread of a process with the width of its tolerance. Two kinds of spread matter, and that is the difference between the Cp and Pp families:
- Cp and Cpk use the within-subgroup sigma: the short-term variation between parts made close together. They say what the process can do when nothing shifts.
- Pp and Ppk use the overall standard deviation of every reading. They say what the process actually did over the whole run, including tool wear, setups and material changes.
The formulas
| Result | Formula |
|---|---|
| Mean (x̄) | Sum of the readings ÷ n |
| Overall standard deviation (s) | √[ Σ(x − x̄)² ÷ (n − 1) ] |
| Within-subgroup sigma, individual readings | Average moving range ÷ 1.128, where a moving range is the difference between one reading and the next |
| Within-subgroup sigma, subgroups of 2 to 10 | Average subgroup range (R̄) ÷ d2 |
| Cp | (USL − LSL) ÷ (6 × within sigma) |
| Cpk | The smaller of (USL − x̄) ÷ (3 × within sigma) and (x̄ − LSL) ÷ (3 × within sigma) |
| Pp and Ppk | The same as Cp and Cpk, with the overall standard deviation in place of the within sigma |
| Estimated ppm out of specification | 1,000,000 × the area of a normal curve, with the mean and standard deviation above, that falls outside the limits |
The d2 constants are 1.128, 1.693, 2.059, 2.326, 2.534, 2.704, 2.847, 2.970 and 3.078 for subgroups of 2 to 10. With a one-sided specification, such as a maximum runout or a minimum hardness, there is no Cp or Pp, and Cpk and Ppk are measured against the one limit you have.
How to read the result
- Cpk of 1.33 or higher is the common minimum for a capable process. Many automotive and aerospace customers ask for 1.67 on key characteristics or on new processes. Use the number your customer specifies.
- Cpk between 1.00 and 1.33 means the process fits, with little room for a shift.
- Cpk below 1.00 means the spread reaches past a limit and some parts will be out of specification.
- Cp well above Cpk means the process is off centre. An offset is usually cheaper to fix than variation.
- Ppk well below Cpk means the process moved during the run. Find out why before you quote either number.
Before you trust the number
- Keep the readings in the order the parts were made. The within-subgroup sigma depends on it.
- Use enough data. A common rule is at least 30 readings for a first look and 100 or more, in 25 or so subgroups, for a number you will report.
- Check the process is stable on a control chart first. Capability of an unstable process describes the past, not the next lot.
- The ppm estimate and the usual reading of Cpk assume a roughly normal distribution. Runout, flatness and other one-sided characteristics often are not normal.
- Make sure the gage is good enough. See the gage R&R calculator.
In FactoryQA, Inspection does this on your live inspection data: every reading is graded against frozen control limits, and capability analysis shows Cp, Cpk, Pp and Ppk with a histogram and normal curve for any part and characteristic. The definitions are in the quality glossary.
