Cp vs Cpk vs Pp vs Ppk: what is the difference?

Updated

Cp and Cpk measure what a process can do in the short term, using the variation within subgroups; Pp and Ppk measure what it actually delivered over time, using the overall variation of all the data. In each pair, the version without "k" (Cp, Pp) compares only the width of the spread with the tolerance, and the version with "k" (Cpk, Ppk) also accounts for how well the process is centered. When all four are close, the process is stable and centered. When they differ, the gaps tell you whether to work on centering, on stability, or on the spread itself.

The four indices at a glance

IndexStandard deviation usedAccounts for centering?Question it answers
CpWithin subgroupsNoCould the process fit the tolerance if it were centered and stable?
CpkWithin subgroupsYesHow close is the nearest limit, in short-term terms?
PpOverallNoDoes the total spread observed fit the tolerance?
PpkOverallYesHow close did the output come to the nearest limit over the period?
Cp = (USL − LSL) / (6 σ_within) Cpk = min(USL − x̄, x̄ − LSL) / (3 σ_within) Pp = (USL − LSL) / (6 σ_overall) Ppk = min(USL − x̄, x̄ − LSL) / (3 σ_overall)

Some sources call Cp and Cpk "capability" and Pp and Ppk "performance". The formulas are the same apart from σ.

Within and overall standard deviation

Within-subgroup σ describes the variation among parts made at nearly the same time. With subgroups, it is the pooled standard deviation: the squared deviations of each value from its own subgroup mean, added up over all subgroups, divided by the total degrees of freedom, Σ(nᵢ − 1), and square-rooted.

σ_within = √( ΣᵢΣⱼ (xᵢⱼ − x̄ᵢ)² / Σᵢ(nᵢ − 1) )

Some programs also divide this by a small unbiasing constant, c₄, evaluated at the degrees of freedom plus one; others estimate σ_within from R̄ / d₂. For individual values, σ_within is the average moving range divided by 1.128. These choices change the result by a few percent at most when the data are well behaved.

Overall σ is the ordinary sample standard deviation of all the values together, ignoring subgroups. It includes the within-subgroup variation plus any shifts and drifts between subgroups.

So σ_overall is about equal to σ_within for a stable process, and larger when the process moves between subgroups. That is why Pp and Ppk are never much higher than Cp and Cpk, and are often lower.

Example: a molding process that drifts

A molding cell makes plastic clips with a length specification of 24.00 ± 0.30 mm (LSL 23.70, USL 24.30). Every two hours, the technician measures 4 consecutive clips. Here are 10 subgroups:

SubgroupClip 1Clip 2Clip 3Clip 4Mean
124.1124.0524.0424.0224.0550
224.0424.0124.0523.9924.0225
324.0323.9824.0724.0324.0275
423.9223.9223.8523.9423.9075
524.2624.0824.0724.0824.1225
624.1624.1324.1724.1524.1525
724.0424.0424.0224.0724.0425
824.0424.0824.1124.1924.1050
924.0324.0124.0424.1224.0500
1024.0124.0823.9224.0724.0200
Subgroup means of clip length23.924.024.1Length (mm)12345678910Subgroup
Subgroup means of clip length

The clips inside a subgroup are close to each other, but the subgroup means wander from 23.91 mm (subgroup 4) to 24.15 mm (subgroup 6). The calculations:

  • Overall mean: x̄ = 24.0505 mm.
  • Within σ: the squared deviations from each subgroup's own mean add up to 0.07825 over 10 × 3 = 30 degrees of freedom, so σ_within = √(0.07825 / 30) = 0.0511 mm.
  • Overall σ: the sample standard deviation of all 40 clips is 0.0790 mm.

The nearest limit is the USL: 24.30 − 24.0505 = 0.2495 mm away.

Cp = 0.60 / (6 × 0.0511) = 1.96 Cpk = 0.2495 / (3 × 0.0511) = 1.63 Pp = 0.60 / (6 × 0.0790) = 1.27 Ppk = 0.2495 / (3 × 0.0790) = 1.05

