Cp, Cpk, Pp and Ppk calculator

Paste your measurements, get the numbers and what they actually mean. Free, no signup, nothing leaves your browser.

Paste a column of measurements from Excel; commas, spaces or new lines all work.
All calculation runs locally in this tab. Your data is never uploaded.
At least one limit is required.
Set this if your data was collected in rational subgroups; it unlocks Cp and Cpk.
Free. No account needed.

Want this on your own site or intranet? Copy the free embed code.

VoraControl
This calculator gives you one number for one dataset. VoraControl watches every characteristic on every control plan, every shift.
Start free trialBook a demo
Quick converter

Cpk to expected defect rate

A capability index maps to a predicted fraction of parts outside the limits, assuming a normal, centered process and counting both tails. Use it to translate an index into a number your team can picture. For the full reference table and the assumptions behind the prediction, see the dedicated Cpk to PPM calculator.

about 66.1 PPM (6.61e-3%)
Guide

What Cpk actually tells you

Cpk answers one question: how many process spreads fit between the mean and the nearest specification limit. A Cpk of 1.0 means the nearest limit sits exactly three standard deviations from the mean, so roughly 0.13% of parts fall outside on that side. A Cpk of 1.33 buys four standard deviations of margin, which is why it became the default customer minimum in automotive and general manufacturing.

The index only means something when the process behind it is stable. If your measurements drift shift to shift, the single number flatters you. That is exactly what the Cpk to Ppk comparison is for: when the two diverge, look at stability before celebrating the Cpk.

Cp vs Cpk vs Pp vs Ppk

Index
Variation used
Centering
Question it answers
Cp
Within-subgroup
Ignores centering
Could the process fit if perfectly centered?
Cpk
Within-subgroup
Accounts for centering
Does the process fit where it actually sits?
Pp
Overall
Ignores centering
What is the long-term potential, drift and all?
Ppk
Overall
Accounts for centering
What does the customer actually receive over time?

The formulas

Cp
(USL − LSL) / (6 × σwithin)
Cpk
min(USL − mean, mean − LSL) / (3 × σwithin)
Pp
(USL − LSL) / (6 × σoverall)
Ppk
min(USL − mean, mean − LSL) / (3 × σoverall)

σwithin is the pooled subgroup standard deviation, corrected with the c4 unbiasing constant (the default capability method used by Minitab). σoverall is the plain sample standard deviation of all the values, which is why Pp and Ppk capture drift between subgroups that Cp and Cpk deliberately ignore. In both, mean is the average of your measurements.

A worked example

A shaft diameter is specified at 25.00 mm with a tolerance of ±0.10, so the lower limit is 24.90 and the upper limit is 25.10. Five subgroups of five parts come off the machine. The mean of all 25 readings is 25.02 mm, and the pooled within-subgroup standard deviation, once the c4 constant has been applied, is 0.020 mm.

Cp
(25.10 − 24.90) / (6 × 0.020) = 0.200 / 0.120 = 1.67
Distance to each limit
upper 25.10 − 25.02 = 0.08, lower 25.02 − 24.90 = 0.12
Cpk
min(0.08, 0.12) / (3 × 0.020) = 0.08 / 0.060 = 1.33

Read the gap between the two numbers, because that is where the information is. Cp of 1.67 says the spread would fit the tolerance comfortably. Cpk of 1.33 says the process is not sitting in the middle of it: the mean has drifted 0.02 mm high, and the upper limit is now the one that will bite. Nothing about the spread needs fixing here. Centre the process and the Cpk climbs to meet the Cp on its own.

Reference

Cpk to PPM, at a glance

Every capability index predicts a defect rate, on the assumption that the process is normal and centered and counting both tails. These are the rungs you meet in practice. The converter above will take any value in between.

