Cpk Calculator (Process Capability Analysis)
Enter your measurements and spec limits to get Cp, Cpk, Pp, Ppk and the defect rate (PPM) right away.
🔒 Your input is never sent to a server. One-sided specifications work too.
Histogram
How to use
- Paste your measurements. Commas, spaces and line breaks all work as separators.
- Enter the lower (LSL) and upper (USL) specification limits. If only one exists, leave the other blank.
- If you measured in subgroups (consecutive samples taken under the same conditions), enter the subgroup size. For individual values, keep it at 1.
Results update as you type. In the graph, bars are your data, the black line is the overall (long-term) normal curve, the red dashed line is the within (short-term) curve, and the green lines are the spec limits.
Formulas and method
- Cp = (USL − LSL) / 6σ
- CPU = (USL − mean) / 3σ, CPL = (mean − LSL) / 3σ
- Cpk = min(CPU, CPL)
- Cp and Cpk use the within (short-term) σ; Pp and Ppk use the overall (long-term) σ, the sample standard deviation (n − 1).
- Within σ: for individual values (subgroup size 1), average moving range ÷ 1.128; for subgroups of 2 or more, the pooled standard deviation ÷ c₄ (default) or R̄ ÷ d₂ (subgroup sizes 2–10).
- Expected PPM assumes a normal distribution: probability outside the limits × 1,000,000. Z.Bench is the standard normal quantile matching the total defect probability.
- Normality is checked with the Anderson-Darling test (approximate p-value).
The constants (d₂) and formulas follow the NIST/SEMATECH e-Handbook of Statistical Methods and the ASTM MNL 7 tables. Software packages estimate the within σ in slightly different ways, so results can differ a little.
FAQ
What is the difference between Cp and Cpk?
Cp compares the spread of the process with the width of the specification and assumes the process is centered. Cpk also accounts for how far the mean is off-center, so it drops below Cp as the mean moves toward a limit.
What is the difference between Cpk and Ppk?
Cpk uses only the variation within subgroups (short-term). Ppk uses the total variation (long-term, including drift of the mean over time). If the process is stable the two are close; a Ppk much lower than Cpk signals that the process shifts over time.
What is a good Cpk?
1.33 or higher is a common target, but requirements vary by industry and customer (for example, automotive customers often require 1.67 or higher). The wording on this page is a guide only.
How many data points do I need?
At least 30 is usually recommended, and 100 or more is better. With fewer points the indices vary a lot.
What if my data are not normal?
The calculation assumes a normal distribution, so Cpk and PPM can be far from reality for skewed data. A warning appears when the Anderson-Darling p-value is below 0.05. In that case consider transforming the data or using a non-normal method.
Does it match Minitab?
For individual values (moving range) and the pooled standard deviation (with the unbiasing constant) this tool uses the standard formulas that such software documents. Versions and options can differ, so for important reports please cross-check with the tool you normally use. This site is not affiliated with Minitab, LLC.
Results are for reference only and accuracy is not guaranteed. Please verify separately before using them for shipment or customer reports. Terms & disclaimer