If you divide the pooled standard deviation by c₄ for 31 degrees of freedom (0.9917), σ_within becomes 0.0515 and Cp and Cpk become 1.94 and 1.61. The conclusions do not change.

The expected fraction out of specification tells the same story in parts per million. Using σ_within, the process would make about 0.5 PPM. Using σ_overall, which is what the customer actually received, it makes about 800 PPM, nearly all above the USL.

Reading the four together

Cp against Cpk (1.96 against 1.63). The mean is 0.05 mm above nominal, which costs a third of a point. Centering would help, but it is not the main problem.

Cpk against Ppk (1.63 against 1.05). This is the big gap. In the short term, the process is very capable. Over the ten subgroups, the mean moved around enough to waste most of that potential. The drift between subgroups, not the spread within them, is what limits this process. An Xbar-R chart of these subgroups would show it as points outside the limits. In this case the team found that the mold temperature controller cycled over a range of several degrees; tightening it is the improvement to make.

Some typical patterns:

PatternWhat it meansWhere to work
Cp ≈ Cpk ≈ Pp ≈ Ppk, all highStable, centered, capableKeep it that way; consider reducing inspection
Cp ≈ Pp high, Cpk ≈ Ppk lowerStable but off centerAdjust the mean
Cp and Cpk high, Pp and Ppk much lowerCapable in the short term, but drifts or shiftsFind and remove the special causes between subgroups
All four low and closeStable but too much common cause variationReduce the variation: change the process
Ppk higher than CpkUsually a sign of poorly formed subgroups or very few dataCheck the subgrouping and the calculation

Which index should you report?

Report both pairs, with the sample size and the period. Cpk tells you what the process can do if you keep it stable; Ppk tells you what the customer is getting. A large gap between them is itself a key result.

Customers often specify one. In automotive supply, a preliminary study for a new part commonly asks for Ppk, and ongoing production for Cpk, together with evidence that the process is stable. Follow the customer's definition, including which σ estimate they expect.

Note that Cpk is only meaningful when the process is stable, because σ_within then represents the whole process. If the process is unstable, Ppk describes the past but cannot predict the future, and neither index should be used to promise a defect rate.

Common mistakes

  • Calling any capability number "Cpk". A Cpk computed with the overall standard deviation is really a Ppk. Say which σ you used.
  • Forming subgroups from parts made far apart in time. Within-subgroup variation then includes drift, and Cp, Cpk, Pp and Ppk all become similar for the wrong reason.
  • Mixing streams in one subgroup. Four clips from four cavities inflate σ_within with cavity differences.
  • Reporting Cpk on unstable processes. It overstates what the customer receives, sometimes by a lot, as in the example.
  • Comparing indices computed with different σ estimates or very different sample sizes and treating small differences as real.

Frequently asked questions

Can Ppk be greater than Cpk?

In theory, only by chance, since the overall standard deviation includes the within-subgroup variation. In practice it happens with very few subgroups or when subgroups are formed so that their internal spread is larger than the variation between them, for example by mixing streams within each subgroup.

Why do I get a different Cpk from another program?

Programs differ in how they estimate σ_within: pooled standard deviation with or without the c₄ correction, R̄ / d₂, or S̄ / c₄. They may also use different defaults for individual data. The differences are usually a few percent; check the method before comparing.

Is Ppk the same as Cpk with the overall standard deviation?

Yes. That is exactly its definition. The difference is only which σ goes into the same formula.

What is the "k" in Cpk?

It comes from a factor, often written k, that measures how far the mean is from the middle of the tolerance as a fraction of half the tolerance. Cpk = Cp × (1 − k). When the process is centered, k = 0 and Cpk = Cp.

Try it with your own data

StatLab SPC is free, open-source statistics for engineers. It runs in your browser, works offline, and never uploads your data.

Open StatLab