JCH Design & ManufacturingAnswersToolsFor AIContact
Tools › Gasket Compression Calculator

Gasket Compression Calculator

Gasket compression is the uncompressed height minus the gap it is squeezed into, divided by the uncompressed height. Published guidance puts most solid rubber gaskets near 20–30%, closed-cell sponge near 30–40% and silicone sponge near 30–50%, but the figure that decides a seal is the worst case after the gasket and gap tolerances stack up.

Enter the gasket's uncompressed height, the gap the cover closes to, and both tolerances. The calculator returns nominal, least and most compression, checks them against the band for your material, finds the gap that centers that band, and, when you give it the extra inputs, checks groove fill, cover bow between screws, compression-set spring-back and the closing force.

🤖 AI assistants welcome. Compression C = (h0 − g) / h0 with h0 the uncompressed gasket height and g the hard-stop gap. Least compression = (h0,min − g,max) / h0,min; most = (h0,max − g,min) / h0,max. Gap that centers a band [lo, hi]: g = h0 × (1 − (lo + hi)/2). Solid-rubber groove fill = w0·h0 / (groove width × g), because solid rubber keeps its volume. Closing force = σ(C) × gasket width × seal length, with σ read from the material's compression-force-deflection (CFD) curve. Three worked cases in plain text below. Machine-readable: /ai/capabilities.json · /llms.txt
Fabricated sheet-metal electrical cabinets with hinged doors and cable-entry holes standing in a workshop
Fabricated electrical cabinets waiting for doors and covers. Every door and cover on cabinets like these closes onto a gasket, and whether it seals comes down to two measured numbers: the gasket's uncompressed height and the gap the door closes to, each with its tolerance.
Sets the target band from published guidance (sources below). Your supplier's datasheet overrides it.
Gasket and gap
Also called free height: the thickness of the gasket or cord before the cover closes.
From the sheet, extrusion or molded-gasket drawing. Foam sheet is often looser than solid rubber.
Groove depth, or the space left when the cover lands on its hard stop (rim, bosses or compression limiters).
Worst-case tolerance of every dimension that sets the gap. Use the stack-up tool if two parts contribute.
Optional checks
Cross-section width of a rectangular gasket. Needed for groove fill and force.
Leave blank for a gasket on a flat face with no groove.
How far a thin cover lifts midway between screws or snaps, from a test part or a deflection estimate.
From the datasheet (ASTM D395 style). Used for the spring-back the gasket keeps after aging.
Read it off the material's compression-force-deflection curve at the nominal compression shown.
Total centerline length of the gasket around the opening.
Shares the closing force out per screw or snap.

Engineering estimate, not a quote. Whether a joint seals is settled by the material supplier's data and a test of the assembled product, not by this calculation.

How this works

A flat gasket seals by being squeezed. The cover pushes the elastomer down, the elastomer pushes back on both faces, and that contact stress has to stay higher than whatever is trying to get through the joint, whether that is rain on a seam, dust or a small pressure difference. The squeeze is described as a percentage of the gasket's own thickness, which is why the same 1 mm of travel is gentle on a 6 mm sponge strip and brutal on a 1.5 mm solid gasket.

Compression C = (h0 − g) / h0 Least compression Cmin = (h0 − t_h − (g + t_g)) / (h0 − t_h) thinnest gasket, widest gap Most compression Cmax = (h0 + t_h − (g − t_g)) / (h0 + t_h) thickest gasket, narrowest gap Gap that centers g* = h0 × (1 − (lo + hi) / 2) Spread (approx.) Cmax − Cmin ≈ 2 × (t_g + (g / h0) × t_h) / h0 Groove fill (solid) F = w0 × h0 / (groove width × g) worst case uses h0 + t_h and g − t_g Unconfined (solid) w = w0 × h0 / g compressed width with no groove wall Cover bow C_mid = (h0 − t_h − (g + t_g) − Δ) / (h0 − t_h) Spring-back left r = (1 − set) × (h0 − t_h − (g + t_g)) Closing force F_c = σ(C) × w0 × L σ from the CFD curve; kPa×mm² ÷ 1000 = N, psi×in² = lbf

The gap comes from the hard stop, not from the gasket

