Cp / Cpk process capability calculator
Enter your measurements and specification limits. See Cp, Cpk, Pp and Ppk, the expected defect rate (ppm) assuming a normal distribution and a histogram.
Checking your session…
01
How to use it
A
Paste your measurements in production order or load the example data.
B
Enter the specification limits (USL, LSL; one is enough for a one-sided specification).
C
Read Cp/Cpk, Pp/Ppk, the ppm estimate and the histogram; pay attention to the gap between Cpk and Ppk.
02
Cp and Cpk: spread and centring
Cp is the ratio of the specification width to the process spread: (USL − LSL) / 6σ. If the process mean sits exactly midway between the limits, Cp tells you whether the spread fits. But it does not know where the mean is: a narrow process running close to a limit has a high Cp and a low Cpk.
Cpk also accounts for centring: the distance from the mean to the nearest specification limit divided by 3σ. Cpk is always equal to or smaller than Cp; if they are equal the process is perfectly centred. A Cpk of 1 means the nearest limit is 3σ from the mean.
03
Pp/Ppk versus Cp/Cpk
For Cp/Cpk, σ is estimated from short-term variation (within subgroups, here between consecutive measurements); it shows what the process can do when stable. For Pp/Ppk, σ is the overall standard deviation of all the data; it shows what actually happened, including drift and fluctuation.
If the process is stable the two are close. If Ppk is clearly lower than Cpk there is a drift or a special cause over time: first establish stability with a control chart, then assess capability.
04
The ppm estimate and the normality assumption
ppm is the expected number of out-of-specification parts per million; it is computed from the tail area of the normal curve beyond the specification limits. The tool calculates the standard normal distribution function directly (relative accuracy in the tail about 10⁻¹³).
The estimate itself is limited: if the data is not normal, especially in the tails, the result can be many times too low or too high. Skewness and kurtosis give an idea (both are 0 for a normal distribution) but are not a normality test. With small samples the ppm estimate is not reliable; read it together with the observed count of out-of-specification measurements.
FAQ
- What should Cpk be?
- It depends on the industry and the customer specification. 1.33 is a commonly used minimum; some fields ask for more. Below 1 is generally considered inadequate. Take the required value from your customer specification.
- What if Cp is high but Cpk is low?
- The process is narrow but off-centre. The problem is the position of the mean, not the variation; an adjustment or calibration often fixes it.
- Why do Cpk and Ppk differ?
- Cpk uses short-term, Ppk overall variation. If Ppk is clearly lower, the process is drifting over time or has special causes; check stability with a control chart.
- How many measurements are needed?
- At least 30 measurements are recommended. With less data the indices have a wide confidence interval; the tool gives a result but shows a warning.
- What happens with a one-sided specification?
- If you enter only a USL or only an LSL, only Cpk and Ppk are calculated; Cp and Pp need two limits and are undefined. A surface roughness with only an upper limit is evaluated this way, for example.
- Do the measurements have to be in time order?
- For Cp/Cpk yes: short-term variation is estimated from the differences between consecutive measurements. If the order is scrambled Cp/Cpk lose their meaning. Pp/Ppk and the ppm (with overall s) do not depend on the order.
Raise capability with data
Let's look at which deviations in your machine and process data pull capability down, and whether they could be seen in advance.