A filling line can have a tight spread and still run close to one specification limit. Cp compares the allowed tolerance width with the process spread. Cpk also considers how close the process average is to the nearer limit. To identify the next improvement, calculate the upper and lower indices separately and put the observed measurements in time order before judging the process.

Put the two limits and the process on the same scale

Assume an internal process specification for a trial fill of 495 to 505 g. The trial has an estimated within-process standard deviation of 1.00 g, and the process is assumed stable for this worked example. Cp is (505 − 495) ÷ (6 × 1.00) = 1.67. This quantity is the same whether the process averages 500, 502 or 503 g, because the total tolerance and assumed standard deviation are the same.

At a 500 g mean the upper index is (505 − 500) ÷ 3 = 1.67 and the lower index is (500 − 495) ÷ 3 = 1.67. Cpk takes the smaller, so Cpk equals Cp. At a 503 g mean the upper index falls to 0.67 and the lower rises to 2.67. The nearer upper limit drives Cpk down to 0.67. A single value of Cp would hide where the fill is centred.

With limits of 495 to 505 g and a 1 g standard deviation, Cp stays at 1.67, while Cpk falls to 0.67 when the process mean reaches 503 g.
With limits of 495 to 505 g and a 1 g standard deviation, Cp stays at 1.67, while Cpk falls to 0.67 when the process mean reaches 503 g. Chart by Industry Applied.

Choose a corrective action that fits the evidence

Imagine a packaging business in Victoria comparing two filling heads. Head A has moved high after a product change, but the short-run spread looks much like its historical spread. Restoring the mean towards the agreed target may improve both giveaway and clearance to the upper limit. Head B stays centred but has a wider spread after a particular maintenance interval. Moving its setpoint cannot fix both tails. It needs an investigation of what increases variation.

Calculate these indices for a rationally grouped set of observations. Combining two heads running at different means can produce a wide or double-peaked distribution and conceal which machine needs adjustment. Record head identity, product, shift, batch change and the weighing method. First check tare and the measurement system itself. If instrument repeatability is a large part of the apparent process spread, an intervention in the filler may have little effect on the plotted data.

Check whether the statistic is fit for the decision

Plot the readings in collection order. A run that drifts across the shift or jumps after a changeover should not be treated as a single stable process simply because the pooled sample yields a neat index. State how sigma was estimated, over what period and from which subgroups. A long-term overall deviation and a within-subgroup estimate answer different questions and can give different results from the same production history.

A Cpk value calculated from a sample also has uncertainty. Two decimal places in a spreadsheet do not create certainty about future production. Taking the smaller index identifies the limiting side under the stated model. It does not, by itself, establish actual customer defect rates or legal compliance. Keep the actual out-of-limit count and the customer’s agreed acceptance method alongside the capability result. The 495–505 g limits in this example are an internal illustrative specification.

Worked data

Mean (g)

Cp

Upper index

Lower index

Cpk

498

1.67

2.33

1.00

1.00

500

1.67

1.67

1.67

1.67

502

1.67

1.00

2.33

1.00

503

1.67

0.67

2.67

0.67

The worked table varies the mean and holds the 1.00 g within-process deviation constant. Download the Cp and Cpk calculations. The NIST engineering statistics handbook defines process capability indices. Its process stability guidance explains why production order and stability matter.

Cover photograph by cottonbro studio, published under the Pexels licence. The calculation, data and chart are by Industry Applied.