c-Chart (Defect Count) Calculator
Calculate c-chart control limits for defect count data. Monitor the number of defects per inspection unit using Poisson-based SPC limits.
Calculate UCL and LCL for X-bar and R charts using A2, D3, D4 constants. Set up statistical process control charts for manufacturing.
Control limits define the boundaries of expected variation on a statistical process control (SPC) chart. For X-bar and R charts ā the most common SPC chart pair ā control limits are calculated from the process grand mean (X-double-bar) and average range (R-bar), using constants A2, D3, and D4 that depend on the subgroup size.
Control limits are not specification limits. They represent the voice of the process ā what the process is actually doing ā while specification limits represent the voice of the customer ā what the process should do. Points within control limits indicate a stable, predictable process; points outside suggest special-cause variation requiring investigation.
This calculator computes X-bar chart UCL, CL, and LCL as well as R chart UCL, CL, and LCL from your grand mean, average range, and subgroup size.
Tracking this metric consistently enables manufacturing teams to identify performance trends early and take corrective action before minor inefficiencies escalate into significant production losses.
Correctly calculated control limits are the foundation of SPC. They let you distinguish between normal variation and assignable causes, preventing both over-adjustment (tampering) and under-reaction (ignoring real process shifts).
X-bar Chart:
⢠CL = XĢĢ
⢠UCL = XĢĢ + Aā Ć RĢ
⢠LCL = XĢĢ ā Aā Ć RĢ
R Chart:
⢠CL = RĢ
⢠UCL = Dā Ć RĢ
⢠LCL = Dā Ć RĢ
Constants Aā, Dā, Dā depend on subgroup size n.Result: X-bar UCL = 51.44, LCL = 48.56; R UCL = 5.29
For n = 5: Aā = 0.577, Dā = 0, Dā = 2.114. X-bar UCL = 50 + 0.577 Ć 2.5 = 51.44. X-bar LCL = 50 ā 0.577 Ć 2.5 = 48.56. R UCL = 2.114 Ć 2.5 = 5.29. R LCL = 0 Ć 2.5 = 0.
For quick reference, here are common constants:
| n | Aā | Dā | Dā | |---|------|------|------| | 2 | 1.880 | 0 | 3.267 | | 3 | 1.023 | 0 | 2.574 | | 4 | 0.729 | 0 | 2.282 | | 5 | 0.577 | 0 | 2.114 |
Collect data from 20ā25 subgroups during a period of stable operation. Calculate subgroup means and ranges, then compute XĢĢ and RĢ. Apply the constants to get control limits. Plot historical data against these limits to verify no special causes were present during the baseline period.
Beyond single points outside limits, SPC rules also flag patterns: runs of 7+ points on one side of the center line, trending sequences, and oscillating patterns. These Western Electric rules (or Nelson rules) increase chart sensitivity to process shifts.
Last updated:
Control limits are calculated from process data and show what the process is doing. Specification limits are set by the customer or engineer and show what the process should do. A process can be in control but out of spec, or vice versa.
For subgroup sizes of 6 or less, Dā = 0, making LCL = 0. This means negative ranges are impossible (range is always ā„ 0), so the lower control limit is set at zero.
These are statistical constants derived from the distribution of ranges. They convert the average range into control limit distances. Values depend on subgroup size n and are tabulated in quality engineering references.
Recalculate when you implement a permanent process change, after removing special-cause data, or periodically (e.g., quarterly) to verify they still represent the current process.
Investigate immediately. An out-of-control point indicates a special cause (not random variation). Identify and eliminate the root cause. Do not adjust the process without finding the cause.
No. X-bar and R charts are for continuous (variables) data. For attributes data (pass/fail, defect counts), use p-charts, np-charts, c-charts, or u-charts with their own control limit formulas.
Calculate c-chart control limits for defect count data. Monitor the number of defects per inspection unit using Poisson-based SPC limits.
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 Cp process capability index from specification limits and process standard deviation. Assess whether your process spread fits tolerances.