Skip to content
SYZ ENGINEERING TOOLS · SOURCE-VERIFIED · v1.0

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.

⚠
The indices are only as good as the assumptions. They assume a stable, in-control process and normally distributed data, and NIST says estimates are valid only for a large enough sample (about 50 independent values). The tool does not test normality or stability. It also gives no “capable / not capable” verdict: the NIST page mentions in its worked example that it would like Ĉpk to be at least 1.0, but sets no general pass rule, so the requirement is yours or your customer’s.
STATISTICAL PROCESS CONTROL · NIST 6.1.6

Capability Indices

Enter your data, then the specification limits. One limit is enough for a one-sided specification.

[x̄]
[s]
[n]
Defaults are the NIST worked example (x̄ = 16, s = 2, USL = 20, LSL = 8). NIST does not give a sample size; n = 50 is chosen here for illustration.
[USL]
[LSL]
[T, for Cpm]
Result
n = 50, mean = 16.0000, s = 2.0000
IndexEstimate95% confidence interval
Cp1.000[0.802, 1.197]
Cpk0.667[0.506, 0.828]
Cpu0.667[0.506, 0.828]
Cpl1.333[1.054, 1.613]
Estimated fraction outside the limits (normal model)
Below LSL–
Above USL–
Total outside–
Same Cp if the process were centred–
Derived from the normal distribution with the sample mean and s; NIST prints only the centred case (table below). A sample estimate carries the same uncertainty as the indices.
  • n is below 100. The Cpk, Cpu and Cpl intervals are a rough approximation (NIST: n ≥ 100 in general).
Assumes a stable process and normally distributed data. This tool does not test either.
How it works (NIST 6.1.6)
Point estimates Cp = (USL − LSL) ÷ 6s
Cpu = (USL − x̄) ÷ 3s, Cpl = (x̄ − LSL) ÷ 3s, Cpk = min(Cpu, Cpl)
Cpm = (USL − LSL) ÷ 6√(s² + (x̄ − T)²)
Confidence intervals Cp: [Cp·√(χ²α/2,ν ÷ ν), Cp·√(χ²1−α/2,ν ÷ ν)], ν = n − 1 (exact under normality).
Cpk, Cpu, Cpl: ĉ ± z1−α/2·√(1 ÷ 9n + ĉ² ÷ 2(n − 1)) (normal approximation, NIST: n ≥ 25 at least, n ≥ 100 in general).
READING CP

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 − LSL6σ8σ10σ12σ
Cp1.001.331.662.00
Rejects0.27 %64 ppm0.6 ppm2 ppb
% of spec used100756050
VERIFICATION

How This Calculator Was Checked

The calculation is a plain function that is tested automatically against the sources before any change is released.

CheckSourceResult
Worked example: USL 20, LSL 8, s 2, x̄ 16 gives Cp 1.0, Cpk 0.6667, Cpu 0.6667, Cpl 1.3333NIST 6.1.6Reproduced
Identities Cp = (Cpu + Cpl) ÷ 2 and Cpk = Cp(1 − k)NIST 6.1.6Hold to 1e-12
Rejects table: 0.27 %, 64 ppm, 0.6 ppm, 2 ppb for Cp 1.00 to 2.00NIST 6.1.6Reproduced 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.4All within the printed 3 decimals
Normal quantiles and tail probabilitiesIndependent 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 seedCp 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.
FAQ

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.
REFERENCES

Sources

  1. 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.
  2. 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 →

Request a Quote

Please submit the form or email [email protected]

🍪
We Use Cookies