What are X Bar R Control Charts?
X Bar R control charts are a pair of control charts for continuous data collected in small subgroups of 2 to about 10 measurements. The X bar chart plots each subgroup average to track the process mean. The R chart plots each subgroup range to track the spread. The control limits are X̄̄ ± A₂ × R̄ for the X bar chart, and D₃ × R̄ to D₄ × R̄ for the R chart.
Studying for a Green Belt or Black Belt exam? Try a free practice exam
X Bar R charts are widely used control charts for variable data to examine process stability in many industries (e.g., hospital patients’ blood pressure over time, customer call handle times, length of a part in a production process).
Choose the right control chart for your data. Otherwise, your control limits won’t be accurate.

Use an X-bar R chart to monitor a process with continuous data. First, collect subgroups at set times. Then, plot the process mean and variation over time on two charts. This is an example of statistical process control. These combination charts help to understand the stability of processes and detect special-cause variation.
The cumulative sum (CUSUM) and exponentially weighted moving average (EWMA) charts also monitor the process mean. However, unlike the X bar chart, they use earlier subgroup means at each point. As a result, they catch small shifts sooner.
X Bar R Control Chart Definitions
X bar chart: The mean or average change in a process over time from subgroup values. The control limits on the X̄ consider the sample’s mean and center.
R chart: The range of the process over time from subgroup values. This monitors the spread of the process over time.
Notation Used in X-bar R Charts
- m = Number of subgroups
- n = Number of observations per subgroup
- X̄ = Mean of one subgroup
- X̄̄ = Grand mean (average of all X̄ values)
- R = Range of one subgroup
- R̄ = Average range (average of all R values)
For example, if you measure 5 parts each day for 25 days:
- n = 5
- m = 25
Use X Bar R Control Charts When:
- You want to separate common-cause variation from special causes over time. Even a stable process has some common-cause variation.
- You can assume the data is normally distributed.
- Use an X-bar R chart for rational subgroups of 2 to about 10 measurements. For a subgroup size of one, use an I-MR chart instead.
- Consider the X Bar S Control chart once the subgroup size is more than about 10. Montgomery gives n above 10 or 12. The sample standard deviation uses every value in the subgroup, so it holds up better than the range as subgroups get larger.
- Your data is continuous (for example, length or weight) and collected in time order.
How to Interpret the X Bar R Control Charts
- To correctly interpret an X-bar R chart, always examine the R chart first.
- The X bar chart control limits come from R bar (the average range). Therefore, if the R chart is out of control, the X bar chart limits aren’t accurate.
- If the points in the R chart are out of control, stop the process. Identify the special cause and address the issue. Then, remove those subgroups from the calculations.
- Once the R chart is in control, compare the points on the X bar chart with its control limits. Then, use the Western Electric and Nelson rules to spot runs and trends inside the limits.
- Compare the points with the control limits, not the specification limits. The customer or management sets the specification limits. In contrast, control limits come from the subgroup averages and ranges.
- Process capability studies should wait until the X bar and R chart values are within the control limits. Otherwise, the process is unstable and the results mean little.
Steps to follow for X bar R chart
The objective of the chart and subgroup size
- Determine the aim of the chart and choose the essential variables.
- Choose the appropriate subgroup size and the sampling frequency.
- Collect a minimum of 20 to 25 sets of samples in the time sequence.
Example: In the manufacturing industry, plate thickness is one of the CTQ factors. During the Measure phase, the project team performed the process capability study and identified that the process was not capable (less than two sigmas). In the Analyze phase, they collected 20 sets of plate thickness samples with a subgroup size of 4.

Compute X̄ and R values.
- First, find the average of each subgroup (X-bar). Then, find the grand average of all the X-bar values. This is the center line for the X-bar chart.
- Next, find the range (R) of each subgroup. Then, find the average of all the ranges (R bar). This is the center line for the R chart.

Determine the Control Limits
- First, use the initial set of subgroups to estimate the process mean and standard deviation. Then, use those values to set the control limits for both charts.

