Quality & InspectionFree calculatorPDF, Excel, Word exportManufacturing

Cpk Confidence Interval Calculator

A Cpk of 1.50 from 30 parts does not mean the process is 1.50. It means the true value is probably somewhere in a band around it. This calculator shows that band and tells you whether your lower bound still clears the customer requirement.

Your numbers

The Cpk computed from your sample.

parts

Number of individual measurements used to compute Cpk.

Customer or internal minimum, often 1.33 or 1.67.

Your results

Lower confidence bound
1.189
The Cpk you can claim with the chosen confidence.
Upper confidence bound
1.811
Standard error of Cpk
0.1587
Interval half width
0.311
Lower bound minus required Cpk
-0.141
Positive means the lower bound clears the requirement.

Uses the common large-sample normal approximation (Bissell) and assumes normal, stable, independent data. For small samples or non-normal data use exact or bootstrap methods.

Save results:

Cpk confidence bounds vs sample size

Sweeps Sample size from 10 to 300, holding your other inputs fixed.

Capability reporting from your ERP data

Optional: describe your inspection data source and we can outline how to compute Cpk and confidence bounds automatically.

Optional. The tool and every export work without this. No spam.

How to use the calculator

Enter the Cpk you calculated, the number of individual measurements behind it, the confidence level and the requirement you must meet. The tool returns the standard error, the lower and upper bounds and the margin between your lower bound and the requirement. The chart sweeps the sample size from 10 to 300 so you can see the sample size at which the lower bound crosses the requirement line and plan a larger study if needed.

  • Use individual readings, not subgroup averages, for n.
  • Use 95% two-sided as the default for supplier submissions.
  • A negative margin means you need more data or a better process.

The formula behind it

The widely used approximation for the standard error of Cpk is the square root of 1/(9n) plus Cpk squared divided by 2(n-1). The interval is Cpk plus or minus z times that standard error, where z is 1.645, 1.96 or 2.576 for 90, 95 and 99 percent. It assumes the data come from a stable, normally distributed process and that the sample is random. Because the second term grows with Cpk squared, higher capability needs proportionally more data to pin down.

Worked example

Take Cpk 1.33 from 50 parts at 95% confidence. The standard error is the square root of (0.00222 + 0.01807), about 0.142, so the half width is about 0.28 and the interval runs from roughly 1.05 to 1.61. The lower bound is below 1.33, so a customer who demands proof at 95% confidence would not be satisfied. At about 300 parts the same Cpk gives a lower bound near 1.22, still short, which shows why a Cpk right at the requirement can never be proven.

Common mistakes

Treating the observed Cpk as the truth is the main error. Others are computing Cpk from an unstable process, where no interval is meaningful, mixing several machines or cavities into one sample, and using subgroup counts instead of the number of readings. If the data are skewed, transform them or use a non-normal capability method before computing an interval. Always run a control chart first.

  • Check stability with an X-bar and R or I-MR chart first.
  • Do not pool cavities or spindles into one sample.
  • Report both the point estimate and the lower bound.

Frequently Asked Questions

How many samples do I need for a reliable Cpk?

Many customers ask for at least 30 to 50 readings, but the interval will still be wide. To prove a Cpk of 1.33 at 95% confidence you generally need an observed value well above 1.33, or several hundred readings. Use the chart to see the trade-off for your numbers.

Should I use a one-sided or two-sided interval?

For proving capability you only care about the lower bound, so a one-sided 95% bound (z 1.645) is common. This tool shows a two-sided interval, so select 90% two-sided to read the lower bound as a one-sided 95% limit.

Does this work for Ppk?

The same approximation is often applied to Ppk, since both are ratios of distance to spec over three standard deviations. Sample size should then be the total number of readings across the whole study period, not the number per subgroup.

Why is the lower bound lower than my requirement even at Cpk 1.5?

With small n the band is simply wide. At n of 30 and Cpk 1.5 the half width is about 0.4, so the lower bound is near 1.1. Collect more readings or improve the process so the observed Cpk is higher.

If your capability studies live in an ERP quality module or spreadsheets, we can help build a private report that computes Cpk and its confidence bound directly from inspection results.