Toolbox

Tolerance stack-up calculator

A tolerance stack-up adds the dimensions in a chain, across one part or several, to find the gap or interference at the end of it and how far that gap can move. The worst case answers whether it can ever fail, RSS (root sum square) answers how wide the spread really is, and Monte Carlo answers how many assemblies will fall outside your limits.

Type each dimension in the chain with its direction: + if a bigger dimension makes the gap bigger, - if it makes the gap smaller. The calculator opens on the worked example below.

More calculators in the Toolbox

The worked example

A gear and a spacer sit in a housing pocket, held by a washer. The gap left at the end of the pocket is what the stack-up is about.

DimensionDirectionAs drawnMid-toleranceHalf-tolerance h
Housing pocket+50 +0.1/050.0500.050
Spacer-20 ±0.0520.0000.050
Gear-20 ±0.0520.0000.050
Washer-9.8 0/-0.19.7500.050

The line the calculator prints for it: GAP 0.300 ±0.200 WORST CASE (0.100 TO 0.500), ±0.100 RSS.

Worst case

Gap = Σ(s × m) ± Σh, where s is +1 or -1 for the direction, m is each dimension's mid-tolerance value and h its half-tolerance.

Every dimension sits at the end of its band that hurts the gap most, all at once. If that range is inside the requirement, no set of parts that are in tolerance can fail. In the example the worst case is 0.100 to 0.500: with a smallest acceptable gap of 0, it always fits.

RSS (root sum square)

Gap = Σ(s × m) ± √(Σh²).

RSS assumes every dimension is independent, normally distributed, centred in its band, and that its band is ±3σ (or the level you chose). The result band then holds 99.73% of assemblies (at 3σ). If a process runs off-centre or isn't normal, RSS understates the spread: check the worst case. At ±4σ bands the share is 99.9937%, at ±5σ 99.99994%, and at ±6σ 99.9999998%.

In the example RSS gives ±0.100 against the worst case's ±0.200. With four equal tolerances the RSS band is half as wide, and the more dimensions in the chain, the bigger that difference gets.

Monte Carlo

The calculator builds 100,000 assemblies. Each dimension is drawn at random from its distribution, and the gaps are summed with their directions. A normal row has its mean at mid-tolerance and σ = h / k, where your band is ±kσ, and it is not cut off at the band's ends. A uniform row is equally likely anywhere in its band. The seed is fixed, so the same inputs always give the same answer.

In the example, with every row normal at ±3σ, the gap's standard deviation is 0.0333 (the RSS ±0.100 divided by 3), and about 0.27% of assemblies fall outside 0.200 to 0.400. With every row uniform it is 0.0577 (2 × 0.05 / √3), and about 8.3% fall outside. The distribution matters as much as the tolerance.

A Monte Carlo result is a prediction from the distributions you chose, not a measurement of your process.

Which method to use

How to enter an unequal tolerance

Type the upper and lower deviations as signed numbers, the way they read on the drawing: 50 +0.1/0 is nominal 50, upper +0.1, lower 0; 9.8 0/-0.1 is upper 0, lower -0.1. For an equal tolerance, type the value in the ± box and both are filled in.

Every method works from the middle of each band, not from the nominal: the washer above counts as 9.75 ± 0.05. That is why the gap at mid-tolerance (0.300) differs from the gap at nominal (0.200).

Geometric tolerances in the chain

Questions

What is the difference between worst case and RSS tolerance stack-up?

Worst case adds every half-tolerance, so it covers every combination of parts in tolerance. RSS adds them as the square root of the sum of squares, which is the spread you expect when the dimensions are independent, normal and centred. RSS is always narrower than the worst case on a chain of two or more.

Which tolerance should I tighten first?

The one with the biggest share of RSS variance. Each share is h² / Σh², so the largest half-tolerance dominates, and tightening a small one barely moves the result.

Does the calculator save my stack-up?

No. Copy link puts the whole stack-up in the address after the #, so the link reopens it. Nothing is stored on our server, and no account or email is needed.

Can I use it in inches?

Yes. Pick in as the unit. The units are a label: type the numbers in the unit you picked. Results print with 4 places in inches and 3 in millimetres, with no leading zero in inches.

Is the Monte Carlo result a yield guarantee?

No. It is a prediction from the distributions you chose, not a measurement of your process. Measure your parts to know your real spread.