Tolerance Stack Calculator
Calculate worst-case and statistical tolerance stack-up for assembled parts. Enter values for instant results with step-by-step formulas.
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer
Tolerance Stack Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: RSS = sqrt(t1^2 + t2^2 + ... + tn^2)
Worked example โ Assembly: 57 +/- 0.29mm (worst-case) or 57 +/- 0.15mm (RSS, 48.3% tighter)
Formula
RSS = sqrt(t1^2 + t2^2 + ... + tn^2)
Where RSS = Root Sum Square tolerance, t1 through tn are individual part tolerances. Worst-case simply sums all tolerances. The RSS method assumes normal distributions and independent dimensions, producing a statistically likely total tolerance that is smaller than worst-case.
Worked Examples
Example 1: Four-Part Linear Stack-Up
Problem:Four parts with nominals 10, 15, 20, 12 mm and tolerances +/-0.05, 0.08, 0.10, 0.06 mm are assembled. Calculate worst-case and RSS total tolerance.
Solution:Nominal total = 10 + 15 + 20 + 12 = 57 mm Worst-case = 0.05 + 0.08 + 0.10 + 0.06 = 0.29 mm RSS = sqrt(0.05^2 + 0.08^2 + 0.10^2 + 0.06^2) = sqrt(0.0025 + 0.0064 + 0.0100 + 0.0036) = sqrt(0.0225) = 0.15 mm RSS reduction = (1 - 0.15/0.29) x 100 = 48.3%
Result:Assembly: 57 +/- 0.29mm (worst-case) or 57 +/- 0.15mm (RSS, 48.3% tighter)
Example 2: Six-Sigma Stack-Up for Precision Assembly
Problem:Three precision parts with tolerances +/-0.02, 0.03, 0.025 mm need 6-sigma quality. What is the statistical tolerance?
Solution:RSS = sqrt(0.02^2 + 0.03^2 + 0.025^2) = sqrt(0.0004 + 0.0009 + 0.000625) = sqrt(0.001925) = 0.04389 mm 6-sigma tolerance = 0.04389 x (6/3) = 0.04389 x 2 = 0.08778 mm Worst-case = 0.075 mm Note: 6-sigma is larger than worst-case, showing extra margin for process variation.
Result:3-sigma: +/-0.044mm | 6-sigma: +/-0.088mm | Worst-case: +/-0.075mm
Frequently Asked Questions
What is tolerance stack-up analysis and why is it important?
Tolerance stack-up analysis is the process of calculating the cumulative effect of individual part tolerances on the overall assembly dimension. When multiple parts are assembled together, each part contributes its own dimensional variation, and these variations can add up to create a total assembly variation that is much larger than any single part tolerance. This analysis is critical for ensuring that assembled products function correctly, parts fit together properly, and quality standards are met. Without stack-up analysis engineers risk creating designs that cannot be reliably manufactured or assembled.
What is the difference between worst-case and RSS tolerance analysis?
Worst-case analysis assumes all parts are simultaneously at their extreme tolerance limits, giving the maximum possible variation in the assembly. This is the most conservative approach but is statistically unlikely for assemblies with more than a few parts. RSS (Root Sum Square) analysis takes a statistical approach, calculating the square root of the sum of squared tolerances. RSS assumes tolerances follow a normal distribution and that it is statistically improbable for all parts to be at their extremes simultaneously. RSS typically produces a total tolerance 30 to 60 percent smaller than worst-case, allowing tighter assembly specifications without tightening individual part tolerances.
When should I use worst-case versus statistical tolerance analysis?
Use worst-case analysis when the assembly is safety-critical, when the number of parts in the stack is small (fewer than four), when 100 percent conformance is required with no rejects, or when production volumes are low. Use statistical (RSS) analysis when the assembly has many contributing dimensions, when a small percentage of out-of-tolerance assemblies is acceptable, when production volumes are high enough for statistical behavior, and when tightening individual tolerances would be too costly. Many engineers use both methods: worst-case to understand the absolute extremes and RSS to set realistic manufacturing specifications.
What does the sigma level mean in tolerance analysis?
The sigma level represents the number of standard deviations used in the statistical tolerance calculation and directly determines the expected yield or conformance rate. At 3-sigma (the most common default), approximately 99.73 percent of assemblies will be within specification. At 4-sigma the conformance rises to 99.9937 percent, and at 6-sigma it reaches 99.99966 percent or about 3.4 defects per million opportunities. Higher sigma levels result in larger calculated tolerance zones, meaning tighter individual part tolerances are needed to achieve the desired assembly quality level. The appropriate sigma level depends on production volume and acceptable defect rates.
How do I identify which parts contribute most to the tolerance stack?
The contribution of each part to the RSS tolerance stack is proportional to the square of its individual tolerance divided by the sum of all squared tolerances expressed as a percentage. This means parts with larger tolerances contribute disproportionately more to the overall stack variation. To identify the biggest contributors, calculate each tolerance squared, sum all squared tolerances, then divide each squared tolerance by the total and multiply by 100 for the percentage contribution. Focus tolerance reduction efforts on the highest contributors first, as reducing the largest tolerance by a small amount has more impact than significantly tightening an already-tight tolerance.
What are common methods for reducing tolerance stack-up?
Several strategies can reduce tolerance stack-up in assemblies. First, reduce the number of parts in the tolerance chain by combining features or redesigning the assembly. Second, tighten tolerances on the largest contributors identified through contribution analysis, but consider the cost implications. Third, use datum schemes that minimize the number of dimensions in the critical path. Fourth, consider using adjustable features like shims, slots, or eccentric fasteners to absorb variation. Fifth, apply geometric dimensioning and tolerancing to control form and orientation more precisely. Each approach involves trade-offs between manufacturing cost, assembly complexity, and performance requirements.
What is a tolerance chain and how do I set one up?
A tolerance chain (also called a tolerance loop or stack-up diagram) is the sequence of dimensions that contribute to a critical assembly measurement. To set one up, first identify the critical assembly dimension or gap you need to control. Then trace a path through the assembly from one side of the gap to the other, noting each part dimension and its tolerance along the way. Assign positive or negative signs based on whether each dimension adds to or subtracts from the gap. The sum of nominals gives the nominal gap, and the tolerance analysis (worst-case or RSS) gives the expected variation. A well-constructed tolerance chain captures all contributing dimensions without duplication.
How does geometric tolerancing affect stack-up calculations?
Geometric tolerances such as flatness, perpendicularity, and position directly affect tolerance stack-up calculations because they contribute additional variation beyond simple dimensional tolerances. For example, a perpendicularity tolerance on a mounting surface creates angular variation that translates into positional error at a distance from that surface. Position tolerances on fastener holes affect the alignment between mating parts. When performing tolerance stack-up analysis, geometric tolerances must be converted to their linear equivalent in the direction of the stack. This often requires trigonometric calculations based on the feature geometry and the distance from the datum.
What software tools are available for tolerance stack-up analysis?
Several professional software tools are available for tolerance stack-up analysis ranging from simple spreadsheet approaches to sophisticated 3D simulation packages. Dedicated tools include Sigmetrix CETOL 6 Sigma, Dimensional Control Systems 3DCS, and VSA (Variation Simulation Analysis) from Siemens. Many CAD systems include basic tolerance analysis modules, such as the tolerance analysis features in SOLIDWORKS and PTC Creo. For simpler one-dimensional stack-ups, Microsoft Excel spreadsheets with the appropriate formulas are widely used in industry. Monte Carlo simulation can also be performed in Excel or MATLAB to model non-normal tolerance distributions and complex assembly scenarios.
What assumptions does the RSS method make and when do they fail?
The RSS method assumes that all individual part dimensions follow a normal (Gaussian) distribution, that all parts are independent (no correlation between dimensions), and that the process is centered on the nominal value without any systematic bias or shift. These assumptions can fail in several situations: when parts come from processes with non-normal distributions such as skewed or bimodal distributions, when dimensions are correlated due to shared manufacturing setups or tooling, or when processes have known mean shifts. In these cases Monte Carlo simulation with actual distribution data provides more accurate results than the standard RSS formula and should be used for critical assemblies.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎCantilever Retaining Wall Calculator
Calculate cantilever retaining wall with inputs, formulas, and instant results.
๐งฎOpen Channel Manning Calculator
Calculate open channel manning with inputs, formulas, and instant results.
๐งฎPipe Flow Darcy Weisbach Calculator
Calculate pipe flow darcy weisbach with inputs, formulas, and instant results.
๐งฎRoad Superelevation Calculator
Calculate road superelevation with inputs, formulas, and instant results.
๐งฎRlccircuit Impedance Calculator
Calculate rlccircuit impedance with inputs, formulas, and instant results.
๐งฎThree Phase Power Calculator
Calculate three phase power with inputs, formulas, and instant results.
๐งฎTransformer Turns Ratio Calculator
Calculate transformer turns ratio with inputs, formulas, and instant results.
๐งฎVoltage Divider Calculator
Calculate voltage divider with inputs, formulas, and instant results.