calculator.onl
Categories50

Process capability and performance indices

Compare Cp and Cpk based on within-process variation with Pp and Ppk based on overall variation.

A worked example

Slide the mean from 14 to the middle of the tolerance band. Which index stays at one?

Cp1Cpk0.6667Pp0.8Ppk0.5333
LSL · -1000000000000 … 1000000000000

USL · -1000000000000 … 1000000000000

μ · -1000000000000 … 1000000000000

σ (within) · 1e-8 … 1000000000000

σ (overall) · 1e-8 … 1000000000000

Updates as you type

Use a dot or comma for decimals. No thousands separators.

YOUR RESULT

Cp

1

Calculated from your inputs

Cpk0.6667
Pp0.8
Ppk0.5333
Cpl0.6667
Cpu1.3333
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

When this calculator is useful

Moving the mean toward the midpoint increases the distance to the nearer specification limit without changing the entered within-process variation. Change “μ” from 14 to 16 and keep the other inputs from the worked example. The value for “Cpk” goes from 0.6667 to 1. For a related calculation, try Variance, Standard Deviation & MAD Calculator.

Two machines can produce parts with the same spread while giving different results at inspection. One machine might cut close to the lower tolerance, so a small downward shift puts parts outside specification. The other might be centered between the two limits. Enter the same specification limits and standard deviations for both machines, then vary the mean. Cp and Pp remain fixed while the indices that measure clearance to the nearer boundary change.

Start by identifying the limits on the drawing or in the product specification. These limits express what is acceptable for the product. Control limits on a process chart are calculated from observed process behavior and serve a different purpose. All five entries must use the same measurement unit. If you measured diameters in millimetres, enter both limits, the mean and both standard deviations in millimetres. The indices themselves have no unit because the lengths in their ratios cancel.

The within-process standard deviation describes dispersion within comparable subgroups. An example subgroup might contain consecutive parts observed under similar operating conditions. The overall standard deviation uses variation over the full observation period, including differences between subgroups. Use estimates computed for the same measurement characteristic and document the method used to get each one. Subgroup size, sampling practice and how shifts were covered all affect what the estimates can tell you. The calculator accepts these summaries directly.

Try limits of ten and twenty-two with a mean of fourteen. The tolerance span is twelve. With a within-process standard deviation of two, six standard deviations also span twelve, giving Cp equal to one. The lower boundary is four units from the mean and the upper boundary is eight away. Dividing each clearance by six gives Cpl of about 0.667 and Cpu of about 1.333. Cpk takes the smaller result. These two one-sided values identify which boundary controls the reported Cpk.

Now increase the overall standard deviation to 2.5 while keeping the other entries fixed. Six overall standard deviations span fifteen units, giving Pp of 0.8. Three overall standard deviations span 7.5 units, giving Ppk of roughly 0.533 for the four-unit lower clearance. The comparison invites a look at time order. For example, shifts between lots can widen the overall distribution. Summary statistics alone cannot identify the cause of a gap, and samples from different conditions can sometimes conceal a larger underlying problem.

The plot moves a hypothetical mean from the lower to the upper specification limit while holding within-process variation fixed. Cpk reaches its maximum at the midpoint. With these limits that midpoint is sixteen, where the distance to either boundary equals six. At a boundary Cpk reaches zero. An entered mean outside the limits yields a negative value in the results, even though the plotted sweep covers only the range between the two limits.

Interpret the indices alongside control charts, sampling records and the shape of the measured distribution. Standard normal capability interpretations assume an appropriately stable process and suitable distributional behavior. A reported index cannot alone determine a reject rate, certify a process or show whether an estimate is precise. Keep the measurement dates, subgroup construction, estimate definitions and applicable acceptance criterion with the results so another analyst can reproduce the comparison.

What to enter

InputWhat it meansExample value
LSLLSL · -1000000000000 … 100000000000010
USLUSL · -1000000000000 … 100000000000022
μμ · -1000000000000 … 100000000000014
σ (within)σ (within) · 1e-8 … 10000000000002
σ (overall)σ (overall) · 1e-8 … 10000000000002.5

How the calculation works

  1. Compare Cp and Cpk based on within-process variation with Pp and Ppk based on overall variation.
  2. Cp = (USL−LSL)/(6sᵥ); Cpk = min(USL−μ, μ−LSL)/(3sᵥ); Pp, Ppk: sₒ
  3. Limits of 10 and 22, mean 14 and within-process standard deviation 2 give Cp = 1, Cpl = 0.667, Cpu = 1.333 and Cpk = 0.667. With overall standard deviation 2.5, Ppk is 0.533.
The formulaCp = (USL−LSL)/(6sᵥ); Cpk = min(USL−μ, μ−LSL)/(3sᵥ); Pp, Ppk: sₒ

A worked example

Limits of 10 and 22, mean 14 and within-process standard deviation 2 give Cp = 1, Cpl = 0.667, Cpu = 1.333 and Cpk = 0.667. With overall standard deviation 2.5, Ppk is 0.533.

Example you can load

What to enter
Result for this example · Cp1

This is a fixed example; changing the form above does not change these numbers.

Worked comparisons

Start with these reference inputs — LSL = 10, USL = 22, μ = 14, σ (within) = 2, σ (overall) = 2.5. The corresponding results, in the order shown on the form, are — Cp = 1, Cpk = 0.6666667, Pp = 0.8, Ppk = 0.5333333, Cpl = 0.6666667, Cpu = 1.333333. Each example starts again from the reference inputs. The arrows show exactly which entries to change. All other entries keep their original values.

Case 1. Change one setting or the indicated combination to reproduce this case — μ 14 → 16. Read the following results — Cp = 1, Cpk = 1, Pp = 0.8, Ppk = 0.8, Cpl = 1, Cpu = 1.

Case 2. For the second comparison, restore the reference settings first, then enter — μ 14 → 8. Compare the new answers with the reference result above — Cp = 1, Cpk = -0.3333333, Pp = 0.8, Ppk = -0.2666667, Cpl = -0.3333333, Cpu = 2.333333.

Case 3. For a third check use the following changes — σ (within) 2 → 1. The calculation now gives — Cp = 2, Cpk = 1.333333, Pp = 0.8, Ppk = 0.5333333, Cpl = 1.333333, Cpu = 2.666667.

Case 4. For the last case enter — σ (overall) 2.5 → 2. Read across the outputs to see which quantities changed and which stayed fixed — Cp = 1, Cpk = 0.6666667, Pp = 1, Ppk = 0.6666667, Cpl = 0.6666667, Cpu = 1.333333.

Assumptions & limits

A capability interpretation assumes a stable process.

Reference ·

Frequently asked questions

Why are Cp and Cpk different?

Cp uses the full specification span. Cpk uses the smaller of the distances from the mean to the two specification limits, so an off-center mean reduces it.

Can I enter control limits from a chart?

Enter the product specification limits. Control limits describe observed process variation and serve a different statistical purpose.

Why is Cpk negative?

The supplied mean lies beyond one of the specification limits. The signed distance to that boundary is negative.