Business and Freelancing

Process Capability Cpk Calculator

Paste measurements in the order taken, enter the specification limits and a subgroup size to see how well the process fits them.

Your numbers

In the order they were measured, separated by lines, spaces or commas. At least 10 values.

Leave empty for a one sided limit.

Leave empty for a one sided limit.

Use 1 for single readings, or 2 to 25 for consecutive subgroups.

Result

Cpk (within subgroup spread)

1.500

Ppk (overall spread) is 1.746.

Cpk
1.500
Cp
1.572
Ppk
1.746
Pp
1.829
Mean
10.00680
Within sigma
0.03182
Overall standard deviation (n minus 1)
0.02734
Expected outside limits, within sigma (parts per million)
4
Measurements outside limits
0 of 25

Indexes by spread used

SpreadCp or PpCpk or PpkSigmaExpected ppm outside
Within (short term)1.5721.5000.031824
Overall (long term)1.8291.7460.027340
How this was calculated
  1. Mean = 10.00680 and the overall standard deviation (with n minus 1) = 0.02734.
  2. Within sigma is the average subgroup range of 5 subgroups divided by d2 for 5. The constant d2 is the expected range of n normal values and is computed on the page.
  3. Cp = (upper limit minus lower limit) / (6 x sigma). Cpk = the smaller of (upper limit minus mean) and (mean minus lower limit), divided by 3 x sigma. Pp and Ppk use the overall standard deviation.
  4. The expected share outside the limits comes from the normal curve with the same mean and sigma.
  • These indexes assume the process is stable and the measurements are roughly normal. Check a control chart first. A Cpk of 1.00 means the nearest limit is 3 sigma from the mean, about 0.135 percent beyond it on that side.

Calculated using SumPanda.com · https://sumpanda.com/process-capability-cpk-calculator/

Results are estimates for general information. Verify important figures before relying on them.

Next step

How to use the process capability cpk calculator

  1. Paste the measurements in the order they were taken, separated by lines, spaces or commas. Use at least 10.
  2. Enter the lower and upper specification limits. Leave one empty for a one sided limit.
  3. Enter the subgroup size: 1 for single readings, or 2 to 25 when readings were taken in consecutive groups.
  4. Read Cpk and Ppk first, then Cp and Pp, and the expected parts per million beyond the limits.

Formula

Cp = (USL - LSL) / (6 sigma)

Cpk = min(USL - mean, mean - LSL) / (3 sigma)

within sigma = average subgroup range / d2 (or average moving range / 1.128 for single readings)

Pp and Ppk use the overall standard deviation with n - 1

Cp compares the width of the limits with the spread of the process. Cpk also penalizes a process that is off center. The within sigma comes from the short term spread, while Pp and Ppk use the long term spread of all readings.

Shaft diameters of 10.00 plus or minus 0.15

Twenty five readings in five subgroups of five have a mean of 10.0068 and an overall standard deviation of 0.02734. The average range gives a within sigma of 0.03182. With limits of 9.85 and 10.15, Cp is 1.572 and Cpk is 1.500, while Pp is 1.829 and Ppk is 1.746. About 4 parts per million are expected beyond the limits using the within sigma.

As a hand check, a process with a mean of 7, a standard deviation of 1 and limits of 4 and 10 has Cp and Cpk of 1.000. The nearest limit is 3 standard deviations away, so about 0.135 percent falls beyond each limit and 2,700 parts per million in all.

Short term and long term

Cp and Cpk use the variation inside each subgroup, so they show what the process can do when it is stable. Pp and Ppk use all of the readings together, so they also include shifts and drift between subgroups. A Ppk far below Cpk is a sign that the process moves around.

The constant d2 is the average range of n readings from a normal curve. The page works it out by numerical integration, so it covers every subgroup size from 2 to 25.

Use it with a control chart

The indexes assume the process is stable and the readings are roughly normal. An unstable process has no single capability, so plot the readings on a control chart first. The Control Chart Limits Calculator gives the limits.

The ppm figure comes from the normal curve with the same mean and sigma. Real parts beyond the limits in a sample are shown separately as a count.

Assumptions and limits

  • The process is stable and the readings come from a roughly normal distribution.
  • Subgroups are consecutive readings of equal size. A leftover partial subgroup is ignored.
  • The within sigma uses the average range, not a pooled standard deviation.
  • At least two full subgroups are needed when the subgroup size is 2 or more.
  • Up to 5,000 measurements are read.

Formulas reviewed October 10, 2026. See the calculation methodology for how SumPanda rounds, tests and sources its formulas.

Frequently asked questions

What is a good Cpk?

There is no universal cutoff. Customers and industries set their own targets. A Cpk of 1.00 puts the nearest limit 3 sigma from the mean, and higher values give more room. Use the target in your own specification.

Why is my Ppk lower than my Cpk?

Ppk includes the shifts between subgroups, and Cpk does not. A large gap suggests the average moves from one subgroup to the next, so look for causes of drift.

What if I only have an upper limit?

Leave the lower limit empty. Cp and Pp then need both limits and show that, while Cpk and Ppk use the single distance to the limit you gave.

Why does the page refuse data that are all the same?

If every reading is identical the spread is zero, and dividing by zero would give no meaningful index. Add real readings or check the instrument resolution.