- The process should be in control early in production. If any points are out of control during this phase, find the special causes. Then, remove those subgroups before you calculate the limits.
- On a production chart, a point outside the limits is a special cause to investigate. However, the X bar chart in a gage R&R study reads the other way. There, most part averages should fall outside the limits. Identify the appropriate Measurement System Evaluation (MSE).
Control limit formulas

- Where
- X is the individual value (data)
- n is the sample size (subgroup size)
- X̄ is the average reading in a sample
- R is the Range, in other words, the difference between the largest and smallest value in each sample.
- R-bar is the average of all the ranges.
- UCL is the Upper control limit
- LCL is the Lower control limit
X bar chart control limits:
UCL = X̄̄ + A₂ × R̄
LCL = X̄̄ − A₂ × R̄
R chart control limits:
UCL = D₄ × R̄
LCL = D₃ × R̄
A₂, D₃, and D₄ are control chart constants that depend on the subgroup size n. See the constants table below. Let m represent the number of subgroups collected and n the number of observations per subgroup.
Full table for n = 2 to 25, with c4, d3, E2 and a CSV download: Control Chart Constants.
Control chart constants
Use the approximate constants below to calculate the control limits for X-bar R charts and other control charts. First, find the row for your subgroup size.

| Subgroup size (n) | A2 | A3 | d2 | D3 | D4 | B3 | B4 |
|---|---|---|---|---|---|---|---|
| 2 | 1.880 | 2.659 | 1.128 | – | 3.267 | – | 3.267 |
| 3 | 1.023 | 1.954 | 1.693 | – | 2.574 | – | 2.568 |
| 4 | 0.729 | 1.628 | 2.059 | – | 2.282 | – | 2.266 |
| 5 | 0.577 | 1.427 | 2.326 | – | 2.114 | – | 2.089 |
| 6 | 0.483 | 1.287 | 2.534 | – | 2.004 | 0.030 | 1.970 |
| 7 | 0.419 | 1.182 | 2.704 | 0.076 | 1.924 | 0.118 | 1.882 |
| 8 | 0.373 | 1.099 | 2.847 | 0.136 | 1.864 | 0.185 | 1.815 |
| 9 | 0.337 | 1.032 | 2.970 | 0.184 | 1.816 | 0.239 | 1.761 |
| 10 | 0.308 | 0.975 | 3.078 | 0.223 | 1.777 | 0.284 | 1.716 |
| 11 | 0.285 | 0.927 | 3.173 | 0.256 | 1.744 | 0.321 | 1.679 |
| 12 | 0.266 | 0.886 | 3.258 | 0.283 | 1.717 | 0.354 | 1.646 |
| 13 | 0.249 | 0.850 | 3.336 | 0.307 | 1.693 | 0.382 | 1.618 |
| 14 | 0.235 | 0.817 | 3.407 | 0.328 | 1.672 | 0.406 | 1.594 |
| 15 | 0.223 | 0.789 | 3.472 | 0.347 | 1.653 | 0.428 | 1.572 |
| 16 | 0.212 | 0.763 | 3.532 | 0.363 | 1.637 | 0.448 | 1.552 |
| 17 | 0.203 | 0.739 | 3.588 | 0.378 | 1.622 | 0.466 | 1.534 |
| 18 | 0.194 | 0.718 | 3.640 | 0.391 | 1.608 | 0.482 | 1.518 |
| 19 | 0.187 | 0.698 | 3.689 | 0.403 | 1.597 | 0.497 | 1.503 |
| 20 | 0.180 | 0.680 | 3.735 | 0.415 | 1.585 | 0.510 | 1.490 |
| 21 | 0.173 | 0.663 | 3.778 | 0.425 | 1.575 | 0.523 | 1.477 |
| 22 | 0.167 | 0.647 | 3.819 | 0.434 | 1.566 | 0.534 | 1.466 |
| 23 | 0.162 | 0.633 | 3.858 | 0.443 | 1.557 | 0.545 | 1.455 |
| 24 | 0.157 | 0.619 | 3.895 | 0.451 | 1.548 | 0.555 | 1.445 |
| 25 | 0.153 | 0.606 | 3.931 | 0.459 | 1.541 | 0.565 | 1.435 |
Excel template and worked example
Refer to common factors for various control charts.
Free download: X-bar and R chart Excel template (.xlsx). Enter your subgroups; it looks up A2, D3, D4 and d2, computes the limits and draws both charts.
Example cont: In the above example, n=4


