Quick answer

Worst case: max gap = the + parts at their maximum minus the − parts at their minimum, and the reverse for the min gap. Statistical (RSS): mean gap ± √(t₁² + t₂² + …), where t is each part's tolerance turned into an equal ± about its mean size. The page's default stack (+ housing width 2.000 ±0.005, − shaft length 1.500 ±0.002, − washer thickness 0.250 +0.005/−0.001) gives a worst-case gap of 0.2380 to 0.2580", but a probable RSS range of 0.2418 to 0.2542".

Source: Worst-case and root sum square (RSS) tolerance stack-up methods; RSS assumes each part varies at random about the middle of its tolerance. Reviewed . Use the calculator below for any other size.

Tolerance Stack-Up

Calculate the final assembly gap or interference by stacking component dimensions. Use positive (+) for gaps/housings and negative (-) for shafts/inserts.

Dir Description Nominal (in) + Tol (in) - Tol (in)

Assembly Gap Analysis
Worst-Case (Absolute)
Maximum Gap: 0.0000
Minimum Gap: 0.0000
Total Spread: 0.0000
Statistical (RSS)
Probable Max: 0.0000
Probable Min: 0.0000
Total Spread: 0.0000
0 Gap Visualization +
Worst Case RSS Mean
Stack-Up Methodology

Worst-Case Analysis

Assumes that every single part in the assembly is machined to its absolute worst permissible limit simultaneously. This guarantees 100% part interchangeability, but often forces extremely tight, expensive tolerances on the drawing.

Root Sum Square (RSS)

Statistically, it is highly improbable that every part in an assembly will be at its worst-case limit at the same time. The RSS method assumes a normal (Gaussian) distribution of parts.

$Tol_{RSS} = \sqrt{T_1^2 + T_2^2 + T_3^2 + ...}$

By using RSS, engineers can safely open up tolerances on individual parts, significantly reducing manufacturing costs, while maintaining a 99.7% (3-sigma) assembly success rate.

Direction (+ / -)
  • Positive (+): Dimensions that increase the final gap (e.g., the inner width of a housing).
  • Negative (-): Dimensions that decrease the final gap (e.g., shafts, washers, bearings inside the housing).

How the Tolerance Stack-Up Analyzer Works

The analyzer adds up a chain of dimensions along one line to find the gap (or interference) at the end of the chain. It works the result out two ways: worst case, where every part is at its most unfavourable limit, and statistical (RSS), which estimates the range you will actually see in production.

Each row is one dimension in the chain. Mark it + if making it bigger opens the gap (such as the inside width of a housing) and − if making it bigger closes the gap (such as a shaft, spacer or washer sitting inside). Enter the plus and minus tolerances as positive numbers; they can be unequal. A negative result means interference, and the worst-case box is highlighted when the minimum gap drops below zero.

The imperial and metric buttons only change the unit labels and the number of decimal places (4 for inches, 3 for millimetres). They do not convert the values, so enter every dimension in the same unit.

The Formulas

Worst Case
Max gap = Σ(+ parts at max) − Σ(− parts at min)
Min gap = Σ(+ parts at min) − Σ(− parts at max)
Spread = max gap − min gap
Max = nominal + plus tolerance, min = nominal − minus tolerance. The spread always equals the sum of every tolerance band in the chain.
Statistical (RSS)
Mean = nominal + (plus − minus) ÷ 2
t = (plus + minus) ÷ 2
Mean gap = Σ(± mean)
RSS = √(t1² + t2² + …)
Probable max/min = mean gap ± RSS
Unequal tolerances are first turned into a centred ± tolerance t about the mean size, so the RSS is always taken about the middle of each tolerance band.

Worked Examples

Imperial: the page's default stack
  • + housing 2.000 ±0.005, − shaft 1.500 ±0.002, − washer 0.250 +0.005/−0.001 in
  • Max gap = 2.005 − 1.498 − 0.249 = 0.2580
  • Min gap = 1.995 − 1.502 − 0.255 = 0.2380 (spread 0.0200)
  • Mean gap = 2.000 − 1.500 − 0.252 = 0.248
  • RSS = √(0.005² + 0.002² + 0.003²) = 0.00616
  • Probable range 0.2418 to 0.2542 (spread 0.0123)
Metric: two bearings and a spacer
  • + housing 40 ±0.1, − two bearings 12 ±0.05 each, − spacer 15 +0/−0.1 mm
  • Max gap = 40.1 − 11.95 − 11.95 − 14.9 = 1.300
  • Min gap = 39.9 − 12.05 − 12.05 − 15.0 = 0.800 (spread 0.500)
  • Mean gap = 40 − 12 − 12 − 14.95 = 1.05
  • RSS = √(0.1² + 0.05² + 0.05² + 0.05²) = 0.1323
  • Probable range 0.918 to 1.182 (spread 0.265)

Enter the same rows above and you'll get the same answers. Here the RSS spread is about 60% and 50% of the worst-case spread, and that saving is what that makes statistical tolerancing attractive.

Tips for Using the Results

  • Draw the loop first. Sketch the chain from one face of the gap, through every part that touches, back to the other face. Every dimension in that loop goes in the table, and nothing else.
  • Use worst case for safety-critical or low-volume work. If a single assembly that does not fit is unacceptable, or you are only making a few parts, design to the worst-case result.
  • Be cautious with RSS on short chains. RSS assumes each part varies randomly and is centred in its tolerance. With only two or three parts, or a process that drifts, the real spread can be wider. Some engineers inflate the RSS result to allow for this.
  • Get the limits right. For holes and shafts toleranced with ISO fits, take the limits from the ISO Tolerance Fit Calculator. If temperature changes during use, check growth with the Thermal Expansion Calculator.

Frequently Asked Questions

Worst case assumes every part is at its extreme limit at the same time, so every assembly built from in-tolerance parts is guaranteed to fit. RSS (root sum square) treats each dimension as varying randomly, so the extremes rarely line up. It predicts a narrower, more realistic range, but a small number of assemblies may fall outside it.

Squaring the tolerances, adding them and taking the square root always gives a smaller total than adding them directly, unless there is only one part. In practice it reflects the fact that some parts come out large and others small, and they partly cancel each other out.

Enter 0.005 in the plus column and 0.001 in the minus column, both as positive numbers. Worst case uses the two limits directly. For RSS the calculator moves the mean to the middle of the band, here nominal + 0.002, and uses a centred tolerance of ±0.003.

No. It only changes the labels and rounding. Enter all dimensions in inches or all in millimetres, and switch the button to match.

No. It is a one-dimensional stack, so every dimension must lie along the same direction. Position, flatness or angular errors need converting into an equivalent ± contribution along that direction before you enter them, which needs care.

Results depend on the stack being set up correctly. For critical assemblies, check the analysis against your drawing standard and inspection data.