Corey Redwine Start a conversation

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.

From subgroup data

Control limits

X-bar chart

LCL
-
Center
-
UCL
-

R chart

LCL
-
Center
-
UCL
-

Constants used: A2 -, D3 -, D4 -

From a known standard deviation

LCL
-
Center
-
UCL
-

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

nA2D3D4
21.88003.267
31.02302.574
40.72902.282
50.57702.114
60.48302.004
70.4190.0761.924
80.3730.1361.864
90.3370.1841.816
100.3080.2231.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

Sending this also notes how you found this site, such as a search engine or a link, and the first page you visited. That note stays in your own browser until you send the form, and it is not a cookie. How this is handled