Control Chart Rules Detector
Detect SPC out-of-control conditions: points beyond 3σ, runs of 8, trends of 6, and zone violations. Apply Western Electric and Nelson rules.
Calculate c-chart control limits for defect count data. Monitor the number of defects per inspection unit using Poisson-based SPC limits.
| Sample | Count (c) | Status | Deviation from c̄ |
|---|---|---|---|
| 1 | 8 | In Control | +2 |
| 2 | 11 | In Control | +5 |
| 3 | 3 | In Control | -3 |
| 4 | 5 | In Control | -1 |
| 5 | 7 | In Control | +1 |
| 6 | 0 | In Control | -6 |
| 7 | 5 | In Control | -1 |
| 8 | 10 | In Control | +4 |
| 9 | 5 | In Control | -1 |
| 10 | 9 | In Control | +3 |
| 11 | 11 | In Control | +5 |
| 12 | 3 | In Control | -3 |
| 13 | 5 | In Control | -1 |
| 14 | 7 | In Control | +1 |
| 15 | 0 | In Control | -6 |
| 16 | 5 | In Control | -1 |
| 17 | 10 | In Control | +4 |
| 18 | 5 | In Control | -1 |
| 19 | 9 | In Control | +3 |
| 20 | 11 | In Control | +5 |
| 21 | 3 | In Control | -3 |
| 22 | 5 | In Control | -1 |
| 23 | 7 | In Control | +1 |
| 24 | 0 | In Control | -6 |
| 25 | 5 | In Control | -1 |
| 26 | 9 | In Control | +3 |
| 27 | 5 | In Control | -1 |
| 28 | 9 | In Control | +3 |
| 29 | 11 | In Control | +5 |
| 30 | 3 | In Control | -3 |
| Parameter | Formula | Value |
|---|---|---|
| Center Line (c̄) | Σc / k | 6 |
| √c̄ | √(c̄) | 2.449 |
| UCL | c̄ + 3√c̄ | 13.35 |
| LCL | max(0, c̄ − 3√c̄) | 0 |
| Total defects (Σc) | — | 180 |
| Sample count (k) | — | 30 |
The c-chart is an attribute control chart that monitors the count of defects per inspection unit. Unlike the p-chart, which tracks whether units are defective or not, the c-chart counts how many defects occur on each unit. A single circuit board could have 0, 1, 2, or more solder defects — the c-chart monitors this count.
The c-chart assumes defect counts follow a Poisson distribution, which is valid when defects are relatively rare and the inspection area or opportunity is constant across samples. Control limits are calculated from c-bar (the average defect count) using the Poisson standard deviation √c-bar.
This calculator computes c-bar and control limits from total defects observed and number of samples inspected, providing ready-to-use limits for your c-chart.
When defects can occur multiple times per unit (scratches, solder defects, paint blemishes), the c-chart is the right SPC tool. It tracks defect count trends and detects process deterioration before defect levels become critical.
c̄ = Total Defects / Number of Samples
UCL = c̄ + 3 × √c̄
LCL = max(0, c̄ − 3 × √c̄)Result: c̄ = 6.0, UCL = 13.35, LCL = 0
c̄ = 180 / 30 = 6.0 defects per unit. UCL = 6 + 3 × √6 = 6 + 7.35 = 13.35. LCL = 6 − 7.35 = −1.35, set to 0. Any unit with more than 13 defects signals a process change.
Common applications include: solder defects on PCBs, paint defects per car body panel, weaving flaws per meter of fabric, scratches per glass panel, and documentation errors per report. Any countable, relatively rare occurrence on a fixed inspection unit qualifies.
Some practitioners consider using an individuals (I-MR) chart for defect count data. While this works in some cases, the c-chart's Poisson-based limits are more appropriate for count data and avoid the normality assumption required by I-MR charts.
A declining c̄ over time confirms that process improvements are reducing defects. Set new, tighter control limits after achieving a sustained reduction. This ratcheting approach prevents backsliding and codifies gains.
Last updated:
Use a c-chart when the inspection area (unit of inspection) is the same for every sample. Use a u-chart when sample sizes or inspection areas vary, as it normalizes defects per unit of measurement.
A defect is a single nonconformity (e.g., one scratch). A defective is an entire unit judged as nonconforming. One defective unit may contain multiple defects. The c-chart counts defects; the p-chart counts defectives.
The c-chart assumes a Poisson distribution for defect counts. For a Poisson distribution, the variance equals the mean, so the standard deviation is √c̄. Control limits at ±3 standard deviations use 3√c̄.
Yes, but if c̄ is very small (below 1–2), the Poisson approximation may be poor, and the lower limit will be zero with a very wide upper limit. Consider accumulating data over larger inspection units.
At least 20–25 samples are recommended for reliable control limit estimates. Fewer samples increase uncertainty in c̄ and the resulting limits.
Investigate the specific defect types that contributed to the high count. Use tools like 5 Whys or fishbone diagrams to identify root causes. Implement corrective actions and verify with subsequent data.
Detect SPC out-of-control conditions: points beyond 3σ, runs of 8, trends of 6, and zone violations. Apply Western Electric and Nelson rules.
Calculate UCL and LCL for X-bar and R charts using A2, D3, D4 constants. Set up statistical process control charts for manufacturing.
Calculate Cp process capability index from specification limits and process standard deviation. Assess whether your process spread fits tolerances.