Process Capability Index Calculator

How well a process fits inside its limits, and the fallout.

  • Cp, Cpk, Cpm, Cpkm
  • Fallout in ppm
  • From data or summary
A small clay table with a soft bell-shaped mound standing between two rounded posts, a few rounded beads rolling off one side and a few loose beads.

The guide

A capability index compares spread with room, and says nothing until the process is stable

Cp, Cpk, Cpm and Cpkm all divide the room a specification allows by the spread a process uses; the fallout they imply holds only for a steady, roughly normal process.

  • 1.5987 Cpk of the worked example, limits 94 and 106
  • 1.9417 Cp of the same example, blind to the off-centre mean
  • 0.809 per million outside the limits for that example
  • 63.3 per million at an exact Cp of 4/3, where the table prints 63
  • 1.4276 Cp of ten axle diameters with N - 1, against 1.5048 with N
Read the full guide Fold the guide 7 min · 15 sources

A drawing says an axle must be between 19.9 and 20.2 millimetres across. A lathe turns out axles whose diameters wobble around some average. The question a capability index answers is small and practical: how much of that wobble fits inside the window the drawing allows?

The answer comes as a single ratio. The NIST handbook describes it as the width of the specification divided by the width of the process, where the process is measured as 6 standard deviations. Everything else in this essay is a refinement of that ratio, or a warning about when it stops meaning anything.

What the index compares

Call the lower and upper specification limits LSL and USL. If the process has a mean and a standard deviation, the first index is Cp, the distance between the limits divided by six standard deviations. A Cp of 1 means the whole natural spread of the process, about 99.73 percent of a normal distribution, just fills the window. A Cp of 2 means the window is twice as wide as the spread.

Six is not arbitrary. The Wikipedia article on the normal distribution notes that three standard deviations either side of the mean cover all but 0.27 percent of the values. Cp compares the six-sigma span of the process with the window, so the factor 6 belongs in the denominator, and a calculation that divides by 3 has the wrong index.

Cp has a blind spot. It looks only at the width of the window and the width of the spread, never at where the spread sits inside it. A process can have a splendid Cp and still pour half its output past one limit, because nothing in the formula knows the mean has drifted.

Why Cpk is the smaller of two

To repair that, split the window at the mean. The room below the mean is the mean minus LSL, and the room above is USL minus the mean. Divide each by three standard deviations, since only one side of the spread is facing that limit. These are the one-sided indices, called Cp lower and Cp upper.

Cpk is the smaller of the two. That choice is the whole point. A chain is as strong as its weakest link, and a process is as capable as its tighter side. Taking the larger index would reward the limit that is far away and hide the one that is close. If the mean falls outside the limits altogether, one side has negative room and Cpk goes below zero.

Two further indices put a target T into the picture, because a part can be inside the limits and still be off the value the designer wanted. Cpm is Cp divided by the square root of 1 plus the squared distance from mean to target measured in standard deviations. Cpkm divides Cpk by the same root. The Wikipedia article names Cpm the Taguchi index, and Taguchi’s own point is in the Wikipedia article on his methods: some production needs an outcome on target, and reacting to individual items inside and outside specification is counterproductive, because excess variation is the root of poor quality.

The target term only ever shrinks the index. When the mean sits exactly on the target the root equals 1 and Cpm equals Cp. Every standard deviation of distance between mean and target costs a factor of the square root of 2, about 1.41.

A worked example you can reproduce

The Wikipedia article gives a quality characteristic with limits 94.00 and 106.00, target 100.00, an estimated mean of 98.94 and a standard deviation of 1.03. Type those into the page and the indices follow.

Cp is 12 divided by 6.18, which is 1.9417. The room below the mean is 4.94 and the room above is 7.06, so the one-sided indices are 1.5987 and 2.2848. Cpk is the smaller, 1.5987. The mean sits 1.06 below the target, or 1.0291 standard deviations, so the root is the square root of 2.0591. That gives a Cpm of 1.3532 and a Cpkm of 1.1141. To two places these are the 1.94, 1.60, 1.35 and 1.11 the article prints.

Now turn the indices into fallout. The lower limit is 4.7961 standard deviations below the mean and the upper is 6.8544 above. The normal tail beyond the lower limit is 0.809 parts per million and the upper tail is far smaller still, so the total is 0.809 per million. Had the same spread been centred, Cp of 1.9417 would give 0.0057 per million. Being off centre multiplies the fallout by about 142, and that gap is what Cp alone hides.

Push the mean to 107 with the same spread and Cpk becomes minus 0.3236. The mean is outside the upper limit, and about 834,000 parts per million fall above it. A negative Cpk is not a quirk. It is the formula reporting that most of the output is out of specification.

