Tolerance Stack‑Up Calculator
Every mechanical assembly is a chain of dimensions. The housing bore has a tolerance. The bearing outer race has a tolerance. The shaft diameter has a tolerance. Each one is small on its own — ±0.05mm here, ±0.025mm there. But stack five or six of them together and suddenly your “guaranteed clearance” of 0.10mm could be zero. Or negative. That is an interference fit you did not design for.
Tolerance Stack‑Up Calculator
Enter nominal, ± tolerance, and direction for each dimension in the chain.
Worst‑Case: sum of nominal ± sum of tolerances · RSS: sqrt(sum of tolerance²)
Tolerance Stack‑Up Calculator
Calculate worst‑case, RSS, and process capability (Cp/Cpk) for your assembly. Enter nominal and tolerance for each dimension, with direction.
Enter values and click Calculate.
Tolerance Stack‑Up Methods Explained
Any tolerance stack‑up analysis answers one question: given the tolerances on every part in the assembly, what is the range of possible outcomes for the assembly dimension I care about? There are two fundamental methods — and they give very different answers.
Worked Example: Three ±0.1mm Dimensions
For three dimensions each toleranced at ±0.1mm, Worst‑Case gives ±0.3mm total variation. RSS gives approximately ±0.173mm — about 42% less.
The Three Analysis Methods
Worst‑Case
Assumes every dimension at its worst extreme simultaneously. Guarantees 100% conformance. Use for safety‑critical assemblies or small stacks.
WC = Σ|tᵢ|RSS (Statistical)
Assumes tolerances are independent and normally distributed. Reduces stack by 30–60% vs. WC. Use for production volumes with controlled processes.
RSS = √(Σ tᵢ²)Cp & Cpk
Measures process capability. Cp = (USL−LSL)/6σ. Cpk accounts for centering. Cpk ≥ 1.33 is capable; < 1.00 is not capable.
Cpk = min(mean−LSL, USL−mean)/3σWhat the Results Mean
100% assembly conformance guaranteed. Overdesigns parts — increases manufacturing cost. Best for safety‑critical or low‑volume assemblies.
99.73% (3σ) or 99.99966% (6σ) conformance. Allows wider tolerances, reduces cost. Assumes normal distribution and process centering.
Cpk ≥ 1.33: capable (aerospace standard). 1.00–1.33: marginal — frequent inspection needed. < 1.00: not capable — loosen tolerance or change process.
Process Capability by Machining Process
The same process can achieve dramatically different Cp/Cpk depending on machine condition, operator skill, material, and inspection frequency. Here are realistic Cpk values for well-maintained CNC equipment in a production environment.
Typical Cpk ranges for common CNC processes and materials. SPC (Statistical Process Control) can significantly improve capability by reducing variation and keeping the process centered.
CNC Milling
Typical Cpk ranges for milling operations across different materials.
| Material | Typical Cpk | SPC Capable |
|---|---|---|
| Aluminum 6061 | 1.0–1.33 | 1.67 |
| Stainless 304 | 0.8–1.2 | 1.33 |
| Titanium | 0.7–1.1 | 1.33 |
CNC Turning
Turning operations typically achieve tighter capability due to better chip control.
| Material | Typical Cpk | SPC Capable |
|---|---|---|
| Aluminum | 1.33–1.67 | 2.0+ |
| Stainless | 1.0–1.33 | 1.67 |
Swiss Machining
Swiss-type lathes excel at small, complex parts with exceptional capability.
| Material | Typical Cpk | SPC Capable |
|---|---|---|
| All Materials | 1.33–1.67 | 2.0+ |
Swiss machining delivers the highest process capability due to guided bushing support, reduced tool deflection, and consistent material handling.
Frequently Asked Questions
Tolerance stack‑up analysis is the process of calculating the cumulative effect of individual part tolerances on an assembly dimension. When multiple parts with their own dimensional tolerances are assembled, the total variation in a gap, clearance, or interference is the sum — either arithmetic (Worst‑Case) or statistical (RSS) — of the individual tolerances. Every mechanical engineer, designer, and machinist uses tolerance stack up analysis to verify that parts will assemble correctly before making anything.
Worst‑Case analysis adds all tolerances linearly: WC = Σ|tᵢ|. It guarantees 100% assembly conformance because it accounts for every dimension being at its worst extreme simultaneously. RSS analysis sums the squares: RSS = √(Σtᵢ²). It predicts the range that 99.73% of assemblies will fall within (at 3σ), assuming normal distributions and independent dimensions. RSS typically gives a 30‑60% smaller total than WC, allowing looser and cheaper individual tolerances at the cost of a small non‑conformance risk.
Use Worst‑Case when 100% assembly conformance is required (safety‑critical parts, medical implants, aerospace flight controls), when the assembly has 4 or fewer dimensions, when you are producing one‑off prototypes, or when your process capability is unknown. This is the conservative approach to worst case tolerance analysis: assume every dimension hits its limit simultaneously and design for that worst case.
Include every dimension that affects the assembly gap or clearance you care about — typically 2 to 15 dimensions. A simple clearance (shaft in bore: 2 dimensions) needs minimal analysis. A bearing assembly (housing + two races + rolling elements + shaft + retaining ring: 5‑7 dimensions) benefits significantly from RSS. Complex gearboxes and engine assemblies can have 12+ dimensions. If you find yourself above 15 dimensions, you may be including dimensions that do not affect the specific gap you are analyzing — review your chain.
Cp (Process Capability) measures whether a process's spread (6σ) fits within the tolerance band. Cpk goes further — it measures whether the process is both tight enough AND centered on nominal. A process with Cp = 2.0 but Cpk = 0.8 is precisely consistent but consistently off‑target. For CNC machining, Cpk ≥ 1.33 is the standard for aerospace (AS9100) and medical devices. A tolerance stack up calculator that provides Cp/Cpk estimates helps you determine whether your tolerance scheme is realistic for the manufacturing processes you will use.
This tolerance stack up calculator handles linear ± tolerances. GD&T callouts — position tolerance, profile tolerance, runout, bonus tolerance at MMC/LMC — require specialized stack‑up methods that account for the geometric tolerance zone shape and datum reference frames. GD&T tolerance stack up analysis — using position zones, profile boundaries, and bonus tolerances — is more complex than linear stacks. For assemblies with GD&T, Baetro's engineering team reviews every drawing for free as part of our DFM process. Upload your CAD and we will verify the GD&T stack‑up before machining begins.
Standard CNC milling holds ±0.05‑0.10mm routinely. Precision CNC milling achieves ±0.01‑0.025mm with temperature control and high‑end tooling. CNC turning achieves tighter tolerances than milling — ±0.005‑0.01mm on precision lathes. Cylindrical grinding achieves ±0.002‑0.005mm. The tightest routinely achievable tolerance in production is around ±0.001mm using jig grinding, lapping, or honing — and each of these processes costs 5‑20× more than standard CNC machining. The process capability flags in this tolerance stack up calculator check every tolerance you enter against these real‑world limits.
A 100mm aluminum part grows by approximately 0.13mm when heated from 20°C to 80°C (ΔT = 60°C, CTE_aluminum ≈ 23 × 10⁻⁶/°C). If your assembly clearance from the stack‑up is 0.10mm, that thermal expansion consumes your entire clearance budget and the assembly will bind. Always calculate your stack‑up at both room temperature and maximum operating temperature. Use the Free Thermal Expansion Calculator to convert your stack‑up dimensions from 20°C to operating conditions.
For most CNC machined parts, ±0.05mm to ±0.10mm is the sweet spot — achievable by any competent shop without special processes or excessive inspection. ±0.025mm adds 50‑100% cost. ±0.01mm adds 100‑200% cost. ±0.005mm and tighter adds 200‑900% cost. The best strategy: use the contributor ranking in this tolerance stack up calculator to identify the one or two dimensions that drive the most variance, tighten those, and leave the rest at standard tolerances. That is how you get a capable assembly at minimum cost.
From Tolerance Analysis to Machined Parts
The tolerance stack up analysis is done. You have run the numbers through this tolerance stack up calculator and the assembly fits. Now: who machines the parts?
Produce every dimension in your stack‑up
CMM inspection on every critical feature
Cp/Cpk statistical reporting
