Control Chart Builder (X-bar R, I-MR, p)

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.

Shewhart constants by subgroup size

nA2D3D4d2
21.88003.2671.128
31.02302.5741.693
40.72902.2822.059
50.57702.1142.326
70.4190.0761.9242.704
100.3080.2231.7773.078

When to use it

  1. Monitor a machined dimension with an X-bar R chart.
  2. Chart batch results from a chemical process with I-MR.
  3. Track the daily defective rate with a p chart.
  4. Spot trends and shifts before parts go out of spec.
  5. Prepare SPC charts for an audit or customer report.

How to Use

  1. Pick the chart type.
  2. Paste a CSV or drop files.
  3. Review the chart and flagged points.
  4. Download SVGs or a ZIP of all charts.

Features

  1. X-bar R, I-MR and p charts
  2. Western Electric rules
  3. Variable-sample p limits
  4. Many files at once
  5. SVG and ZIP download
  6. 100% client-side

FAQs

Which control chart should I use?

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.

How are X-bar R limits calculated?

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.

What are the Western Electric rules?

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.

Are control limits the same as spec limits?

No. Control limits come from the process's own variation; specification limits come from the design.

Is anything uploaded?

No. Everything runs in your browser.

Technical Details

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.

Business & Legal Tools

Business & Legal Tools

  • DPMO and Sigma Level Calculator
  • Contract Compare (DOCX and PDF Redline)
  • Legal Deadline Calculator (Court Days)
  • Document Template Filler (DOCX Mail Merge)
  • Sample Size Calculator (A/B Test and Survey)
  • Ad Metrics Calculator (CPM, CPC, CTR, CPA, ROAS)
  • Email Signature Generator
  • Kitchen Par Level Calculator