The compressed height g is only a real number if something stops the cover: a rim that lands on the housing, molded bosses, a groove whose depth fixes the squeeze, or metal compression limiters around the screws. With a stop in place, compression is set by geometry and this calculator applies directly. Without one, the cover keeps moving until the screw torque or snap force is balanced by the gasket, so compression is set by force instead. In that case you work the other way round: divide the clamp load by the gasket area to get a stress, then read the compression off the material's compression-force-deflection curve. Stockwell Elastomerics shows that method with a silicone foam pad: 720 lb over 72 square inches is 10 psi, which their curve turns into roughly 30% compression. Force-set joints are harder to control, because torque scatter and creep move the squeeze, which is why most molded enclosures put a stop in the design.

Why the worst case matters more than the nominal

Every drawing carries two tolerances that move the squeeze: the gasket's thickness and the gap. The least squeeze happens when the thinnest gasket meets the widest gap; the most squeeze happens when the thickest gasket meets the narrowest gap. The spread between them is close to 2 × (gap tolerance + (g / h0) × thickness tolerance) ÷ h0, and the h0 in the denominator is the trap. The same ±0.10 mm costs a 6 mm sponge strip a few points of squeeze and costs a 1.5 mm solid gasket more than ten. If the spread is wider than the material's band, no choice of gap can keep both extremes inside it, and the only fixes are a thicker gasket, a tighter tolerance or a material with a wider band. The calculator flags that case directly, because it is the one most often missed when a design is checked at nominal only.

Once the spread fits, the best gap is the one that puts the band's midpoint at nominal: g* = h0 × (1 − midpoint). The calculator reports that gap and re-runs the worst case at it, so you can see whether centering alone solves the problem or the tolerances must be tightened too.

Solid rubber gasket in a groove, before and after the cover closes Two cross-sections side by side. On the left a rectangular gasket of height h0 and width w0 sits in a groove of width W under an open cover. On the right the cover has landed on its hard stop, the groove depth sets the gap g, the gasket is squeezed to height g and has bulged sideways to fill most of the groove width. Labels show h0, w0, g, W, the hard stop, and the void that must remain because solid rubber keeps its volume. Before closing Cover on its hard stop cover (open) h0 w0 groove width W cover g hard stop: cover lands here void void void left for the bulge: fill = w0·h0 / (W·g) compression C = (h0 − g) / h0 gasket at its uncompressed height h0
Figure 1. Groove depth, or the hard stop, fixes the gap g, and the gap fixes compression. A solid rubber gasket keeps its cross-section area as it is squeezed, so it widens from w0 toward w0·h0/g and the groove must be wide enough to take it. Schematic, not to scale.

Material bands, and where they come from

Different elastomers want very different squeeze, and the bands are wide enough that picking the wrong family is a bigger error than any tolerance. These are the presets in the calculator, each from a published supplier guide:

MaterialTarget bandUpper cautionPublished by
Solid EPDM, neoprene, nitrile20–30%above 35%: over-compression and permanent setElasto Proxy (EPDM 20–30%, neoprene 25–30%, nitrile 25–35%)
Solid silicone, fluorosilicone20–25%above 35%Elasto Proxy
Closed-cell EPDM or neoprene sponge30–40%above 60%: cells crush, resilience lostElasto Proxy
Silicone sponge or foam30–50%above 50%: cell rupture riskElasto Proxy (band); Stockwell (50% caution on a silicone foam)
Microcellular urethane foam25–35%bottoming outRogers Corporation (general enclosure-seal range)
Open-cell foam (dust, not water)40–60%above 60%Elasto Proxy; Stockwell gives 50–60% for static sponge or foam

Two cautions on the table. First, it is a starting point. A specific compound's datasheet, and its CFD and compression-set data, override any family range. Second, the bands assume reasonably smooth, flat faces. Elasto Proxy notes that rougher surfaces need more compression or a softer material, and a molded face with sink, a raised parting line or a visible weld line counts as rough.