The article says the standard deviation is estimated by the sample standard deviation. That means the divisor is N minus 1, which is Bessel’s correction. The correction makes the variance unbiased, and the Wikipedia article on it adds a caveat that matters here: it does not make the standard deviation itself unbiased. The divisor N belongs to a population you know completely, and the Python statistics module offers both as stdev and pstdev.

Ten illustrative axle diameters show the size of the choice. They are 20.03, 20.07, 20.11, 20.04, 20.09, 20.06, 20.12, 20.05, 20.08 and 20.01 millimetres, against limits 19.9 and 20.2 with a target of 20.05. The mean is 20.066. With N minus 1 the standard deviation is 0.03502, Cp is 1.4276 and Cpk is 1.2753. With N it is 0.03323, Cp is 1.5048 and Cpk is 1.3443. The two differ by exactly the square root of 10 over 9.

Ten values are also too few for comfort. The NIST handbook says capability estimates are valid only if the sample is large enough, which it takes to be about 50 independent values. Below that the indices are rough, and the page says so beside the result.

What the fallout figure assumes

A capability index becomes a defect rate only through a model, and the model here is the normal distribution. Fallout is the tail beyond the lower limit plus the tail beyond the upper limit. A tail is computed with the complementary error function, and the Python documentation explains why it exists: for large arguments, subtracting from one would lose significance. This page uses a series for small arguments and a continued fraction for large ones, and checks both against that Python function.

The Wikipedia article prints a short-term table pairing Cp of 0.33 to 2.00 with sigma levels 1 to 6 and fallout from 317,311 down to 0.002 per million. It rounds Cp. At the exact values of 4/3 and 5/3 the two tails give 63.3 and 0.573 per million, where the table prints 63 and 1. Using the rounded 1.33 would give 66.1, which is not a small slip at that level.

Its long-term table assumes the mean has shifted by 1.5 standard deviations. The Six Sigma article explains the convention: experience suggests processes perform worse in the long run, so an empirical 1.5 sigma shift is introduced, which is why a six sigma process is quoted as 3.4 defects per million. That figure counts one tail. The far tail adds 3.40 per million at sigma level 3, which the table leaves out, and the printed 6209 for level 4 is 6209.7 exactly. The shift is a convention, not a measurement of your process.

To check the tail arithmetic from the other side, the page can draw 4,000,000 normal values with a mean of 100.5 and a standard deviation of 2.0 against limits 94 and 106, using the Box-Muller method to turn uniform numbers into normal ones. The exact fallout is 0.003557 and a seeded run gave 0.003553. That agreement tests the arithmetic. It does not test whether your process is normal.

When the numbers mean nothing

Every figure above assumes the process is stable. The Wikipedia article on process capability is blunt: if the process is not in statistical control, capability has no meaning. Statistical process control, which Walter Shewhart began at Bell Laboratories in the early 1920s, separates common causes, the steady background variation, from special causes that act on only some of the output. A capability index describes common cause variation only.

A control chart is the tool for that check, and its limits are not the specification limits. The Wikipedia article on control charts says they have no intrinsic relationship to any target or tolerance. This page draws no control chart. It does not test for normality, and it does not handle the performance indices Pp and Ppk, the non-normal methods, sampling plans, or any decision to accept a part, a supplier or a process.

Then there are the minimums. The Wikipedia article lists the recommendations of one academic expert: 1.33 for an existing process and 1.50 for a new one with two limits, 1.67 for a safety parameter of a new process, and 2.00 for a six sigma process, with slightly lower figures for one-sided limits in most rows. It says plainly that such targets are a matter of personal opinion and vary by industry, and that a capability above 2.5 may mean precision that costs more than it earns. The index is also only as good as the specification, a point the same article makes.

The page runs its larger jobs in a web worker so the interface stays responsive, and groups large whole numbers with the browser’s own number formatting. Neither changes a result. Treat the output as arithmetic on the figures you typed, and as a prompt to ask whether the process behind them was steady enough to deserve it.

Sources

Every source consulted for this guide. Links checked November 12, 2026.

  1. Process capability index Wikipedia
  2. Process capability Wikipedia
  3. 6.1.6. What is Process Capability? NIST/SEMATECH e-Handbook of Statistical Methods
  4. Six Sigma Wikipedia
  5. Normal distribution Wikipedia
  6. Error function Wikipedia
  7. Bessel's correction Wikipedia
  8. Statistical process control Wikipedia
  9. Control chart Wikipedia
  10. Taguchi methods Wikipedia
  11. Box-Muller transform Wikipedia
  12. math - Mathematical functions Python Software Foundation
  13. statistics - Mathematical statistics functions Python Software Foundation
  14. Web Workers API MDN Web Docs
  15. Intl.NumberFormat MDN Web Docs