What Is an SPC Control Chart (X̄-R, p, np, u, c) and How Do You Use It?

Statistical Process Control (SPC) control charts are one of the most powerful tools in quality engineering. They let you monitor a process in real time, distinguish between normal variation and special-cause variation, and know exactly when to act—and when to leave the process alone. This article explains what SPC control charts are, how the main types work, and how to interpret them using the classic rules from the AIAG SPC Manual and ISO 7870-2.

What It Is

An SPC control chart is a time-ordered graph of a process statistic (such as a mean, range, or count) with a center line and two control limits. The control limits are set at ±3 standard deviations (σ) from the center line, based on the process's own variation. As long as the plotted points fall randomly within the control limits, the process is said to be "in statistical control." If a point falls outside the limits, or if points follow a non-random pattern, the process is "out of control"—meaning a special cause of variation is present and should be investigated.

The method was developed by Walter Shewhart in the 1920s and is formalized in the AIAG SPC Manual (2nd Ed.) and ISO 7870-2. The key idea: ±3σ limits balance the risk of false alarms (about 0.27% for a normal distribution) against the risk of missing real shifts.

How It Works: Main Chart Types and Formulas

Choose the chart based on your data type and subgroup size.

Chart | Use when | Statistic plotted | Control limits (UCL/LCL)
  • X̄-R | Continuous data, subgroup size n ≤ 8 | Subgroup mean and range | X̄ ± A₂R̄; D₃R̄, D₄R̄
  • X̄-s | Continuous data, subgroup size n > 8 | Subgroup mean and standard deviation | X̄ ± A₃s̄; B₃s̄, B₄s̄
  • p | Defective (nonconforming) units, variable subgroup size | Proportion defective | p̄ ± 3√(p̄(1−p̄)/n)
  • np | Defective units, constant subgroup size | Number defective | np̄ ± 3√(np̄(1−p̄))
  • u | Defects per unit, variable area of opportunity | Defects per unit | ū ± 3√(ū/n)
  • c | Defects per unit, constant area of opportunity | Number of defects | c̄ ± 3√(c̄)


Constants (A₂, D₃, D₄, A₃, B₃, B₄) are standard Shewhart factors tabulated in AIAG SPC Manual and ISO 7870-2. For example, for n = 5: A₂ = 0.577, D₃ = 0, D₄ = 2.114.

Interpretation rules (from AIAG / Western Electric runs rules): the process is out of control if any of the following occurs:
  1. A point falls outside the ±3σ control limits.
  2. 2 of 3 consecutive points fall beyond the same 2σ zone.
  3. 4 of 5 consecutive points fall beyond the same 1σ zone.
  4. 8 consecutive points fall on one side of the center line.
  5. 6 consecutive points steadily increase or decrease.
  6. 14 consecutive points alternate up and down.


A Worked Illustrative Example

Example data (illustrative only). Suppose you monitor the diameter (mm) of machined pins. You take subgroups of n = 5 every hour. After 20 subgroups, you calculate:
  • Grand mean X̄̄ = 10.00 mm
  • Average range R̄ = 0.020 mm


For n = 5, A₂ = 0.577. The control limits for the X̄ chart are:
  • UCL = X̄̄ + A₂R̄ = 10.00 + 0.577 × 0.020 = 10.0115 mm
  • LCL = X̄̄ − A₂R̄ = 10.00 − 0.577 × 0.020 = 9.9885 mm


For the R chart:
  • UCL = D₄R̄ = 2.114 × 0.020 = 0.0423 mm
  • LCL = D₃R̄ = 0 × 0.020 = 0 mm


Plot the subgroup means and ranges. If subgroup #7 has a mean of 10.013 mm, it exceeds the UCL (10.0115) → the process is out of control. Stop and investigate: tool wear? Material change? Operator error? Do not adjust the process for random noise—only for special causes.

Common Pitfalls

  • Mixing up control limits and specification limits. Control limits come from the process; specifications come from the customer. A process can be in control yet still produce out-of-spec parts (low capability).
  • Using X̄-R for large subgroups. For n > 8, use X̄-s; the range becomes inefficient as n grows.
  • Ignoring runs rules. A process can be out of control even when all points are inside the limits—look for trends, shifts, and cycles.
  • Recalculating limits too often. Only recalculate after you have removed special causes and confirmed the process is stable. Otherwise you "chase" the process.


Take the Next Step

Ready to build your own control charts? Use the free SPC tool at https://www.6sq.com/tools/spc/ to enter your data, generate X̄-R, p, np, u, or c charts instantly, and apply the AIAG/Shewhart rules automatically.
Invited:

0 replies, guests cannot view replies. For more features, please log in or register