Guide 05 Hardware design independent information
Tolerance stack-up explained, with a worked example
Every manufactured dimension has a little variation. When several parts are stacked in a chain, those variations add up. This guide explains the idea with a simple example and points to the standards that define fits.

Nothing is exactly the size on the drawing
A drawing says a wall is a given thickness, but no process makes that exact value every time. A tolerance states how far a dimension may differ from nominal and still be acceptable. Tight tolerances cost more, because they demand better tools, slower processes and more inspection, so the aim is to set each tolerance as loose as the function allows.
What is a tolerance stack-up
A stack-up is a chain of dimensions that together set a gap or fit that matters, for example the clearance between a circuit board and the inside of a case. Each link has its own variation, and that is what causes tolerance to stack up: the chain adds the variations of every part in it. The question is whether the gap stays inside its limits across all the parts you will ever build.
To analyse a chain, pick the gap, list each dimension that contributes, mark each as adding to or subtracting from the gap, and add their tolerances.
Tolerance stack up example: a worked example with made-up numbers
Imagine a case cavity, a board, a battery and a lid, and say the leftover gap must never fall below zero. Suppose the cavity depth is 20.0 mm with a variation of plus or minus 0.2, the board stack is 8.0 mm plus or minus 0.1, the battery is 6.0 mm plus or minus 0.2 and the lid pin is 3.0 mm plus or minus 0.1. These numbers are an illustration only, not a recommendation.
Nominal gap: 20.0 minus 8.0 minus 6.0 minus 3.0 leaves 3.0 mm. Worst case, add all tolerances: 0.2 plus 0.1 plus 0.2 plus 0.1 is 0.6 mm, so the gap is between 2.4 and 3.6 mm. In this example it never reaches zero. Change the numbers and the answer changes, which is the whole point of doing the sum.
Worst case or statistical: worst case vs RSS
Worst case assumes every part is at its extreme in the unlucky direction, which guarantees the fit but may force tight tolerances. Statistical methods, such as root sum of squares, assume variations are independent and rarely all extreme at once, giving a smaller expected range. For the root sum of squares, square each tolerance, add the squares and take the square root: in the example above that gives about 0.32 mm instead of 0.6 mm. They suit high volumes and capable processes, but they accept a small chance of a miss, so decide how much risk is acceptable and what a failure costs.
Standards that give you the vocabulary
The ISO 286 system defines limits and fits, with standard grades for shafts and holes and families such as clearance, transition and interference fits. ISO 2768 gives general tolerances that apply when a drawing does not state a specific one. Geometric dimensioning and tolerancing, covered by standards from ASME and ISO, controls form, orientation and position, not just size.
You do not need to memorize them. Knowing they exist lets you ask a supplier the right question and read a drawing with confidence.
Practical habits
Mark the two or three dimensions that really matter and tighten only those. Include process variation: molded and printed parts differ, as noted in the guides to molding and prototype enclosures. Include the board, whose outline and connector positions have their own variation, as in circuit board basics. Then measure a few real assemblies and compare them with the sum.