Control Charts Explained: Types, Rules, and How to Build One Step by Step

June 10, 2026

Featured image for control charts article on PPAP Documents

TLDR

Control charts are graphical tools used in Statistical Process Control (SPC) to monitor whether a process is stable and predictable over time. They plot measured data against statistically calculated control limits to distinguish normal variation from signals that something has changed.

This guide covers the major control chart types (X-bar R, X-bar S, p-chart, c-chart), when to use each, the out-of-control rules, and a step-by-step walkthrough for building your first control chart.

Why Control Charts Exist

Every manufacturing process has variation. The question is not whether variation exists but whether it is stable and predictable. A process that varies within consistent, expected limits is said to be “in control.” A process showing unusual patterns or points beyond its natural limits is “out of control” and needs attention.

Control charts give you the ability to make this distinction visually and statistically. Developed by Walter Shewhart at Bell Laboratories in the 1920s, they remain the primary tool for real-time process monitoring in manufacturing. If you are running any kind of SPC program, control charts are the foundation.

How a Control Chart Works

A control chart plots individual data points or subgroup statistics (such as averages or ranges) in time order. Three horizontal reference lines are drawn on the chart.

Center Line (CL): The overall average of the data, representing the process mean.

Upper Control Limit (UCL): Typically set at 3 standard deviations above the center line.

Lower Control Limit (LCL): Typically set at 3 standard deviations below the center line.

These control limits are calculated from the process data itself. They are not specification limits. This is a critical distinction. Control limits tell you what the process is actually doing. Specification limits tell you what the customer requires. A process can be in statistical control but still not meet specifications, and vice versa.

Types of Control Charts

Control charts fall into two broad categories: variable charts (for measured, continuous data) and attribute charts (for counted, categorical data). The right chart depends on the type of data you are collecting.

X-Bar and R Chart (Variable Data)

The X-bar and R chart is the most commonly used control chart in manufacturing. It tracks the average (X-bar) and range (R) of small subgroups, typically 2 to 9 parts sampled at regular intervals.

When to use it: You are measuring a continuous variable (length, weight, temperature) and collecting subgroups of 2 to 9 samples. This is the default choice for most SPC applications in automotive manufacturing.

The X-bar chart monitors the process average over time. The R chart monitors the within-subgroup variation. You always use both charts together because a shift in the average or a change in variation are two different types of process problems.

X-Bar and S Chart (Variable Data)

The X-bar and S chart works the same way as the X-bar and R chart, but it uses the standard deviation (S) instead of the range (R) to measure within-subgroup variation.

When to use it: Your subgroup size is 10 or more. The range becomes a less efficient estimator of variation as the subgroup size increases. The standard deviation provides a more accurate and statistically efficient measure for larger subgroups.

p-Chart (Attribute Data)

The p-chart tracks the proportion of defective units in each sample. Each unit is classified as either conforming or nonconforming.

When to use it: You are counting the number of defective parts out of a sample and your sample size may vary. Common applications include final inspection pass/fail rates and visual inspection results.

c-Chart (Attribute Data)

The c-chart tracks the count of defects per unit when the sample size (area of opportunity) is constant.

When to use it: You are counting the total number of defects on each unit (scratches per panel, solder defects per circuit board) and the inspection area is the same each time. If the area of opportunity varies, use a u-chart instead.

How to Build an X-Bar and R Chart Step by Step

The X-bar and R chart is the workhorse of SPC. Here is how to set one up from scratch.

Step 1: Define the Characteristic and Sampling Plan

Select the measurement you want to monitor. Define your subgroup size (commonly 5 parts) and sampling frequency (such as every hour or every 50 parts). Ensure your measurement system has been validated through a Measurement System Analysis (MSA).

Step 2: Collect Initial Data

Collect at least 20 to 25 subgroups of data before calculating control limits. This gives you enough data to establish reliable limits. Record the individual measurements for each subgroup.

Step 3: Calculate Subgroup Statistics

For each subgroup, calculate the average (X-bar) and the range (R). The range is simply the maximum value minus the minimum value within the subgroup.

Step 4: Calculate the Grand Average and Average Range

