Method · Statistics Library

Tolerance stack-up (worst-case + RSS)

Tolerance stack-up combines the tolerances of every part in an assembly chain two ways: worst-case (a simple sum) and statistical RSS (a root-sum-of-squares), and reports which parts contribute most to the assembly's variation.

Topic indexA reference reading outside the guided chapter sequence

Understand the idea

Imagine four plates stacked into a housing, each cut to its own nominal size plus or minus a tolerance. How far off can the total stack be? There are two honest answers. The WORST-CASE answer assumes every single plate comes out at its worst extreme at the same time, so you simply add up all the tolerances: guaranteed safe, but pessimistic, because it treats an astronomically unlikely coincidence as the thing to design around.

The RSS (root-sum-of-squares) answer instead treats each plate's size as a small random wobble around its nominal, and asks what the TOTAL wobble looks like if those little wobbles are independent of each other. Independent wobbles don't simply add up in a straight line (they combine the way random errors do, through their squares), so the RSS total is always smaller than the worst-case total, and often dramatically so once there are more than two or three parts in the chain.

Because RSS combines tolerances through their SQUARES, the single largest tolerance in the chain matters far more than its size alone suggests: a part that is twice as loose as its neighbor contributes four times as much to the assembly's variation, not twice as much. That is exactly why this card ranks parts by their RSS share rather than by their tolerance size: it tells you which part to tighten first if the stack doesn't fit.

A tolerance stack-up, or dimension chain analysis, adds up the tolerances of parts that fit together. Worst-case tolerance analysis assumes every part is at its limit at once; RSS tolerance analysis, short for root-sum-of-squares tolerancing, assumes the errors are independent and combines them as the square root of the sum of their squares, giving a narrower, more realistic total.

Practitioner explanation

KernelStats computes both stacks directly from the nominal/tolerance table: worst-case tolerance T_WC = Σ|t_i| and RSS tolerance T_RSS = √(Σt_i²), around an assembly nominal N = Σ d_i N_i that honors an optional per-part direction column (+1 adds to the chain, −1 subtracts). Both a worst-case share (|t_i|/Σ|t_j|) and an RSS (variance) share (t_i²/Σt_j²) are reported per part, with the top RSS contributor flagged explicitly; the RSS share is the statistically meaningful ranking, since it is variance, not tolerance width, that adds under independence.

When assembly LSL/USL are supplied, KernelStats reports a verdict for each method (does N ± T_WC fit the spec? does N ± T_RSS?) plus a normal-model PPM computed from a predicted assembly sigma = √Σ(t_i/k)², where k is the coverage each part tolerance is declared to represent (classically 3σ, set by the sigma-level option). This PPM is a MODEL prediction from the stated tolerances, not a measurement of an actual running process; use Process Capability (Cp / Cpk / Pp / Ppk) on real assembly measurements for that.

The RSS calculation's validity rests on three conditions this function does not and cannot check from the tolerance table alone: the part errors are independent (not all made on the same fixture or tool run), each part's process is centered on its nominal (an uncorrected biased process shifts the whole assembly and, per standard Six Sigma practice, may call for a mean-shift multiplier of roughly 1.5 on T_RSS), and every declared tolerance represents the same number of sigma. KernelStats states these as read-before-trusting-it conditions rather than silently assuming they hold.

When to use it

Consider it when

You are designing or auditing a linear assembly (a gap, a stack of plates, a dimension chain) from a table of part nominals and tolerances, and need to know whether the assembly requirement is met, and which part tolerance to tighten first if it is not.

Use caution when

You already have real measured data on the assembled dimension itself (use the process capability analysis or a control chart on that data instead of predicting from part tolerances), the part tolerances are not symmetric about nominal, or you need the full predicted distribution of the assembly dimension rather than a single ± interval (use the Monte Carlo analysis to simulate the stack instead).

Formulas and symbols

Worst-case tolerance stack

TWC=∑i∣ti∣T_{WC} = \sum_i |t_i|

Sum of the absolute part tolerances; guarantees the assembly dimension if every part is within its own spec, at the cost of being far more conservative than necessary.

RSS tolerance stack

TRSS=∑iti2T_{RSS} = \sqrt{\sum_i t_i^2}

Root-sum-of-squares of the part tolerances, valid when part errors are independent, centered, and expressed at the same sigma coverage k. Always T_RSS <= T_WC.

RSS (variance) contribution share

sharei=ti2∑jtj2\text{share}_i = \dfrac{t_i^2}{\sum_j t_j^2}

Because variances (not tolerance widths) add, a part's share of the assembly variation scales with its tolerance SQUARED: the largest tolerance dominates disproportionately.

Assumptions and checks

  • Independence of observations. Parts made on the same fixture, tool run, or shared setup have correlated errors, and correlated errors add closer to the worst-case bound than to RSS; the RSS interval then understates the true assembly spread, sometimes substantially.

    In KernelStats: Not checked by KernelStats: independence between parts is a property of how and where the parts are manufactured, which this function cannot see from a table of nominals and tolerances alone.

Alternatives

  • Monte Carlo Simulation. Part distributions are asymmetric, non-normal, or you want the full simulated distribution of the assembly dimension rather than a closed-form worst-case/RSS interval.
  • Process Capability (Cp / Cpk / Pp / Ppk). You have actual measured data on the assembled dimension (not just the part tolerances) and want an ongoing Cp/Cpk read on the real running process.

Worked example

Scenario

Four plates stack linearly into a housing against a 21 ± 0.5 mm assembly requirement, with part tolerances of ±0.10, ±0.15, ±0.10, and ±0.20 mm, all adding in the same direction.

Result

Worst-case tolerance = 0.55 mm (fails the ±0.5 mm spec); RSS tolerance = 0.29 mm (comfortably fits). The fourth plate (±0.20 mm) carries a 36% worst-case share but a 48% RSS (variance) share, the largest single contributor by either measure.

Interpretation

Under the conservative worst-case model this design fails the spec, but under the statistical RSS model, valid if the four plates really are made independently on centered processes, it passes with room to spare. Either way, the fourth plate's tolerance is the one to tighten first if a design change is needed, since it claims nearly half the assembly's predicted variance despite being only a third of the linear worst-case total.

Common misconceptions

Misconception

RSS is simply the more accurate method, so it should always be used instead of worst-case.

Correction

RSS is only as good as its assumptions: independent part errors, processes centered on nominal, and a consistent sigma coverage across every declared tolerance. When parts share a fixture or a process runs biased off nominal, the true assembly spread sits closer to, or can even exceed, the worst-case bound, and RSS's tighter interval becomes optimistic rather than accurate.

Misconception

A part's share of the assembly's variation is roughly proportional to the size of its tolerance.

Correction

The RSS share is proportional to the tolerance SQUARED, because independent variances (not standard deviations or tolerance widths) add. A part with twice the tolerance of its neighbor claims four times the variance share, not twice, which is exactly why tightening the single largest contributor is worth far more than trimming several smaller ones.

References

  1. Introduction to Statistical Quality Control, Montgomery, D. C. (2019).
  2. Mechanical Tolerance Stackup and Analysis, Fischer, B. R. (2004).