Gage R&R Calculator
Gage R&R calculator for the average and range method: the worked example below, three operators measuring five parts three times each, gives a %GRR of 34.5% of total variation and an ndc of 3, so that measurement system fails both tests. Paste your own readings, one row per operator and trial and one column per part, or switch to the ranges if you already have them. The page also shows where published sources disagree about what counts as acceptable.
What to enter, and what the calculator will not do
A gage R&R study has several operators measure the same set of parts several times, in random order, without seeing each other's readings or their own earlier ones. SPC for Excel describes repeatability as the variation one appraiser has when measuring the same part with the same gage more than once. It describes reproducibility as the variation in the averages of the different appraisers. The calculator takes those readings and returns equipment variation (EV, repeatability), appraiser variation (AV, reproducibility), their combination GRR, part variation (PV) and total variation (TV).
The calculator is limited to 2 or 3 operators, 2 or 3 trials and 2 to 10 parts. That is a deliberate limit. The constants K1, K2 and K3 depend on those counts, and the only values this page prints are the ones found in a source that could be read: SPC for Excel lists K1 for two and three trials, K2 for two and three operators, and K3 for 2 to 10 parts. A study with four operators or four trials needs constants this page cannot back up, so it returns an error instead of a guess. A full study of 10 parts, 3 operators and 3 trials is 90 readings, and the Minitab example in the crossed gage R&R documentation uses exactly that layout.
If you only have the three summary numbers, choose the ranges option. Rbar is the average of the within-operator ranges, Xdiff is the difference between the largest and the smallest operator average, and Rp is the range of the part averages. Add the tolerance, meaning upper minus lower specification limit, to get a percentage of tolerance as well. The calculator works in whatever unit the readings use, so millimetres and inches both work as long as the tolerance uses the same unit.
The worked example, checked against its source
The default result comes from the study in SPC for Excel: three appraisers, five parts, three trials. The readings are a length measurement and the source gives no unit, so the numbers here are unitless. The table reproduces the readings exactly as the source prints them.
| Appraiser | Trial | Part 1 | Part 2 | Part 3 | Part 4 | Part 5 |
|---|---|---|---|---|---|---|
| A | 1 | 3.29 | 2.44 | 4.34 | 3.47 | 2.20 |
| A | 2 | 3.41 | 2.32 | 4.17 | 3.50 | 2.08 |
| A | 3 | 3.64 | 2.42 | 4.27 | 3.64 | 2.16 |
| B | 1 | 3.08 | 2.53 | 4.19 | 3.01 | 2.44 |
| B | 2 | 3.25 | 1.78 | 3.94 | 4.03 | 1.80 |
| B | 3 | 3.07 | 2.32 | 4.34 | 3.20 | 1.72 |
| C | 1 | 3.04 | 1.62 | 3.88 | 3.14 | 1.54 |
| C | 2 | 2.89 | 1.87 | 4.09 | 3.20 | 1.93 |
| C | 3 | 2.85 | 2.04 | 3.67 | 3.11 | 1.55 |
Step one is the range of each part for each appraiser, across the three trials, averaged over the five parts. That gives the per-operator average ranges in the table below, and their mean is Rbar = (0.186 + 0.614 + 0.302) / 3 = 0.367. Step two is the average of all nine readings for each appraiser. Appraiser A has the highest average, 3.157, and C has the lowest, 2.695, so Xdiff = 3.157 − 2.695 = 0.462.
| Appraiser | Average range | Average of 9 readings |
|---|---|---|
| A | 0.186 | 3.157 |
| B | 0.614 | 2.980 |
| C | 0.302 | 2.695 |
Step three is the average of each part over all nine readings: part 1 is 3.169, part 2 is 2.149, part 3 is 4.099, part 4 is 3.367, part 5 is 1.936. The largest is part 3 and the smallest is part 5, so Rp = 4.099 − 1.936 = 2.163. SPC for Excel prints Rbar-based figures of 0.186, 0.614 and 0.302 for the three appraisers, Xdiff of 0.462 and Rp of 2.163. The calculator's code matches all of them to the third decimal.
With K1 = 0.5908 for three trials, K2 = 0.5231 for three operators and K3 = 0.403 for five parts, the results follow. EV = 0.367 × 0.5908 = 0.217. AV = √((0.462 × 0.5231)² − 0.217² / (5 × 3)) = 0.235. GRR = √(0.217² + 0.235²) = 0.320. PV = 2.163 × 0.403 = 0.872. TV = √(0.320² + 0.872²) = 0.929. The source prints EV 0.217, AV 0.235, PV 0.872 and TV 0.9285, which agree.
The two sources differ in one place. SPC for Excel prints GRR as 0.319 and %GRR as 34.3%, and its ndc as 3.8. At full precision GRR is 0.3199, %GRR is 34.5% and ndc is 3.84. The source rounded GRR and TV before dividing, and its own printed figures give 0.319 / 0.9285 = 34.4%, so it truncated rather than rounded. The verdict is the same either way: above 30%, and an ndc whose integer part is 3.
The formulas for EV, AV, GRR, PV and TV
The SAS/QC guide gives the average and range method in one place. Repeatability is EV = Rbar × K1. Reproducibility is AV = √((Xdiff × K2)² − EV² / (n r)), where n is the number of parts and r is the number of trials. The subtracted term removes the repeatability that leaks into the operator averages. Combined repeatability and reproducibility is GRR = √(EV² + AV²), part variation is PV = Rp × K3, and total variation is TV = √(GRR² + PV²).
Each percentage divides one of those by TV. %EV = 100 × EV / TV, and %AV, %GRR and %PV work the same way. For the example they are 23.4%, 25.3%, 34.5% and 93.9%. SAS and SPC for Excel both point out that these do not add up to 100. The number to watch is %GRR. SPC for Excel adds that to compare against the tolerance rather than the part variation you substitute (USL − LSL) / 6 for TV, so %tolerance of GRR is 100 × 6 × GRR / (USL − LSL).
One practical edge case comes from the square root in AV. If (Xdiff × K2)² is smaller than EV² / (n r), the term under the root is negative and AV has no real value. The calculator reports AV as zero in that case, which is a choice made here and not something the sources spell out. SAS says AV is set to zero when there is only one operator, a case the calculator does not accept.
Where K1, K2 and K3 come from
The K constants turn a range into a standard deviation. SAS defines K1 = ν / d2 for repeatability and K2 = ν / d2* and K3 = ν / d2* for the other two, where ν is the multiple of sigma, 4, 5.15 or 6. The d2 constant depends on the number of trials. SAS says d2 applies when operators × parts is at least 16, and otherwise uses d2*, which depends on the number of ranges as well and comes from Duncan's tables. The constants SPC for Excel prints are on the one-sigma scale, which is ν = 1 in that formula. The study spread is then 6 times the result, or 5.15 times in the older convention.
The older convention is visible in Donald Ermer's 2006 Quality Progress column, which tabulates K1 of 4.56 and 3.05, K2 of 3.65 and 2.70, and K3 of 2.08 for 5 parts and 1.62 for 10 parts. Those are 5.15 times the one-sigma values. The table shows both sets side by side, with 1 divided by the d2 or d2* values that Ermer prints in his Table 3 as a cross-check. The small differences in the fourth decimal come from his two-decimal d2* values.
| Constant | One-sigma (used here) | 1 / d2 or 1 / d2* | 5.15 sigma (Ermer) |
|---|---|---|---|
| K1, 2 trials | 0.8862 | 0.8865 | 4.56 |
| K1, 3 trials | 0.5908 | 0.5908 | 3.05 |
| K2, 2 operators | 0.7071 | 0.7092 | 3.65 |
| K2, 3 operators | 0.5231 | 0.5236 | 2.7 |
| K3, 5 parts | 0.403 | 0.4032 | 2.08 |
| K3, 10 parts | 0.3146 | 0.3145 | 1.62 |
| Parts | K3 |
|---|---|
| 2 | 0.7071 |
| 3 | 0.5231 |
| 4 | 0.4467 |
| 5 | 0.403 |
| 6 | 0.3742 |
| 7 | 0.3534 |
| 8 | 0.3375 |
| 9 | 0.3249 |
| 10 | 0.3146 |
The scale matters for exactly one result. %GRR of total variation is a ratio of two quantities on the same scale, so it comes out the same with 6 or 5.15. Percent of tolerance puts a spread on the top and a tolerance width on the bottom, so it does not. With a tolerance of 3.00, which is an assumed width for illustration and not part of the source example, GRR 0.320 gives 64.0% of tolerance at 6 σ and 54.9% at 5.15 σ. SAS says its 5.15 option covers 99.0% of the normal distribution. Minitab labels its study variation column 6 × SD. Check which multiple a customer or a template expects before comparing two percentages of tolerance.
Gaugify's how-to writes the repeatability formula as "Repeatability = (average range) × d2*" and gives d2* as 2.77 for 2 trials and 1.91 for 3. Neither matches the sources above. K1 is a divisor-based constant, 0.8862 for two trials and 0.5908 for three, not a d2* multiplier. In Ermer's Table 3, 1.91 is d2* for a sample of 3 with one subgroup, which is the value behind K2 for three operators, not K1 for three trials. A calculator built on those figures would give a wrong EV.
What %GRR counts as acceptable: sources side by side
The common rule is under 10% acceptable, 10% to 30% possibly acceptable and over 30% not. Minitab's glossary attributes it to the AIAG MSA manual, 3rd edition, and says the middle band depends on the application, the cost of the measuring device and the cost of repair. Amrep gives the same three bands. Minitab applies the 10% limit to the %Study Var, %Tolerance and %Process columns alike, so the bands are used for percent of tolerance as well as percent of total variation.
Other sources cut the scale differently. SAS prints Barrentine's 1991 guideline with four steps, and Ermer's column uses 10% and 20%. These are not interchangeable, and a system at 25% is marginally acceptable under one table and requires improvement under another.
| Source | Good | Middle | Poor |
|---|---|---|---|
| Minitab glossary, citing AIAG MSA 3rd edition | under 10% | 10% to 30% | over 30% |
| SPC for Excel | under 10% | 10% to 30% | over 30% |
| SAS/QC, citing Barrentine (1991) | 10% or less excellent, 11% to 20% adequate | 21% to 30% marginally acceptable | over 30% |
| Ermer, Quality Progress (2006) | under 10%: capable | 10% to 20%: barely capable | over 20%: requires improvement |
Gaugify puts it differently again. It states that AIAG MSA standards require gage R&R variation to use less than 30% of tolerance, with less than 10% ideal. That is the same 10% and 30% limits applied to the tolerance rather than to the part variation. The two readings can give different verdicts on one study, so write down which denominator a quoted %GRR used. For the example above, the 34.5% study variation figure fails under every table in the list.
The CiviQual guide adds a third scale. It puts %contribution, which is on the variance scale, at under 1% acceptable, 1% to 9% marginal and over 9% unacceptable. This is the same rule restated: 10% on the standard-deviation scale is 0.10² = 1% on the variance scale, and 30% is 0.30² = 9%. CiviQual lists quoting one against the other's threshold as a common error. The calculator shows both columns for that reason: the example's GRR is 34.5% of total variation and 11.9% on the variance scale, and both are above their own limits.
ndc, the number of distinct categories
SPC for Excel gives ndc = 1.41 × (PV / GRR). It says the integer value of ndc should be greater than or equal to 5. Minitab says the same: its example reports four categories and notes that the AIAG calls for at least five. The example here has ndc 3.84, which is 3 after dropping the decimals, so the system can tell about three groups of parts apart.
The two rules are linked, because both depend on PV / GRR. Using TV² = GRR² + PV², a given %GRR fixes the ratio, so it also fixes ndc. The table works that out. A %GRR of 10% corresponds to an ndc of about 14, 20% to about 6.9, and 30% to about 4.5. The ndc of 5 therefore sits at a %GRR of 27.1%, slightly stricter than the 30% line: a system at 28% is in the "may be acceptable" band and still has an ndc of 4. This is arithmetic from the formulas above, not a statement from a source.
| %GRR | ndc |
|---|---|
| 10% | 14.0 |
| 20% | 6.9 |
| 30% | 4.5 |
| 27.1% | 5.0 |
Percent of study variation, tolerance or contribution
A study can report the measurement error against three different denominators. Against total variation, the %GRR column answers how much of the spread in the study readings is measurement error. Against the tolerance it answers how much of the specification the measurement error occupies. Against variance it gives %contribution, which does add up: the GRR and PV contributions in the example are 11.9% and 88.1%, which total 100%.
The standard deviation percentages do not add up. 34.5% for GRR and 93.9% for PV total 128.3%. SPC for Excel says, "Don't expect these percentages to sum to 100 because they will not." Ermer goes further and argues that the AIAG ratios exaggerate the contribution of each component. On his data they total 130.62%, and he concludes that "AIAG R&R methods may be misleading and should be modified." Minitab's output shows both columns, and the %Contribution column carries the additive version.
Planar's example shows the three denominators on one study. A repeatability SD of 0.003 mm and a reproducibility SD of 0.004 mm give a GRR SD of 0.005 mm. With a part SD of 0.020 mm, %Contribution is 5.88%, %Study Variation is 24.25% and %Tolerance is 30.00% for a 0.100 mm tolerance at six SD. The arithmetic checks: √(0.003² + 0.004²) = 0.005, 0.005 / √(0.005² + 0.020²) = 24.25%, and the square of that ratio is 5.88%. One study, three honest numbers, and three different verdicts against the 10% and 30% bands.
The average and range method against ANOVA, and what Minitab does
The average and range method uses only ranges and averages, which is why it can be done by hand or in a spreadsheet. ANOVA uses every reading. Ermer calls ANOVA the most accurate of the methods he compares, since it uses all the data and not just the ranges. SPC for Excel adds a note that the average and range method is still used by some, but that ANOVA and Wheeler's EMP method give more accurate information. CiviQual points to a specific gap: the range method cannot separate the part-by-operator interaction, and ANOVA can.
Minitab lists the ANOVA sources as part, operator, operator by part, and repeatability. If the p-value of the operator by part interaction is 0.05 or higher, it removes the interaction and fits a second table without it. It offers an Xbar and R option as well, and in that case it shows no ANOVA table. Two methods on the same data can disagree. The Minitab results for its own example data show a %Study Var of 27.86% and an ndc of 4 under ANOVA, and a user comparing a hand calculation to a Minitab printout has to confirm which method produced each number.
This calculator does the average and range method only. It does not do ANOVA, and a result from it should not be quoted against ANOVA thresholds as if it were the same calculation. For the example data it shows that the range method is perfectly usable for a first look, since the verdict is unambiguous at 34.5%. For a study that lands near 10% or 30%, rerun it in software that does ANOVA.
Mistakes that make a gage R&R wrong
Part selection is the first. Every percentage is measurement variation divided by a total that includes the part spread, so a study on near-identical parts makes a good gage look bad. The Minitab blog on sampling parts simulated several schemes. Its finding was that pulling parts at regular intervals across the typical range, or across the tolerance, biased the result so that the measurement system looked better than it was, while randomly sampled parts gave the most reasonable estimate. Pulling two parts from just outside the specification limits made the results meaningless in its simulation.
Visible earlier readings are the second. SPC for Excel says the parts must be run in random order and that an appraiser cannot see his or her results from previous trials. CiviQual makes the same point: an operator who remembers the last reading produces a repeatability figure that measures memory.
Quoting the wrong threshold is the third, covered above: %contribution against the 10% limit, or a range-method figure against ANOVA limits. Using a tolerance when none exists is the fourth. CiviQual notes that %tolerance only means something when a real specification exists, and that a system can pass one test and fail the other.
Wrong constants are the fifth. The Gaugify formula quoted earlier is one example, and a K value borrowed from a 5.15-based table and used with a 6-sigma tolerance is another. The calculator avoids both by using one scale, and you pick the multiple only for the tolerance percentage.
Finally, there is the question of study size. SPC for Excel says a typical gage R&R study uses 2 to 3 appraisers and 5 to 10 parts, and recommends that the number of parts times appraisers be more than 15. Minitab's blog uses 10 parts, 3 operators and 2 replicates as the standard design. The calculator's own example has 5 parts and 3 operators, which is on the small side. The number of readings is not a defect in the arithmetic, but a small study makes the answer less certain.
What would change the verdict in the example
The example splits into EV 23.4% and AV 25.3%, so neither dominates. Appraiser B's average range, 0.614, is more than three times appraiser A's 0.186, and the operator averages are 3.157, 2.980 and 2.695. If the average range were halved, with nothing else changed, EV would fall to 0.109 and %GRR to 28.9%, which is under 30% but with an ndc of 4.67, still below 5. This is arithmetic on the source data and not a prediction of what an improved process would measure. It does show that the ndc requirement can fail even when the %GRR looks tolerable.
The calculator also shows why dropping an inconvenient operator is not a fix. Using only appraisers A and C, with two operators and their own K2 of 0.7071, gives %GRR of 37.8% and an ndc of 3.46, which is worse. Treat that as a demonstration of how the constants and the spread interact, not as advice.
The same calculation in a spreadsheet
Put one trial per row and one part per column, as in the calculator. For each operator and part, the range of the trials is MAX minus MIN over those cells. Average those ranges per operator, then average the operator figures to get Rbar. The operator average is AVERAGE over that operator's whole block, and Xdiff is the MAX minus MIN of the three of them. The part average is AVERAGE over the same column in every operator's block, and Rp is the MAX minus MIN of those. Then type the K constants from the table above. EV is Rbar times K1, AV is SQRT((Xdiff*K2)^2-EV^2/(n*r)), GRR is SQRT(EV^2+AV^2), PV is Rp times K3 and TV is SQRT(GRR^2+PV^2). The downloadable CSV holds the example's intermediate values so a sheet can be checked against it.
The study here is for variable data, meaning measured values. Attribute gages that only pass or fail need a different analysis. Gaugify describes that case as focusing on decision consistency rather than measurement values, and this calculator does not cover it.
The calculator implements the average and range method with constants found in the sources named on this page, for 2 or 3 operators, 2 or 3 trials and 2 to 10 parts. It is not ANOVA and not a replacement for a customer's MSA requirements. Where a customer or a standard sets the method or the acceptance limit, use theirs. Example data: gage-r-and-r-example.csv.
The same data as JSON, with units and source: gage-r-and-r-example.json.