What Is X-bar and R Chart?

Definition

An X-bar and R Chart is a pair of control charts for measured data collected in small subgroups. The X-bar chart tracks the average of each subgroup and the R chart tracks its range, so you can see shifts in both the process centre and its spread.

X-bar and R Chart in Simple Terms

Every so often an operator measures a small group of consecutive parts, usually 3 to 5. The average goes on the top chart and the range (largest minus smallest) goes on the bottom chart. It is one of the most widely used charts in SPC.

Use it when you have variable data and subgroups of up to about 8 to 10. For larger subgroups an X-bar and S chart is preferred, and for single readings an I-MR chart.

How to Calculate It

  1. Collect at least 20 to 25 subgroups of the same size n.
  2. Work out each subgroup average (X-bar) and range (R).
  3. Average them to get X-double-bar and R-bar, the centre lines.
  4. Calculate the control limits: X-bar chart limits are X-double-bar plus or minus A2 x R-bar; R chart limits are D3 x R-bar and D4 x R-bar.
  5. Plot new subgroups and react to signals.

Example

A turning cell measures 5 shafts every hour. The R chart stays steady, but the X-bar chart shows seven points in a row above the centre line. The spread has not changed, but the average has moved, which points to tool wear or an offset rather than a loose fixture. The operator adjusts the offset and the points return to the centre.

Common Mistakes

  • Reading the X-bar chart while the R chart is out of control; check the R chart first.
  • Mixing parts from different machines or cavities in one subgroup.
  • Using specification limits instead of calculated control limits.

The OperaHive SPC software provides X-bar, R, S and I-MR charts with alert rules. Our SPC and Cpk guide covers the topic in more depth.

FAQ

Frequently Asked Questions

Still unsure? Ask our team.

What is an X-bar and R chart?

An X-bar and R chart is a pair of control charts for variable data. The X-bar chart tracks the subgroup average and the R chart tracks the subgroup range.

X-bar R chart vs X-bar S chart: what is the difference?

Both track the subgroup average. The R chart uses the range to measure spread and suits small subgroups; the S chart uses the standard deviation and suits larger subgroups.

What subgroup size should I use for an X-bar and R chart?

Subgroups of 4 or 5 consecutive parts are the most common choice. They are small enough to collect quickly and large enough to detect shifts.

How do you calculate control limits for an X-bar R chart?

For the X-bar chart, limits are X double bar plus or minus A2 x R bar. For the R chart, UCL = D4 x R bar and LCL = D3 x R bar.

What are the A2, D3 and D4 constants?

They are standard SPC constants that depend on subgroup size. For a subgroup of 5, A2 is 0.577, D3 is 0 and D4 is 2.114.

Which chart should you read first, X-bar or R?

Read the R chart first. If the range is out of control, the X-bar limits are not reliable because they are calculated from the average range.

When should you use an X-bar R chart?

Use it for measured data such as length, weight or diameter when you can take small rational subgroups, typically of 2 to 9 parts, at regular intervals.

What is an X-bar R chart example?

A plant measures 5 shaft diameters every hour, plots each average on the X-bar chart and each range on the R chart, and reacts to any point outside the limits.

X-bar R chart vs I-MR chart: what is the difference?

An X-bar R chart uses subgroups of several parts. An I-MR chart plots individual values and moving ranges, and is used when only one measurement per period is practical.

What software creates X-bar and R charts?

SPC software and statistics tools calculate limits and plot X-bar and R charts automatically, and can flag out-of-control points as data is entered.

Put X-bar and R Chart Into Practice

Book a demo and see how OperaHive handles this on your own parts, processes and documents.