Cpk = min(USL minus mean, mean minus LSL) / (3 x σ within). Cp = (USL minus LSL) / (6 x σ within). Pp and Ppk are the same two formulas with the overall standard deviation in place of the within one. Enter the spec limits, the process mean and the two standard deviations below, or paste the raw data and let the calculator estimate them. You get Cp, Cpk, Pp and Ppk, the one-sided indices behind them, and the expected parts per million outside the specs. One-sided specs work: leave the missing limit blank. Free, no sign-up, nothing leaves your browser.
When to use it
Use it when you have a measured characteristic, a customer specification and a process that is in control. Cp and Cpk answer “can this process hold the spec?” from short-term variation. Pp and Ppk answer “did it hold the spec?” over the whole study. Run a control chart first. A capability index on an unstable process predicts nothing.
The formulas
Capability (within-subgroup, short-term σ):
- Cp = (USL minus LSL) / (6 x σ within)
- CPU = (USL minus mean) / (3 x σ within)
- CPL = (mean minus LSL) / (3 x σ within)
- Cpk = min(CPU, CPL)
Performance (overall, long-term σ):
- Pp = (USL minus LSL) / (6 x σ overall)
- PPU = (USL minus mean) / (3 x σ overall)
- PPL = (mean minus LSL) / (3 x σ overall)
- Ppk = min(PPU, PPL)
With one spec limit there is no Cp or Pp (there is no width to divide), and Cpk is just CPU or CPL.
How the data mode estimates σ:
- σ within = R-bar / d2, where R-bar is the average range of consecutive subgroups of the size you choose and d2 comes from the control chart constants table. With a subgroup size of 1 it uses the average moving range of 2 and d2 = 1.128.
- σ overall = the sample standard deviation of every value (n minus 1 in the denominator).
- Trailing values that do not fill a subgroup are left out of R-bar and kept in the overall s. The results say how many.
Expected out of spec (PPM) = 1,000,000 x [P(Z > (USL minus mean)/σ) + P(Z > (mean minus LSL)/σ)], assuming a normal distribution.
Worked example
Spec: 9.5 to 10.5 mm. The process runs at a mean of 10.2 mm with a within σ of 0.10 mm and an overall σ of 0.15 mm.
- Cp = (10.5 minus 9.5) / (6 x 0.10) = 1.67
- CPU = (10.5 minus 10.2) / (3 x 0.10) = 1.00
- CPL = (10.2 minus 9.5) / (3 x 0.10) = 2.33
- Cpk = 1.00
- Pp = 1.0 / (6 x 0.15) = 1.11
- PPU = 0.3 / 0.45 = 0.67, PPL = 0.7 / 0.45 = 1.56
- Ppk = 0.67
- Expected out of spec: about 1,350 PPM on the within σ, about 22,750 PPM on the overall σ
Read it this way. The Cp of 1.67 says the process is narrow enough to fit the spec with room to spare. The Cpk of 1.00 says it is parked 0.2 mm off center, so the upper limit is only 3σ away. The Ppk of 0.67 says that over the long run, with drift included, about 2.3% of parts miss the spec. Centering the process is the first fix; it costs nothing and lifts Cpk toward Cp.
Cpk and Ppk at a glance
| Index | σ used | Question it answers |
|---|---|---|
| Cp | within | Could the process fit the spec if it were centered? |
| Cpk | within | How is it doing right now, centering included? |
| Pp | overall | Could it fit the spec over the long run if centered? |
| Ppk | overall | How did it perform over the whole study, drift and centering included? |
A gap between Cpk and Ppk is a stability signal. If the two sit close together the process is behaving the same way from subgroup to subgroup. If Ppk is well below Cpk, something moves between subgroups: a shift change, a tool wear cycle, a batch effect. Find it with a control chart before you buy a new machine.
The assumptions behind every number, and all the formulas in one place, are on the calculator assumptions and formulas page.
Go deeper
- Process Capability (Cp and Cpk) for the full method, the 1.33 and 1.67 benchmarks and the garage analogy.
- Process Capability and Performance (Pp, Ppk, Cp, Cpk) for which index to use when.
- Process Performance Pp and Ppk for the overall σ side on its own.
- Is your process normal? because every number above assumes it is.
- Control Chart Constants for d2 and the rest of the table.
Studying for an exam? Process capability is on the Green Belt and Black Belt bodies of knowledge. The practice questions are in the study guide courses.
