Process Capability Calculator: Cp, Cpk, Cpu, Cpl and Cpm with Confidence Intervals
Paste measurements or enter the mean, standard deviation and sample size, add the specification limits, and get the capability indices with confidence intervals. Formulas follow the NIST/SEMATECH e-Handbook of Statistical Methods, section 6.1.6.
Capability Indices
Enter your data, then the specification limits. One limit is enough for a one-sided specification.
| Index | Estimate | 95% confidence interval |
|---|---|---|
| Cp | 1.000 | [0.802, 1.197] |
| Cpk | 0.667 | [0.506, 0.828] |
| Cpu | 0.667 | [0.506, 0.828] |
| Cpl | 1.333 | [1.054, 1.613] |
| Below LSL | – |
| Above USL | – |
| Total outside | – |
| Same Cp if the process were centred | – |
- n is below 100. The Cpk, Cpu and Cpl intervals are a rough approximation (NIST: n ≥ 100 in general).
Cpu = (USL − x̄) ÷ 3s, Cpl = (x̄ − LSL) ÷ 3s, Cpk = min(Cpu, Cpl)
Cpm = (USL − LSL) ÷ 6√(s² + (x̄ − T)²)
Cpk, Cpu, Cpl: ĉ ± z1−α/2·√(1 ÷ 9n + ĉ² ÷ 2(n − 1)) (normal approximation, NIST: n ≥ 25 at least, n ≥ 100 in general).
Cp and Rejects for a Centred Process
From NIST 6.1.6. The reject figures assume the distribution is centred at the middle of the specification.
| USL − LSL | 6σ | 8σ | 10σ | 12σ |
|---|---|---|---|---|
| Cp | 1.00 | 1.33 | 1.66 | 2.00 |
| Rejects | 0.27 % | 64 ppm | 0.6 ppm | 2 ppb |
| % of spec used | 100 | 75 | 60 | 50 |
How This Calculator Was Checked
The calculation is a plain function that is tested automatically against the sources before any change is released.
| Check | Source | Result |
|---|---|---|
| Worked example: USL 20, LSL 8, s 2, x̄ 16 gives Cp 1.0, Cpk 0.6667, Cpu 0.6667, Cpl 1.3333 | NIST 6.1.6 | Reproduced |
| Identities Cp = (Cpu + Cpl) ÷ 2 and Cpk = Cp(1 − k) | NIST 6.1.6 | Hold to 1e-12 |
| Rejects table: 0.27 %, 64 ppm, 0.6 ppm, 2 ppb for Cp 1.00 to 2.00 | NIST 6.1.6 | Reproduced to the printed precision |
| Chi-square quantiles, ν = 1 to 30, at 0.025 and 0.975 (60 values) | NIST e-Handbook 1.3.6.7.4 | All within the printed 3 decimals |
| Normal quantiles and tail probabilities | Independent calculation (SciPy) | Agree to 1e-9 or better |
| Interval coverage, 20,000 simulated samples of n = 50 from a normal process (nominal 95 %) | Simulation, fixed seed | Cp 95.2 %, Cpk 95.1 % |
| Sample size below 25, standard deviation 0, limits reversed, text in the data | — | Refused or flagged |
Tool version 1.0 · last verified 2026-11-05. NIST prints no worked example for the confidence intervals, so those rest on the printed formulas, the checks above and the simulation.
Assumptions & Limitations
- The indices assume a stable process and normally distributed data. NIST: “Most capability indices estimates are valid only if the sample size used is ‘large enough’” (generally about 50 independent values). Check stability and normality before relying on them. This tool does not.
- The standard deviation is the sample standard deviation s of all the values, as in NIST’s sample estimators. Some quality systems name indices computed this way differently, or require a within-subgroup estimate of σ. Check what your customer specifies.
- The Cpk, Cpu and Cpl intervals are an approximation; below n = 25 they are not given. Between 25 and 100 samples they are rough (NIST: n ≥ 100 in general).
- The intervals use two-sided limits at the confidence level you choose.
- Non-normal data need a transformation or different indices (see NIST 6.1.6). This tool does not provide them.
- When the mean lies outside the specification limits, Cpk is negative and k is greater than 1: the identity Cpk = Cp(1 − k) still holds, but NIST describes k for a mean that lies between the limits.
Common Questions
What is the difference between Cp and Cpk?
- Cp compares the width of the specification with the spread of the process (6s) and ignores where the process is centred. Cpk uses the distance from the mean to the nearer limit, so it falls as the mean moves off centre. Cpk can never exceed Cp.
What value of Cpk is “good enough”?
- The NIST page sets no general pass mark (its worked example only says it would like Ĉpk to be at least 1.0). The table above shows the rejects that go with each Cp for a centred process. Your customer or your own quality plan sets the requirement, so this tool does not give a verdict.
Why does the confidence interval matter?
- An index from a small sample is an estimate. For example, with n = 10 a measured Cp of 1.00 has a 95 % interval of roughly 0.55 to 1.45. The interval shows how much the number could move with more data.
Is my data stored?
- No. The calculation runs in your browser and nothing is sent anywhere.
Sources
- NIST/SEMATECH e-Handbook of Statistical Methods, section 6.1.6 “What is Process Capability?”. Definitions, sample estimators, rejects table, worked example and confidence limits. itl.nist.gov.
- NIST/SEMATECH e-Handbook, section 1.3.6.7.4 “Critical Values of the Chi-Square Distribution”. itl.nist.gov.
NIST is named only to cite its published handbook. SYZ Rod Ends is not affiliated with NIST.
Related tools: GD&T MMC bonus tolerance → · Surface roughness →