X-bar and R control chart calculator
Enter the grand mean of your subgroup averages, the average subgroup range and the subgroup size. The calculator returns the center line and the upper and lower control limits for the X-bar chart (X-double-bar plus or minus A2 times R-bar) and for the R chart (D3 and D4 times R-bar), using the standard constants for subgroups of 2 to 10.
Control limits
X-bar chart
- LCL
- -
- Center
- -
- UCL
- -
R chart
- LCL
- -
- Center
- -
- UCL
- -
Constants used: A2 -, D3 -, D4 -
The formulas
X-bar chart: UCL = X̄̄ + A2 R̄ LCL = X̄̄ − A2 R̄
R chart: UCL = D4 R̄ LCL = D3 R̄
Known σ: limits = μ ± k σ / √n
Take 20 to 25 subgroups from a period when the process ran normally. X̄̄ is the average of the subgroup averages and R̄ the average of the subgroup ranges. Calculate the R chart first: if the ranges are not in control, the X-bar limits built from them are not reliable either.
Worked example
Twenty-five subgroups of 5 parts give a grand mean of 100.0 and an average range of 2.5. For n = 5, A2 is 0.577, D3 is 0 and D4 is 2.114.
- X-bar chart: 100.0 ± 0.577 × 2.5 gives limits of 98.5575 and 101.4425.
- R chart: the upper limit is 2.114 × 2.5 = 5.285 and the lower limit is 0.
With a known standard deviation of 2 for individual parts, subgroups of 5 and 3 sigma limits, the X-bar limits are 100 ± 3 × 2 / √5, or 97.3167 to 102.6833.
Constants
| n | A2 | D3 | D4 |
|---|---|---|---|
| 2 | 1.880 | 0 | 3.267 |
| 3 | 1.023 | 0 | 2.574 |
| 4 | 0.729 | 0 | 2.282 |
| 5 | 0.577 | 0 | 2.114 |
| 6 | 0.483 | 0 | 2.004 |
| 7 | 0.419 | 0.076 | 1.924 |
| 8 | 0.373 | 0.136 | 1.864 |
| 9 | 0.337 | 0.184 | 1.816 |
| 10 | 0.308 | 0.223 | 1.777 |
Control limits are not specification limits
Control limits come from the process; specification limits come from the drawing. A process can be in control and still make scrap, which is a capability problem, or be out of control while every part is in spec, which is a warning. Setting control limits to match the specification builds a chart that agrees with you. A point beyond either limit is the basic signal; runs of points on one side of the center line are the usual next rules to watch.
Next frame Yours
Tell me what you are building.
A website for your business, an app, a tool your team needs, or a calculator that should exist. I read every message myself and reply within one business day.
Or write to me directly:
corey@forgedev.studio