Process capability calculator
Cp and Cpk compare the tolerance with the process's short-term spread; Pp and Ppk compare it with the overall spread. Cp = (USL − LSL) ÷ 6σ, and Cpk also takes into account how far the average sits from the centre of the tolerance. Paste measurements and the specification limits to get all four.
Check your process capability
Paste the measurements in the order the parts were made, enter the specification limits, and say how the parts were sampled. Leave a limit empty for a one-sided specification.
Separated by new lines, commas, tabs or spaces. Use a point for decimals.
How many parts were measured together each time
Ppk is well below Cpk: the overall spread is wider than the spread inside a subgroup, so the average moves between subgroups. Finding what shifts it would bring Ppk up toward Cpk. 0 of 25 measurements are outside the specification. With 25 values these are rough estimates.
- Measurements per bin
- Specification limits
- Mean
Show the working
- Mean of 25 measurements: x̄ = 300.165 ÷ 25 = 12.0066.
- σ overall (sample standard deviation): 0.01092.
- σ within: 5 subgroups of 5, average range R̄ = 0.017, ÷ d₂ = 2.326 = 0.00731.
- Cp = (12.05 − 11.95) ÷ (6 × 0.00731) = 2.28; Pp = (12.05 − 11.95) ÷ (6 × 0.01092) = 1.53.
- Distance from the mean to the limits: USL − x̄ = 0.0434, x̄ − LSL = 0.0566. The nearer one is 0.0434.
- Cpk = 0.0434 ÷ (3 × 0.00731) = 1.98; Ppk = 0.0434 ÷ (3 × 0.01092) = 1.32.
- Ppk is well below Cpk: the overall spread is wider than the spread inside a subgroup, so the average moves between subgroups. Finding what shifts it would bring Ppk up toward Cpk.
- Measurements outside the specification: 0 of 25.
- With 25 measurements these indices are rough estimates; 50 or more give a steadier figure.
The capability formulas
Cpk vs Ppk. Both use the same mean and the same limits; only the σ differs. Cpk uses the variation inside subgroups of parts made close together, so it describes what the process can do when nothing shifts. Ppk uses the variation of every part over the whole period, so it also includes drift, tool wear, shift changes and new material lots. When Ppk is close to Cpk, the process is about as consistent over time as it is from one part to the next. When Ppk is well below Cpk, the average is moving between subgroups, and finding what moves it is where the improvement is.
Cp and Pp ignore where the average sits: they compare the width of the tolerance with the width of the process. Cpk and Ppk use the distance to the nearer limit, so they fall as the average drifts off centre. With only one specification limit, Cp and Pp are undefined and Cpk and Ppk use the side that exists. All four assume the process is stable and its data roughly normal.
The d₂ constants for subgroups of 2 to 10 are 1.128, 1.693, 2.059, 2.326, 2.534, 2.704, 2.847, 2.970 and 3.078.
Worked example
A boring operation holds a 12.000 mm diameter to ± 0.050 mm, so LSL = 11.950 and USL = 12.050. An inspector measures five consecutive parts at the start of each hour for five hours, and records 25 diameters in that order, one row per hour.
- Mean of 25 measurements: x̄ = 300.165 ÷ 25 = 12.0066.
- σ overall (sample standard deviation): 0.01092.
- σ within: 5 subgroups of 5, average range R̄ = 0.017, ÷ d₂ = 2.326 = 0.00731.
- Cp = (12.05 − 11.95) ÷ (6 × 0.00731) = 2.28; Pp = (12.05 − 11.95) ÷ (6 × 0.01092) = 1.53.
- Distance from the mean to the limits: USL − x̄ = 0.0434, x̄ − LSL = 0.0566. The nearer one is 0.0434.
- Cpk = 0.0434 ÷ (3 × 0.00731) = 1.98; Ppk = 0.0434 ÷ (3 × 0.01092) = 1.32.
- Ppk is well below Cpk: the overall spread is wider than the spread inside a subgroup, so the average moves between subgroups. Finding what shifts it would bring Ppk up toward Cpk.
- Measurements outside the specification: 0 of 25.
- With 25 measurements these indices are rough estimates; 50 or more give a steadier figure.
Common mistakes
- Measuring capability before the process is stable. Capability predicts future parts only if the process behaves the same way tomorrow. Check a control chart first; if it shows signals, find and remove their causes before you quote a Cpk.
- Quoting Cpk when the customer asked for Ppk. Cpk shows short-term potential and is almost always the higher number. If the customer's requirement is about the parts they will receive over time, Ppk is the honest figure.
- Too few measurements. An index from 20 or 25 parts is a rough estimate with a wide margin of error. Collect more data before you make a decision that depends on the second decimal place.
- Ignoring skewed data. Characteristics such as flatness, runout or concentricity can't go below zero and are often skewed. The normal-based formulas can then misjudge how many parts fall outside the limit.
- Subgroups that span a change. Subgroups should be parts made close together under the same conditions. A subgroup that straddles a tool change or a shift change inflates σ within and pulls Cpk down toward Ppk.
Process capability FAQ
What is the difference between Cpk and Ppk?
They use the same formula with different standard deviations. Cpk uses the within-subgroup σ (short-term, from parts made close together); Ppk uses the overall σ of all the data (long-term, including drift between subgroups). Ppk is lower than Cpk when the process average moves over time.
What is the difference between Cp and Cpk?
Cp compares the tolerance width with six standard deviations and ignores where the average is. Cpk uses the distance from the average to the nearer limit, so a process that is narrow but off centre has a high Cp and a lower Cpk. When the process is centred, Cp and Cpk are equal.
What is a good Cpk?
A Cpk of 1.33 puts the nearer specification limit four standard deviations from the mean, and is a common minimum. 1.67 (five standard deviations) is often asked for on new processes or critical characteristics. Your customer's requirement is the one that counts.
How is the within-subgroup σ estimated?
For subgroups of 2 to 10 consecutive parts, from the average subgroup range divided by the d₂ constant for that subgroup size. For individual values, from the average moving range divided by 1.128. Choose the subgroup size that matches how the parts were sampled.
Can I use it with only one specification limit?
Yes. Leave the other limit empty. Cp and Pp need both limits and are left out; Cpk and Ppk use the limit you entered (for an upper limit only, Cpk = (USL − x̄) ÷ 3σ).
Is anything I enter saved?
No. The calculator runs in your browser and nothing you type is sent to AutoOps AI or stored. There is no login.