Process capability explained, with a worked example

Updated

Process capability is a measure of how well the natural spread of a stable process fits inside its specification limits. It compares the voice of the process (its mean and standard deviation) with the voice of the customer (the tolerance). The result is expressed as indices such as Cp and Cpk, where higher is better and 1.33 is a common minimum, and as the expected number of parts per million outside the specification. Capability only means something for a process that is stable, measured with a good gage, and described by the right distribution.

Voice of the process, voice of the customer

A specification says what the product must be: a diameter of 12.00 ± 0.05 mm, a fill weight of at least 495 g. A process, left alone, produces a spread of values around its mean. For roughly normal data, almost all of that spread (99.73%) falls within three standard deviations on each side of the mean, a width of 6σ often called the natural tolerance of the process.

Capability asks two questions:

  1. Is the process spread narrow enough for the tolerance? Compare 6σ with the width of the tolerance.
  2. Is the process centered well enough that the spread stays inside both limits? Compare the distance from the mean to the nearest limit with 3σ.

Before you calculate anything

Capability indices are easy to compute and easy to misuse. Check three things first.

  • The process is stable. A control chart must show no special causes. An unstable process has no single mean and standard deviation to report: today's Cpk says nothing about tomorrow.
  • The measurement system is adequate. Gage variation adds to the observed spread and lowers every index. Run a measurement system analysis first.
  • The distribution is known. Standard indices and PPM estimates assume normal data. Check with a normality test or a probability plot, and use a nonnormal capability analysis when the data are skewed.

You also need enough data: at least 25 subgroups or about 100 individual values is a common target. With 30 values the result is a useful first look, but the index is uncertain, as the example shows.

The capability indices

Each index exists in two versions, depending on which standard deviation it uses:

  • Within (short-term) σ: from the variation inside subgroups (the pooled standard deviation) or between consecutive values (MR̄ / 1.128 for individual data). It reflects what the process can do when nothing changes. Indices: Cp and Cpk.
  • Overall (long-term) σ: the ordinary sample standard deviation of all the data. It includes any drift between subgroups. Indices: Pp and Ppk.
Cp = (USL − LSL) / (6 σ_within) Cpk = min( (USL − x̄) / (3 σ_within), (x̄ − LSL) / (3 σ_within) ) Pp = (USL − LSL) / (6 σ_overall) Ppk = min( (USL − x̄) / (3 σ_overall), (x̄ − LSL) / (3 σ_overall) )

Cp and Pp ignore where the mean is; they only compare widths. Cpk and Ppk use the distance to the nearer limit, so they drop when the process is off center. With only one limit (a minimum strength, a maximum impurity), only the one-sided index for that limit exists: CPL or CPU, PPL or PPU. The differences between the four indices are covered in detail in Cp vs Cpk vs Pp vs Ppk.

The expected PPM (parts per million) is the area of the fitted distribution beyond each specification limit, times one million. It translates the indices into a number of bad parts, which is often easier to discuss.

Try it: move the process mean and spread against the same specification, and watch Cp, Cpk and the expected defects change.

Shaft diameter against its specification
Shaft diameter against its specification05101520FrequencyLSLUSLTarget24.9525.0025.05Diameter (mm)
Cp
1.33
Cpk
0.80
Pp
1.34
Ppk
0.80
Expected PPM
8,198
Out of spec (of 125)
0

Process mean 25.020 mm, σ = 0.0125 mm: Cp = 1.33 and Cpk = 0.80. The normal model expects 8,198 parts per million out of specification. Cpk is lower than Cp because the mean is 0.020 mm from the middle of the specification. In the 125 simulated parts, Pp = 1.34 and Ppk = 0.80, and 0 parts fall outside the limits.

Example: turned shafts

A CNC lathe turns shafts with a diameter specification of 12.00 ± 0.05 mm (LSL 11.95 mm, USL 12.05 mm). An I-MR chart of the last 30 shafts, one measured every 20 minutes, shows a stable process. The values in mm:

Shafts
12.02612.00911.99912.02312.02612.021
11.98411.99712.02212.03311.99712.027
12.02812.01511.99912.00712.01112.023
12.02612.00312.01412.01512.01312.026
12.01212.01411.99712.01712.00412.038
Histogram of shaft diameter with specification limits0369FrequencyLSLUSLTarget11.95011.97512.00012.02512.050Diameter (mm)
Histogram of shaft diameter with specification limits

