Tolerance Stack-Up Analysis
What You'll Learn
- 1Set up a one dimensional loop with a consistent sign convention
- 2Derive the RSS result from the 3-sigma part bands
- 3Compute worst case, RSS, and modified RSS stack widths
- 4Convert a stack width into a predicted production yield
Every assembly is a chain of tolerances, and the gap, interference, or alignment that matters at the end depends on all of them at once. Designers who size each tolerance in isolation discover too late that the stack cannot close, or that a worst case analysis makes the part look unbuildable. This lesson builds the loop algebra, derives the root-sum-square rule from the statistics behind each part band, and converts the result into a yield you can quote.
Theory and Foundations
Write the nominal target first. For a cavity of width holding parts whose nominal sizes are :
With mm and parts of 20.0, 15.0, and 10.0 mm the nominal gap is mm. Signs only matter for the nominals and for the direction of the answer; the variation itself is combined as magnitudes.
Worst case adds absolute half widths. It is a guarantee, not a probability, and it assumes every part can land on its own limit simultaneously:
For bands of 0.10, 0.15, and 0.05 mm this gives mm, so the gap runs from 4.70 to 5.30 mm.
Statistical tolerancing combines them in quadrature:
That formula is not a rule of thumb; it follows from the way independent normal variables add. If each part band is a three-sigma band, then , and the variance of a sum of independent variables is the sum of the variances:
Multiplying back by three recovers the assembly band, which proves :
For our three links, mm, so the gap runs 4.813 to 5.187 mm. The RSS band is the 99.73 percent band of the assembled distribution, not a guarantee.
Processes are rarely centred, so a mean shift term enters. If process runs offset from nominal by , commonly a quarter of its own band for a machine set to the middle of the tolerance, the modified RSS adds that shift linearly:
A stack result only means something when the processes that make it are capable. Capability compares the tolerance width against the natural spread of the process:
A centred machine with means the tolerance band is eight sigma wide, leaving a full 1.33 sigma of margin on each side. Yield then follows directly from the standard normal distribution:
Fixed datum stacks measure everything from one common reference, mirroring how an assembly locates against a machined face. Floating datum stacks let the reference shift as parts accumulate, which happens when parts nest in a chain. Getting this wrong swings the answer by the size of one tolerance, so ask which surface contacts the fixture first and build the loop the way the real assembly does, including clearance or springback at contact.
Key Formulas
Worked Examples
| Method | Combination Rule | When to Use |
|---|---|---|
| Worst case | Sum of absolute bands | Safety parts, low volume, few links |
| RSS | Square root of summed squares | High volume with independent features |
| Modified RSS | RSS plus a mean shift term | Processes not perfectly centred |
| Monte Carlo | Sampled distributions through the loop | Nonlinear stacks and non-normal data |
| Link | Nominal (mm) | Band (mm) | 3-sigma sigma (mm) |
|---|---|---|---|
| Cavity width | 50.00 | not toleranced here | 0.000 |
| Part A | 20.00 | 0.20 | 0.0333 |
| Part B | 15.00 | 0.30 | 0.0500 |
| Part C | 10.00 | 0.10 | 0.0167 |
| Combined gap | 5.00 | 0.374 by RSS | 0.0624 |
Real-World Examples
- Brake caliper gap - Rotor, bracket, and pad thicknesses give a 1.2 mm nominal clearance held between 1.00 and 1.40 mm, and a worst case build would report a 0.40 mm band that no supplier could hit at volume.
- Gasket compression - A 2.0 mm gasket in a 1.8 mm gland at plus or minus 0.10 mm leaves a squeeze band of 0.10 mm at the tight limit, so the gland depth is re-toleranced to plus or minus 0.05 mm.
- Shim pack - Four shims at 1.00 plus or minus 0.05 mm give 0.20 mm worst case play but only 0.10 mm by RSS, because four equal bands of 0.05 mm combine as mm.
- Connector pins - Five molded features at plus or minus 0.08 mm RSS to 0.18 mm inside a 0.25 mm contact window, which is 3.1 sigma of margin and about 1000 ppm reject.
đĄStack Before You Tolerance
Common Mistakes
Adding signed values instead of magnitudes
Fix: Worst case sums absolute bands regardless of the direction of each link.
Applying RSS to a safety critical fit
Fix: Use worst case where a bad assembly cannot be accepted.
Ignoring the datum the fixture uses
Fix: Model the stack from the surface the assembly locates against.
Key Takeaways
- RSS is not a rule of thumb: it follows from t equals 3 sigma on each link and variance addition.
- For bands 0.10, 0.15, and 0.05 mm, worst case is 0.30 mm and RSS is 0.187 mm.
- The RSS band is the 99.73 percent band, so yield must be computed from sigma equals RSS divided by 3.
- Modified RSS adds the mean shift linearly, and Monte Carlo handles stacks that are not linear.
Frequently Asked Questions
When is worst case analysis mandatory?
Use it for safety critical fits, very low volume builds, and stacks with only two or three links where a bad assembly cannot be accepted. It also applies whenever the links are not independent, such as three features cut in the same setup on one machine.
Why does RSS give a smaller number?
Because it assumes errors are independent and partly cancel, so the combined variation grows with the square root of the number of links rather than their sum. Four equal bands of 0.05 mm give 0.20 mm worst case but only 0.10 mm by RSS, exactly half.
What does Cpk tell me about a stack?
Cpk compares the process spread to the tolerance window, so a stack built from Cpk 1.33 features sits about 1.33 sigma inside its limits at normal volume. Since the assembled sigma is the root-sum-square of the part sigmas, each link must individually clear its own Cpk target for the assembly to clear it.
Interview Questions
Q1: Walk me through a gap stack.
Fix a datum, list every part in order, assign signs, sum the nominals for the gap, then combine the bands by worst case for a guarantee or RSS for a predicted yield.
Q2: When would you not use RSS?
When parts are not independent, the distribution is skewed, the volume is too low to average out variation, or a single failure would be unacceptable.