Capability index against expected parts per million outside the specification limits, for a normal centered process counting both tails
CpkExpected PPMPercent outsideWhat it means
0.50133,61413.4%Well outside the limits, more than one part in ten
0.6744,4314.4%The two sigma process, still failing
1.002,7000.270%Nearest limit exactly three sigma away
1.10967.00.097%
1.20318.30.032%
1.3366.10.007%The common customer minimum
1.506.86.8e-4%
1.670.5455.5e-5%Often required for safety or special characteristics
2.000.0022.0e-7%The six sigma target, before any long term shift

Two cautions on reading this table. The prediction is only as good as the normality assumption, and a skewed or bimodal process will not honour it. And these figures are the short-term picture: many automotive customers assume a 1.5 sigma long-term drift, which is why a process at Cpk 2.0 is quoted as 3.4 PPM in six sigma material rather than the far smaller number here.

How many samples do you need

Capability indices are estimates, and small samples make wide confidence intervals. With 30 values, a computed Cpk of 1.42 could plausibly sit anywhere from about 1.1 to 1.7. Treat anything under 25 values as a first look, aim for 50 or more before quoting a number to a customer, and use 100 or more readings in rational subgroups for a PPAP-grade study. More data does not fix an unstable process; it just measures it more honestly.

Frequently asked questions

What is a good Cpk value?
A Cpk of 1.33 is the common minimum in automotive and general manufacturing, giving four standard deviations of margin to the nearest limit. 1.67 is typical for new launches and safety-critical characteristics. Below 1.0 the process is expected to produce out-of-specification parts.
What is the difference between Cpk and Ppk?
Cpk uses within-subgroup variation, so it describes the potential of a stable process. Ppk uses overall variation across the whole dataset, so it captures drift between subgroups. When Cpk and Ppk diverge, the process is probably not stable and you should look at that before trusting the Cpk.
What PPM does a Cpk of 1.33 give?
Assuming a normal, centered process and counting both tails, a Cpk of 1.33 corresponds to roughly 66 parts per million outside the specification. A Cpk of 1.0 is about 2,700 PPM and 1.67 is under 1 PPM. Use the converter on this page to check any value.
How do you calculate Cpk by hand?
Take the mean of your measurements and the within-subgroup standard deviation. Measure the distance from the mean to the upper limit and to the lower limit, keep the smaller of the two, and divide it by three standard deviations. The worked example on this page runs the arithmetic end to end on a shaft diameter.
My Cp is fine but my Cpk is low. What does that mean?
The spread of the process fits the tolerance, but the process is not centred in it. Cp only looks at width; Cpk also looks at where the mean sits. When Cp is comfortably above Cpk, the fix is to move the mean rather than to reduce variation, and the Cpk rises to meet the Cp as you do.
Do I need subgroups to calculate Cpk?
This calculator does. Cp and Cpk use within-subgroup (short-term) variation. With rational subgroups that comes from the pooled subgroup spread; on individuals data it is conventionally estimated from the average moving range instead, an I-MR style study this page does not run. So if you paste a single column with no subgroup size, this calculator reports Pp and Ppk only and tells you why, rather than mislabelling overall variation as Cpk.
How many measurements do I need for a capability study?
Treat fewer than 25 values as a first look. Aim for 50 or more before quoting a number to a customer, and use 100 or more readings in rational subgroups for a PPAP-grade study. Small samples give wide confidence intervals, so a single computed index can be misleading.
Is my data uploaded anywhere?
No. The entire calculation runs locally in your browser tab. Nothing you paste is sent to a server, so you can use it on controlled or customer data without a signup.

Embed this calculator

Run this calculator on your own site, intranet page or training material. Paste the snippet below where you want it to appear; it loads the calculator in a frame with a small attribution line underneath. Everything still runs in the visitor's browser and no data leaves the page.

<iframe src="https://vorasuite.com/tools/embed/cpk-calculator" width="100%" height="720" style="border:1px solid #dbe2ec;border-radius:12px" title="Cpk calculator by VoraSuite" loading="lazy"></iframe>
VoraControl
This calculator gives you one number for one dataset. VoraControl watches every characteristic on every control plan, every shift.
Start free trialBook a demo