X-bar chart control limits are X-double-bar plus or minus A2 x R-bar. R chart limits are D4 x R-bar and D3 x R-bar. For an I-MR chart, the individuals limits are X-bar plus or minus 2.660 x MR-bar and the moving range upper limit is 3.267 x MR-bar. Paste your subgroups or your individual values below and get the center lines, the upper and lower control limits and the estimated process σ. If you already have X-double-bar and R-bar, enter those with the subgroup size instead. The constants are the same ones on the control chart constants table. Free, no sign-up, nothing leaves your browser.

Control Limits Calculator (X-bar R and I-MR)

Which chart?

When to use it

Use X-bar R when you can take small subgroups of 2 to 10 measurements close together in time. Use I-MR when you get one measurement at a time: a daily total, a batch result, a slow or costly test. Compute the limits from 20 to 25 subgroups of a process you believe is stable, then keep plotting against them.

The formulas

X-bar and R chart (subgroups of size n, 2 to 25):

  • X-double-bar = average of the subgroup means (X-bar chart center line)
  • R-bar = average of the subgroup ranges (R chart center line)
  • X-bar chart: UCL = X-double-bar + A2 x R-bar, LCL = X-double-bar minus A2 x R-bar
  • R chart: UCL = D4 x R-bar, LCL = D3 x R-bar (D3 is 0 for n up to 6, so the R chart has no lower limit there)
  • Estimated process σ = R-bar / d2

I-MR chart (individual values, moving range of 2):

  • X-bar = average of the values (individuals chart center line)
  • MR-bar = average of the absolute differences between consecutive values
  • Individuals chart: UCL = X-bar + 2.660 x MR-bar, LCL = X-bar minus 2.660 x MR-bar
  • Moving range chart: UCL = 3.267 x MR-bar, LCL = 0
  • Estimated process σ = MR-bar / 1.128

E2 = 2.660, D4 = 3.267 and d2 = 1.128 are the n = 2 row of the constants table, because each moving range covers two values. Every limit is the center line plus or minus three standard deviations of the plotted statistic; the constants do that arithmetic for you.

Worked example: X-bar R

Five parts measured each hour for six hours. X-double-bar = 10.07 mm, R-bar = 0.467 mm, n = 5, so A2 = 0.577, D3 = 0, D4 = 2.114, d2 = 2.326.

  • X-bar UCL = 10.07 + 0.577 x 0.467 = 10.339
  • X-bar LCL = 10.07 minus 0.577 x 0.467 = 9.801
  • R UCL = 2.114 x 0.467 = 0.987
  • R LCL = 0 x 0.467 = 0
  • Estimated σ = 0.467 / 2.326 = 0.201

Worked example: I-MR

Ten daily readings: 12.1, 11.8, 12.4, 12.0, 11.9, 12.3, 12.2, 11.7, 12.5, 12.0.

  • X-bar = 12.09
  • The nine moving ranges are 0.3, 0.6, 0.4, 0.1, 0.4, 0.1, 0.5, 0.8, 0.5, so MR-bar = 0.411
  • Individuals UCL = 12.09 + 2.660 x 0.411 = 13.184
  • Individuals LCL = 12.09 minus 2.660 x 0.411 = 10.996
  • MR UCL = 3.267 x 0.411 = 1.343
  • Estimated σ = 0.411 / 1.128 = 0.364

Reading the result

Check the range chart first. A range outside its limits means the within-subgroup spread is not stable, and the X-bar limits built from R-bar are not trustworthy until you know why. Then check the X-bar chart. The calculator counts points outside the limits as a first screen only; the run rules (Western Electric, Nelson) catch shifts and trends that stay inside the lines.

Control limits are not specification limits. The limits above come from the process. The specs come from the customer. Put both on the same chart and you will read it wrong.

The assumptions behind every number, and all the formulas in one place, are on the calculator assumptions and formulas page.

Go deeper

Studying for an exam? X-bar R and I-MR limits are on the Green Belt and Black Belt bodies of knowledge. The practice questions are in the study guide courses.