Customers rarely accept that one good batch proves a supplier's process. They want evidence that it produces parts inside the specification consistently, which is what capability indices provide. They compare the allowed specification width with the process's actual spread, and they also look at where the process mean sits between the limits. This tool calculates the indices from measurements, or a sigma level from defect counts when continuous data is not available.
Following ISO 22514-2 and the AIAG SPC manual, Cp is the distance between the upper and lower specification limits divided by six standard deviations, so it describes capability if the process were perfectly centred. Cpk takes the smaller of the mean's distance to the upper limit and to the lower limit, each divided by three standard deviations. Expected nonconforming parts per million come from the normal distribution. On the defects route, defects are divided by units times opportunities and multiplied by a million, and the yield is converted to a sigma level with the conventional 1.5 shift added.
The default case is a process with a mean of 10, a standard deviation of 0.1 and limits of 9.7 and 10.3. The 0.6 tolerance is exactly six standard deviations, so Cp and Cpk are both 1, expected nonconforming is about 2,699.9 ppm and the short-term sigma level is 3. On the defects route, 34 defects in 10,000 units with one opportunity each give a DPMO of 3,400, a defect-free yield of 99.66% and a sigma level of 4.21.
When Cp is clearly higher than Cpk, the problem is centring rather than spread, and adjusting the setting may be enough. When both are equal and low, the variation itself must come down. The tool warns below a Cpk of 1.33, the common minimum for an established process, although some industries contractually require more.
None of these figures mean much until a control chart shows the process is stable; an unstable process has no fixed capability. Estimate the standard deviation from at least 25 subgroups and check that the data is roughly normal, or the ppm estimate can be far from reality. Also keep the two sigma levels apart: three times Cpk and the shifted figure derived from defects are different definitions.