The same calculation in text. For n = 4, A₂ = 0.729 and D₄ = 2.282. There is no D₃ below n = 7, so the R chart LCL is 0. X bar chart: UCL = 29.87 + 0.729 × 11.85 = 38.51 and LCL = 29.87 – 0.729 × 11.85 = 21.23. R chart: UCL = 2.282 × 11.85 = 27.04. The image rounds the constants to two decimals, so its limits differ slightly.
To get these limits from your own subgroups, paste them into the free control limits calculator, which uses the same A2, D3 and D4 constants.
Interpret X bar and R chart
- Plot both the X bar and R charts. Then, look for assignable causes.
Example Cont: Use the above values and plot the X bar and Range chart

The X-bar and R charts show that most of the values are out of control. Therefore, the process is not stable.
Monitor the process after improvement.
- Once the process stabilizes and control limits are in place, monitor the process performance over a set period.
Example cont: Control Phase: Once the process is improved and matured, the team identifies the X-bar R chart as one of the control methods in the Control plan, which is used to monitor process performance over time.
The following are the measurement values in the Control phase of the project.

Compute X-bar and Range


In text: X bar chart UCL = 24.6 + 0.729 × 4.25 = 27.70 and LCL = 24.6 – 0.729 × 4.25 = 21.50. R chart UCL = 2.282 × 4.25 = 9.70 and LCL = 0.

Both the X-bar and R charts clearly show that the process is almost stable. However, one value is out of control during the initial phase, so the team has to perform a root cause analysis for the special cause. It also seems that the process is smoothing out from data set number 16. If that continued, the chart would need new control limits from that point.
Once both charts are in control, estimate the process standard deviation as σ = R̄ / d₂. Here σ = 4.25 / 2.059 = 2.06. Use that σ to calculate Cp and Cpk.
- Once the process is stable, keep watching the chart. If a point falls outside the limits, look for a special cause and address it.
https://www.youtube.com/watch?v=djEMQLS7VCc
Preparing for an ASQ Six Sigma exam? Get the ASQ Formula Reference Sheet.
Every formula from Measure, Analyze, and Control organized by ASQ's own BOK phases: descriptive stats, hypothesis tests, regression, capability indices, control charts. ASQ exams are open book, so print it and bind it with your exam references. Enter your email and I'll send it now.
You'll also get my weekly Six Sigma newsletter. Unsubscribe anytime.
Related Control Charts
X-bar R charts are for continuous (variable) data. If you are working with attribute data instead, see the P chart (proportion of defective units) or the NP chart (number of defective units). To find out if a stable process can meet customer requirements, see Process Capability & Performance (Pp, Ppk, Cp, Cpk).
For a subgroup size of one, use the I-MR chart. If your subgroups are larger than about 10, use the X Bar S chart. The median control chart is a simpler option for hand charting. Short-run SPC charts handle small production runs, and PRE-Control is a quick setup check that uses the specification limits.
Important notes
- A process that is “in control” means that the process is stable and predictable.
- However, a stable process can still produce defects.
- Remember NEVER to put specifications on any control chart.
- The points on the X bar chart are averages, not individual values. In contrast, specification limits apply to individual values.
- If the chart shows specification limits, an operator might not react to an out-of-control point that falls within them.
- An X bar R chart helps you avoid unnecessary process adjustments.
X Bar R Control Chart Videos
When you’re ready, there are a few ways I can help:
First, join 12,000+ other Six Sigma professionals by subscribing to my email newsletter. A short read every Monday to start your work week off correctly. Always free.
* * *
If you’re looking to pass your Six Sigma Yellow Belt, Green Belt or Black Belt exam, I’d recommend starting with my affordable study guide:
1)→ 🟡Pass Your Six Sigma Yellow Belt: built for ASQ, IASSC and ILSSI, 1,700+ practice questions with explanations, and six full-length mock exams for your exam
2)→ 🟢Pass Your Six Sigma Green Belt: a study guide organized by the exam Body of Knowledge, 1,300+ practice questions with detailed answer explanations, and 20 full-length mock exams
3)→ ⚫Pass Your Six Sigma Black Belt: the full Black Belt Body of Knowledge, 2,200+ practice questions with detailed answer explanations, and 20 full-length mock exams
You’ve spent so much effort learning Lean Six Sigma. Why leave passing your certification exam up to chance? This comprehensive study guide offers 1,700+ exam-like questions for Yellow Belts, 1,300+ for Green Belts and 2,200+ for Black Belts with full answer walkthroughs, access to instructors, detailed study material, and more.
Thousands have used this system to prepare. Join them here.

