Control Chart Maker — I-MR, X-bar R, p and c Charts Online
Paste your numbers and get a control chart with its limits, every out-of-control point marked, and each signal explained in plain words. Free, in your browser, with nothing to install.
Your data
Choose what your numbers look like, then paste them. A column copied from Excel works as it is.
I-MR chart
Points are drawn in order. A point marked as a signal is one the rules say did not come from ordinary variation.
Out of control — Beyond 3σ (point 16).
- I CL
- 500.1840
- I UCL
- 501.9792
- I LCL
- 498.3888
- MR CL
- 0.6750
- MR UCL
- 2.2052
- In control
- No
- Beyond 3σat point 16
What the signals mean
- Beyond 3σ
- A point outside the control limits. Something unusual happened there: look at what was different at that point, such as a new batch, a shift change, a setting, or a measuring mistake.
Keep this control chart
Save it to a free account and add the next document for the same problem. They stay together in one project, with a one-page brief you can send. No card needed.
Paste your own numbers to download the chart or keep it. The example cannot be saved.
What is a control chart?
A control chart plots a measurement in the order it happened, with a centre line and two control limits calculated from the data itself. Its job is to separate two kinds of variation. Ordinary variation is built into the process and is there every day; a signal is a point or pattern that ordinary variation rarely produces, which means something specific changed.
That distinction decides what to do. A signal is worth investigating at once, while the cause is still findable. Ordinary variation is not: reacting to single points inside the limits (adjusting a machine after every reading, asking for an explanation of every bad day) adds variation instead of removing it. To reduce ordinary variation you change the process itself.
Which chart for which data
| Your data | Chart | Example |
|---|---|---|
| One measurement at a time | I-MR | Daily turnaround time, one weight per batch |
| Small groups of measurements (2 to 10) | X-bar and R | Five parts measured every hour |
| Defective items out of a sample | p | Applications returned out of those received each day |
| Defects counted per unit | c | Errors per form, flaws per panel |
The first two are for measurements on a scale (time, weight, length, cost). The last two are for counts. If your sample size changes from point to point, the p chart handles it: each point gets its own limits.
How the limits are calculated
I-MR UCL, LCL = x̄ ± 3 × (MR̄ / 1.128) X-bar UCL, LCL = x̿ ± A2 × R̄ R UCL = D4 × R̄ LCL = D3 × R̄ p UCL, LCL = p̄ ± 3 × √( p̄ (1 − p̄) / n ) c UCL, LCL = c̄ ± 3 × √c̄
MR̄ is the average moving range (the average difference between one point and the next), R̄ the average range within a subgroup, and A2, D3 and D4 the standard constants for the subgroup size. All of them estimate the short-term variation, which is why a control chart can detect a shift that an overall standard deviation would absorb.
The run rules
A point outside the limits is the best-known signal, but not the only one. A process can shift or drift while every point stays inside the limits; the run rules catch that. This tool checks the Western Electric and Nelson rules that apply to the chart you chose and names each one that fires, with the points it fired on:
- one point beyond three sigma (outside the limits);
- nine points in a row on one side of the centre line;
- six points in a row steadily rising or falling;
- fourteen points in a row alternating up and down;
- two of three points beyond two sigma on the same side;
- four of five points beyond one sigma on the same side;
- fifteen points in a row within one sigma of the centre line;
- eight points in a row with none within one sigma.
The X-bar chart is checked against all eight; the individuals chart against the first four; the p and c charts against the first, which is the one that is meaningful for counts.
Worked example
A filling line records one fill weight per batch. Twenty-five batches average about 500.2 g, and the average difference between one batch and the next is about 0.68 g, so sigma is roughly 0.68 / 1.128 = 0.60 g and the limits sit near 498.4 g and 502.0 g. Batch 16 weighed 503.4 g, well outside the upper limit. (This is the example the tool draws before you paste your own numbers.)
The chart marks batch 16 as a signal. The useful question is not “why is the line so variable?” but “what was different about batch 16?” A different operator, a restart after a stoppage and a new drum of product are the first things to check. The other 24 batches show only ordinary variation, and adjusting the filler after each of them would make the weights worse.
How to read your chart
Start with the verdict at the top. If there is no signal, the process is stable: the variation you see is what it produces, and the limits tell you what to expect next. If there is a signal, look at the points named beside each rule and ask what changed there. Fix or keep the cause, then collect new data; do not recalculate limits around a known disturbance.
With subgroups, read the R chart first. It shows whether the variation inside the groups is steady; the X-bar limits depend on it, so a signal on the R chart makes the X-bar chart hard to trust. And remember what the chart cannot say: whether the process meets its specification. For that, run a capability study once the chart shows the process is stable.
Frequently asked questions
- Which control chart should I use?
- It depends on your data. One measurement per point (a daily total, one weight per batch): an I-MR chart. Several measurements taken together each time, 2 to 10 of them: an X-bar and R chart. A count of defective items out of a sample: a p chart. A count of defects on each unit of the same size: a c chart. This page asks what your numbers look like and picks the chart for you.
- How are the control limits calculated?
- The limits sit three standard deviations either side of the centre line, using the short-term variation in your own data. For an I-MR chart sigma is the average moving range divided by 1.128. For an X-bar and R chart the limits are the grand mean plus or minus A2 times the average range. For a p chart they are p-bar plus or minus three times the square root of p-bar times (1 minus p-bar) over the sample size, calculated for each sample. For a c chart they are c-bar plus or minus three times the square root of c-bar.
- What does "out of control" mean?
- It means the chart shows a pattern that ordinary, built-in variation rarely produces: a point outside the limits, or a run such as nine points in a row on one side of the centre line. Something specific changed, and it is worth finding. It does not mean the process is outside its specification; control limits come from the data, specification limits come from the customer.
- How many data points do I need?
- The chart draws from 2 points, but limits calculated from a handful of points move a lot as more arrive. Twenty to twenty-five points (or subgroups) is the usual minimum for limits you can rely on.
- Are control limits the same as specification limits?
- No. Control limits describe what the process actually does and are calculated from your data. Specification limits describe what the customer needs and are set from outside. A process can be in control and still produce parts out of specification; that question is answered by a capability study (Cp and Cpk), not a control chart.
- Is my data uploaded anywhere?
- No. The chart is calculated and drawn in your browser; the numbers you paste never leave your device unless you choose to save the chart to a free account. The math comes from the same engine as the LeanProjax platform, whose results are checked against scipy and numpy reference values.
Related tools
Pareto chart maker
Free Pareto chart maker: paste your categories and counts and get a sorted Pareto chart with the cumulative line and the vital few that make up 80% marked.
Root cause analysis
Free root cause analysis tool: build a fishbone (Ishikawa) diagram, run the 5 Whys on each likely cause, and record how you will check it. No sign-up needed.
Fishbone diagram maker
Free fishbone diagram maker: write the problem, sort causes into six groups (the 6 Ms, read for an office too), and download the Ishikawa diagram. No sign-up.
5 Whys template
Free 5 Whys template: ask why until you reach a cause you can change, with checks that keep each answer factual, then print or download the chain. No sign-up.