Tolerance Stack-Up: RSS vs Monte Carlo | Vose Software

ModelRisk example · Manufacturing

Tolerance Stack-Up and Process Capability

Will the assembly's gap stay within specification? Worst case, root-sum-square and simulation compared.

  • Complexity: ★★★★★
  • Free Excel workbook (MF-02)
  • Needs ModelRisk: free trial

From the model’s saved run

Will the gap stay in specification?

The gap's range (mm), capability and defects per million, by method and design.

MethodLow mmHigh mmCpCpkOut of spec ppm
Worst case (tolerances add up)0.0000.600–––
Root-sum-square (all Normal, centred)0.1580.4421.061.061,545
Simulation: as made today0.1250.4400.900.798,799
Simulation: capable bearing supply0.1340.4211.060.923,700
Simulation: capable bearing, centred spacer0.1560.4411.061.061,400

Low and high: for the methods, worst case and ±3 standard deviations; for the simulation, the 0.135th and 99.865th percentiles (the same ±3σ coverage). Specification: 0.15 to 0.45 mm.

Gap — cumulative probability
Gap as made today — distribution

The business question

A gearbox's shaft assembly leaves an axial gap: the housing length minus the shaft shoulder, the bearing, the gear hub and a spacer. Too small a gap and the bearing is preloaded. Too large and the gear rattles — the drawing requires 0.15 to 0.45 mm. Each part is made within its tolerance, but tolerances add up.

A worst-case check says the gap could be anything from zero to 0.6 mm; the textbook root-sum-square check says it is fine. Neither knows that the bought-in bearings are sorted to tolerance — any width in the band is as likely as any other — or that the spacer grinder runs a little long.

The model simulates the stack-up as it really is made, measures the assembly's capability, and tests two improvements.

Who it is for
Design and quality engineers, Six Sigma practitioners, supplier quality teams.
Main outputs
The gap's range by worst case, root-sum-square and Monte Carlo · its capability (Cp, Cpk) and defects per million for the current design and two improvements · each part's share of the gap's variation.

How the model works

Three sheets after this one, read from left to right. Each one feeds the next.

  1. Inputs sheet

    The nominal dimension and ± tolerance of the housing, shaft shoulder, bearing, gear hub and spacer. How far the spacer process runs off centre; the lower and upper specification of the gap.

  2. Stack-up sheet

    Each part is drawn from its real distribution — Normal with the tolerance at three standard deviations for parts made in-house, Uniform across the tolerance for the sorted bearings — and the gap is the housing minus the four parts, for the design as made today and for two improvements. Worst-case and root-sum-square ranges are calculated alongside.

  3. Results sheet

    The gap's range by each method; Cp, Cpk and defects per million from the simulation (VoseSixSigma functions). Each part's share of the variation of the gap.

ModelRisk techniques

  • Normal and Uniform dimensions
  • Simulated stack-up
  • Process capability VoseSixSigmaCpk
  • Worst case and root-sum-square
  • Variance by part

Find similar models

Product

The results in detail

Which tolerance to tighten?

Each part's share of the variance of the gap, as made today.

PartStd dev mmShare of variance
Housing0.033336%
Shaft shoulder0.01679%
Bearing width0.034639%
Gear hub0.01679%
Spacer0.01336%

How to read these results

  • The worst case adds all the tolerances: the gap could be anywhere from 0 to 0.6 mm, so the design fails. It assumes every part sits at its worst limit at once — almost never true — and cannot say how often the gap falls outside.
  • Root-sum-square treats every part as Normal and centred: it predicts a Cpk of 1.06 and about 1,500 out-of-specification assemblies per million. Simulating the parts as they are really made gives a Cpk of 0.79 and nearly six times as many defects: the sorted bearings, flat across their tolerance, and the spacer running long make the difference.
  • The bearing and the housing bring three-quarters of the variation (39% and 36%). A bearing supply with a Normal spread inside the same tolerance cuts the defects to about 3,700 per million. Re-centring the spacer as well brings the design to the root-sum-square figure. To reach the usual Cpk of 1.33, tighten the housing and the bearing next.
  • Capability from 10,000 simulated assemblies resolves about 100 parts per million. For designs with fewer defects, run more samples.

See it move. Open the workbook, change an input on the Inputs sheet and run the simulation: every table and chart on this page updates in Excel.

Inputs and assumptions

Every assumption in the model, with its uncertainty and where it comes from. The figures are illustrative.

Parts 10 inputs

The housing adds to the gap; the four parts inside take from it.

AssumptionUnitValue
Housing: nominalMachined in-house.mm120.00
Housing: tolerance± mm0.100
Shaft shoulder: nominalTurned in-house.mm40.00
Shaft shoulder: tolerance± mm0.050
Bearing width: nominalBought in: the supplier sorts to tolerance, so every width in it is equally likely.mm25.00
Bearing width: tolerance± mm0.060
Gear hub: nominalMachined in-house.mm30.00
Gear hub: tolerance± mm0.050
Spacer: nominalGround in-house; the process runs slightly long (see the shift).mm24.70
Spacer: tolerance± mm0.040
Process and specification 4 inputs
AssumptionUnitValue
Spacer process runs long byThe grinder's average is above nominal.mm0.020
A tolerance spansFor a Normal process made to its tolerance: ± tolerance = ± this many standard deviations (3: Cp = 1).standard deviations3.0
Gap: lower specificationLess and the bearing is preloaded.mm0.15
Gap: upper specificationMore and the gear rattles.mm0.45

Units and conventions

Units
Millimetres (mm); defects in parts per million (ppm).
Gap
Housing − (shaft shoulder + bearing + gear hub + spacer).
Cp
Specification width ÷ 6 standard deviations: what the process could do if centred.
Cpk
Distance from the mean to the nearer limit ÷ 3 standard deviations: what it does. 1.33 is a common minimum.
Root-sum-square
The gap's standard deviation as √(Σ of the parts' variances), each part's tolerance taken as 3 standard deviations.

Key assumptions and limitations

Parts
In-house parts are Normal with the tolerance at ±3 standard deviations; sorted bearings are Uniform across the tolerance.
Assembly
Dimensions are independent and add exactly; no deformation or temperature effect.
Simulation
10,000 assemblies resolve about 100 ppm: use more samples for very capable designs.
Data
The gearbox and all figures are invented for this example.

How to use it

  1. Enter each part's nominal and tolerance, and the gap's specification.
  2. Set how far any process runs off centre.
  3. Run a simulation from the ModelRisk ribbon (10,000 samples with a fixed seed are set).
  4. Tighten first the parts with the largest share of the variation.

Simulate this model with ModelRisk’s classic engine: it does not run in Turbo mode yet.

ModelRisk functions used

VoseNormal, VoseUniform
Each part's dimension.
VoseSixSigmaCp, VoseSixSigmaCpk
Process capability of the simulated gap.
VoseSixSigmaDefectPPM
The share of simulated gaps outside the specification, per million.
VoseSimPercentile
The gap's natural range: its 0.135th and 99.865th percentiles.

Further reading

  • Monte Carlo simulation explained (Vose guide)
  • Fischer, B. R. (2011). Mechanical Tolerance Stackup and Analysis, 2nd edition. CRC Press.
  • Montgomery, D. C. (2019). Introduction to Statistical Quality Control, 8th edition. Wiley.