Quality and Inspection
Tolerance Stack-Up Calculator Excel Template
Add up a one-dimensional tolerance stack and see the gap's worst-case and statistical (RSS) range against its limits, and which dimensions contribute most.
Free, and a plain .xlsx with no macros to enable. A CSV with live formulas and a printed how-to guide come with it.
Overview
This tolerance stack-up calculator is a working Excel workbook for design, mechanical, manufacturing and quality engineers. It ships with a worked example, the end play of a gearbox output shaft through seven dimensions from fictional drawings, so the dashboard and charts show a real result the moment you open it; replace the rows with your own loop and everything recalculates.
Each row is one dimension in the loop: where it comes from, whether it opens or closes the gap, its nominal and its plus and minus tolerances. The workbook moves every dimension to the middle of its tolerance zone with an equal plus-or-minus tolerance, adds the means into the mean gap, and gives the worst-case range (every half tolerance added) and the statistical RSS range (the root of the sum of the squared half tolerances). It also checks the worst-case width against the allowed width the same way the Tolerance Stackup calculator on this site does.
In practice, sketch the loop, enter it once and use the shares to decide where to spend tolerance: in the example the two bearing widths carry the largest shares, so a selected shim or a tighter bearing class moves the result far more than the gasket or the spigot.
What this template includes
- Stack-Up table: one row per dimension in the tolerance loop with its source, direction, nominal and plus and minus tolerances, which may be unequal
- Each dimension re-centred on the middle of its tolerance zone with an equal plus-or-minus tolerance, its signed nominal and mean, and its share of the worst-case and RSS stack
- Worst-case and root-sum-of-squares (RSS) gap ranges, the nominal and mean gap and how far the mean sits from the middle of the specification
- Check column that names problems in words: a direction other than Positive or Negative, a lower limit above the upper limit, missing values
- Dashboard with eight KPI tiles marking each worst-case and RSS limit Within limits or Out of limits, the worst-case width against the allowed width, and the largest contributor
- Two native charts: the gap's worst-case and RSS range between your limits, and each dimension's share of the worst-case and RSS stack
- Method sheet with every formula, a Verify sheet that re-checks them against an independent reference (Self-check: PASS), and an About MFG Calcs sheet linking the live calculator and every free tool on the site
Suggested use case
Use it to check a clearance or fit before a drawing is released, to decide between worst-case and statistical tolerancing, or to find which tolerance to tighten when a gap runs out of limits.
How to use it
- On Setup, name the gap you are studying, choose mm or in and type the gap's minimum and maximum (negative for an interference).
- Draw the tolerance loop from one side of the gap to the other, then add one row per dimension on Stack-Up in loop order.
- Set each dimension's direction (Positive when a larger dimension opens the gap, Negative when it closes it) and type its nominal and plus and minus tolerances.
- Fix anything the Check column flags, then open the Dashboard.
- If a limit shows Out of limits, start with the largest shares: tightening a small contributor barely moves the result.
Frequently Asked Questions
- What is the difference between worst-case and RSS tolerance stack-up?
- Worst case adds every half tolerance, as if every part sat at its worst limit at once; RSS adds them as the square root of the sum of their squares, because independent variations rarely all line up. In the example, seven half tolerances add to plus or minus 0.31 mm worst case but only 0.123 mm RSS, so the end play is 0.31 to 0.93 mm worst case and 0.497 to 0.743 mm RSS, against a requirement of 0.30 to 0.80 mm.
- How does the workbook handle unequal tolerances such as +0/-0.12?
- It moves each dimension to the middle of its tolerance zone and gives it an equal plus-or-minus tolerance: 16.00 +0/-0.12 becomes 15.94 plus or minus 0.06. The mean gap is built from these means, which is why the example's mean gap (0.62 mm) is larger than its nominal gap (0.45 mm).
- How do I set the direction of each dimension?
- Walk the loop from one side of the gap to the other. A dimension is Positive when making it larger makes the gap larger, and Negative when making it larger closes the gap. In the example the housing length and the gasket are Positive, and the bearings, spacer, gear hub and cover spigot are Negative.
- When is it safe to use the RSS result?
- When the loop has several dimensions, each made by a stable process centred on its tolerance and spreading about plus or minus three standard deviations across it (a Cp of 1.0), and the variations are independent. With only two or three dimensions, processes that run off-centre, or parts from one batch, the real spread moves towards the worst case, so many teams design to worst case wherever a failure would matter.
- How does it compare with the Tolerance Stackup calculator?
- The calculator checks four tolerance widths against an allowed width: 0.10 + 0.08 + 0.05 + 0.03 = 0.26 full width, 0.04 under a 0.30 allowance. The workbook's full width and width margin are the same check for any number of dimensions, with the allowed width taken as the gap maximum minus the minimum: in the example, 0.62 mm of tolerance against 0.50 mm allowed, a margin of -0.12 mm.