NewNot sure which service you need? Answer four quick questions. Try the Service Finder

Engineering Tools

How to Size a Snap-Fit with Our Calculator: A Worked Example

By IMECA3D · · 6 min read

Line drawing of an enclosure lid with two cantilever snap-fit arms hooking under ledges in the box walls, with the arm length L and undercut y marked, and two bars showing the strain falling from 219 % to 58 % of the allowable

A snap-fit that looks fine in CAD can crack the first time it is pushed home. In this example we take a real lid clip through our free snap-fit calculator, from a first draft that would break to a version we would print, and show what each number on the screen means.

The example: a clip for an enclosure lid

The part is the lid of a small electronics enclosure printed in PETG. Two cantilever arms on the lid hook under a ledge inside the box walls. The lid is opened for maintenance, so the clip must survive being snapped in and out many times. Inside the box the electronics warm the air to about 40 °C, so we enter that as the highest service temperature. (How we found that temperature is in our enclosure heat-rise example.)

The first draft is what many people would model without thinking about printing:

InputFirst draft
MaterialPETG Basic
How often it is assembledOpened and closed repeatedly
Arm length to hook L12 mm
Thickness h / width b2.0 mm / 6.0 mm (straight arm)
Undercut y1.2 mm
Entry / retention angle30° / 45°
Root filletnone (sharp corner)
Print orientationUpright (the lid printed standing on its edge)
Slicer0.2 mm layers, 0.42 mm lines, 2 wall loops, 15 % infill
Service temperature / tolerance40 °C / ±0.15 mm

Step 1: the first result

Likely to crack or whiten219 %of the limit at the root corner (repeated use)Strain 7.50 % of 3.42 %Push-on 15.3–17.1 NPull-off 28.5–33.2 N

219 % means the inside corner at the root of the arm is stretched to 219 % of what PETG Basic can take before breaking when it is opened and closed repeatedly (7.50 % of 3.42 %), because a small fillet concentrates the strain there. Below 75 %: comfortable margin. 75–100 %: marginal, as print-to-print variation can use up the rest. Over 100 %: the arm is likely to crack or turn white.

The calculator's side view of the 12 mm arm printed upright, with the sharp root corner, the 1.2 mm undercut and the 30° and 45° hook angles
The first draft in the calculator: 219 % of the limit, set by the sharp corner at the root of the arm.

Open the first draft in the calculator →

The verdict is red: likely to crack or whiten. Two problems add up.

  • The arm is stretched too far. Bending the hook 1.2 mm over a 12 mm arm strains the root of the arm to 2.50 %. Printed upright, the bending pulls the layers apart, and the calculator allows only 1.46 % for repeated use in that direction.
  • The sharp corner multiplies it. At a sharp inside corner the local strain is about three times higher (stress concentration factor Kt 3.00): 7.50 % against the 3.42 % the material can take before breaking. That corner check gives the headline figure of 219 %.

The push-on force (15–17 N) and pull-off force (29–33 N) look reasonable. That is the trap: a clip can feel right in the hand and still crack after a few uses.

Step 2: read "What to change"

Under the result the calculator lists the fixes in order of effect, each with the value it needs:

What to change

  • Enlarge the root fillet to about 1.4 mm (R/h ≈ 0.6; a larger radius gains little), and reduce the strain as below: the fillet alone cannot fix the root corner.
  • Lengthen the arm to at least 18.1 mm (strain falls with the square of the length: the most effective fix).
  • Or make the root thinner: 0.88 mm or less.
  • Reduce the undercut to 0.41 mm or less.
  • Taper the thickness to half at the hook: about 39 % less strain for the same undercut.
  • Print the part so the arm lies on its side: the allowable strain roughly doubles.
  • If the joint is only assembled once, select "Assembled once": the allowed strain is higher.
  • If the mating part can flex as well (a thin wall or a second arm), select it under "Mating part": the arm then deflects only about half the undercut.
The "What to change" list for the first draft.

