Skip to content
Vectogap
Español

2D tolerance stack-up calculator (vector loop)

Enter each dimension as a vector with its length, its angle and their tolerances, and the direction in which you measure the gap. You get worst case, RSS, Monte Carlo, the verdict and how much each angle weighs.

Nominal gap
0.40 mm
Marginal

0° to the right, counter-clockwise. The gap is the projection of the loop on this direction.

Dimensions

Up to 15 dimensions in the free version.

Gap limits

Leave one empty if it has no limit.

Loop drawing
BaseWallArmPlateφ

Nominal vectors from the origin. The dashed line closes the loop; the φ arrow is the measuring direction.

What weighs on the gap

  • Arm (angle)46.1 %
  • Base24.9 %
  • Plate24.9 %
  • Arm4.0 %
  • Plate (angle)0.0 %
  • Wall0.0 %
LSL 0.05USL 0.80
Worst case
0.024 to 0.776 mm
RSS
0.200 to 0.600 mm
Monte Carlo (mean ± 3σ)
0.201 to 0.600 mm

Verdict

Marginal

Marginal. Fails by worst case, but passes by RSS and Monte Carlo. Monte Carlo estimates 0 % of assemblies outside the limits.

Simulated assembliesEach bar counts the Monte Carlo assemblies whose gap falls in its slice. The limits are in the window above.

Numeric detail

Centred gap
0.4 mm
MethodMinimumMaximum±Passes?
Worst case0.024 mm0.776 mm±0.376 mmNo
RSS0.1997 mm0.6003 mm±0.2003 mmYes
Monte Carlo (mean ± 3σ)0.2009 mm0.5999 mm±0.1995 mmYes

Monte Carlo: 20,000 simulated assemblies, seed 1. Mean 0.4004 mm, σ 0.0665 mm; 0 % outside the limits.

Contribution of each dimension

Share of the total variation (RSS) each dimension brings, largest first. Tightening the first ones helps most.

DimensionSensitivityToleranceContribution
Arm (angle)-0.4534 mm/°±0.3°46.14 %
Base+1±0.1 mm24.93 %
Plate-1±0.1 mm24.93 %
Arm-0.5±0.08 mm3.99 %
Plate (angle)0 mm/°±0.2°0 %
Wall0±0.05 mm0 %

Calculated in your browser: the values you enter are never sent anywhere.

How it works

In an assembly that does not close in a straight line, every dimension is a vector: a length with a direction. The gap is the projection of the loop on the direction in which it is measured. An inclined part brings only part of its length, and its angle moves the gap too.

That is why an angle tolerance can weigh more than any length tolerance, and a dimension perpendicular to the measurement brings nothing. Worst case, RSS and Monte Carlo work as in 1D, with the sensitivity of every length and every angle.

Rule

Gap
g = Σ Li·cos(θi − φ)
Sensitivity to length
∂g/∂L = cos(θ − φ)
Sensitivity to angle, per degree
∂g/∂θ = −L·sin(θ − φ)·π/180
Worst case
T = Σ |si·ti|
RSS
T = √Σ (si·ti)²

Monte Carlo: 20,000 assemblies with the exact geometry (seed 1), mean ± 3σ. Absolute angles: 0° to the right, counter-clockwise.

Worked example

Hinge: base 40.40 ± 0.10 mm at 0°, wall 18.00 ± 0.05 mm at 90°, arm 30.00 ± 0.08 mm at 120° ± 0.30° and plate 25.00 ± 0.10 mm at 180° ± 0.20°, measured at 0°. The nominal gap is 0.40 mm. By worst case it runs from 0.024 to 0.776 mm and misses the 0.05 mm minimum; by RSS it runs from 0.200 to 0.600 mm and passes: Marginal. The arm's angle brings 46 % of the variation and the wall, perpendicular to the measurement, nothing.

Is your chain a straight line? The 1D stack-up calculator is simpler.

Vector loop method with analytic sensitivities and exact-geometry Monte Carlo. For reference only: the drawing governs.