Skip to content
LeanSuite

Free tool

Process capability (Cp, Cpk) calculator

Process capability measures how well a stable process fits inside its specification limits. Cp compares the width of the tolerance with the spread of the process, and Cpk also accounts for how well the process is centered, so it is the index most people quote. Pp and Ppk are the same indices worked out from the overall spread of the data.

CpequalsUSL − LSL divided by 6σ

Cpkequalssmaller of USL − mean divided by 3σ and mean − LSL divided by 3σ

Pp, Ppkequalsthe same formulas with the overall sample standard deviation

USL and LSL are the upper and lower specification limits and σ is the process standard deviation. With one limit, Cpk is the one side that exists and Cp does not apply.

Leave blank if there is no lower limit

Leave blank if there is no upper limit

Process data

Same unit as the limits

Pre-filled with the worked example. If your standard deviation is the overall sample one, the same formulas give Pp and Ppk.

Cpk

1.33

At or above 1.33, a commonly used minimum. That is a rule of thumb, not a universal standard.

Cp

1.67

Spread against tolerance

Expected out of spec

31.7 ppm

If the process is normal and stable

Cpu (upper side)

1.33

(USL − mean) ÷ 3σ

Cpl (lower side)

2.00

(mean − LSL) ÷ 3σ

MeanLSLUSL
A normal curve from the mean and standard deviation against the specification limits (dashed). Yellow is the share expected out of spec.

Email me my results

Optional. Get these inputs and results in your inbox, with a link back to this calculator.

We may follow up about LeanSuite. See our Privacy Notice.

Next step

Want to track this every week?

Bring this result to a 45-minute demo and we will show where it fits in LeanSuite's Quality Improvement.

How to calculate it

Limits, a mean and a spread

Specification limits come from the drawing or the customer: the values a part must stay between. Many characteristics have only one, such as a maximum burr height or a minimum weld strength; leave the other blank.

Mean and standard deviation describe where the process runs and how much it varies. If you have them from a study or your SPC software, type them in. Otherwise paste the measurements in the order they were made and the calculator works out both.

Pasted measurements give two spreads. The short-term spread, from the average difference between consecutive values divided by 1.128, gives Cp and Cpk. The overall sample standard deviation gives Pp and Ppk. A large gap between Cpk and Ppk means the process drifts or shifts over time.

Check the gauge before trusting the result: a gauge R&R study shows how much of the spread comes from the measurement itself.

Worked example

Illustrative numbers, not a benchmark

A filling line with a fill weight specification of 500 g ± 5 g (LSL 495 g, USL 505 g). The process runs at a mean of 501 g with a standard deviation of 1 g.

  1. Step 1

    Cp = (505 − 495) ÷ (6 × 1) = 10 ÷ 6 = 1.67.
  2. Step 2

    Upper side: (505 − 501) ÷ (3 × 1) = 4 ÷ 3 = 1.33.
  3. Step 3

    Lower side: (501 − 495) ÷ (3 × 1) = 6 ÷ 3 = 2.00.
  4. Step 4

    Cpk = the smaller side = 1.33.
Cp 1.67, Cpk 1.33. The spread would fit the tolerance with room to spare, but the mean sits 1 g above the 500 g target, so the upper side sets Cpk. Centering the process at 500 g would lift Cpk to 5 ÷ 3 = 1.67, the same as Cp.

Embed this calculator

Teaching this, or writing about it? Paste this code into your site, course page or intranet and the calculator works right there. It is free, with no sign-up.

<iframe src="https://www.theleansuite.com/tools/process-capability-calculator/embed" title="Process capability (Cp, Cpk) calculator by LeanSuite" width="100%" height="1460" style="border:0;max-width:1000px" loading="lazy" allow="clipboard-write"></iframe>
<p style="font:13px/1.4 sans-serif"><a href="https://www.theleansuite.com/tools/process-capability-calculator">Process capability (Cp, Cpk) calculator</a> by LeanSuite</p>

FAQ

Process capability (Cp, Cpk) calculator: common questions

  1. Cp is the tolerance width divided by six standard deviations: (USL − LSL) ÷ 6σ. Cpk is the distance from the mean to the nearer limit divided by three standard deviations: the smaller of (USL − mean) ÷ 3σ and (mean − LSL) ÷ 3σ. For limits of 495 and 505, a mean of 501 and σ of 1, Cp = 10 ÷ 6 = 1.67 and Cpk = 4 ÷ 3 = 1.33.

  2. Cp only compares the spread of the process with the width of the tolerance, as if the process were perfectly centered. Cpk also accounts for where the mean sits, so it drops as the process drifts toward a limit. Cp equals Cpk only when the mean is exactly in the middle of the limits; otherwise Cpk is lower.

  3. A Cpk of 1.33 is a commonly used minimum. It is a rule of thumb rather than a universal standard, and some customers and industries set their own requirement. A Cpk of 1.00 means the process spread of plus or minus three standard deviations just reaches the nearer limit, and below 1.00 some output is expected out of spec.

  4. Both use the same formula but a different standard deviation. Cpk uses the short-term, within-subgroup spread, and Ppk uses the overall spread of all the data, including drift and shifts over time. With pasted measurements, this calculator estimates the short-term spread from the average moving range divided by 1.128 and uses the sample standard deviation for Pp and Ppk.

  5. Yes. With only an upper limit, Cpk is (USL − mean) ÷ 3σ; with only a lower limit, it is (mean − LSL) ÷ 3σ. Cp cannot be calculated, because it needs the full width between two limits. Leave the missing limit blank in the calculator.

  6. The process should be stable, meaning in statistical control on a control chart, because capability predicts future output only for a stable process. The data should be roughly normal, since the expected parts per million out of spec assume a normal distribution. The measurement system should also be reliable, which a gauge R&R study checks.

More free lean tools

All tools

Pass it on

We want LeanSuite to be the best place on the internet for lean help. If this was useful, send it to someone on your team or in your network who needs it.