O-ring groove design for 3D printing: depth, width and the layer height that sets the squeeze
A groove that is right on paper can still leak once printed, because its floor lands on a whole layer and the lid bends between its screws. Here are the depth, width and lid numbers for a printed face seal, and a test coupon checked in the Loftsmith engine.
Short answer
Groove depth = cord diameter × (1 − squeeze). Parker’s face-seal chart works at 20–30% squeeze and Formlabs suggests 15–20% for resin-printed parts, so aim for 20–25% on a printed lid. Then round the depth to whole layers from the groove’s open face: a 2.4 mm cord at 0.12 mm layers wants 1.92 mm (20%) or 1.80 mm (25%) in a 3.36 mm wide groove, 70–75% full. One layer there is 5% of squeeze, so print the 15–30% coupon ladder and measure.
Rather have the part than the arithmetic? Describe it in a sentence. Loftsmith designs it with these numbers built in, checks it fits your printer, and gives you the STL or 3MF.
You design a neat little box for a sensor that lives outside, cut a groove for an O-ring, and print it. The lid goes on, the screws go in, and the first rain shower finds its way inside anyway. Often the ring isn’t the problem. The groove came out a layer too deep, or the lid bowed up between the screws, and the ring never got squeezed.
Machined-metal groove tables don’t warn you about either. A printed groove floor can only land on a whole layer, and a printed plastic lid flexes where a metal one wouldn’t. This guide gives the depth, width and lid thickness for a printed face seal, and a set of four test coupons checked in the Loftsmith engine on 30 November 2026. Nothing here has been printed or leak-tested yet, and the guide says so wherever it matters.
Groove depth: the formula and where to start
In a face seal the ring sits in a groove in one part, and the flat face of the other part presses down on it. How hard it is pressed is the squeeze: how much of the cord’s thickness the groove takes away.
groove depth = cord diameter × (1 − squeeze)
The sources agree on the formula and disagree on the squeeze:
- Parker, the O-ring maker, sizes face-seal grooves for 20–30% squeeze on 2.62 and 3.53 mm cords, and 19–32% on 1.78 mm cord, in Design Chart 4-3 of its O-Ring Handbook. Parker’s PDF wouldn’t open for our checker, so these figures come from KasperCalc’s reproduction of the chart.
- Formlabs suggests a groove 15–20% shallower than the cord in its white paper on watertight printed enclosures. Formlabs sells resin printers, and its tests were on resin and powder parts.
- Global O-Ring and Seal gives 9–25% for face seals, and the Madison Group puts the maximum for a static seal at about 30%.
For a printed lid, aim at 20–25%: inside Parker’s band, a step above Formlabs’ figure, and clear of the 30% ceiling. A common shortcut, a groove half the cord deep, squeezes the ring 50%, which is far past it.
With the coupons’ default 2.4 mm cord and 0.12 mm layers, that gives 1.92 mm (16 layers, 20%) or 1.80 mm (15 layers, 25%), in a groove 3.36 mm wide. Here are all four coupons as the engine built them:
| Squeeze | Groove depth | Layers deep | Groove width | Gland fill |
|---|---|---|---|---|
| 15% | 2.04 mm | 17 | 3.36 mm | 66% |
| 20% | 1.92 mm | 16 | 3.36 mm | 70% |
| 25% | 1.80 mm | 15 | 3.36 mm | 75% |
| 30% | 1.68 mm | 14 | 3.45 mm | 78% |
Why your layer height decides the squeeze
A slicer cuts the model into layers, so a groove floor can only print at a layer boundary. Cura documents its default: it slices each layer at the middle of its thickness, so heights round to the nearest layer (the Cura Settings Guide on Slicing Tolerance). A PrusaSlicer user’s test at 0.2 mm layers saw the same thing: 10.05 mm printed as 10.0, 10.1 mm printed as 10.2, 10.15 mm printed as 10.2 mm. Bambu Studio is based on PrusaSlicer.
On a 2.4 mm cord, one 0.12 mm layer is exactly 5% of squeeze. That is why the coupon ladder steps by 5%: each coupon is one layer deeper than the last. At 0.20 mm layers, one layer is 8.3%, so a 5% ladder can’t be printed at all. Smaller cords are worse, because the same layer is a bigger share of a thinner ring.
| Cord | Series | 0.08 mm layers | 0.12 mm layers | 0.16 mm layers | 0.20 mm layers | Squeeze per layer |
|---|---|---|---|---|---|---|
| 1.5 mm | Common metric (kits) | 1.20 mm (20%) | 1.20 mm (20%) | 1.12 mm (25%) or 1.28 mm (15%) | 1.20 mm (20%) | 5.3 / 8.0 / 10.7 / 13.3% |
| 1.78 mm | AS568 -0xx | 1.44 mm (19%) | 1.44 mm (19%) | 1.44 mm (19%) | 1.40 mm (21%) | 4.5 / 6.7 / 9.0 / 11.2% |
| 2 mm | Common metric (kits) | 1.60 mm (20%) | 1.56 mm (22%) | 1.60 mm (20%) | 1.60 mm (20%) | 4.0 / 6.0 / 8.0 / 10.0% |
| 2.4 mm | JIS B 2401 P-series | 1.92 mm (20%) | 1.92 mm (20%) | 1.92 mm (20%) | 2.00 mm (17%) | 3.3 / 5.0 / 6.7 / 8.3% |
| 2.62 mm | AS568 -1xx | 2.08 mm (21%) | 2.04 mm (22%) | 2.08 mm (21%) | 2.00 mm (24%) | 3.1 / 4.6 / 6.1 / 7.6% |
| 3 mm | Common metric (kits) | 2.40 mm (20%) | 2.40 mm (20%) | 2.40 mm (20%) | 2.40 mm (20%) | 2.7 / 4.0 / 5.3 / 6.7% |
| 3.53 mm | AS568 -2xx | 2.80 mm (21%) | 2.88 mm (18%) | 2.88 mm (18%) | 2.80 mm (21%) | 2.3 / 3.4 / 4.5 / 5.7% |
The layer step isn’t the only error. The cord itself has a tolerance: a 2.4 mm JIS P-series cord is ±0.09 mm (Rix). In a 1.92 mm groove that alone moves the squeeze from 16.9% to 22.9%, before any print error. Both are reasons to print the ladder rather than trust one number.
Which way the groove faces, and the first layer
The table counts layers from the face the groove opens in. That only matches the printer if that face sits on a layer boundary, and the first layer moves the boundaries. Bambu Studio’s A1 “0.12mm Fine” profile keeps a 0.2 mm first layer (inherited from its common process profile), so layer tops sit at 0.2, 0.32, 0.44 mm and so on, not at multiples of 0.12.
- Groove facing up (how the coupons print). The groove is cut into the top face of each base, around the water cavity; the land is the strip between them. The lid’s flat underside is the sealing face, and it prints on the bed: the build report drops the lid onto the bed from z = 10.4 mm without turning it over. The 10.4 mm base is 0.2 + 85 × 0.12 mm, so its top face sits on the grid at 0.12 mm layers and the depths in the table print as drawn.
- Groove facing the bed. If you print the grooved part upside down to get a smooth sealing face, the floor lands on the 0.2 + k × layer grid instead. At 0.12 mm layers the coupons’ depths become 2.00 mm, 1.88 mm, 1.76 mm, 1.64 mm, so each squeeze rises from 15%, 20%, 25%, 30% to 16.7%, 21.7%, 26.7%, 31.7%. Draw a bed-down groove to 0.2 mm plus a whole number of layers.
- Other layer heights. The 10.4 mm base is 0.2 mm plus 127.5 layers of 0.08 mm, or 63.75 layers of 0.16 mm, not a whole number, so at 0.08 and 0.16 mm the base’s top face is off the grid and every groove floor can shift by part of a layer. That assumes your profile also starts with a 0.2 mm first layer; we checked only the 0.12 mm A1 profile.
Whichever way it faces, pick a layer height that divides your target depth, set the coupon’s layer slider to it, and measure one printed groove with calipers before you trust a number in the table.
Groove width and gland fill: room for the squashed ring
A squeezed ring gets shorter and wider. It needs room to spread sideways, or the extra rubber has nowhere to go but the gap between the parts. The measure is gland fill: the ring’s cross-section as a share of the groove’s.
gland fill = (π ÷ 4 × cord²) ÷ (depth × width)
The Madison Group gives 60–85% as the working band and 75% as the optimum (Madison Group); JLCMC and Global O-Ring give the same band. The engine’s limit is 85%. The coupons fill 66%, 70%, 75%, 78%: deeper squeeze means a shallower groove, so the fill climbs.
The grooves are 3.36 mm wide (1.4× the cord), except the 30% coupon’s, which the engine built at 3.45 mm. The build report records that width but not the rule that set it. It wasn’t the 85% limit: at 3.36 mm that groove would be 80.1% full, which passes. If you copy the 30% groove into your own design, use the 3.45 mm width the engine checked.
Parker’s face-seal widths for liquids work out at 1.27–1.53 times the cord. The coupon’s width slider runs 1.3–1.5×, with 1.4× (3.36 mm on a 2.4 mm cord) as the default.
| Cord | AS568 series | Groove depth | Squeeze (Parker) | Width for liquids | Width ÷ cord |
|---|---|---|---|---|---|
| 1.78 mm (.070 in) | -0xx | 1.27–1.37 mm | 19–32% | 2.57–2.72 mm | 1.44–1.53× |
| 2.62 mm (.103 in) | -1xx | 1.88–2.03 mm | 20–30% | 3.45–3.61 mm | 1.32–1.38× |
| 3.53 mm (.139 in) | -2xx | 2.57–2.72 mm | 20–30% | 4.50–4.75 mm | 1.27–1.35× |
Which wall should the ring touch?
Parker sizes a face-seal groove by the direction of the pressure (Chart 4-3 notes, via KasperCalc). With pressure from inside, the groove’s outer diameter matches the ring’s outer diameter, so the pressure pushes the ring against a wall it already touches. With pressure from outside, the groove’s inner diameter matches the ring’s inner diameter. Rain on a box is pressure from outside; the coupon’s coloured-water test is pressure from inside. Without a real pressure difference this matters little, but if you stretch the ring over an inner wall, keep the stretch to about 1–5%, ideally 2–3% (Madison Group). The coupon’s ring-ID slider runs 12–30 mm; the engine checks that the squashed ring fits each groove without pressing into the walls beyond contact.
The lid has to stay flat between the screws
This is the failure the groove tables leave out. The ring pushes back on the lid, and the lid is held only at the screws. Between them it bows upward, and in the middle of each span the face lifts and the squeeze drops. Lift it by the full squeeze and the ring is no longer squeezed at all. JLCMC’s groove guide tells you to check cover thickness and bolt spacing, but no page we found gives a thickness or a bow figure for a printed lid.
The engine checks it. Its report gives the inputs as “ring force up to 225 N on a 27.8 mm screw span”, with PETG at 2000 MPa, the modulus in the engine’s PETG profile. It doesn’t say whether 225 N is the whole ring or the share between two screws, so this guide quotes no force per screw. The check’s limit is a bow of 20% of the squeeze. That needs a lid at least 4.10 mm thick; the coupons’ 4.5 mm lid bows at most 15% of the squeeze.
Bending goes with the cube of thickness: a beam’s deflection is proportional to load × length³ ÷ (modulus × thickness³) (Engineering ToolBox’s beam formulas). Keep the screws, the ring and the squeeze the same, and that shows how fast a thinner lid gets into trouble:
| Lid thickness | Bow (% of the squeeze) | Against the 20% limit |
|---|---|---|
| 3.0 mm | 51% | Fails |
| 3.5 mm | 32% | Fails |
| 4.0 mm | 22% | Fails |
| 4.5 mm | 15% | Passes |
| 5.0 mm | 11% | Passes |
The span hurts more than the thickness helps. A longer span doesn’t just bend more under the same force: it also carries more ring, and the ring pushes along its whole length. So the force between two screws grows with the span, the bow grows with the span to the fourth power, and the lid you need grows faster than the span:
| Screw span | Minimum lid thickness |
|---|---|
| 20.0 mm | 2.6 mm |
| 27.8 mm | 4.1 mm |
| 40.0 mm | 6.7 mm |
| 55.6 mm | 10.3 mm |
Doubling the span from 27.8 to 55.6 mm takes the lid from 4.1 mm to 10.3 mm. On your own enclosure, add a screw rather than stretch the span, or stiffen the lid with ribs where it bends; the wall thickness guide shows why a ribbed lid is stiffer than a thick one for the same plastic.
The modulus varies by filament. Bambu Lab’s data sheet for PETG Basic gives 1950 MPa in the layer plane and 1740 MPa across the layers (via filamentdb). A lid printed flat bends in the layer plane, so the engine’s 2000 MPa is close for that spool. A softer filament bows more, in proportion.
The land, the walls, and why “waterproof” is the wrong word
The land is the strip of the base’s top face between the groove and the water cavity; the lid’s flat face bears on it. On the coupons it is 1.80 mm, 4 perimeters, around a cavity at least 14.3 mm across, and the slider sets it from 3 to 6 perimeters. A land that is a whole number of perimeters prints as solid wall, so the cavity side of the groove has no infill gaps for water to find.
Then there are the walls themselves, and here the two published tests disagree:
- Formlabs found that FDM parts (PLA) took on water as soon as they were submerged, and dropped them from its tests (white paper).
- Prusa tested O-ring-sealed boxes down to 20 m of water. PLA boxes held, untreated PETG leaked quickly through the seams, and epoxy-coated PETG was fine (part 2 of its watertight series). Its first round found PETG needed at least 4 perimeters to hold water, and that 105–110% flow helps (part 1).
Both point the same way for a box that only has to keep weather out:
- Walls: 4 or more perimeters. Prusa starts deep-water boxes at 4 perimeters and 60% infill, with 2–3 mm walls.
- Material: PETG or ASA for heat and sun, not because they seal best. The PLA vs PETG vs ASA comparison covers where each one lives.
- Sealing faces: as smooth as you can make them, printed on the bed or ironed. Prusa asks for this, and Parker’s chart assumes a machined finish.
- Grease: a thin film of silicone grease on the ring, before every use in Prusa’s tests. Parker Super O-Lube is a silicone lubricant, and Marco Rubber lists nitrile among the compatible rubbers.
Call the result splash-resistant. The coupons test the seal, not the walls, and nothing here was pressure-tested, submerged or given an IP rating.
How to run the coupon test
The four coupons print as four bases and four lids, with no supports. The listing recommends 4 walls and 20% infill, about 79 g of PETG and 2 h 47 min on an A1. If you only want to test the groove depth, 2 walls and 15% gets you there in 1 h 37 min and 46 g, but those thinner walls may leak on their own.
| Setting | Filament | Time |
|---|---|---|
| 2 walls, 15% infill | 46 g | 1 h 37 min |
| 3 walls, 15% infill | 62 g | 2 h 11 min |
| 3 walls, 20% infill | 64 g | 2 h 15 min |
| 4 walls, 20% infill | 79 g | 2 h 47 min |
| 4 walls, 25% infill | 80 g | 2 h 49 min |
- Measure the grooves. Each base has its squeeze on the front and its groove depth on the back. Check each groove with the depth rod of your calipers. If a groove is a layer off, the squeeze on the label is off by 5% at the defaults.
- Fit the screws. The lids take M3 × 10 countersunk screws into heat-set inserts. The engine checks that each screw goes 5.5 mm into an 8.2 mm deep insert hole, so it doesn’t bottom out. The heat-set insert hole size chart covers the hole and the iron temperature.
- Wet test. Fill the cavity of one set with coloured water, grease the rings, screw the lids down evenly and stand them upside down on paper towel.
- Splash test. Put a scrap of dry tissue in a second set, close them, and run them under a tap.
- Read the result. Note which squeeze stayed dry in both tests. Use the depth of a dry coupon in your enclosure, at the same layer height and filament, and keep away from the tightest coupon if a looser one also passed: at 30% the ring is at the static maximum.
Heat-set insert testerFind the heat-set insert hole your printer needs before you fit the coupon lids.60 × 16 × 9 mm · 5 g · 11 min
Electronics enclosureAn enclosure for your board, with walls and standoffs sized for a 0.4 mm nozzle, once you know your groove.96 × 67 × 33 mm · 49 g · 1 h 15 minHow the coupon was designed and what the checks caught
The engine computes each squeeze from the depth it actually models, after snapping the floor to a layer, and the fill from the ring and groove areas, and labels each coupon with that squeeze. The build report holds 11 checks, all passed:
| Check | Result |
|---|---|
| Squeeze steps as printed | 15 / 20 / 25 / 30 % with 2.4 mm cord at 0.12 mm layers (groove floors snapped to whole layers); all distinct, inside 8-42 % |
| Gland fill | fill 66 / 70 / 75 / 78 % of groove area (limit 85 %), widths 3.36 / 3.36 / 3.36 / 3.45 mm |
| Lid stays flat between screws | lid 4.5 mm: worst bow 15 % of the squeeze (limit 20 %); ring force up to 225 N on a 27.8 mm screw span, PETG E 2000 MPa |
| O-ring sits in every groove | squashed ring fits each groove without touching walls beyond contact |
| Water cavity and land | cavity at least 14.3 mm across, land 1.80 mm (4 perimeters) |
| Screw engagement | M3 x 10 countersunk: 5.5 mm into a 8.2 mm insert hole, 2.2 mm below |
| Each O-ring goes in (all four) | 20 poses along its path clear of every part. |
| driver: lid screws goes in | 20 poses along its path clear of every part. |
The Workshop review asked for three fixes in its first round, and passed the model in the second:
- A line crediting Formlabs for the warning about porous walls had no link. The reviewer asked for a linked source or for the credit to go; the warning itself stayed.
- The grams and print time in the summary didn’t match the recommended settings; they now quote 79 g and 2 h 47 min at 4 walls and 20%.
- The summary said the engraved depths “are what your slicer will actually print”. That claimed more than the engine knows. It now says they match when the slicer puts groove floors on whole layers, and to measure one with calipers.
The engine also rebuilt the coupons at the ends of every slider: cord 1.5 and 3.5 mm, ring ID 12 and 30 mm, first squeeze 10 and 20%, step 3 and 7%, width 1.3 and 1.5×, land 3 and 6 perimeters, and the 0.08 and 0.16 mm layer choices. All 14 builds passed every check. The report records pass or fail for those builds, not their depths and widths, so open the model to see the numbers for your cord.
What this guide can’t tell you
- Nothing here was printed or leak-tested. The coupon numbers were checked in the Loftsmith engine. There is no pressure, submersion, temperature or long-term creep data.
- The depth table is arithmetic. It rounds to the nearest layer from the face the groove opens in. Your slicer’s first layer, its slicing mode and your printer’s Z accuracy decide the real depth.
- The lid tables are scaled from one engine result: thickness with the cube law at one span and force, span with the ring force in proportion to it. Neither is a rebuild.
- Walls aren’t covered. A dry coupon proves the seal, not the box around it. Formlabs and Prusa disagree on how porous printed walls are, and neither tested your filament.
The coupons themselves are a free Workshop model: open the O-ring groove test coupons, set your cord, ring and layer height, and the engine rebuilds and rechecks them.
Questions people ask
How deep should an O-ring groove be in a 3D printed part?
Depth = cord × (1 − squeeze). Aim for 20–25% squeeze, then round to a whole layer: for a 2.4 mm cord at 0.12 mm layers that is 1.92 mm (16 layers, 20%) or 1.80 mm (15 layers, 25%). Nearest to 20% at the same layer height: 1.44 mm for 1.78 mm cord (19.1%), 2.04 mm for 2.62 mm cord (22.1%) and 2.88 mm for 3.53 mm cord (18.4%). These count layers from a groove face that sits on a layer boundary; a groove printed facing the bed lands on the first-layer grid instead. Measure a printed groove with calipers, because your slicer and first layer decide the real depth.
What layer height should I use for an O-ring groove?
One whose step is small against your cord, and that divides your target depth. On a 2.4 mm cord one 0.12 mm layer is 5% of squeeze and one 0.20 mm layer is 8.3%, so 0.20 mm layers can’t print a 5% ladder. A 1.92 mm groove is 24 layers of 0.08 mm, 16 of 0.12 mm or 12 of 0.16 mm.
How wide should an O-ring groove be?
About 1.3 to 1.5 times the cord, so the squashed ring has room to spread: Parker’s face-seal widths for liquids work out at 1.27–1.53 times the cord. Then check the gland fill, ring area ÷ groove area: the Madison Group gives 60–85%, with 75% as the optimum. The Loftsmith coupons use 1.4× (3.36 mm on a 2.4 mm cord), except the 30% coupon, which the engine built 3.45 mm wide (its report doesn’t record why), for 66–78% fill.
How thick should a 3D printed lid be over an O-ring?
Thick enough not to bow between the screws. Checked in the Loftsmith engine, a PETG lid over the coupons’ 2.4 mm ring (“ring force up to 225 N on a 27.8 mm screw span”, in the report’s words) needs at least 4.10 mm to keep its bow under 20% of the squeeze; the coupons use 4.5 mm (15%). Bow falls with the cube of the thickness. A wider span is worse than it looks, because the ring force between the screws grows with the ring length between them: bow goes with the span to the fourth power, so doubling the span to 55.6 mm needs about 10.33 mm. Add screws before you add thickness.
Can a 3D printed enclosure with an O-ring be waterproof?
Don’t count on it. Formlabs found FDM PLA parts took on water as soon as they were submerged. In Prusa’s tests PLA boxes held at 20 m of water, but untreated PETG leaked through the seams. With 4 or more perimeters, smooth sealing faces and a greased ring, call a printed box splash-resistant unless you have tested it yourself.
Sources and method
Written and computed by the Loftsmith team on 30 November 2026. The coupon figures come from the Loftsmith engine’s build of the Workshop model “O-ring groove test coupons for printed lids, 15-30% squeeze” on the Bambu Lab A1 profile in PETG at its default sliders (2.4 mm cord, 0.12 mm layers): 11 checks, all passed, and 14 rebuilds at the slider ends and layer choices, all passed, after 2 rounds of Workshop review. The page reads them from the report’s own text in code.
The depth table is this page’s arithmetic (depth = cord × (1 − squeeze), rounded to the nearest whole layer), checked in code against the engine’s four coupons. The lid tables scale the engine’s lid result: thickness with the beam cube law at the same span and force, and span with the ring force in proportion to the span (bow ∝ span⁴ ÷ thickness³). The report gives the lid check’s load as “ring force up to 225 N on a 27.8 mm screw span” without saying whether that is the whole ring or the share between two screws, so the page quotes no force per screw; the thickness figures scale by ratio and don’t depend on it. Parker’s Design Chart 4-3 was read through KasperCalc’s reproduction, because Parker’s PDF refused our requests, and ISO 3601-2:2025 is paywalled and was not consulted. The other sources below were read on 30 November 2026.
Not tested: no coupon has been printed, measured or leak-tested, and there is no pressure, submersion, temperature or creep data. When there is, the results will go here.
Found a mistake? Email [email protected] and we’ll fix it.
- Parker O-Ring Handbook ORD 5700, Design Chart 4-3 (Parker’s pages refused our checker; chart read via KasperCalc, below)
- KasperCalc: face seal O-ring gland dimensions (reproduces Parker Design Chart 4-3)
- Formlabs white paper: 3D printing watertight enclosures and pressure testing results
- Prusa blog: Watertight 3D printing, part 2 (updated 5 January 2024)
- Prusa blog: Watertight 3D printing, part 1 (23 April 2021)
- The Madison Group: O-rings, an effective, simple and versatile sealing solution
- JLCMC: O-ring groove design guide (21 August 2026)
- Global O-Ring and Seal: O-ring groove design
- NH O-Ring: ISO 3601 and AS568 cross-section table
- American Rubber: JIS B 2401 metric O-rings (P and G series)
- Rix: JIS B 2401 P-series O-ring sizes and tolerances
- Marco Rubber: Parker Super O-Lube (silicone lubricant, compatible elastomers)
- Cura Settings Guide: Slicing Tolerance
- Prusa forum: what datum lines does PrusaSlicer use to generate layers? (13 April 2023)
- BambuStudio README (based on PrusaSlicer)
- BambuStudio profile: 0.12mm Fine @BBL A1
- BambuStudio profile: fdm_process_common (initial layer height)
- filamentdb: Bambu Lab PETG Basic (bending modulus from Bambu’s data sheet)
- Engineering ToolBox: cantilever beam formulas
