To pick a control chart, answer two questions: is your data measured or counted, and how do you sample it? Measurements go on I-MR, X-bar & R, or X-bar & S charts by subgroup size; counts go on p, np, c, or u charts by defectives-versus-defects and sample size. That is the whole decision.

Choosing the wrong chart is the most common and most avoidable mistake in statistical process control. The wrong chart gives you limits that are too wide, so real problems hide, or too tight, so a stable process screams every shift. The good news is the decision is short and mechanical. Walk the two questions below in order and the chart picks itself, every time.

Which control chart should you use?

Start with the data type, then the sampling. Answer these in order:

  1. Is the data variable or attribute? Variable (or continuous) data is measured on a scale: diameter, weight, temperature, torque, time. Attribute data is counted: pass or fail, number of flaws. Variable data carries far more information per sample, so prefer it whenever the gauge gives you a real number.
  2. For variable data, how many pieces are in a subgroup? One value at a time points to an I-MR chart. Small subgroups of two to nine consecutive pieces point to X-bar & R. Subgroups of ten or more point to X-bar & S, where the standard deviation replaces the range.
  3. For attribute data, are you counting defective units or defects? A unit is defective when it passes or fails as a whole (one verdict per unit). A unit carries defects when it can have several flaws and still be counted (scratches on a panel, errors on a form). Defective units point to p or np; defect counts point to c or u.
  4. Is the sample size constant or does it vary? Constant sample size allows the simpler np (defectives) or c (defects) chart. Varying sample size requires p (proportion defective) or u (defects per unit), which recompute the limits for each sample.
  5. Check your subgrouping logic. A subgroup must capture only short-term variation within one stream: consecutive parts from one line, not a mix of four cavities or three shifts. Get this wrong and no chart type will save you; the limits will be meaningless.
Two questions choose the control chart Two questions, then you have your chart Q1: MEASURED OR COUNTED? MEASURED (variable) COUNTED (attribute) Q2: subgroup size? I-MR n = 1 X̄-R n = 2-9 X̄-S n ≥ 10 Q2: defectives or defects? np n fixed p n varies c n fixed u n varies np + c need a constant sample size; p + u handle a changing one. Data type first. Sampling second. Done.
The whole selection collapses to two questions per branch: data type, then how you sample it.

Variable or attribute: why the first question matters most

The variable-versus-attribute split decides more than which formula you use; it decides how much the chart can see. A measured value tells you not just whether a part passed but by how much, and how the process is trending toward a limit before anything fails. A pass/fail count throws that away. In practice a variables chart can detect a process shift from a handful of parts, while an attribute chart may need hundreds of units per sample to notice the same shift. So the rule of thumb is blunt: if the gauge gives you a number, chart the number. Only drop to attribute charts when the characteristic really is a judgment (present or absent, conforming or not) or when measuring every feature is genuinely impractical. The deeper trade-off is laid out in attribute vs. variable inspection.

Information per sample: measured value versus pass/fail count Why measured data wins the first question MEASURED VALUE (variable) rich info per part · detects a shift in ~5 parts HIGH PASS / FAIL COUNT (attribute) sparse info needs hundreds of units for the same shift Keep the measurement whenever the gauge gives you one.
One measured value carries far more information than one pass/fail verdict, which is why a variables chart catches shifts a huge attribute sample would miss.

That information gap is the reason the first question matters more than any other. Choosing attribute data when a measurement was available does not just change the chart; it blinds the chart, forcing you to inspect far more units to learn far less. The rest of the decision tree only refines a choice you have already half-made by deciding what to record at the gauge.

ChartDataSubgroup / sampleUse it for
I-MRVariable1 (individuals)Batch parameters, destructive tests, slow processes: one value per period
X-bar & RVariable2-9 per subgroupMachined dimensions and fill weights: small samples of consecutive parts
X-bar & SVariable10+ per subgroupHigh-volume automated measurement where big subgroups are cheap
pAttribute (defectives)VariesProportion of defective units when lot or shift sizes change
npAttribute (defectives)ConstantCount of defective units in a fixed-size sample
cAttribute (defects)Constant unitDefects per fixed unit: flaws per panel, errors per form
uAttribute (defects)VariesDefects per unit when the amount inspected changes

How do you choose among the variable charts?

Once you know the data is measured, subgroup size is the only lever. If you can only get one value at a time, because the test is destructive, the batch has a single parameter, or the process is slow, use an individuals and moving-range (I-MR) chart. It plots each value and the moving range between consecutive points. It is the safe workhorse for one-at-a-time data, at the cost of being slower to catch small shifts.

If you can pull a small handful of consecutive parts at intervals, use an X-bar & R chart. Averaging two to nine pieces tightens the signal and catches shifts faster than individuals. Once subgroups reach ten or more, the range stops using the data efficiently, so switch to X-bar & S and let the standard deviation track spread. One principle spans all three: every variables chart is really two charts, one for location and one for spread. Read the spread chart first, because if the spread is unstable the location limits cannot be trusted.

How do you choose among the attribute charts?

For counted data, two questions decide it. First, are you counting bad units or bad spots? If each unit is simply good or bad, you are tracking defectives, which follow p and np charts. If a unit can carry several independent flaws, you are tracking defects, which follow c and u charts. Second, does the amount you inspect stay the same each time? A fixed sample size lets you use the count-based np or c chart. A changing sample size forces the rate-based p or u chart, which adjusts the limits for each sample so a bigger sample does not fake a signal. When defects are what you count and the inspection unit is constant, the c-chart is the natural home; when the inspected area changes, move to u.

What are the three most common selection mistakes?

Most bad charts come from three errors, none of them about the math:

What do the numbers say about control charts?

The method is old, settled, and still the backbone of SPC:

What comes after you pick the chart?

Picking the chart is step one; running it is the rest. Once a variables chart shows sustained control, the next question is whether the stable process actually fits the spec, which is where Cp and Cpk take over. The control chart is one of the seven basic quality tools and it only pays off if the data reaching it is captured cleanly. That last part is where most plants lose the plot: readings live on paper check sheets that never become chartable data, so the chart is always a week behind the floor. Harmony connects machines, software, and paperwork into one operational layer with no rip-and-replace, so a reading typed at the station becomes structured, chartable data the moment it is written, feeding the same quality trends your reporting needs. CLS made that move for production logging, and the live visibility that follows turns a paper backlog into a signal you can act on the same shift. Pick the right chart, capture the data cleanly, and the statistics do the rest.