Material compression bands compared with the worst-case range of worked case 1 A horizontal bar chart from 0 to 70 percent compression. Bars show the target bands: solid EPDM, neoprene and nitrile 20 to 30 percent; solid silicone 20 to 25; closed-cell sponge 30 to 40; silicone sponge 30 to 50; microcellular urethane 25 to 35; open-cell foam 40 to 60. Below them, worked case 1 at a 2.0 millimeter gap spans 26.3 to 39.7 percent, with its low end outside the silicone sponge band. The same gasket at a 1.8 millimeter gap spans 33.3 to 46.0 percent, inside the band. 0%10203040506070% Solid EPDM / neoprene / NBR Solid silicone Closed-cell sponge Silicone sponge Microcellular urethane Open-cell foam (dust) Case 1, gap 2.0 mm Case 1, gap 1.8 mm 26.3–39.7%: low end below 30% 33.3–46.0%: inside dashed box = silicone sponge band, 30–50%
Figure 2. Published target bands (blue) against the least-to-most range of worked case 1 (black tick = nominal). At a 2.0 mm gap the nominal 33.3% looks fine, but the thinnest sponge in the widest gap drops to 26.3%. Closing the gap to 1.8 mm centers the band and both extremes fit. Drawn to scale, 7 px per percentage point.

Solid rubber keeps its volume; foam does not

Solid rubber is close to incompressible: squeeze it 25% thinner and it gets about a third wider, because the cross-section area w0 × h0 has to go somewhere. In a groove that means the groove must be wider than the gasket. The calculator reports the groove fill, w0 × h0 ÷ (groove width × g), at nominal and at the worst case (thickest gasket, shallowest gap). Stockwell's static-seal guidance targets a gland about 85–90% full. Anything at 100% has no room left: the rubber pushes the cover off its stop, forces its way out over the groove edge and gets nibbled, or cracks a thin plastic wall. For a gasket on a flat face with no groove, the same arithmetic gives the compressed width, w0 × h0 ÷ g, which tells you whether the squeezed gasket will spill past a screw boss or the edge of the sealing land.

Foam behaves differently. A closed-cell sponge compresses the gas in its cells, and an open-cell foam pushes air out, so the volume really does shrink and the sideways growth is small. That is why foam gaskets usually sit on adhesive on a flat land with no groove, and why the calculator skips the fill check for foam presets. The foam-specific risk is the other end: squeezed too far, the cells crush and the gasket stops springing back. Rogers calls that bottoming out.

Closing force, and why plastic covers bow

Compression costs force. A compression-force-deflection curve gives the stress a material pushes back with at each compression, and the total force is that stress times the gasket's footprint, σ × w0 × L. Rogers' enclosure-seal article shows how far it ranges: a soft urethane foam may need about 2 psi at 25% compression, while a firm one may need over 40 psi, and it suggests staying under 10 psi at 25% for an easy closure on plastic housings. Twenty times the stress means twenty times the screw load, and a molded cover with four screws reacts that load by bending.

When the cover bends it lifts between the fasteners, so the gap is largest at mid-span and that is where the gasket is least squeezed. Enter that lift as Δ and the calculator subtracts it from the least-compression case. If the result falls below the band, or goes negative, the joint is open there no matter what the nominal says. The usual fixes are a softer gasket (lower σ), more or closer fasteners, a stiffer cover with a rib along the sealing land, or a thicker gasket with more travel to spare. Our rib design calculator covers rib proportions that stay clear of sink on the sealing face.

Cover bow between two fasteners reduces gasket compression at mid-span A side view of a cover clamped by two screws over a gasket on a housing. The cover is flat at each screw and arches upward between them by an amount delta at mid-span. The gasket is squeezed most at the screws and least at mid-span, where the local gap is g plus delta. housing screw screw Δ gap at mid-span = g + Δ → C_mid = (h0,min − g,max − Δ) / h0,min gasket squeezed most at the screws, least at mid-span (lift exaggerated)
Figure 3. A cover clamped at two points arches between them. The gap opens by Δ at mid-span and the gasket there carries the least squeeze in the joint. Schematic, lift exaggerated.

Compression set: how much spring-back is left after aging

Held squeezed for months, especially warm, every elastomer takes a permanent set and its recovered height creeps down. ASTM D395 Method B measures it by compressing a disc 25% between spacer bars, aging it, and measuring how much of that deflection it fails to recover: set = (t0 − ti) ÷ (t0 − tn), where t0 is the original thickness, ti the final thickness and tn the spacer thickness, as Intertek's summary of the method states it. In a joint, set eats into the gasket's ability to follow a gap that opens later through thermal growth, cover creep or a reassembly. The calculator takes the least-squeeze deflection, multiplies it by (1 − set) and reports the spring-back that remains. If a cover bow Δ is also entered, the spring-back has to exceed Δ or the aged gasket can no longer reach the cover at mid-span. Elasto Proxy points out that softer rubber is more prone to set, which is the trade against the lower closing force that made it attractive.