Comments (39)
Can you provide a location of where all the constants for different control charts?
Here’s a good reference, Henry: http://web.mit.edu/2.810/www/files/readings/ControlChartConstantsAndFormulae.pdf
You state you want most of the points to be out of control on the X bar chart? Can you please tell me why that is?
Hi Brian,
Updated the article for greater clarity. Thanks for pointing that out!
Best, Ted.
Hi, if one or two points are out of the control limits does it mean the process is Not capable?
Kerubina,
I like the following quote:
Try this article for calculating process capability.
Applying the method of first video results totally different.
Hi Hung,
Can you share what you’re doing so I can see?
Best, Ted.
Sorry for late respond.
I took the data set of your first example
measure1 measure2 measure3 measure4
44 26 24 34
50 48 51 43
32 28 26 22
52 55 56 44
16 16 21 26
36 36 35 31
21 22 18 21
29 21 23 22
26 46 44 14
24 22 22 44
18 24 24 49
24 20 26 23
19 21 27 28
8 11 12 12
24 18 27 24
56 52 56 50
32 22 18 25
8 12 11 17
51 54 52 49
30 28 35 22
apply instruction in first video (https://www.youtube.com/watch?v=krowVMzxecI)
I calculated averages of each subgroup.
32
48
27
51.75
19.75
34.5
20.5
23.75
32.5
28
28.75
23.25
23.75
10.75
23.25
53.5
24.25
12
51.5
28.75
then estimated standard deviation of above 20 subgroup’s averages (in excel use formula STDEV.S(…))
I got 12.4605957870569
then calculated standard error of X.bar = 12.46/sqrt(n)= 12.46/sqrt(4)= 6.23
then UCL=X.doublebar+3* standard error of X.bar=29.875+3*6.23=48.566
your UCL by R.bar above is 38.5
Quite big gap, right?
Hung,
It looks like you are trying to calculate UCL just using the standard deviation. You need to use the values from the control chart constants table.
X Double Bar+ A2*R Bar = 29.875+ 0.729(11.89) = 38.51
yes, I calculated UCL using standard deviation, that’s instruction from the first video which Ramana PV attached to main topic.
I mean that 2 instructions from 2 video in main topic, one calculating by using standard deviation, one by using control chart constants table, lead to 2 different results.
Hung,
You make a good point, but I think it is important to remember, the writers of the Six Sigma exams are not out to tricky with multiple valid solution options. If there are multiple valid ways to solve a problem, only one will match an answer option you are given.
Question: I do not see it mentioned above, but why would and Xbar-R chart have gaps in the sample range section? I have not seen it before and am looking to see if anyone has a simple explanation to help me understand. Thank you
Dee,
I’m not sure what you mean here, can you elaborate?
Are you trying to interpret a control chart that has breaks in data? If so, perhaps the measurements were stopped for some period of time?
Best, Ted
Can you help me how to show the USL and LSL in the control chart in minitab software. Thanks so much.
Trung Nguyen, Vietnam.
Try this article here, Trung.
Trung – Very interesting request. Whenever I show people how to add specification limits to a control chart, I do so to demonstrate why NOT to place them on the control chart, as it leads to the wrong types of actions (treating common cause as special and vice versa). I encourage placing specification limits only on the histograms.
Pete – Colorado, USA
Agreed. Control limits come from the process. Specification limits come from the customer. When both sit on the same chart, people react to points near a spec limit instead of to real signals, and they start adjusting a stable process. I put spec limits on the histogram or in the capability study instead.
Hi, there were 3 questions in the module test about which charts test for Within vs Between and I didn’t see any content regarding this. I found this article which may help others:
https://www.spcforexcel.com/knowledge/variable-control-charts/xbar-mr-r-betweenwithin-control-chart
Thanks for letting us know, Andy. And thank you for finding and sharing an applicable resource!
We’ll add expanding our articles to cover this concept to our improvements list.
hello sir,
can you please clear subgroup size of control chart like
X bar R chart- you mention different somewhere 2-9 & somewhere 2-10 .
which one is correct.
Hello Sunil Kumar,
A subgroup is a group of units that are created under the same set of conditions. Subgroups (or rational subgroups) represent a “snapshot” of the process. Therefore, the measurements within a subgroup must be taken close together in time but still be independent of each other.
In X bar S chart, S chart shows the standard deviation of the subgroup size. S chart provides better understanding of the spread of subgroup data than range. Often, the subgroup size is selected without much thought. If the subgroup size is not large enough, then meaningful process shifts may go undetected. A large total number of observations is clearly advantageous because you can learn more about process performance. However, a large subgroup size is not necessarily better. You have to consider the period of time in which these large numbers of observations are obtained. Hence, if subgroup size is less than 10 use Xbar – R chart.
Thanks
p>Great question; the ideal subgroup size for an X̄-R chart generally ranges from 2 to 10, but the most common and practical range is 2 to 9. The slight variation you noticed comes from different sources or practitioners choosing different cutoffs based on specific industry needs or empirical results.
Here’s how to interpret it:
So, both “2 to 9” and “2 to 10” can be technically correct; the key is consistency and practicality for your specific application. If your process allows for subgroup sizes up to 10, go for it. But if data collection is costly or difficult, 4 or 5 is a solid choice.
Dear Ted,
Appreciate your kind consideration to share study material, its a great value add for us.
We have 2 bending fixture (BF) and multiple part mounting fixture (MF). Each mounting fixture has 50 parts mounted for bending in any one of bending fixture for production. The Quality inspector randomly picks a MF twice in day from each BF and selects randomly 5 parts from this MF fixture for inspection of 2 parameters (Bend length and Angle).
This we have done for 5 days and had 9 samples (9×5 = 45 observations for each bend length and angle) of data for each BF, in this case we should plot I-MR Control Chart or X bar Control Chart or X bar S Control Chart.
The reason I am asking is we need to review and understand root cause for dimensional (Bend length and Angle) variation in production after bending and identify root cause and control these ultimately.
Will be happy to share further details if needed, if you can share email.
Looking forward to your guidance.
Cheers,
Digvijay Singh Jodha
Founder, The Bicycle Monk
Hi Digvijay,
I appreciate the kind words about the site. I’m not set up to do consulting engagements at this time. However, if you would like, I would be happy to pass your contact information to Six Sigma consultants who may be able to assist.
Best, Ted.
When R chart does not apply?
Correct Answer:
A & B.
All Possible Answers:
Subgroup size > 10.
Between-group variation.
Subgroup size < 10.
A & B.
Explanation: Answer: D. A & B.
R charts apply when the subgroup is < 10 and within-group variation is observed.
The explanation refers to "within-group variation", answer option B however refers to "between group variation"
Hello Wiebke Zuch,
The answer option and explanation both are accurate, actually, the question is When R chart does not apply?
• The range chart examines the variation within a subgroup
• The X chart examines the variation between subgroups
The X-bar chart measures between-sample variation (signal), while the R chart measures within-sample variation (noise)
Hence Answer: D. A & B. is correct. R charts apply when the subgroup is < 10 and within-group variation is observed. Thanks
How can I create the R/Xbar chart if my subgroups have different sizes?
If a new batch/study comes in, how can I add it to the R/Xbar chart of varying sizes?
Hello Matthew Cserhati
For varying subgroup sizes, IMR chart is the best option. However, the Standardization of Shewhart Control Charts (Nelson, Lloyd S.(1989, ASQC)) has provided some guidance on Xbar R chart varying subgroup size.
When subgroup sizes differ there are three approaches usually recommended.
1. Draw the actual control limits for each subgroup separately.
2. Use the average of the subgroup sizes and calculate limits based on this >average size, and calculate the exact limit whenever doubt exists.
3. Standardize the statistic to be plotted and plot the results on a chart with >a centerline of zero and limits at ±3.
Thanks
If average range of 10 sample of size 4 is 40 then find UCL and LCL for R chart
To calculate the Upper Control Limit (UCL) and Lower Control Limit (LCL) for an R chart when using a sample size of 4, you’ll use the following formulas:
Where:
For a sample size (n) of 4, the constants are:
Now, plug the values into the formulas:
Answer:
Additionally, if you’re interested in preparing for Six Sigma certification exams, our courses are designed to align with both IASSC and ASQ bodies of knowledge:
These resources provide in-depth coverage of measurement system analysis and other key Six Sigma concepts.
Hello Dear Ted,
Thank you for this very useful article.
I have a question: X bar R control chart can be implemented as ajn on-line inspection ? If it is on line in the screen of the machine, after each period (ex. 10mins), one more sample of subgroup is added, for the chart in the screen, the UCL and LCL lines, average Xbar, Rbar, etc. need to be calculated again and updated accordingly, as the number of subgroups increases. Am I right ?
Many thanks in anticipation. Best regards,
Hello C Shu,
Yes, your assumption is correct. The control limits (UCL, LCL), averages (X-bar, R-bar), and other parameters would need to be recalculated and updated as the number of subgroups increases (If a new subgroup is added every 10 minutes,).
However, in a real-time manufacturing setup, once you have enough data, control limits may not need to change significantly once enough data is available to stabilize the process.
Thanks
For R-chart, the UCL & LCL are defined by D4R and D3R. These are listed as control chart constants based on n. But where is this table? How would I calculate that?
Hello Patricia Lee,
We have already listed the table in the article. Also, see the section titled ‘Refer to common factors for various control charts”.
Thanks
When I click on the link for CUSUM it takes me to my member profile
Thanks for the head’s up, Lillian. I’ve fixed the link.
Best, Ted.
regarding our sample 30Pcs from 6 sub group
correctly we refer d2 = 2.534 for standard deviation(sigma) calculation parameter on Cpk data formular? or we must calculate from
thanks ,
Thanks for your question! When calculating process capability indices like Cpk using data from subgroups, it is important to estimate the process standard deviation (σ) correctly.
If you have 30 total pieces in 6 subgroups, your subgroup size (n) is 5. For a subgroup size of 5, the correct d₂ value is 2.326. The value of 2.534 is for a subgroup size of 6. The d₂ constant goes with the subgroup size, not the number of subgroups.
The d₂ constant is used to convert the average range (R̄) of your subgroups into an estimate of the process standard deviation using the formula:
σ = R̄ / d₂
For your data, you would use:
σ = R̄ / 2.326
As a quick tip, 6 subgroups is a very small data set for calculating Cpk. It is usually best to collect at least 20 to 25 subgroups to get a reliable estimate of your process capability.