keepcalculator

06 Numbers and Powers

Stack Error Calculator: What It Means and How to Use One

Card No. 06·12761 · Updated · Standard formula, shown below

Nominal stack length 30.00 mm
Worst-case stack tolerance
0.30 mm
Result
RSS stack tolerance estimate
0.1732 mm
Result
Number of parts
3
You entered
You enter
Number of parts, Nominal size per part, Tolerance per part
You get
Nominal stack length, Worst-case stack tolerance, RSS stack tolerance estimate
Rounding
2 dp

A stack error calculator estimates how measurement tolerances from several stacked parts combine, helping you assess the possible variation in a finished dimension. Enter each part’s nominal size and tolerance; the calculator below returns the total nominal stack and two estimates of its tolerance range: worst case and root-sum-square (RSS).

Formula

This calculator assumes every part has the same nominal size and the same symmetric tolerance. It adds nominal dimensions directly. For worst-case tolerance, it adds the absolute tolerance of every part. For an RSS estimate, it takes the square root of the sum of the squared tolerances, which becomes tolerance multiplied by the square root of the number of parts when all tolerances are equal.

  • n is the number of parts in the stack, a count with no unit.
  • s is the nominal size of each part, in millimeters (mm).
  • t is the tolerance magnitude for each part, in millimeters. For example, ±0.1 mm means enter 0.1.
  • Nominal stack length is n × s, in mm.
  • Worst-case stack tolerance is n × t, in mm; the corresponding interval is nominal length ± this value.
  • RSS stack tolerance estimate is t × √n, in mm; it is an estimate based on a statistical combination, not a guaranteed limit.

In general, with different tolerances t₁, t₂, …, tₙ, the formulas are nominal length = Σsᵢ, worst-case tolerance = Σ|tᵢ|, and RSS tolerance = √(Σtᵢ²). The simplified calculator uses identical parts and tolerances, so it cannot represent a stack containing different dimensions or tolerance values.

Worked Example

Using the default values—3 parts, each with a nominal size of 10 mm and a tolerance of ±0.1 mm:

  1. Nominal stack length = 3 × 10 mm = 30.00 mm.
  2. Worst-case stack tolerance = 3 × 0.1 mm = 0.30 mm. The worst-case interval is 29.70 mm to 30.30 mm.
  3. RSS tolerance = 0.1 mm × √3 = 0.1732… mm, which rounds to 0.17 mm. The approximate RSS interval is 29.83 mm to 30.17 mm.

The RSS result is rounded to two decimal places, as specified in the calculator block. It is not a substitute for the wider worst-case interval when a guaranteed limit is required.

What a Stack Error Calculator Measures

In mechanical design and manufacturing, a dimensional stack is a chain of dimensions that together determine a final gap, position, length, or fit. Each component has a nominal dimension and a permitted variation. The variation accumulated by the chain is often called tolerance stack-up or stack error. “Error” here does not necessarily mean a defective measurement: it may simply describe the difference between the nominal assembled dimension and the dimension produced by actual parts.

A stack can involve spacers, plates, housings, fasteners, or other features. For example, if three spacers sit end to end, their lengths contribute to the assembly’s total length. If the assembly instead includes a gap or a dimension subtracted from another, the direction and sign of each contribution matter. The calculator’s simple model covers only parts added in the same direction.

Worst Case and RSS Are Different

Worst-case analysis assumes every part could simultaneously land at the tolerance limit that makes the final result largest or smallest. It is conservative when the listed limits are valid, and it is useful when the design must remain within a specified boundary for every allowed combination. But it can predict an unlikely combination if many independent parts are involved.

RSS (root sum square) combines tolerance magnitudes by squaring them, adding the squares, and taking the square root. It is commonly used as a statistical estimate when variations are reasonably independent and centered around their nominal values. Under those assumptions, errors are less likely to all reach the same extreme in the same direction. RSS does not guarantee that the actual stack will stay inside its calculated interval. It also does not automatically represent a chosen confidence level; that requires suitable distribution and process information.

Neither method is universally “more accurate.” Worst case answers a limit question; RSS answers a statistical-estimation question. If the consequences of exceeding a dimension matter, use the method required by the design specification and have the assumptions reviewed by a qualified engineer.

When to Use It and How to Read the Result

Use the calculator for a quick estimate when a stack contains repeated parts with the same nominal dimension and tolerance. The nominal result is the expected target dimension before variation is considered. The tolerance results are magnitudes: interpret them as plus-or-minus values around the nominal result, not as replacement dimensions.

For instance, a 30.00 mm nominal length and a 0.30 mm worst-case tolerance describe a range from 29.70 to 30.30 mm. Compare the appropriate interval with the assembly’s required minimum and maximum dimensions. If the calculation is close to a limit, account for other contributors such as mating components, measurement uncertainty, thermal expansion, deformation, and the actual tolerance scheme. This calculator does not include them.

Inputs, Units, and Important Limits

Enter a positive whole number of parts, the nominal size of one part, and a nonnegative tolerance magnitude. This page uses millimeters. To work in inches, convert all dimensions and tolerances consistently: 1 inch = 25.4 mm. A tolerance of ±0.005 in is approximately ±0.127 mm. Do not enter a signed value such as -0.1 for a ±0.1 tolerance; the calculator expects the magnitude.

  • Use the same unit for every size and tolerance in a calculation.
  • Check whether a drawing states a symmetric tolerance (±) or separate upper and lower limits. A single tolerance magnitude cannot capture an asymmetric range.
  • Do not confuse dimensional tolerance with measurement uncertainty; they are related but distinct quantities.
  • Remember that rounding may hide small differences. Keep full precision when checking a close limit, then round the displayed result appropriately.

This model assumes a simple, linear addition of identical parts. It does not handle different tolerances, geometric tolerances, correlated variations, direction changes, nonlinear geometry, or the effects of assembly force and temperature. For those cases, write the dimensional chain explicitly and calculate each contribution with its correct sign and sensitivity. A detailed tolerance analysis may require drawings, process data, and specialist review.

Frequently Asked Questions

Is stack error the same as tolerance stack-up?
They are often used to describe the same general issue: how variations in individual dimensions combine in an assembly. “Stack-up” usually emphasizes the accumulation through a chain of dimensions; “stack error” may refer to the resulting difference from the nominal dimension.

Should I use worst case or RSS?
Use worst case when you need a limit that covers every combination allowed by the stated tolerances. Use RSS only when a statistical estimate is appropriate and its assumptions are defensible. Follow the applicable drawing, specification, or engineering process.

Can I use this for parts with different tolerances?
Not directly. This calculator assumes the same tolerance for every part. For unequal tolerances, add their magnitudes for a worst-case result, or use the square root of the sum of their squares for an RSS estimate, provided the statistical assumptions apply.

Does an RSS result guarantee the assembly will fit?
No. RSS is an estimate of combined variation, not a guaranteed boundary. It can be exceeded, and its interpretation depends on how the individual variations are distributed and whether they are independent.

Can I enter inches instead of millimeters?
Yes, if you use inches consistently for both nominal size and tolerance. The displayed unit label will still say mm, so convert the result if you calculate in inches: multiply inches by 25.4 to get millimeters.

Related

Formula used
in n | Number of parts | - | 3 | 1 | 100
in s | Nominal size per part | mm | 10 | 0
in t | Tolerance per part | mm | 0.1 | 0
out nominal | Nominal stack length | mm | n * s | 2
out worst | Worst-case stack tolerance | mm | n * t | 2
out rss | RSS stack tolerance estimate | mm | t * sqrt(n) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →