How to run a capability analysis
- Copy the measurement column with its header and paste it in.
- Choose the measurement column and enter the LSL and USL (one side is enough) and, if needed, a target and the subgroup size.
- Click Analyze and review the capability table and the automatic interpretation of the histogram, distribution curves, probability plot and run chart.
Worked example with sample data
The example data are 50 thickness values (mm) measured one at a time. The specs are 9.85-10.15 mm and the target is 10.00 mm.
With a mean of 10.02, an overall standard deviation of 0.04778 and a within standard deviation of 0.04769, Pp is 1.047, Ppk 0.8732, Cp 1.048, Cpk 0.8748 and Cpm 0.9285. The mean is only 2.62 sigma from the USL, so Ppk falls short of 1.0.
The expected defect rate under the normal assumption is 4527.61 PPM (about 0.45%), and in fact 1 of the 50 values (observed 20000 PPM) is above the USL.
The within and overall standard deviations are almost equal (ratio 1) and the Anderson-Darling p = 0.2234 supports the normal assumption, so the first step is to bring the mean down toward the 10.00 target rather than to reduce the spread.
How it is calculated
Pp = (USL − LSL) / 6s and Ppk = min(USL − x̄, x̄ − LSL) / 3s, where s is the sample standard deviation of all the data. Cp and Cpk use the within-subgroup standard deviation in the same formulas. With a one-sided spec, Cp and Pp are not calculated and Cpk and Ppk are the one-sided values (Cpu or Cpl).
The within standard deviation is MR̄/1.128 (average moving range) for a subgroup size of 1, R̄/d₂ for sizes 2-10 and s̄/c₄ for 11 or more. Cpm = (USL − LSL) / 6τ with τ = √(s² + (x̄ − T)²); it needs both spec limits and a target.
Defect rate and Z-bench
The expected PPM is the probability of falling outside the specs under a normal distribution with mean x̄ and standard deviation s, times 10⁶; the observed PPM is the share of data actually outside the specs, times 10⁶. Z-bench is the standard normal quantile when the whole expected defect rate is moved into one tail.
How to read capability indices
- Ppk ≥ 1.33 is read as excellent, 1.0-1.33 as adequate with room for improvement and below 1.0 as a high risk of out-of-spec results.
- If Cpk is clearly larger than Ppk there is long-term variation such as the mean shifting over time. The standard deviation ratio (above 1.2) in the short- and long-term distribution panel shows this as well.
- If the Anderson-Darling p-value on the probability plot is 0.05 or less, the normal assumption does not hold; look at the nonnormal capability analysis as well.
Frequently asked questions
What is the difference between Cpk and Ppk?
Cpk uses within-subgroup (short-term) variation and Ppk the variation of all the data (long-term). In a stable process the two are similar.
What if I only have one spec limit?
Check only the LSL or the USL. Cp, Pp and Cpm then show N/A and Cpk and Ppk are the values for that side.
How much data do I need?
The calculation works from 4 values, but 50 or more (or about 25 subgroups) are usually recommended for reliable indices.