SPC and process capability – Cp, Cpk and control charts with examples
SPC for manufacturing: learn the difference between control limits and tolerances, Cp and Cpk with formulas, examples, and a checklist.
SPC (Statistical Process Control) is used to monitor whether a manufacturing process varies in a predictable manner. Process capability, such as Cp and Cpk, instead shows how the variation of the process relates to the tolerance limits of the product. These are two different questions: a process can be stable and yet still produce parts outside of tolerance.
What is SPC and when is the method used?
SPC gathers statistical tools to track process data, for instance in CNC machining, assembly, and quality control. Through recurring measurements of factors such as diameter, length, or weight, quality managers can detect signals that the process has changed. The method helps the business investigate potential special causes before deviations become recurring.
SPC does not guarantee error-free production. The conclusions are influenced by data quality, sampling, the chosen chart type, and how control limits are calculated.
Control charts, Cp, Cpk, Pp, and Ppk – what is the difference?
| Metric | Question | Interpretation |
|---|---|---|
| Control chart | Is the process stable over time? | Signals of special causes need to be investigated. |
| Cp | How large is the tolerance width compared to the dispersion? | Does not show if the process is centered. |
| Cpk | How is the nearest tolerance limit met? | Influenced by both dispersion and centering. |
| Pp/Ppk | How does the total observed dispersion relate to the tolerance? | Typically uses a different dispersion estimate than Cp/Cpk. |
Control limits and tolerance limits are not the same thing
Control limits (UCL and LCL) are derived from process data and are used to assess statistical control. Tolerance limits (USL and LSL) come from drawings, customer requirements, or other product specifications. NIST emphasizes this distinction: control limits show the behavior of the process, while specification limits state what the product must satisfy.
Therefore, a process can be within the control limits of a control chart and yet still have too much dispersion for the drawing's tolerance. Conversely, a dimension can still meet the tolerance even if the control chart warns of a changed process.
How to calculate Cp and Cpk?
With two-sided tolerance and when the statistical assumptions of the method are reasonable, the following are often used:
Cp = (USL − LSL) / (6 × σ)
Cpk = min[(USL − mean) / (3 × σ), (mean − LSL) / (3 × σ)]
USL means upper specification limit, LSL lower specification limit, and σ is the estimated standard deviation associated with the chosen method. Always document the choice of method and data source.
Example: a turned part
Assume the drawing dimension 10.00 ± 0.20 mm. The lower limit is then 9.80 mm and the upper limit 10.20 mm. The mean in this illustrative example is 10.05 mm and the estimated standard deviation is 0.05 mm.
- Cp = (10.20 − 9.80) / (6 × 0.05) ≈ 1.33.
- Cpk = min[(10.20 − 10.05) / 0.15; (10.05 − 9.80) / 0.15] = 1.00.
The difference shows that the process is not centered in the tolerance field. This is a calculation example, not a truly verified capability study. In production, measurement values need to be representative and the measurement system suitable; stability and distribution assumptions need to be assessed. A certain Cpk value is not automatically approved for every customer or process type.
How to implement SPC step by step
- Choose what to measure. Determine the article, characteristic, unit of measurement, and current drawing version.
- Assess the measurement system. Ensure relevant resolution, calibration status, and appropriate method. An MSA and Gage R&R basis (see also our guide on MSA and Gage R&R) can provide support.
- Plan the sampling. Document the machine, tools, time, frequency, and conditions.
- Choose a control chart. I–MR may suit individual ongoing measurements; X̄–R and X̄–S may suit rational subgroups.
- Establish a baseline. Generate preliminary control limits from representative data and investigate signals of special causes.
- Monitor changes. Mark deviating points or patterns; investigate the cause before adjusting the process.
- Assess capability. Compare Cp/Cpk against appropriate customer and process requirements once the prerequisites for the analysis are met.
- Document actions. Specify the person responsible and follow-up. For recurring problems, 8D and root cause analysis can be used.
When to choose an I–MR control chart?
For one individual value per measurement instance, an I–MR chart can be useful. The I-chart tracks individual observations, while the MR-chart shows moving variation between adjacent values. For rational subgroups, other control charts are often chosen. The choice depends on the structure of the measurement series, potential dependencies, and which change is to be detected.
Checklist before a process capability study
- Are tolerances and drawing versions correct?
- Are measuring instruments, methods, and measurement resolution sufficient?
- Are sampling period and conditions representative?
- Have special causes been assessed and potential problems investigated?
- Are control limits distinct from tolerance limits?
- Are standard deviation method and statistical assumptions documented?
- Have customer requirements for sample size and capability level been checked?
- Is there a person responsible for deviations and re-measurement?
Six common mistakes with SPC and Cpk
- Confusing UCL/LCL with USL/LSL. They refer to different questions.
- Using Cpk without first assessing stability. The conclusion may then be misleading.
- Merging different machines or article versions. This risks misinterpreting the variation.
- Ignoring measurement uncertainty. A faulty measurement system affects all analysis.
- Adjusting after every small movement. Over-adjustment can create additional variation.
- Interpreting Cp as Cpk. Cp does not state how the process is centered.
Common questions about SPC and process capability
What does SPC stand for?
SPC stands for Statistical Process Control. The method uses measurement series and statistical tools to assess variation and change over time.
What is the difference between Cp and Cpk?
Cp relates the process dispersion to the tolerance width. Cpk is additionally affected by where the mean is located. A process can therefore have a high Cp but a significantly lower Cpk.
What Cpk must be achieved?
There is no universal approval limit. Customer specifications, industry methods, risk levels, and statistical prerequisites determine the requirement.
Is it possible to perform SPC in Excel?
Yes, in suitably limited applications. However, chart type, formulas, sampling, and control gates must be reviewed for the specific measurement series. A spreadsheet does not replace a statistical method assessment.
Is SPC the same as FMEA?
No. SPC tracks process variation. FMEA is a structured risk analysis of potential errors and actions. The methods complement each other.
What does a Cpk value of 1.00 or 1.33 mean?
In the usual two-sided model, Cpk is the distance from the process mean to the nearest specification limit, divided by three estimated standard deviations. Cpk 1.00 therefore corresponds to about three standard deviations to that limit, and 1.33 to about four. This interpretation assumes a stable process, representative measurements and an appropriate statistical model. Neither number is a universal legal or quality acceptance threshold: customer specifications, risks and applicable methods determine acceptance. NIST – Process Capability.
What is process capability compared with statistical process control?
Statistical process control (SPC) uses tools such as control charts to investigate whether a process behaves consistently over time and to detect signals of special-cause variation. Process capability instead compares the variation of a stable process with product specification limits, often using Cp and Cpk. Check stability and the measurement method before treating any single Cpk figure as a decision basis. NIST – Control Charts.
Work further with a ready-made SPC template
The template store package gathers I–MR control charts, Cp/Cpk follow-up, risk and action registers, as well as editable documents in Word, PDF, and Excel. Always check that the method suits your process.
See the SPC template package in Excel, Word, and PDF
Supplement if necessary with MSA/Gage R&R for measurement systems and first article inspection (FAI).
Related guides and templates
- Production management and quality management – comprehensive guide
- OEE – calculating machine efficiency
- FMEA – prevent quality errors
- 8D – investigate recurring deviations
- All document templates for production and industry
Sources
- NIST – What are Variables Control Charts?
- NIST – What is Process Capability?
- ASQ – Control Chart
- ASQ – Gage Repeatability and Reproducibility
Last fact-checked October 14, 2026. The text is general method information, not a certified statistical analysis or a guarantee that manufactured products meet specifications. Follow customer requirements, applicable standards, and internal quality routines when making critical decisions.
Cpk and Ppk – a comparative calculation
Use the 9.80–10.20 mm specification and mean of 10.05 mm from the example above. Assume a within-subgroup standard deviation of 0.05 mm and an overall standard deviation of 0.075 mm. Then Cp ≈ 1.33 and Cpk = 1.00, while Pp ≈ 0.89 and Ppk ≈ 0.67. The difference may indicate additional between-subgroup variation, such as tool wear or shift changes, but does not prove its cause. Review time-ordered data, sampling and control charts. Overall variation can be estimated with Excel's STDEV.S, for example; do not automatically substitute this function applied to all observations for the method's within-subgroup estimate. Minitab – Normal Capability Analysis.
I–MR: a measurement can meet specification but trigger a signal
Assume a previously established I-chart baseline with mean 10.00 mm and average moving range MR = 0.04512 mm, based on pairs of consecutive observations. Using NIST's method, estimated standard deviation is MR/1.128 = 0.04 mm. Control limits are 10.00 ± 3 × 0.04 = 9.88–10.12 mm. A new measurement of 10.15 mm is inside the drawing specification of 9.80–10.20 mm but above UCL. Investigate the signal under the control plan, assess affected products and avoid arbitrary machine adjustment. Assess the MR chart too. These values are hypothetical, not a validated baseline; do not recalculate limits merely to eliminate the signal. NIST – Individuals Control Charts.
First-piece inspection, FAI and SPC: what does one passing measurement show?
Suppose a CNC workshop changes a tool and its control plan requires inspection of the first part before continuing series production. The drawing specifies diameter 20.00 ± 0.05 mm. A reading of 20.02 mm is within 19.95–20.05 mm. This alone does not authorize acceptance of the part or process: verify drawing revision, measurement-system suitability, applicable measurement uncertainty decision rule, other characteristics and required material or process certificates. If a mandatory certificate is missing, hold the affected shipment until the requirement is resolved through the authorized procedure. If the next reading is 20.07 mm, it exceeds the upper specification limit; follow the control plan's reaction rule and assess potentially affected parts. One passing measurement establishes neither statistical stability nor Cpk.
When is FAI or PPAP needed in addition to internal first-piece inspection?
Internal first-piece inspection may be a local startup check. Formal FAI (First Article Inspection), for example under SS-EN 9102:2024 in aerospace, is structured verification of production processes through product assessment; FAI and product acceptance are distinct activities. PPAP (Production Part Approval Process) has a broader purpose of demonstrating consistent fulfillment of design and specification requirements by the production process. Check the agreed standard edition, customer requirements and applicable regulations before defining scope and approvals; these methods are not universal legal requirements for workshops. Link control-plan checks to PFMEA, drawing requirements, measurement method, frequency and reaction; use representative measurement series for SPC. Retain part and revision IDs, lot, machine, gauge, results, deviation reference and the person making a separate release decision. This hypothetical example does not establish standard compliance. SIS – SS-EN 9102:2024; AIAG – PPAP.
Tool wear and SPC – compare cost per accepted part
In turning, cutting speed, feed and depth of cut affect tool life. Link chronological measurements to tool ID, cutting edge, product, material lot, machine and the number of parts machined since replacement. A control chart trend may justify investigation but does not prove wear. Check the measurement method, temperature, clamping and material too. Follow the control plan's reaction rule and assess affected parts if a deviation occurs; do not move control limits to hide a signal.
Suppose two comparable production runs each consume cutting edges costing SEK 600 in total. Run A yields 480 accepted parts and 20 scrapped; run B yields 570 accepted and 30 scrapped. Cutting-edge cost alone per accepted part is 600/480 = SEK 1.25 and 600/570 ≈ SEK 1.05. Accepted yield is 96% and 95%, respectively (480/500 and 570/600). Despite the lower tool cost in B, yield is worse. Consider scrap cost, machine time, changes, rework and risk before approving a new interval. Do not count tool cost twice if already included in the machine hourly rate. This is hypothetical, not a recommended replacement interval.
Record the reason for replacement (planned replacement, wear or damage), observed condition and post-change checks under the current instruction. Adapt the replacement threshold to validated process data, manufacturer instructions and risk assessment. A cheaper edge or longer life never justifies bypassing safety measures. Sandvik Coromant – Tool life; NIST – Control charts; AFS 2023:11.
Templates in this article
Explore the topic
Business guides – contracts, HR, AI & complianceMSA and Gage R&R – how to perform a measurement system analysis step by step
What is MSA and Gage R&R? A guide to repeatability, reproducibility, 10×3×2 study, %GRR, ndc, and common mistakes.
Business guides – contracts, HR, AI & compliance8D report and root cause analysis – eight steps, 5 whys and examples
Complete guide to 8D reports: D1–D8, root cause analysis, 5 Whys, corrective actions, and closing checklist.
Business guides – contracts, HR, AI & complianceFMEA – how to conduct a failure mode and effects analysis step by step
What is FMEA? Differences between DFMEA and PFMEA, risk prioritization, RPN, practical example, checklist, and common mistakes.





