371. Cp

371.1. 𝐶𝑝 (Process Capability Index)

Measure how well a process can produce outputs within specified limits

𝐶𝑝=USLLSL6𝜎

Assumption: Process is centered within the specification limits

𝐶𝑝 ValueMeaningQuality Impact
𝐶𝑝<1Process variation
exceeds specs
Defects likely,
even if centered
𝐶𝑝=1Process barely
fits within specs
OK if perfectly
centered
𝐶𝑝>1Process well
within specs
Robust,
fewer defects
𝐶𝑝=2Six Sigma levelWorld-class
performance
Example

A manufacturing process produces metal rods with a target diameter of 10.0 mm. The specification limits are:

  • Target: 10 mm
  • Lower Specification Limit (LSL): 9.7 mm
  • Upper Specification Limit (USL): 10.3 mm
  • Specification Width (Tolerance): 0.6 mm

Let’s analyze three different processes with varying levels of capability.

ProcessMeanStd Dev𝐶𝑝Assessment
Process 19.9980.0991.009Good
Process 210.0010.1470.682Marginal
Process 39.9940.2550.393Poor
Process 1Process 2Process 3Six Sigma
𝐶𝑝=USLLSL6𝜎=10.39.76×0.099=0.60.6=1.009𝐶𝑝=USLLSL6𝜎=10.39.76×0.147=0.60.9=0.682𝐶𝑝=USLLSL6𝜎=10.39.76×0.255=0.61.5=0.393𝐶𝑝=USLLSL6𝜎=10.39.76×0.05=0.60.30=2

Step 3: Interpretation

Process𝐶𝑝Within SpecDefectiveDPMO
Process 11.00996.64%3.36%33600
Process 20.68284.13%15.87%159700
Process 30.39350.00%50.00%500000
Six Sigma2.099.9999998%0.0000002%0.002

Higher 𝐶𝑝 means fewer defects and better process quality. and lower defects per million opportunities (DPMO)

c_p.py

cp_values = [2, 1, 0.1]

for cp in cp_values:
    z = 3 * cp  # spec limit in standard deviations
    prob_defective = 2 * (1 - norm.cdf(z))
    within_specs = 1 - prob_defective
    dpmo = prob_defective * 1_000_000

    print({
      "Cp": cp,
      "Sigma limit (±z)": z,
      "Percent within specs": within_specs * 100,
      "Percent defective": prob_defective * 100,
      "DPMO": dpmo
    })

Output:

[{'Cp': 2,
  'Sigma limit (±z)': 6,
  'Percent within specs': 99.99999980268245,
  'Percent defective': 1.9731754008489588e-07,
  'DPMO': 0.001973175400848959},
{'Cp': 1,
  'Sigma limit (±z)': 3,
  'Percent within specs': 99.73002039367398,
  'Percent defective': 0.2699796063260207,
  'DPMO': 2699.796063260207},
{'Cp': 0.1,
  'Sigma limit (±z)': 0.30000000000000004,
  'Percent within specs': 23.582284437790534,
  'Percent defective': 76.41771556220947,
  'DPMO': 764177.1556220946}]