Cp, Cpk, Pp and Ppk calculator
Enter the upper and lower specification limits, the process mean and the standard deviation. Cpk is the distance from the mean to the nearer limit, measured in units of three standard deviations, so it penalizes a process that is off centre; Cp ignores centering. Use the within-subgroup standard deviation for Cp and Cpk, or the overall one for Pp and Ppk.
Capability
- Cpk
- -
- Cp
- -
- Lower side (CPL)
- -
- Upper side (CPU)
- -
- Expected out of spec
- -
The formulas
Cp = (USL − LSL) / 6σ
CPU = (USL − μ) / 3σ CPL = (μ − LSL) / 3σ
Cpk = the smaller of CPU and CPL
Here μ is the process mean and σ the standard deviation. With the within-subgroup σ these are Cp and Cpk; with the overall σ of all the data they are Pp and Ppk. The expected fraction out of specification is the area of the normal curve beyond each limit, added together.
Worked example
A shaft diameter is specified at 9.5 to 10.5 mm. The process runs at a mean of 10.1 mm with a standard deviation of 0.1 mm.
- Cp = (10.5 − 9.5) / (6 × 0.1) = 1.67. The spread fits the tolerance with room to spare.
- CPU = (10.5 − 10.1) / 0.3 = 1.33 and CPL = (10.1 − 9.5) / 0.3 = 2.00, so Cpk = 1.33.
- The upper limit sits 4 standard deviations from the mean, which leaves about 32 parts per million above it.
Centring the process at 10.0 mm would raise Cpk to match Cp, 1.67, without reducing the spread at all. That is the usual first move: Cp tells you what the process could do, Cpk what it does where it is aimed.
Before you trust the number
Capability means something only for a stable process. Put the data on a control chart first; if points are out of control, Cpk describes a process that is not behaving the same way twice. And check the measurement system, because gauge variation counts as process variation in every one of these formulas.
Questions
What is a good Cpk?
A Cpk of 1.33 is the most common minimum for a process in production, and many customers ask for 1.67 when a new process is first approved. Below 1.0 the process is already producing parts outside the specification. The right number is the one your customer specifies.
What is the difference between Cpk and Ppk?
The formula is the same; the standard deviation is not. Cpk uses the within-subgroup standard deviation, often estimated from a control chart as R-bar divided by d2, and describes what the process can do in the short term. Ppk uses the overall standard deviation of all the data and describes what it actually did, drift included. A large gap between the two means the process is moving between subgroups.
Can Cpk be negative?
Yes. When the process mean sits outside the specification, the distance to the nearer limit is negative, and so is Cpk. Most of the output is out of specification at that point.
Does Cpk need normal data?
The link between Cpk and the parts per million out of specification assumes a normal distribution. For clearly skewed data, such as flatness or runout bounded at zero, transform the data or use a method for non-normal capability before trusting the ppm figure.
Next frame Yours
Tell me what you are building.
A website for your business, an app, a tool your team needs, or a calculator that should exist. I read every message myself and reply within one business day.
Or write to me directly:
corey@forgedev.studio