How the Cp and Cpk calculator works

Cp compares the width of the tolerance with the natural spread of the process. Cpk takes the distance from the mean to the nearer limit, so a process that is off-centre scores lower even when its spread is small.

Pp and Ppk use the same formulas with the overall standard deviation of all readings. When the process drifts between subgroups, the overall value is larger and Ppk falls below Cpk. The full method is in the Cp and Cpk guide.

CalculationCp = (USL − LSL) / 6σ Cpk = min(USL − μ, μ − LSL) / 3σ

σ is the within-subgroup standard deviation for Cp and Cpk, and the overall standard deviation for Pp and Ppk.

Worked example

Load the example. A shaft diameter has limits of 9.90 and 10.10 mm, a within standard deviation of 0.025 mm and a mean of 10.04 mm.

IndexCalculationResult
Cp0.20 ÷ (6 × 0.025)1.33
Distance to upper limit10.10 − 10.040.06 mm
Cpk0.06 ÷ (3 × 0.025)0.80

How to read your result

A Cp close to Cpk indicates that the mean is near the centre of the specification limits. A large gap indicates off-centring; it does not prove that the spread meets the requirement. Compare Cp with the capability threshold in your quality plan and investigate both variation and the cause of any shift before adjusting the process. The expected out-of-spec rate assumes a normal distribution; treat it as a rough estimate, not a forecast of defects.

Before using capability for a release decision, confirm the process is in statistical control with a control chart and that your gauge is good enough with a Gage R&R study.

Common mistakes

Most disagreements about capability come from the inputs.

  • Using the standard deviation of all readings for Cpk and calling it short-term capability.
  • Calculating capability on an unstable process.
  • Ignoring measurement error that inflates the standard deviation.
  • Treating 1.33 as a universal rule instead of the requirement in your customer agreement.
  • Assuming a normal distribution for a skewed or bounded characteristic.