FactoryQA
Free tool

Cpk calculator: Cp, Cpk, Pp and Ppk from your measurements

A free process capability calculator. Paste your measurements, enter the specification limits and get Cp, Cpk, Pp, Ppk and the estimated ppm out of specification, with the formulas shown.

FreeNo sign-upYour data stays in your browser
Cpk calculator
One per line, or separated by commas, spaces or tabs. You can paste a column or a block from a spreadsheet.
Enter measurements and at least one limit, then press Calculate. Leave one limit empty for a one-sided specification.
Free, no sign-up. The calculation runs in your browser: nothing you enter is sent anywhere or stored. The example is a made-up bore, Ø12.700 ±0.015 mm, 50 readings in subgroups of 5.

What this process capability calculator works out

Paste the readings for one characteristic, enter its specification limits, and the calculator returns Cp, Cpk, Pp and Ppk, the two standard deviations behind them, and an estimate of the parts per million outside the limits. It is the arithmetic a customer expects to see behind a capability claim on a PPAP or a first production run.

Capability compares the spread of a process with the width of its tolerance. Two kinds of spread matter, and that is the difference between the Cp and Pp families:

  • Cp and Cpk use the within-subgroup sigma: the short-term variation between parts made close together. They say what the process can do when nothing shifts.
  • Pp and Ppk use the overall standard deviation of every reading. They say what the process actually did over the whole run, including tool wear, setups and material changes.

The formulas

ResultFormula
Mean (x̄)Sum of the readings ÷ n
Overall standard deviation (s)√[ Σ(x − x̄)² ÷ (n − 1) ]
Within-subgroup sigma, individual readingsAverage moving range ÷ 1.128, where a moving range is the difference between one reading and the next
Within-subgroup sigma, subgroups of 2 to 10Average subgroup range (R̄) ÷ d2
Cp(USL − LSL) ÷ (6 × within sigma)
CpkThe smaller of (USL − x̄) ÷ (3 × within sigma) and (x̄ − LSL) ÷ (3 × within sigma)
Pp and PpkThe same as Cp and Cpk, with the overall standard deviation in place of the within sigma
Estimated ppm out of specification1,000,000 × the area of a normal curve, with the mean and standard deviation above, that falls outside the limits

The d2 constants are 1.128, 1.693, 2.059, 2.326, 2.534, 2.704, 2.847, 2.970 and 3.078 for subgroups of 2 to 10. With a one-sided specification, such as a maximum runout or a minimum hardness, there is no Cp or Pp, and Cpk and Ppk are measured against the one limit you have.

How to read the result

  • Cpk of 1.33 or higher is the common minimum for a capable process. Many automotive and aerospace customers ask for 1.67 on key characteristics or on new processes. Use the number your customer specifies.
  • Cpk between 1.00 and 1.33 means the process fits, with little room for a shift.
  • Cpk below 1.00 means the spread reaches past a limit and some parts will be out of specification.
  • Cp well above Cpk means the process is off centre. An offset is usually cheaper to fix than variation.
  • Ppk well below Cpk means the process moved during the run. Find out why before you quote either number.

Before you trust the number

  • Keep the readings in the order the parts were made. The within-subgroup sigma depends on it.
  • Use enough data. A common rule is at least 30 readings for a first look and 100 or more, in 25 or so subgroups, for a number you will report.
  • Check the process is stable on a control chart first. Capability of an unstable process describes the past, not the next lot.
  • The ppm estimate and the usual reading of Cpk assume a roughly normal distribution. Runout, flatness and other one-sided characteristics often are not normal.
  • Make sure the gage is good enough. See the gage R&R calculator.

In FactoryQA, Inspection does this on your live inspection data: every reading is graded against frozen control limits, and capability analysis shows Cp, Cpk, Pp and Ppk with a histogram and normal curve for any part and characteristic. The definitions are in the quality glossary.

Questions

About Cpk and process capability

How do you calculate Cpk?

Take the distance from the process mean to the nearest specification limit and divide it by three times the within-subgroup sigma: Cpk is the smaller of (USL − mean) ÷ 3σ and (mean − LSL) ÷ 3σ. This Cpk calculator estimates sigma from the average moving range or the average subgroup range.

What is the difference between Cp, Cpk, Pp and Ppk?

Cp compares the tolerance width with the process spread and ignores centring. Cpk also accounts for where the mean sits. Pp and Ppk are the same two ratios calculated with the overall standard deviation of all the readings instead of the short-term, within-subgroup sigma.

What is a good Cpk value?

A Cpk of 1.33 or higher is a common minimum, and 1.67 is often asked for on key characteristics or new processes. Your customer's requirement decides.

Can I calculate Cpk with only one specification limit?

Yes. Leave the other limit empty. Cpk and Ppk are then measured against the one limit, and Cp and Pp are not reported because they need a tolerance width.

Run SPC on your own inspection data. Start free.

Free plan · Basic $40 · Pro $60 per standard user per month · 14 days of Pro to start