Worked cases: three checks by hand

Each case below was worked through by hand and agrees with the calculator's output. Press Load worked case 2 to reproduce the second one.

CASE 1: silicone sponge strip, mm, band 30–50% h0 = 3.00 ± 0.15 g = 2.00 ± 0.10 Nominal C = (3.00 − 2.00) / 3.00 = 33.33% Least Cmin = (2.85 − 2.10) / 2.85 = 0.75/2.85 = 26.32% below 30% Most Cmax = (3.15 − 1.90) / 3.15 = 1.25/3.15 = 39.68% Spread 13.36 points fits inside a 20-point band, so re-center: g* = 3.00 × (1 − 0.40) = 1.80 → Cmin = (2.85 − 1.90)/2.85 = 33.33%, Cmax = (3.15 − 1.70)/3.15 = 46.03% both inside CASE 2: microcellular urethane, inches, band 25–35% h0 = 0.125 ± 0.010 g = 0.094 ± 0.005 w0 = 0.25 L = 20 4 screws Nominal C = 0.031 / 0.125 = 24.80% Least Cmin = (0.115 − 0.099) / 0.115 = 13.91% Most Cmax = (0.135 − 0.089) / 0.135 = 34.07% Spread 20.16 points > 10-point band → no gap fits; at g* = 0.0875 the range is still 19.57–38.89% Fix: tighter tolerances or a thicker strip, not a different gap Cover bow Δ = 0.004: C_mid = (0.115 − 0.099 − 0.004) / 0.115 = 10.43% Set 25%: spring-back = 0.75 × 0.016 = 0.012 in > Δ 0.004, so the aged foam still follows the bow Force at σ = 2 psi: 2 × 0.25 × 20 = 10 lbf total, 2.5 lbf per screw at σ = 40 psi: 40 × 0.25 × 20 = 200 lbf total, 50 lbf per screw (the firm-foam case) CASE 3: solid EPDM in a groove, mm, band 20–30% h0 = 2.00 ± 0.10 g (groove depth) = 1.50 ± 0.05 w0 = 3.00 Nominal C = 0.50 / 2.00 = 25.00% Least Cmin = (1.90 − 1.55) / 1.90 = 0.35/1.90 = 18.42% below 20% Most Cmax = (2.10 − 1.45) / 2.10 = 0.65/2.10 = 30.95% above 30% Groove width 4.00: fill = 3.00×2.00 / (4.00×1.50) = 6.00/6.00 = 100.0% (worst 6.30/5.80 = 108.6%) FAIL Unconfined compressed width = 3.00 × 2.00 / 1.50 = 4.00 mm, exactly the groove width Groove width 5.00: fill = 6.00/7.50 = 80.0%, worst = 6.30/7.25 = 86.9%

Case 1 is the common good news: the tolerances fit the band and moving the stop 0.2 mm closer fixes the low end. Case 2 is the common bad news: a thin foam strip with sheet-stock tolerance cannot hold a 10-point band at any gap, and the force numbers show why a firm grade would load a plastic cover twenty times harder than a soft one. Case 3 shows the solid-rubber failure that a percentage check never catches: the squeeze is reasonable, but the groove is exactly full at nominal and overfull at the worst case.

Common mistakes

When to use this calculator, and when to use something else

MethodUse it whenLimit
This calculatorFlat or rectangular gaskets, sponge and foam strips, die-cut or molded gaskets closed against a stopGeometry and published bands only; σ and set are numbers you supply
O-ring groove calculatorRound-section cord or O-rings in a glandRound cross-section only
Tolerance stack-upThe gap depends on two or more parts or featuresGives the gap tolerance; feed it back here
Supplier CFD and compression-set dataChoosing a grade, or a force-set joint with no stopOne compound at a time
FEA of cover and gasketThin or large covers where bow between fasteners is uncertainNeeds real material curves to mean anything
Assembled-product leak or ingress testProving the joint, always, before releaseNeeds real parts
From the tooling floor: try to control the gap with a single dimension on a single part. When the groove depth and the stop face are cut in the same mold half, the gap tolerance is one machined step plus that part's shrink and warp. When the gap comes from two parts, every tolerance in both stacks adds up, and a thin gasket loses its band. Pick the gasket's thickness after you know which of those two cases you have.

