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
Inputs
Results
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.
Report an error in this calculation (contact page of the official site, opens in a new tab)
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)
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.
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”.
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 %).
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σ).
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.
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).
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