- Question it answers
- Is this process stable, or has something changed?
- Data needed
- Time-ordered measurements, individually or in subgroups
- Key output
- A center line, control limits, and signals
- Core idea
- Limits = center ± 3 standard errors, estimated from within-subgroup variation
- Assumptions
- Rational subgroups; independent observations
- Excel
- Formulas with the constants table; Line chart
- Minitab
- Stat > Control Charts > Variables Charts
- Why it matters
- Tells you when to act and when to leave the process alone
The Idea in Plain Language
A control chart separates two kinds of variation. Common-cause variation is the steady background noise built into the process. Special-cause variation comes from something specific that changed: a worn tool, a new batch, a different operator. The chart draws limits that describe what common-cause variation looks like, so a point outside them says “this is unlikely to be just noise.”
The limits are not specification limits. They come from the process itself: the center line is the average, and the control limits sit three standard errors either side. The theory below explains where that number comes from and how the constants in the chart tables are made.
Why Three Sigma?
If a process is stable and roughly normal, a plotted statistic falls beyond the 3-sigma limits with probability 2 × P(Z > 3) = 0.0027, about 1 chance in 370. So on average a stable process gives one false alarm every 370 points. This is the average run length when nothing has changed (ARL0).
| Limit width | False alarm per point | Average points between false alarms | Effect |
|---|---|---|---|
| ± 2 sigma | 0.0455 | 22 | Frequent false alarms, fast detection |
| ± 2.5 sigma | 0.0124 | 81 | A compromise sometimes used |
| ± 3 sigma | 0.0027 | 370 | Rare false alarms; the standard |
Walter Shewhart chose three sigma as a practical balance: wide enough that you rarely chase noise, narrow enough to catch real shifts. It does not depend on the data being exactly normal, because even for skewed data nearly all values fall within three standard deviations.
The flip side is the speed of detection. A chart can take many points to notice a small shift:
Where the Constants Come From
The estimate of the process standard deviation from a subgroup range is σ̂ = R̄ / d2, where d2 is the expected range of n values from a standard normal distribution. For n = 2 the expected gap between two standard normal values is 1.128, which is where the individuals chart constant comes from. The standard deviation of that range is d3, which gives the limits for the range chart.
| n | d2 | d3 | A2 = 3/(d2√n) | D3 = 1 − 3d3/d2 | D4 = 1 + 3d3/d2 |
|---|---|---|---|---|---|
| 2 | 1.128 | 0.852 | 1.880 | 0.000 | 3.266 |
| 3 | 1.693 | 0.888 | 1.023 | 0.000 | 2.575 |
| 4 | 2.059 | 0.880 | 0.729 | 0.000 | 2.282 |
| 5 | 2.326 | 0.864 | 0.577 | 0.000 | 2.114 |
| 6 | 2.534 | 0.848 | 0.483 | 0.000 | 2.004 |
| 7 | 2.704 | 0.833 | 0.419 | 0.076 | 1.924 |
| 8 | 2.847 | 0.820 | 0.373 | 0.136 | 1.864 |
| 9 | 2.970 | 0.808 | 0.337 | 0.184 | 1.816 |
| 10 | 3.078 | 0.797 | 0.308 | 0.223 | 1.777 |
- X-bar chart: X̄̄ ± A2 R̄ (which equals X̄̄ ± 3σ̂/√n).
- R chart: center R̄, limits D3 R̄ and D4 R̄. The lower limit is zero for subgroups under 7 because a range cannot be negative.
- Individuals chart: X̄ ± 2.660 M̄R (since 3/1.128 = 2.660), and the moving range chart has upper limit 3.267 M̄R.
- Why range, not standard deviation? For small subgroups the range is almost as efficient and far easier to calculate by hand. For n above about 10, an S chart is better.
These values were computed numerically from the normal distribution and match the standard published tables.
Signals Beyond One Point
A single point beyond the limits is the main signal, but patterns inside the limits also signal change. The zone lines in the figure below divide the space into one-, two-, and three-sigma bands.
| Rule | Signal | What it often means |
|---|---|---|
| 1 | One point beyond 3 sigma | A sudden special cause: a mistake, a failure |
| 2 | Eight points in a row on one side of the center line | A small, sustained shift in the average |
| 3 | Six points in a row steadily rising or falling | A trend, such as tool wear |
| 4 | Two of three points beyond 2 sigma on the same side | A shift beginning |
| 5 | Fifteen points in a row within 1 sigma | Stratification: data mixed from different sources, or limits too wide |
Each additional rule catches more changes but also raises the false-alarm rate, so use only the rules that match the failure modes you care about.
Worked Example 1: An Individuals (I-MR) Chart
Twenty-four consecutive pH readings from a bath, one per hour: 7.02, 6.96, 7.03, 7.05, 7.02, 7.00, 7.02, 7.08, 6.91, 7.10, 6.97, 6.98, 6.97, 6.96, 6.99, 7.03, 7.34, 7.02, 6.99, 7.05, 6.94, 7.03, 7.02, 7.05.
- Center line = mean of the readings = 7.022.
- Moving ranges (absolute differences between successive readings) average M̄R = 0.0796.
- Sigma estimate = M̄R / 1.128 = 0.0705.
- Limits = 7.022 ± 3 × 0.0705 = 6.810 to 7.234 (equivalently ± 2.66 × M̄R).
- Moving range limit = 3.267 × 0.0796 = 0.260.
Reading 17 (7.34) is a signal. Investigation found a wrong reagent was added that hour, a clear special cause. With that reading removed the center line becomes 7.008 and the limits tighten to 6.862 to 7.155, because the extreme reading had inflated the moving range.
Worked Example 2: An X-bar and R Chart
Five bottles were measured every hour for 20 hours (fill level, mm). The first three subgroups: (24.4, 24.6, 24.2, 25.4, 24.7) with mean 24.66 and range 1.2; (25.7, 25.8, 24.6, 26.2, 24.1) with mean 25.28 and range 2.1; (23.8, 24.2, 24.6, 25.5, 26.6) with mean 24.94 and range 2.8.
- Grand mean X̄̄ = 25.094; average range R̄ = 1.680.
- Constants for n = 5: A2 = 0.577, D3 = 0, D4 = 2.114.
- X-bar limits = 25.094 ± 0.577 × 1.680 = 24.125 to 26.063.
- R chart limits: lower = 0; upper = 2.114 × 1.680 = 3.552.
- Within-process sigma = R̄ / d2 = 1.680 / 2.326 = 0.722.
Run It in Excel and Minitab
ExcelStep by step
- Put the readings in column A. In B3 enter and fill down for the moving ranges.
- Center: (7.022). Average moving range: (0.0796).
- UCL: (7.234). LCL: (6.810).
- For X-bar and R, compute each subgroup mean with and range with , then use the constants table above.
- Chart: select the readings and the three limit columns, then . Excel has no built-in control chart or run rule tests.
MinitabStep by step
- Individuals: . Enter the column as the Variable.
- Subgrouped data: . Choose either one column with a subgroup size, or several columns across.
- Click I-MR Options > Tests to select the signal rules (such as one point beyond 3 sigma, eight in a row on one side). Click Estimate to omit known special causes when computing the limits.
- Quicker: chooses the chart type and checks the rules for you.
- Minitab flags failed points in red and lists them in the session window.
I-MR Chart of pH
Test Results for I Chart of pH
TEST 1. One point more than 3.00 standard deviations from center line.
Test Failed at points: 17
Test Results for MR Chart of pH
TEST 1. One point more than 3.00 standard deviations from center line.
Test Failed at points: 17, 18
Estimates
Mean = 7.022 UCL = 7.234 LCL = 6.810 Average moving range = 0.0796 MR UCL = 0.2599Reading and Reporting
- Check the range or moving range chart first. If the variation is not stable, the averages chart is not interpretable.
- Investigate each signal and record the cause. Remove only points with a known, corrected cause when recalculating limits.
- Collect enough data before fixing limits: at least 20 to 25 subgroups.
- Never put specification limits on a control chart for individual values: they answer a different question.
- Say what you did about each signal, not only that it occurred.
Common Mistakes
| Mistake | Why it misleads | Better |
|---|---|---|
| Using specification limits as control limits | Specifications are what the customer wants; control limits are what the process does | Calculate limits from the data |
| Using the overall standard deviation of all the data for the limits | Includes between-subgroup change, so the limits are too wide and hide signals | Use R̄/d2 or M̄R/1.128 |
| Recalculating limits every time a point goes out | Chases noise and hides real change | Fix limits after a stable baseline |
| Adjusting the process after every point | Tampering increases variation | Act only on signals |
| Subgroups that mix sources (two machines) | Inflates the range and the limits | Form rational subgroups |
| Too few points (under 20) to set limits | Limits are unreliable | Collect more before concluding |
Try It Yourself
A process is sampled in subgroups of 4. After 25 subgroups, X̄̄ = 100.0 and R̄ = 6.0.
- Find the X-bar chart limits.
- Find the upper limit of the R chart.
- Estimate the process standard deviation.
Show the answer
For n = 4: A2 = 0.729, D4 = 2.282, d2 = 2.059.
X-bar limits: 100 ± 0.729 × 6 = 95.63 to 104.37. R chart upper limit: 2.282 × 6 = 13.69 (the lower limit is 0). Process standard deviation = 6 / 2.059 = 2.91.
Control Chart Theory: Frequently Asked Questions
Why are control limits at three standard deviations?
It balances false alarms against detection. At three sigma a stable, normal process gives about 1 false alarm per 370 points, which is rare enough to investigate every signal, while real shifts still show up quickly.
What is the difference between control limits and specification limits?
Control limits describe what the process actually does, calculated from its own data. Specification limits describe what the customer or design requires. A process can be in control and out of spec, or out of control and in spec.
How many subgroups do I need to set control limits?
At least 20 to 25 subgroups of size 4 or 5, or 25 to 30 individual readings. Fewer gives unreliable limits.
Why do the individuals chart limits use 2.66?
Because the sigma estimate is the average moving range divided by 1.128, and 3 divided by 1.128 is 2.66.
When should I use an S chart instead of an R chart?
When subgroups are larger than about 8 to 10, the range loses efficiency and the standard deviation of each subgroup gives a better estimate.
Can I use a control chart on non-normal data?
Usually yes for X-bar charts because averages are close to normal. For individuals charts with strongly skewed data, consider a transformation or limits based on the actual distribution.
Sources and Further Reading
- Walter A. Shewhart, Economic Control of Quality of Manufactured Product, Van Nostrand, 1931.
- Douglas C. Montgomery, Introduction to Statistical Quality Control, Wiley (Chapters on control chart design and ARL).
- NIST/SEMATECH, e-Handbook of Statistical Methods, Process or Product Monitoring and Control (itl.nist.gov/div898/handbook).
- Minitab Support, “Methods and formulas for I-MR Chart and Xbar-R Chart” (support.minitab.com).
This content is educational. Worked examples use made-up data. Menu names for Minitab follow recent versions of Minitab Statistical Software and can differ slightly in older releases; Excel steps use Microsoft 365 and the Analysis ToolPak.