MECHOWL ENGINEERING AI

Process capability calculator (Cp, Cpk from the mean and standard deviation)

Finds the process capability indices Cp and Cpk (Cpu and Cpl for a one-sided specification) from the upper and lower specification limits and the process mean and standard deviation. It also gives the fraction outside the specification (ppm) when a normal distribution is assumed.

Last updated

Unit system (SI / gravitational units)

Inputs

What to find

Finds the process capability indices and an estimate of the fraction outside the specification.

LSLUSLμ

Choose a specification with both an upper and a lower limit, with an upper limit only (e.g. roughness, impurities), or with a lower limit only (e.g. strength).

Upper specification limit, in the same unit as the mean and the standard deviation. e.g. 30

Lower specification limit, in the same unit. e.g. 10

Mean of the measured values, in the same unit. e.g. 22

Standard deviation of the measured values, in the same unit; it must be greater than 0. Enter a value found from enough data of a stable process. e.g. 2

The required value set in your company or by your customer. If entered, it is compared with Cpk (Cpu or Cpl for a one-sided specification). e.g. 1.33

Results

Enter the values to see the result diagram here.

Results appear here as you enter values.

Results are reference values from your inputs and the stated formulas and standards; they do not guarantee that a design is correct or safe. The final decision rests with you.

References

  • Operations Management (MIT 15.760, 2002), “Process Capability” · MIT OpenCourseWare · pp. 1–3 (Cp = (USL − LSL)/6σ, Cpk = min{(USL − µ)/3σ, (µ − LSL)/3σ}, σ is the sample standard deviation with n − 1, the example Cpk = 2/3 when µ = T + σ) · Open the document
  • Control of Manufacturing Processes (MIT 2.830J, 2008), Lecture 8 “Process Capability & Alternative SPC Methods” · MIT OpenCourseWare · pp. 15–22 (definitions of Cp and Cpk, an example of a shifted mean and Cpk, the table of Cpk and the fraction out of specification) · Open the document
  • Process capability index? What is Cp? (Japanese) · KEYENCE · Guide page to the documents of the IM series image dimension measuring systems. The formula of Cp · Open the document
    Only the formula of Cp; Cpk, one-sided indices and ppm are not in it.

The references were chosen independently by MechOwl; they do not recommend or guarantee this page.

Paste this line into your message:
https://mechowl.com/calc/en/quality/process-capability/ (calculation version 0.1.2)

Explanation

Cp is how many times the specification width contains the process spread (6σ); it does not look at an offset of the mean. Cpk is the distance from the mean to the nearer specification limit divided by 3σ, so it includes an offset of the mean. If the mean is at the centre of the specification, Cp and Cpk are equal. For a one-sided specification, use Cpu or Cpl on that side.

How to use

Choose the form of the specification, then enter the upper and lower specification limits and the process mean and standard deviation in the same unit. If you enter the required capability index, the result is compared with it.

Worked examples (hand calculation)

  1. Example 1: Two-sided: upper limit 30, lower limit 10, mean 22, σ 2, required 1.33

    Cp = (30 − 10) ÷ (6 × 2) = 1.6667. Cpu = (30 − 22) ÷ (3 × 2) = 1.3333, Cpl = (22 − 10) ÷ 6 = 2, Cpk = 1.3333 ≥ 1.33. Fraction above the upper limit Q(4) = 31.671 ppm, fraction below the lower limit Q(6) = 0.00098659 ppm, total 31.672 ppm.

  2. Example 2: Upper limit only: upper limit 0.5, mean 0.32, σ 0.05 (no required value)

    Cpu = (0.5 − 0.32) ÷ (3 × 0.05) = 1.2. The specification is one-sided, so Cp and Cpk are not given. Fraction above the upper limit Q(3.6) = 159.11 ppm. The required value is not entered, so “Required performance only”.

  3. Example 3: Mean above the upper limit: upper limit 30, lower limit 10, mean 31, σ 2, required 1.33

    Cp = 20 ÷ 12 = 1.6667 (the offset of the mean is not seen). Cpu = (30 − 31) ÷ 6 = −0.16667, Cpl = (31 − 10) ÷ 6 = 3.5, Cpk = −0.16667 (negative: the mean is outside the specification). Fraction above the upper limit Q(−0.5) = 691,462 ppm (about 69 %).

  4. Example 4: Cpk exactly the required value: upper limit 16, lower limit 4, mean 10, σ 2, required 1

    Cp = 12 ÷ 12 = 1. The mean is at the centre, so Cpu = Cpl = Cpk = 6 ÷ 6 = 1 (exactly the required value counts as meeting it). Each side Q(3) = 1,349.9 ppm, total 2,699.8 ppm (about 0.27 % outside ±3σ).

  5. Example 5: Lower limit only: lower limit 5, mean 8, σ 1 (no required value)

    Cpl = (8 − 5) ÷ (3 × 1) = 1. Fraction below the lower limit Q(3) = 1,349.9 ppm.

  6. Example 6: Upper limit ≤ lower limit (input error)

    The upper limit 10 is at or below the lower limit 20, so there is no specification width. Input error (no verdict is given).

  7. Example 7: Standard deviation 0 (input error)

    With σ = 0 the division cannot be done (there is no process without variation). Input error.

Common mistakes

  • Looking only at Cp when the mean is off centre: the offset is seen in Cpk.
  • Using the standard deviation of a few data: with little data the error of the standard deviation is large, and the indices change greatly.
  • Treating the ppm as a guarantee of the number of defects: it is an estimate that assumes a normal distribution.

FAQ

What if the mean is outside the specification?
The index on that side (Cpk) becomes negative. It is calculated and shown as a negative value as it is.
What value is required?
It depends on the rules of your company or customer. This page does not set it (many workplaces use 1.33 as an example).

Scope

Process capability indices from the specification (two-sided or one-sided) and the process mean and standard deviation, and an estimate of the fraction outside the specification assuming a normal distribution.

Not covered by this calculation:

  • Estimating the mean and standard deviation from data; the indices of a process that is not normally distributed
  • Cpm (offset from the target), confidence intervals, and the distinction between Pp/Ppk and Cp/Cpk

Next calculations

Request a calculation (contact page of the official site)

Design calculation sheet

Company name and other fields are stored on this device only.