We start with the change that costs nothing: print the lid so the arm lies on its side. The arm then bends along the extrusion lines instead of across the layers, and the allowable strain rises from 1.46 % to 1.90 %. The nozzle also rounds the inside corner slightly, so the corner factor drops from 3.00 to 2.39.

The result improves to 132 %, but it is still red. Orientation alone cannot save a 12 mm arm that has to move 1.2 mm.

Open version 2 (printed on its side) →

Step 3: a longer arm and a real fillet

With the arm on its side, the calculator asks for an arm of at least 15.9 mm. We lengthen it to 18 mm and follow the two printing checks: a root fillet of 1 mm (half the thickness) and 3 wall loops, so the arm is made only of walls running along its length.

yL = 12 mmroot strain 2.50 %yL = 18 mmroot strain 1.11 %same undercut y = 1.2 mmε = 3·y·h2·L²Strain falls withthe square of thelength:(12 / 18)² = 0.44 → 2.50 % × 0.44 = 1.11 %
Why lengthening the arm is the most effective fix: the hook still moves 1.2 mm, but over a longer arm the bend is gentler, so the root is stretched much less.
Will survive assembly58 %of the allowable strain (repeated use)Strain 1.11 % of 1.90 %Push-on 5.7–6.3 NPull-off 10.6–12.3 N

58 % means the root of the arm, its most strained point, is stretched to 58 % of what PETG Basic can safely take when it is opened and closed repeatedly (1.11 % of 1.90 %). Below 75 %: comfortable margin. 75–100 %: marginal, as print-to-print variation can use up the rest. Over 100 %: the arm is likely to crack or turn white.

The calculator's side view of the 18 mm arm printed on its side, with the extrusion walls running along the arm and the 1 mm root fillet
Version 3: 58 % of the allowable strain, a comfortable margin.

Open version 3 in the calculator →

The verdict is now green, at 58 % of the allowable strain (1.11 % of 1.90 %), with a safety margin of 1.71×. The root corner is no longer a problem (27 %). Two more figures matter before printing:

  • With printing tolerance: if the printed arm comes out 0.15 mm thicker or thinner, the result ranges from 47 % to 71 %, still under the 75 % comfort line.
  • Forces: push-on 5.7–6.3 N and pull-off 10.6–12.3 N. The lid stays shut, and it takes about twice the force to open it as to close it, which is what you want from a lid.

Optional step 4: taper the arm

The calculator also suggests tapering the thickness to half at the hook. With the arm tapered from 2.0 to 1.0 mm, the strain drops to 36 %, because the bend is spread along the arm instead of concentrated at the root. The pull-off force, however, falls to 6.5–7.6 N.

Open version 4 (tapered arm) →

For a lid that must stay closed, we would print version 3. The taper is the better choice for a cover that is opened by hand very often, where a lighter click is welcome.

75 % safe limit100 % material limit1 · First draft: printed upright, L 12 mm, sharp root219 %2 · Same arm, printed on its side132 %3 · L 18 mm, 1 mm root fillet, 3 wall loops58 %4 · Optional: thickness tapered to 1 mm at the hook36 %
The same lid clip in four versions, as the calculator rated them. Each change came from the calculator's own "What to change" list. Version 3 is the one we would print.

What the calculator cannot tell you

  • It is a design check, not a test. The material data come from Bambu Lab data sheets for printed specimens, and some values (friction, the corner factor) are our estimates. For a product, print one clip and snap it in and out a few dozen times.
  • It assumes the mating part is rigid. If the ledge is a thin wall that also flexes, select that option: the arm then deflects only about half the undercut.
  • It checks one arm. Alignment, the number of clips and how the lid is guided into place are still your design decisions. Our snap-fit design guide covers those.

The lid in this example is held by clips, but the same enclosure also needs screws for the electronics. That is the next example: heat-set inserts or screws?

More worked examples with our design tools

← All articles

Want an engineer to check your snap-fits?

Send us the CAD file. We check the clips, wall thickness, tolerances and print orientation before anything is printed.

Get a Quote
Chat on WhatsApp