Process

I-MR Control Chart Calculator (Individuals and Moving Range)

Paste readings in the order they were taken and get the individuals and moving range chart limits, with every reading or range that falls outside them. Every value is entered by you; the tool adds no data of its own.

01Inputs

Paste the readings in the order they were taken, separated by spaces, commas or new lines. 3 to 10,000 readings.

Use only the first k readings to set the centre lines and limits and apply them to every reading. Leave empty to use all readings.

02Result

03Method

Use this tool when readings arrive one at a time, in order, and you want to know whether the process is stable before you trust its mean or its capability. It computes the limits of an individuals and moving range chart from the readings themselves, never from the specification, and lists the readings that fall outside them. It assumes the readings are in time order and that the moving range of neighbours measures only common-cause variation.

AHow it is calculated

The tool works on the readings in the order given. With n readings x1, …, xn and, if given, a baseline of the first k:

  1. The moving ranges are the absolute differences between neighbours, for i = 2 to n.
MRᵢ = |xᵢ − xᵢ₋₁|
  1. The centre line x̄ is the mean of the baseline readings, and MR̄ the mean of the baseline moving ranges; without a baseline both use every reading.
  2. The short-term standard deviation is MR̄ divided by d₂ = 1.128, the constant for ranges of two values.
σ̂ = MR̄/1.128
  1. The individuals chart has its limits three σ̂ either side of the centre line, that is x̄ ± 3·MR̄/1.128, often quoted as 2.66·MR̄. The moving range chart has an upper limit of D₄·MR̄ with D₄ = 3.267 and a lower limit of D₃·MR̄ = 0.
UCL = x̄ + 3σ̂, LCL = x̄ − 3σ̂
UCLMR = 3.267·MR̄, LCLMR = 0
  1. Every reading above UCL or below LCL, and every moving range above UCLMR, is listed; a moving range carries the number of the later of its two readings. Only these single-point tests are applied, with no run rules.
  2. The constants come from the control chart constants guide (d₂ = 1.1284 and D₄ = 3.2665 unrounded; the chart uses the rounded 1.128 and 3.267 that the guides print).

The default readings are the worked example from the I-MR control charts guide: ten thickness readings 10.00, 10.04, 10.02, 10.06, 10.04, 10.20, 10.24, 10.22, 10.26, 10.24 µm give x̄ = 10.1320, MR̄ = 0.0444, σ̂ = 0.0394, I limits 10.0138 to 10.2502 and MR UCL 0.1452; readings #1 (10.00) and #9 (10.26) fall outside the I limits and moving range #6 (0.16) exceeds the MR UCL, which is the level shift between the fifth and sixth readings showing on both charts.

BScope and limitations
  • Single-point tests only. A reading outside 3σ limits and a moving range above its UCL are flagged; run rules (eight in a row on one side, two of three beyond 2σ and the like) are not applied. The Glossary entry Run rules says what they are, and Control chart run rules compares the common rule sets and their false-alarm rates; apply only a rule set you have chosen and validated.
  • The limits are only as good as the baseline. With all readings used, a level shift inflates MR̄ and widens the limits that are supposed to detect it; with a baseline of stable readings, the limits are tighter and later shifts stand out. Decide the baseline before looking at the chart.
  • Order matters. The moving range assumes neighbours were taken close together under the same conditions; readings sorted, shuffled or pooled from several streams give a meaningless MR̄.
  • The constants are the rounded d₂ = 1.128 and D₄ = 3.267 that the site's guides print; the unrounded values change the limits in the fourth decimal.
  • Control limits are not specification limits, and a chart with no point outside shows only that there is no single-point signal: it does not by itself prove stability, since run patterns can still be present, and it says nothing about capability; the Process Capability Calculator answers the capability question from the same readings, and the Which control chart for which data guide says when an I-MR chart is the right chart at all.
  • The I chart and the MR chart below are drawn from the same centre lines and limits; each moving range is plotted at the later of its two readings, so the MR chart starts at reading 2. The I-MR control charts guide shows how to read the pair.
CCommon mistakes
  1. Setting the limits from the specification. Control limits come from the readings' own moving range; specification limits say what the customer needs. Putting the latter on a chart invites reacting to noise or missing a shift.
  2. Recomputing the limits every time a point is added. Limits from a baseline are meant to be held; refreshing them with every reading lets a slow drift hide inside them.
  3. Sorting the readings. Sorted data have small moving ranges and absurdly tight limits; the order of measurement is the information.
  4. Reading a point inside the limits as proof of no change. A shift of one σ moves few points outside 3σ limits for a long time; the MR chart and the run rules exist for that reason.
  5. Pooling two machines or two shifts into one chart. Each stream has its own centre and its own MR̄; the pooled chart shows the difference between them as variation.
  6. Treating MR̄ as the process standard deviation. σ̂ = MR̄/1.128 estimates the short-term, neighbour-to-neighbour spread; the overall standard deviation of all the readings is a different estimate, and the two need not agree in either direction. When they differ, the sequence of readings explains why; the Cpk vs Ppk guide is built on that comparison.

Further reading