Tolerance stack-up analysis for machined parts: worst case, RSS and how to tighten a stack
By PartRelay team · Published 26 November 2026 · 8 min read

Most fit problems on machined assemblies do not come from one bad dimension. They come from several good ones. Each part passes inspection, yet the shaft binds, the cover will not close, or the seal is not compressed enough. The tolerances added up.
A tolerance stack-up analysis checks this before anything is made. This guide covers the worst-case and statistical (RSS) methods with a worked example, the assumptions behind RSS, how general and geometrical tolerances enter the chain, and how to tighten a stack cheaply.
What a tolerance stack is
A stack-up starts from one requirement: a gap, a clearance, an interference or the position of a feature that must stay within limits. Wevolver describes the stack as a closed loop: start with the functional gap, trace through the features that locate it, and return to the other side.
Each dimension in the loop either opens the gap or closes it. In his review for Boeing, Fritz Scholz writes the result as a linear function of the part dimensions, where in tolerance path chains the coefficients are simply +1 or −1. A pocket depth that makes room adds; a part that fills the pocket subtracts.
Convert every dimension to an equal ± form first, so 10.0 +0.3/−0.0 becomes 10.15 ±0.15, and include every dimension the loop crosses, not only those with a tolerance written beside them.
Worst case and RSS: the two formulas
Scholz calls the two methods the cornerstones of tolerance stacking, giving conservative and optimistic benchmarks respectively. With Ti the ± tolerance of each dimension and ai its coefficient:
- Worst case (arithmetic): T = |a1|T1 + |a2|T2 + … + |an|Tn. Every dimension sits at the limit that hurts most, all at once.
- Root sum square (statistical): T = √(a1²T1² + a2²T2² + … + an²Tn²). Deviations are random and partly cancel.
The worst-case answer is a guarantee. If every part is within its tolerance and the stack fits the requirement, every assembly fits with mathematical certainty, in Scholz’s words. The catch is that this assumes every part really is in tolerance, which in effect means inspecting all of them.
The RSS answer is a probability. Under its assumptions, 99.73% of assemblies fall within the calculated range and 0.27% do not. In exchange, the stack grows much more slowly. With n equal contributions, worst case grows with n and RSS with √n. Scholz notes that even for two dimensions √2 is 29% smaller than 2, and for four, √4 is 50% smaller than 4.
A worked example
The example below is our own arithmetic, using the two formulas above. A machined housing has a pocket 60.00 mm deep. Three machined parts sit in it side by side: 25.00, 20.00 and 14.70 mm wide. The clearance left at the end is nominally 60.00 − 59.70 = 0.30 mm, and the design needs it to stay between 0.10 and 0.50 mm.
| Case | Tolerances (mm) | Worst case | RSS |
|---|---|---|---|
| 1. All toleranced | Pocket ±0.10; parts ±0.05, ±0.05, ±0.05 | ±0.25: 0.05 to 0.55 (fails) | ±0.132: 0.168 to 0.432 (passes) |
| 2. Third part left to ISO 2768-m | Pocket ±0.10; parts ±0.05, ±0.05, ±0.2 | ±0.40: −0.10 to 0.70 (fails) | ±0.235: 0.065 to 0.535 (fails) |
| 3. Pocket tightened | Pocket ±0.05; parts ±0.05, ±0.05, ±0.05 | ±0.20: 0.10 to 0.50 (passes) | ±0.100: 0.20 to 0.40 (passes) |
| 4. Shorter chain: last two parts made as one | Pocket ±0.10; parts ±0.05, ±0.05 | ±0.20: 0.10 to 0.50 (passes) | ±0.122: 0.178 to 0.422 (passes) |
Case 1 fails worst case but passes RSS, which is exactly where the choice of method matters. Case 2 shows what one forgotten dimension does: the 14.70 mm width had no tolerance of its own, so it took ±0.2 mm from class m, which Wevolver’s reproduction of the ISO 2768 tables gives for sizes over 6 up to 30 mm. That single width fails both methods. Cases 3 and 4 reach the same worst-case result by different routes: one tightens a part, the other removes a link.
In case 1, the pocket’s ±0.10 mm makes up 0.0100 of the 0.0175 sum of squares, about 57% of the RSS variation (again our arithmetic). That is the contributor to look at first.
What RSS assumes
Scholz lists the standard assumptions behind the RSS formula, and warns that they should not necessarily be accepted at face value:
- Random, stable processes. Part dimensions vary randomly, the processes are in statistical control, and this is confirmed by measuring samples rather than every part.
- Independence. Scholz calls it probably the most essential cornerstone: one part’s deviation has nothing to do with another’s, so positive and negative deviations mix and partly cancel.
- Normal and centred. Each dimension follows a normal distribution centred on the middle of its tolerance, with ±3σ equal to the tolerance.
Each can fail on a real job. Scholz names two threats to independence: several similar parts from the same process in one assembly, and thermal expansion, which tends to affect different parts similarly. Wevolver adds that two bearings from the same lot share a mean shift, and a mean shift does not cancel. Scholz also notes that in practice the results are usually not quite as good as advertised, which is why mean-shift models and inflation factors exist. MIT’s course notes on tolerance design list numerical integration and Monte Carlo simulation alongside the two formulas, and Wevolver points to Monte Carlo once a stack stops being one-dimensional.
When worst case is the safer choice
Worst case rests on very few assumptions, which Scholz counts as a strength. It is usually the right choice when:
- The chain is short. Wevolver says worst case is normally reserved for stacks of three or four parts.
- Volumes are low. A prototype or a batch of ten gives little process data to support a distribution, and Wevolver lists low-volume builds among the cases normally kept to worst case.
- One failed assembly is unacceptable, such as a safety-critical interface.
- Several contributors come from the same machine, batch or bar, so independence is doubtful.
Large programmes use both. NASA’s reliability practice on tolerance buildup states that no one method suits all needs: the Space Shuttle External Tank used a worst-case stack of its major assemblies, while the Solid Rocket Booster segments used the root sum square.
How general and geometrical tolerances feed a stack
A dimension gets its tolerance from the dimension itself, from a general tolerance note, or from a geometrical tolerance. Wevolver puts the second bluntly: untoleranced dimensions still carry ISO 2768 or an equivalent, and they still stack.
General tolerances under ISO 2768:2026
ISO 2768:2026, published in November 2026, replaced the withdrawn ISO 2768-1:1989. ISO’s abstract says it covers linear sizes from 0.5 mm up to 4000 mm and angular sizes, and does not apply to linear and angular distances. The 1989 edition, as Wevolver lists it, also covered step sizes and distances. On a new drawing, a distance in your stack, such as the spacing between two holes, needs its own tolerance or a geometrical one. Our guide to ISO 2768 general tolerances has the class tables and the details of the change.
Geometrical tolerances under ISO 1101
ISO 1101 defines the symbol language for tolerances of form, orientation, location and run-out. These are not ± values, so for a one-dimensional stack each one has to be converted into a ± contribution along the stack direction. Wevolver gives the rule of thumb: a position tolerance of Ø0.4 contributes ±0.2, and parallelism or perpendicularity contribute their zone width projected onto the stack. Drawings may instead follow ASME Y14.5, whose 2018 edition was reaffirmed in 2024 and remains in effect, so check which system a drawing uses before you build the stack. Our guide to geometric tolerancing and ISO 1101 covers datums and zones in more detail.
How to tighten a stack sensibly
When a stack fails, tightening every tolerance is the most expensive fix. These usually cost less:
- Find the dominant contributor. In RSS each tolerance counts squared, so one loose dimension can outweigh several tight ones, as the pocket does in our example.
- Shorten the chain. Worst-case stacks grow with every link, so fewer parts or fewer dimensions between the two sides of the gap help directly, as in case 4.
- Dimension what the function needs. An open textbook by Matthew Ford of the University of Washington Tacoma recommends baseline dimensioning when the distance to an edge matters most and chain dimensioning when the distance between features matters most. If the gap depends on a distance, give that distance directly rather than leaving it as the difference of two others.
- Choose datums for function. Wevolver’s GD&T guide suggests selecting datums in the order the part assembles, and warns that datums chosen for inspection convenience let a part pass inspection and fail at assembly.
- Move tolerance to the cheaper part. Tolerance allocation means distributing a fixed assembly tolerance across the parts at the lowest cost. In our example, cases 3 and 4 are two such choices; which is cheaper depends on the parts, and a supplier can tell you.
- Design the stack out. NASA’s practice relies on adjustable supports at critical attach points, and on match drilling rather than machining holes to a very tight drawing tolerance.
NASA’s practice says designers should never specify a tighter tolerance than is absolutely necessary for fit and function: tighter tolerances need more precise machining, risk scrap at inspection, and add setup, machining and inspection time. Hallmann, Schleich and Wartzack (2020) add lower process rates, more rework and higher inspection cost.
Putting a stack on a PartRelay request
On PartRelay, each part has a STEP model and can carry PDF drawings. You choose the material, finish and tolerance: ISO 2768 c, m or f as the general class, or a tighter ±0.05, ±0.02 or ±0.01 mm. You can mark that the drawing contains GD&T. Parts that can be priced from the model get a price in seconds; the rest go to an engineer. For inspection, you tick what you need: a visual inspection, a dimensional report, or both. The supplier must pass each one before shipping, with a report for the dimensional check.
For a stack, the useful habit is to tick the dimensional report and say, on the drawing or in the part's comments, which dimensions of your loop must be measured, so they are recorded rather than assumed. Our guides to inspection reports for machined parts and to preparing a STEP file and drawing cover the rest. You can price one part from its STEP file.
Sources and references
- F. Scholz, Boeing Information & Support Services (hosted by the University of Washington), Tolerance Stack Analysis Methods: A Critical Review (November 1995). The linear assembly criterion with coefficients of ±1 in tolerance path chains; the arithmetic (worst-case) formula and its guarantee if every part is within tolerance, which in effect requires inspecting all parts; tolerances that grow linearly with the number of dimensions; the RSS formula and its assumptions (randomness and stable processes, independence as the most essential, a normal distribution centred on the midpoint with ±3σ covering the tolerance); the 99.73% and 0.27% figures; √2 being 29% smaller than 2 and √4 50% smaller than 4; similar parts from the same process and thermal expansion as threats to independence; results in practice usually not as good as advertised.
- NASA (Marshall Space Flight Center), Preferred Reliability Practices, Vehicle Integration/Tolerance Buildup Practices, Practice No. PD-ED-1219 (undated; PDF created October 1995, read 26 November 2026). No one method suits all needs; the External Tank used a worst-case stack and the Solid Rocket Booster the root sum square; adjustable supports and match drilling instead of very tight machining tolerances; never specify a tighter tolerance than is absolutely necessary; tight tolerances mean more precise machining, potential scrap at inspection, and more setup, machining and inspection time.
- MIT OpenCourseWare (D. Frey), 16.881 Robust System Design, Tolerance Design (lecture 15 notes) (Summer 1998). The four approaches to tolerance analysis: worst-case stack-up, root sum of squares, numerical integration and Monte Carlo simulation.
- Wevolver (Benedict O’Neill), Tolerance Stack Up Analysis: Worst Case vs RSS Methods (18 August 2026). The stack as a closed loop from one side of the gap to the other; converting callouts to an equal-bilateral form (10.0 +0.3/−0.0 as 10.15 ±0.15); Monte Carlo once a stack stops being one-dimensional; a position tolerance of Ø0.4 contributing ±0.2, and parallelism and perpendicularity their zone width projected onto the stack; worst case for three- or four-part stacks, safety-critical interfaces and low-volume builds; parts from the same lot sharing a mean shift; untoleranced dimensions still stack; tolerance allocation as distributing an assembly tolerance at the lowest cost.
- Wevolver (Benedict O’Neill), ISO 2768 General Tolerances: Tables, Classes, Current Status (16 October 2026). Class m allows ±0.2 mm for linear sizes over 6 up to 30 mm; the 1989 edition covered step sizes and distances.
- ISO, ISO 2768:2026 Geometrical product specifications (GPS), Dimensional tolerancing, Tolerance limits for general specification of linear and angular sizes (edition 2, November 2026; product page read 26 November 2026). Linear sizes from 0.5 mm up to 4000 mm and angular sizes; does not apply to linear and angular distances; usable on its own or with ISO 22081; replaced the withdrawn ISO 2768-1:1989.
- ISO, ISO 1101:2017 Geometrical product specifications (GPS), Geometrical tolerancing, Tolerances of form, orientation, location and run-out (edition 4, February 2017, confirmed; product page read 26 November 2026). The current edition; it defines the symbol language for geometrical specification of workpieces and the rules for its interpretation.
- Wevolver (Benedict O’Neill), GD&T Explained: Symbols, Datums, and Tolerances (9 September 2026). Datums selected in the order the part assembles; datums chosen for inspection convenience rather than function let a part pass inspection and fail at assembly.
- ASME, Y14.5 Dimensioning and Tolerancing (Y14.5-2018, reaffirmed 2024; product page read 26 November 2026). The 2018 edition, reaffirmed in 2024, remains in effect; it sets the symbols, rules, definitions and defaults for GD&T on drawings and models.
- M. Ford, University of Washington Tacoma (Engineering Graphics and Design, Pressbooks), Dimensioning Standards (undated, read 26 November 2026). Baseline dimensioning when the distance to an edge matters most, chain dimensioning when the distance between features matters most: the choice follows design intent.
- B. Hallmann, B. Schleich, S. Wartzack, International Journal of Advanced Manufacturing Technology 107, From tolerance allocation to tolerance-cost optimization: a comprehensive literature review (8 May 2020). More accurate parts need more precise tools or additional operations and lower process rates; tighter tolerances mean more rework, higher inspection cost and more scrap.