Cp / Cpk (Capability from Within Variation)

Cp and Cpk describe what a stable process could achieve. The standard deviation is estimated from short-term variation inside subgroups only, so the effect of the mean drifting over time is left out.

1Data Table

Paste a table copied from Excel into a cell (Ctrl+V). Click a column header (A, B…) before pasting to use the first line as column names. Double-click a header to rename it, right-click to insert/delete rows and columns, and formulas such as =A1*2 work too.

2Cp / Cpk Options

How to calculate Cp and Cpk

  1. Copy the measurement column with its header and paste it in (for subgroups, keep each subgroup in consecutive rows).
  2. Enter the measurement column, the LSL and USL and the subgroup size (1 for individual measurements).
  3. Click Analyze and review the Cp/Cpk table, the capability histogram and the automatic interpretation of the distribution curves.

Worked example with sample data

The example data are 125 diameter values (mm), measured 5 at a time in 25 rounds (subgroup size 5). The specs are 24.97-25.03 mm.

Short- and long-term distribution curves - blue dashed is within (short-term), solid red is overall (long-term)
Short- and long-term distribution curves - blue dashed is within (short-term), solid red is overall (long-term)

The within standard deviation estimated from the subgroup ranges is 0.01001 (R̄/d₂, d₂ = 2.326), giving Cp 0.9991 and Cpk 0.9491. The mean of 25 sits at the center of the specs, so Cp and Cpk are close.

The overall standard deviation is 0.01168, 1.17 times the within value. The mean moves a little from subgroup to subgroup, so the actual performance Ppk is 0.8131, below Cpk.

On the short- and long-term distribution curves, the long-term (red) curve is wider than the short-term (blue dashed) one. The ratio is under 1.2, so the automatic interpretation calls them similar, but Cpk itself is below 1.0, so the spread itself must be reduced.

How it is calculated

Cp = (USL − LSL) / 6σ_within and Cpk = min(USL − x̄, x̄ − LSL) / 3σ_within. With a one-sided spec, Cp is N/A and Cpk is Cpu = (USL − x̄)/3σ or Cpl = (x̄ − LSL)/3σ.

σ_within is MR̄/1.128 for a subgroup size of 1, R̄/d₂ for 2-10 and s̄/c₄ for 11 or more. Subgroups are formed from consecutive rows; rows left over at the end are not used.

How to read Cp and Cpk

  • Cpk ≥ 1.33 is usually considered enough potential capability. A large gap between Cp and Cpk means the mean is off the center of the specs.
  • If the long-term (overall) curve is much wider than the short-term curve, the process shifts over time and its actual performance (Ppk) is lower than Cpk.
  • Compare with the Ppk verdict in the automatic interpretation to see the gap between potential and actual performance.

Frequently asked questions

Does a high Cp mean a good process?

Cp looks only at spread, not at where the mean is. If the mean is off to one side, Cpk can be small even with a large Cp.

How do I choose the subgroup size?

Enter how many consecutive measurements are taken under the same conditions. If you get one measurement at a time, leave it at 1 to use moving ranges.

Can I see Pp and Ppk too?

The automatic interpretation includes the Ppk verdict. For every index in one table, use the normal capability page.

Other chart tools