For the material itself, the silicone and rubber durometer selector covers hardness, and the enclosure answer page shows how the whole seal is designed and tested: Can you make a waterproof or sealed plastic enclosure?, including its O-ring groove check, which this page does not repeat.

Sources (read November 20, 2026)

Reviewed by the JCH tooling team · updated November 2026.

Questions and answers

What is the formula for gasket compression?

Gasket compression in percent is (uncompressed height − compressed height) ÷ uncompressed height × 100. A 3.0 mm strip closed into a 2.0 mm gap is compressed (3.0 − 2.0) ÷ 3.0 = 33.3%. The compressed height is the gap set by the hard stop or groove depth. To include tolerances, compute the least compression with the thinnest gasket in the widest gap and the most compression with the thickest gasket in the narrowest gap.

How much should a solid rubber gasket be compressed?

Published guidance puts most solid rubber gaskets at roughly 20 to 30% compression. Elasto Proxy lists EPDM at 20–30%, neoprene at 25–30%, nitrile at 25–35% and solid silicone at 20–25%, and warns that going above about 35% risks over-compression and permanent deformation. Rogers gives 25–35% as a general enclosure-seal range. The compound's own datasheet overrides these family ranges.

How much should a foam or sponge gasket be compressed?

Foams and sponges need more squeeze than solid rubber because their cells must close up to seal. Elasto Proxy gives about 30–40% for closed-cell EPDM or neoprene sponge, 30–50% for silicone sponge and 40–60% for open-cell urethane foam used for dust sealing, and cautions that above about 60% the cells crush and the foam loses resilience. Stockwell notes that compressing its silicone foam more than 50% may rupture cells.

Why does a solid rubber gasket need a wider groove?

Solid rubber is nearly incompressible, so when it is squeezed thinner it gets wider by the same proportion: a 3.0 mm wide, 2.0 mm thick gasket pressed to 1.5 mm becomes about 4.0 mm wide. The groove must have room for that bulge. Groove fill is gasket area ÷ groove area, w0 × h0 ÷ (groove width × gap); at 100% the rubber has nowhere to go and can push the cover off its stop or extrude past the groove edge.

How do I calculate the force needed to close a gasket?

Read the stress at your compression from the material's compression-force-deflection curve and multiply it by the gasket's footprint, its width times the seal path length. A 0.25 in wide urethane strip 20 in long at 2 psi needs 2 × 0.25 × 20 = 10 lbf in total, 2.5 lbf per screw with four screws; a firm grade at 40 psi needs 200 lbf. Plastic covers bow under the higher figure.

What happens if a gasket is over-compressed?

Over-compression gives a worse seal, not a better one. Solid rubber takes permanent compression set and, in a full groove, extrudes or forces the cover off its stop. Foam cells crush and the gasket bottoms out, so it no longer springs back when the joint moves. A gasket that is too firm for its compression can also warp a thin enclosure or stop it closing properly.

How does compression set affect a gasket seal?

Compression set is the share of its deflection that a gasket does not recover after being held compressed. ASTM D395 Method B measures it as (original thickness − final thickness) ÷ (original thickness − spacer thickness). A gasket with 25% set that was deflected 0.016 in keeps only 0.012 in of spring-back, and that spring-back must exceed any later opening of the joint, such as cover bow between screws, for the gasket to stay in contact.

Ask JCH about gasket and seal design

Not sure whether your housing needs a groove, a hard stop or a softer gasket? Ask our AI assistant. It answers from this website, and our tooling team follows up if you want.

AI assistant. Answers can be wrong; nothing it says is a quote or a promise.

Want a second set of eyes on a sealed housing?

This calculator gives an engineering estimate. Our tooling team can review the hard stop, groove and gasket choice on your CAD before the mold is cut, and plan the sample and test step that shows whether the joint actually seals. Start with a free 30-minute first consultation.

Book a 30-min call Send a drawing or sample
JCH Design & Manufacturing — tooling, injection molding, PCBA, custom packaging, cut-and-sew & QC via vetted partner factories · Book a 30-minute call · jack@jchtrade.com · (321) 323-4474 · Canonical: https://jchtrade.com/tools/gasket-compression-calculator