Calculate X-double-bar (the average of all subgroup averages) and R-bar (the average of all subgroup ranges). These become the center lines for your two charts.

Step 5: Calculate Control Limits

For the X-bar chart: UCL = X-double-bar + (A2 x R-bar) and LCL = X-double-bar – (A2 x R-bar). For the R chart: UCL = D4 x R-bar and LCL = D3 x R-bar. The constants A2, D3, and D4 come from standard SPC tables and depend on your subgroup size.

Step 6: Plot and Monitor

Plot the center lines and control limits. Plot each subgroup’s average and range as you collect new data. Apply the out-of-control rules (covered below) to determine whether the process is stable.

Out-of-Control Rules

A point beyond the upper or lower control limit is the most obvious out-of-control signal. But it is not the only one. The Western Electric Rules and Nelson Rules define additional patterns that indicate a process has shifted or is trending, even if all points remain within the control limits.

The most commonly applied rules include: one point beyond a 3-sigma control limit, eight consecutive points on the same side of the center line, six consecutive points trending in one direction, and two out of three consecutive points beyond 2 sigma on the same side. Each of these patterns has a different root cause implication and calls for investigation.

For a detailed breakdown of all eight rules and what each signal means, see the full guide on how to read a control chart.

Control Limits vs. Specification Limits

This is the single most misunderstood concept in SPC. Control limits and specification limits are not the same thing.

Specification limits are defined by the customer or engineering drawing. They represent the acceptable range for the product.

Control limits are calculated from the process data. They represent the natural behavior of the process.

Never draw specification limits on a control chart. Doing so conflates two different questions. The control chart answers: “Is the process stable?” Process capability answers: “Is the stable process capable of meeting specifications?” These are separate analyses that must be performed in sequence.

Choosing the Right Control Chart

Use this decision logic to select the correct chart for your situation.

If you are measuring a continuous variable with subgroups of 2 to 9, use X-bar and R. If subgroups are 10 or more, use X-bar and S. If you are counting defective units with varying sample sizes, use a p-chart. If you are counting defects per unit with a constant sample size, use a c-chart.

For individual measurements (subgroup size of 1), use an Individuals and Moving Range (I-MR) chart. This is common in low-volume or batch processes where you cannot form rational subgroups.

Frequently Asked Questions

What is the purpose of a control chart?

A control chart distinguishes between common cause variation (the natural, expected variation in a process) and special cause variation (unusual events that change the process). It tells you when to investigate and when to leave the process alone.

How many data points do you need before calculating control limits?

You need a minimum of 20 to 25 subgroups to calculate reliable control limits. Fewer data points produce limits that are too sensitive to early variation and may not represent the true process behavior.

What do you do when a point is out of control?

Investigate the assignable cause. Determine what changed in the process (material, machine, method, operator, environment) at the time of the out-of-control signal. Document the cause and the corrective action taken.

Should specification limits appear on a control chart?

No. Specification limits and control limits answer different questions. Placing spec limits on a control chart confuses process stability with process capability. Keep them separate.

What is the difference between an X-bar R chart and an X-bar S chart?

Both monitor the process average, but they differ in how they measure within-subgroup variation. The R chart uses the range; the S chart uses the standard deviation. Use the S chart when your subgroup size is 10 or more, as the range becomes less efficient with larger subgroups.

When should you recalculate control limits?

Recalculate control limits when you have made a deliberate, permanent change to the process (new tooling, new material, process improvement) and have collected enough data under the new conditions to establish new limits. Do not recalculate simply because a point went out of control.

Can you use control charts for low-volume production?

Yes. For low-volume processes where rational subgroups are not practical, use an Individuals and Moving Range (I-MR) chart. Each data point is a subgroup of one. This is common in job shop and batch manufacturing environments.

Stay Current on Automotive Quality

PPAP updates, GD&T guidance, and practical quality resources delivered to your inbox. No spam, just what quality professionals need to know.

Subscribe

Leave a Comment

Receive our latest podcasts in your inbox

testimonial testimonial testimonial
Join over 25,000 subscribers

Replace this mock optin form with your preferred form plugin

Email Address

Sign Up