CPK Calculator
A process can pass inspection part after part and still be a defect waiting to happen, because what matters is not the parts you just measured but how much room the process has before it crosses a specification limit. The process capability index, Cpk, puts that room into one number, and getting it from raw measurements should not require a spreadsheet detour first.
Paste your sample measurements below and enter the lower and upper spec limits: this calculator computes Cpk and its companion Cp from the raw data, shows how centered the process is, converts the result to a sigma level and an estimated defect rate in parts per million, and prints every step of the math so the figure can be audited, not just believed.
Capability indices assume a stable process and roughly normal data. Treat a small sample as a first estimate: the indices sharpen as more measurements are added.
Quick Answer
Key takeaways
- Cp judges the spread alone, Cpk judges the spread and the centering together, and Cpk can never exceed Cp. The gap between them is capability you could recover by recentering, without touching variation at all.
- This tool takes raw measurements and computes the sample standard deviation itself, which removes the most common Cpk error: a hand-built spreadsheet quietly using the population formula and flattering the result.
- The defect estimate counts both tails of the distribution separately and adds them. For an off-center process the far tail contributes almost nothing, and any tool that simply doubles the near tail overstates defects.
- A Cpk from ten parts is a screening estimate, not a qualification study. Capability studies behind customer submissions normally run far larger samples from a process proven stable first.
- Quick Answer
- How to use the Cpk calculator
- The Cp and Cpk formulas
- Worked example: capable spread, drifting aim
- Reading a Cpk value: the bands and their defect rates
- Cp and Cpk, or Pp and Ppk: an honest note on what this tool computes
- What competing calculators miss
- Frequently Asked Questions
- Add This Calculator to Your Website
- References
How to use the Cpk calculator
Paste the individual measurements exactly as they came off the gauge, separated by commas. Do not average them first, and do not round them to fewer decimals than the gauge reports: both habits shrink the standard deviation and inflate the index. Enter the lower and upper specification limits from the drawing or the customer requirement, not from the process itself; spec limits are the voice of the customer, and using limits the process suggested to itself makes the whole exercise circular. The target field is optional. Fill it in when the drawing states a nominal that differs from the spec midpoint, and the offset line will measure the process against that nominal; leave it empty and the offset is measured from the midpoint.
Read the output in a fixed order. Cpk first, because that is the number customers quote. Then Cp, because the gap between the two tells you whether your problem is variation or aim. Then the PPM line, which translates the index into the language production and finance both understand. If you are comparing machines, shifts, or suppliers, run the identical dataset discipline each time and keep the sample sizes similar: a Cpk from 10 parts and a Cpk from 200 parts are not equally trustworthy, and the confidence interval calculator shows why estimates from small samples carry wide margins.
The Cp and Cpk formulas
Six standard deviations is not an arbitrary width. For a normal distribution, the band from three standard deviations below the mean to three above holds 99.73% of output, so Cp compares the full tolerance band with the band the process naturally occupies. Cpk then asks the harder question one limit at a time: how many three-sigma steps fit between the mean and the nearer wall? A process aimed dead center gets the same answer from both sides. A process aimed off center is graded by its worst side, which is exactly how customers experience it. The NIST/SEMATECH e-Handbook of Statistical Methods, in its process capability section, sets out the same indices and the relationship Cp = (Cpk lower + Cpk upper) / 2, a useful cross-check on any computed result: for the worked example below, (2.4412 + 1.2787) / 2 = 1.8600, matching the Cp the tool reports.
Worked example: capable spread, drifting aim
The calculator is pre-filled with this dataset, and every figure below is what it returns.
Sample statistics: the 10 measurements sum to a mean of 10.2500, and the sample standard deviation (dividing by n − 1 = 9) is 0.1434.
Cp: (10.8 − 9.2) / (6 x 0.1434) = 1.6 / 0.8605 = 1.8600. The tolerance is nearly twice the natural spread.
One-sided indices: Cpk lower = (10.2500 − 9.2) / (3 x 0.1434) = 2.4412; Cpk upper = (10.8 − 10.2500) / (3 x 0.1434) = 1.2787. The upper side is the weak side.
Cpk and conversions: Cpk = min(2.4412, 1.2787) = 1.2787. Sigma level = 3 x 1.2787 = 3.84. The Z scores are 7.32 to the lower limit and 3.84 to the upper, so almost all of the estimated 62.5 PPM comes from the upper tail alone.
The practical reading: this process does not need a variation project first. Shifting the mean down by roughly its 0.25 offset, toward the 10.0 target, moves Cpk toward Cp, and at perfect centering the same spread would score about 1.86, deep into highly capable territory. Chasing the standard deviation down while the aim stays off would spend more money for less index. That ordering, center first, then tighten, is the single most useful decision a Cp and Cpk pair can drive, and it is why reporting Cpk alone hides the cheapest fix available.
Reading a Cpk value: the bands and their defect rates
| Cpk | This tool’s verdict | Sigma level | Estimated PPM, centered process |
|---|---|---|---|
| 2.00 and above | Excellent | 6.00 | About 0.002 |
| 1.67 to 1.99 | Good | 5.01 | About 0.6 at 1.67 |
| 1.33 to 1.66 | Acceptable | 3.99 | About 63 at 1.33 |
| 1.00 to 1.32 | Improvement needed | 3.00 | About 2,700 at 1.00 |
| Below 1.00 | Improvement needed | Under 3.00 | Rises steeply as Cpk falls |
Two cautions about the table. The verdict bands are this tool’s labels, and they are deliberately strict: many plants describe the 1.00 to 1.33 band as marginal rather than poor, acceptable for legacy processes under monitoring but not for new approvals. The standard itself is not in dispute: 1.33 is the widely used minimum for a capable process, 1.67 is the common requirement for safety-critical or high-volume characteristics, and the American Society for Quality’s process capability guidance describes Cp and Cpk as the standard estimates for judging a process against its specification limits. The PPM column assumes a centered process, where both tails contribute equally; the tool’s own PPM figure for your data makes no such assumption, because it prices each tail at its real distance.
Cp and Cpk, or Pp and Ppk: an honest note on what this tool computes
Formal capability methodology draws a line this page will not blur. In a textbook study, Cp and Cpk are built on within-subgroup variation from rational subgroups on a control chart, while Pp and Ppk use the overall standard deviation of all the data pooled together. This calculator has no subgroups: it takes one pooled sample and applies the sample standard deviation, so the number it returns is the Cp and Cpk formulas evaluated on overall sample variation. For a single stable run of parts that is a reasonable and widely used estimate, and it is the only estimate possible from a pasted list of measurements. Treat it accordingly: excellent for screening, comparisons, and coursework, and a starting figure rather than the closing evidence for a formal customer capability submission, where subgrouped data and a control limit calculator check for stability come first. However the variation is estimated, the companion measure of relative spread, the coefficient of variation calculator, helps compare processes whose means sit at very different scales, and the area to z-score calculator converts the Z scores this tool prints into tail probabilities by hand if you want to audit the PPM line.
What competing calculators miss
The Cpk tools that dominate the rankings mostly share one design: three boxes asking for a mean, a standard deviation, and the spec limits, and one number back. Four gaps follow.
Miss 1: the standard deviation arrives pre-computed, and often wrong. Whoever built the spreadsheet behind those boxes chose the denominator. The population formula (divide by n) always returns a smaller spread than the sample formula (divide by n − 1), so the same data scores a higher, falser Cpk. Pasting raw measurements removes the choice entirely: the sample formula is applied, visibly, every time.
Miss 2: Cpk without Cp. A lone Cpk of 1.28 says improvement is needed but not which kind. Shown next to a Cp of 1.86, the diagnosis is immediate: aim, not spread. Tools that return only the minimum index throw away the diagnosis and keep the grade.
Miss 3: defect rates priced off the nearest tail only. A common shortcut doubles the tail beyond the nearer limit and calls the result the two-sided defect rate. That is only true when the process is centered. For the worked example here, the shortcut reports about 125 PPM; the correct count, adding the real area beyond each limit, is 62.5 PPM, because the lower tail at 7.32 standard deviations contributes effectively nothing. On an off-center process the shortcut can misstate the defect rate by a factor of two.
Miss 4: steps you cannot audit. A result with no workings cannot be checked in a review meeting. The step block under every result on this page shows each substitution, including both one-sided indices and both Z scores, so a quality engineer can reproduce the figure on paper in under a minute.
Frequently Asked Questions
Cpk = min((mean − LSL) / 3s, (USL − mean) / 3s), where s is the standard deviation and LSL and USL are the lower and upper specification limits. It is the smaller of the two one-sided capability ratios, so the index is always set by the limit the process sits closer to.
Cp measures potential capability from the spread alone, as if the process were perfectly centered: Cp = (USL − LSL) / 6s. Cpk measures actual capability with centering included. The two are equal only when the mean sits exactly midway between the limits, and the size of the gap between them is the capability being lost to poor centering.
Cpk of 1.33 or higher is the widely accepted industry standard for a capable process, 1.67 or higher is highly capable and is the common bar for safety-critical characteristics, and 2.0 or higher is world-class. Between 1.00 and 1.33 the process is marginal and usually kept under close monitoring, and below 1.00 it is not capable: defects are a matter of volume, not chance.
Yes, and on this page that is the only way in. Paste comma-separated measurements and the tool computes the sample mean and the sample standard deviation, dividing by n − 1, for you. Working from raw data removes the most common Cpk input error, a pre-computed standard deviation built with the population formula, which understates spread and overstates the index.
Because the process is running off center. Cp credits the process with the capability it would have if the mean sat at the spec midpoint; Cpk grades the side the mean actually leans toward. The bigger the gap, the more capability is recoverable by recentering the process, usually a cheaper fix than reducing variation.
Multiply by 3: sigma level = 3 x Cpk. A Cpk of 1.00 is a 3-sigma process, 1.33 is 4 sigma, 1.67 is 5 sigma, and 2.00 is 6 sigma. This is the direct conversion with no allowance for long-term mean shift; some Six Sigma reporting adds a 1.5 sigma shift convention on top, which is a reporting choice, not part of the index itself.
The tool converts each spec limit to a Z score, finds the area of the normal distribution beyond each limit, and adds the two areas: PPM = 1,000,000 x (area below the LSL + area above the USL). Counting the tails separately matters whenever the process is off center, because the far tail then contributes far less than the near one.
Yes. Capability indices assume the process is in statistical control, with only common-cause variation present. If the process is drifting or jumping between states, a single Cpk describes a mixture of behaviors and predicts nothing. Establish stability with a control chart first, then measure capability, and re-measure after any process change.
Add This Calculator to Your Website
References
- NIST/SEMATECH e-Handbook of Statistical Methods, “What is Process Capability?”: defines the capability indices, the 6 standard deviation process width, Cpk as the minimum of the one-sided indices, and confidence limits for the estimates. NIST Handbook: Process Capability. Accessed October 2026.
- American Society for Quality, “What is Process Capability?”: the quality glossary definition, capability studies as an assessment of a process against its specifications, and where Cp and Cpk sit among capability estimates. ASQ: Process Capability. Accessed October 2026.
- American Society for Quality, “Process Capability Index” resource: the index definitions used in supplier quality work, referenced by the Cpk explanations and reference lists across the quality literature. ASQ: Process Capability Index. Accessed October 2026.
- Manufacturing Process Engineer research notes, “Understanding Process Capability: Explanation and Formula for Cpk”: the one-sided and minimum-index formulas, one-sided specification handling, and a graded Cpk assessment table with defect rates. MPE: Process Capability and Cpk Explained. Accessed October 2026.
- MetricMech, “Process Capability Study: Step-by-Step Procedure”: the full study sequence behind a defensible index, including stability and normality checks before any index is calculated, and PPAP documentation practice. MetricMech: Process Capability Study Procedure. Accessed October 2026.
- Quality Engineer Stuff, “Process Capability (Cp, Cpk) vs Process Performance (Pp, Ppk)”: within-subgroup versus overall standard deviation, and when each pair of indices is the right one to report. Quality Engineer Stuff: Capability vs Performance. Accessed October 2026.
