X-bar R Chart (Mean and Range)
Monitor a process using small subgroups of measurements. The X-bar and R chart tracks the subgroup mean and range together, computing control limits from the data so you can tell real process shifts from ordinary variation.
Create X-bar R Chart →What is an X-bar R Chart?
An X-bar and R chart is a pair of control charts used together to monitor a process with continuous (variable) data collected in small subgroups. The X-bar chart tracks the average of each subgroup, monitoring the process center, while the R chart tracks the range within each subgroup, monitoring the process spread.
The two charts must be read together, and in a specific order. Because the control limits of the X-bar chart are calculated from the average range, the R chart must be in control first; if the within-subgroup variation is unstable, the X-bar limits are not trustworthy. Assess the R chart, then the X-bar chart.
The X-bar R chart is the standard choice for subgroup sizes from about 2 to 9. For these small subgroups, the range is a simple and efficient measure of spread. For larger subgroups the standard deviation becomes more efficient, which is when the X-bar S chart is preferred instead.
In plain terms: You take small batches of measurements (say 5 at a time), and this chart watches two things: whether the average is drifting, and whether the spread is changing. You read the range chart first, because if the spread is unstable, the average chart can't be trusted. Control limits come from your own data, not the spec.
The Two Charts
X-bar Chart (Center)
Plots the mean of each subgroup to monitor the process center. Its control limits depend on the average range, so the R chart must be stable first.
R Chart (Spread)
Plots the range (max minus min) within each subgroup to monitor process variation. Read this chart first.
When to Use
Best for small subgroups, about 2 to 9. For larger subgroups, the X-bar S chart is more efficient.
Key Formulas
Reading the Charts
Assess the R chart first. If it is out of control, the within-subgroup variation is unstable and the X-bar chart's limits, which are derived from the average range, cannot be trusted. Only once the R chart is stable do you interpret the X-bar chart.
On both charts, look not just for points beyond the control limits but for non-random patterns, runs, trends, or cycles, using the Western Electric or Nelson rules. A point outside the limits or a pattern signals a special cause that has entered the process and should be investigated.
Assumptions & Validation
Variable Data in Subgroups
The data is continuous and collected in rational subgroups.
If violated: For attribute data use a P, NP, C or U chart; for individual values use an XmR chart.
Rational Subgrouping
Subgroups are formed so that within-subgroup variation reflects only common causes.
If violated: Re-examine how subgroups are formed; poor subgrouping distorts the limits.
Adequate Subgroups
Enough subgroups (commonly 20 to 25) to estimate limits reliably.
If violated: Collect more subgroups before fixing the limits.
⚠️ Check assumptions first
Always interpret the R chart before the X-bar chart. Because the X-bar control limits are calculated from the average range, an out-of-control R chart makes the X-bar limits meaningless. A common mistake is reacting to the X-bar chart while the spread is still unstable. Also remember control limits are calculated from the process data, not from specification limits, being in control is not the same as meeting spec.
When NOT to Use X-bar R Chart
Larger Subgroups
For subgroups of about 10 or more, the X-bar S chart uses the standard deviation and is more efficient.
Individual Measurements
When data comes one value at a time with no subgroups, use an XmR chart.
Attribute Data
For counts or proportions of defects, use a P, NP, C or U chart.
Industry Applications
Manufacturing SPC
Monitor a machined dimension or fill weight sampled in small subgroups over time.
Process Stability
Confirm a process is in statistical control before assessing its capability.
Improvement Verification
Check that an improvement has shifted the mean or reduced variation and held.
Ongoing Control
Sustain a process in the Control phase by detecting special causes early.
Frequently Asked Questions
What is the difference between the X-bar chart and the R chart?
The X-bar chart plots the mean of each subgroup to monitor the process center, while the R chart plots the range within each subgroup to monitor the process spread. They are used together because a process can shift in its average, its variation, or both. The R chart must be read first, since the X-bar chart's control limits are calculated from the average range.
Why must I read the R chart before the X-bar chart?
The control limits of the X-bar chart are calculated using the average range from the R chart. If the R chart is out of control, the within-subgroup variation is unstable, so the estimate of spread used for the X-bar limits is unreliable and those limits cannot be trusted. Only once the R chart shows the spread is stable do the X-bar chart's limits become meaningful.
When should I use an X-bar R chart instead of an X-bar S chart?
Use the X-bar R chart for small subgroups, roughly 2 to 9 measurements each, where the range is a simple and efficient measure of spread. For larger subgroups, about 10 or more, the sample standard deviation becomes a more efficient and accurate measure of variation, so the X-bar S chart is preferred. The subgroup size is the main factor in choosing between them.
Are control limits the same as specification limits?
No. Control limits are calculated from the process data itself and describe the range of variation the process naturally produces when only common causes are present. Specification limits come from customer or engineering requirements. A process can be in statistical control, within its control limits, yet still fail to meet specifications, which is why control charts and capability analysis answer different questions.
What is rational subgrouping?
Rational subgrouping is the practice of forming subgroups so that the variation within a subgroup reflects only common-cause variation, while differences between subgroups can reveal special causes. Typically this means taking measurements close together in time or from the same source. Poor subgrouping, mixing different conditions within a subgroup, distorts the control limits and undermines the chart's ability to detect real shifts.
How many subgroups do I need to set up the chart?
A common guideline is to collect at least 20 to 25 subgroups before calculating control limits, so that the estimates of the process center and spread are stable. Setting limits from too few subgroups makes them unreliable and prone to change as more data arrives. Once established from adequate data, the limits can be fixed and used to monitor ongoing production.
Monitor Mean and Spread With Small Subgroups
Build an X-bar R chart with control limits and signal detection. Free during Beta.
Create X-bar R Chart →