This control chart builder turns process data into X-bar R, I-MR or p charts. Paste a CSV with subgroup columns, single readings or defectives and sample sizes, and it calculates the centre line and control limits, draws the chart and flags the points that break the Western Electric rules. Drop several CSV files to chart them all, then download each chart as SVG or every chart in one ZIP. It runs in your browser.
| n | A2 | D3 | D4 | d2 |
|---|---|---|---|---|
| 2 | 1.880 | 0 | 3.267 | 1.128 |
| 3 | 1.023 | 0 | 2.574 | 1.693 |
| 4 | 0.729 | 0 | 2.282 | 2.059 |
| 5 | 0.577 | 0 | 2.114 | 2.326 |
| 7 | 0.419 | 0.076 | 1.924 | 2.704 |
| 10 | 0.308 | 0.223 | 1.777 | 3.078 |
X-bar R for measurements taken in small subgroups (2–10), I-MR for one reading at a time, and p for the proportion of defective units in samples.
UCL = X̿ + A2·R̄ and LCL = X̿ − A2·R̄ for the means; D3·R̄ and D4·R̄ for the ranges. For subgroups of 5, A2 = 0.577 and D4 = 2.114.
Signals of special cause: one point beyond 3σ, two of three beyond 2σ on one side, four of five beyond 1σ, or eight in a row on one side of the centre line.
No. Control limits come from the process's own variation; specification limits come from the design.
No. Everything runs in your browser.
X-bar R: subgroup means and ranges, with limits X̿ ± A2·R̄ and D3·R̄ to D4·R̄ for subgroup sizes 2–10. I-MR: individual readings with limits X̄ ± 2.66·MR̄ and a moving-range chart up to 3.267·MR̄. p chart: proportion defective with limits p̄ ± 3√(p̄(1 − p̄)/n) recalculated for each sample size. Points are tested against the Western Electric rules (one beyond 3σ, two of three beyond 2σ, four of five beyond 1σ, eight in a row on one side). Each chart is drawn as SVG.