The summary statistics:

  • Mean: x̄ = 12.0142 mm, 0.014 mm above the nominal.
  • Within σ: the 29 moving ranges average 0.01441 mm, so σ_within = 0.01441 / 1.128 = 0.01278 mm.
  • Overall σ: the sample standard deviation is 0.01272 mm.

The indices:

Cp = 0.10 / (6 × 0.01278) = 1.30 Cpk = (12.05 − 12.0142) / (3 × 0.01278) = 0.93 Pp = 0.10 / (6 × 0.01272) = 1.31 Ppk = (12.05 − 12.0142) / (3 × 0.01272) = 0.94

The expected fraction outside the specification, from the normal distribution with the overall σ, is about 2,435 PPM (0.24%), almost all of it above the upper limit. The lower side contributes less than 1 PPM.

How to read the results

Cp against Cpk: centering. Cp of 1.30 says the spread would fit the tolerance with some room to spare. Cpk of 0.93 says it does not, because the mean sits 0.014 mm above nominal and the upper tail crosses the USL. The gap between them is entirely due to centering.

That points to a cheap fix. If the offset were adjusted to bring the mean to 12.000 mm, Cpk would rise to equal Cp, 1.30, and the expected PPM would drop from about 2,435 to about 84, split between the two sides. No new machine, no new tooling, just an offset. Many capability problems are like this.

Cpk against Ppk: stability. Here they are almost equal (0.93 and 0.94), because the within and overall standard deviations are almost the same. That is what a stable process looks like. When Ppk is much lower than Cpk, the process drifts between subgroups, and the overall performance is worse than the short-term potential; the Cp vs Cpk vs Pp vs Ppk article works through such a case.

Against benchmarks. A Cpk of 1.00 puts the nearest limit three standard deviations from the mean, about 1,350 PPM beyond it for normal data. A Cpk of 1.33 (four standard deviations) gives about 32 PPM, 1.67 (five) about 0.3 PPM, and 2.00 (six) about 0.001 PPM. Many automotive customers ask for at least 1.67 for a new process and 1.33 for ongoing production; check your customer's requirements. The sigma level and PPM article shows how these numbers relate to sigma levels.

How sure are you? An index from 30 values is an estimate. An approximate 95% confidence interval for Ppk here is 0.67 to 1.21. With 125 values and the same result, it would narrow to about 0.81 to 1.07. Report the sample size with every index, and be careful with decisions near a threshold.

When the data are not normal

Many characteristics are naturally skewed: flatness, runout, roughness, impurity levels, anything with a physical boundary at zero. A normal-based PPM estimate can then be wrong by a factor of ten or more in the tail. The options:

Capability for pass/fail and count data

When the data are counts rather than measurements, capability is expressed as the defect rate itself: the proportion defective with its confidence interval in a binomial capability analysis, or defects per unit in a Poisson capability analysis. These can be converted to an equivalent Z or sigma level for comparison.

Common mistakes

  • Computing capability on an unstable process. The numbers describe a moment, not the process. Get stability first.
  • Reporting Cpk without the data behind it. Always give the sample size, the period, and which standard deviation was used.
  • Ignoring the shape of the distribution. A good-looking Cpk from skewed data can hide a long tail beyond the limit.
  • Using too few data. With 20 or 30 values, the confidence interval for Cpk is wide, as the example shows.
  • Chasing a higher Cpk with a narrower measurement. If the gage contributes a large share of the observed variation, fix the gage before the process.

Frequently asked questions

What is a good Cpk value?

1.33 is the most common minimum, meaning the nearest specification limit is four standard deviations from the mean. Some industries and customers ask for 1.67 or 2.00 for critical characteristics. Below 1.00, a noticeable fraction of output falls outside the specification.

Can Cpk be higher than Cp?

No. Cpk equals Cp when the mean is exactly in the middle of the tolerance and is lower otherwise. If the mean is outside the specification, Cpk is negative.

What is the difference between capability and performance?

Capability (Cp, Cpk) uses the within-subgroup standard deviation and describes what the process can do in the short term. Performance (Pp, Ppk) uses the overall standard deviation and describes what it actually delivered over the period studied.

How many data points do I need for a capability study?

At least 25 subgroups or about 100 individual values is a common target, collected over enough time to include normal sources of variation. Fewer points give a rough estimate with a wide confidence interval.

Why is my capability poor when no part is out of specification?

Because capability estimates the long-run fraction from the fitted distribution, not from the parts you happened to measure. With 30 parts and an expected 2,435 PPM, the chance of seeing even one bad part in the sample is small, but over a production run of 100,000 shafts about 240 would be outside.

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