Calcist

Style

Buttons

Spacing

How much to show

Decimal places

Text size

Compression ratio calculator

Find your engine's static compression ratio from bore, stroke, chamber volume, head gasket, deck clearance and piston dome or dish.

Private: calculated on your device. Nothing you type is sent anywhere.

Next: Need the engine size in liters or cubic inches? Use the engine displacement converter.

What it does

This calculator works out an engine's static compression ratio from the parts that set it: bore, stroke, combustion chamber volume, head gasket bore and thickness, deck clearance and the piston's dome or dish. It shows the swept volume and the clearance volume of one cylinder, and how the ratio changes with different head gasket thicknesses, so you can see what a part swap will do before you buy.

How it's calculated

The compression ratio compares the cylinder's volume with the piston at the bottom of its stroke to the volume left with the piston at top dead center (TDC):

CR = (swept volume + clearance volume) ÷ clearance volume

Swept volume is the cylinder the piston travels through. Clearance volume is everything above the piston at TDC:

swept = π ÷ 4 × bore² × stroke
clearance = chamber + gasket + deck + dish (or − dome)
gasket = π ÷ 4 × gasket bore² × gasket thickness
deck = π ÷ 4 × bore² × deck clearance

Lengths in inches give cubic inches. Multiplying by 16.387064 turns cubic inches into cc, since an inch is exactly 2.54 cm. With lengths in millimeters, the calculator divides by 1,000 to get cc.

Worked example

A small-block V8 with a 4.030 in bore and a 3.480 in stroke, a 64 cc chamber, a 4.100 in gasket bore with 0.041 in compressed thickness, 0.025 in deck clearance and 5 cc of valve reliefs:

  • Swept: π ÷ 4 × 4.030² × 3.480 × 16.387064 = 727.41 cc
  • Gasket: π ÷ 4 × 4.100² × 0.041 × 16.387064 = 8.87 cc
  • Deck: π ÷ 4 × 4.030² × 0.025 × 16.387064 = 5.23 cc
  • Clearance: 64 + 8.87 + 5.23 + 5 = 83.10 cc
  • CR = (727.41 + 83.10) ÷ 83.10 = 9.75:1

With a 5 cc dome instead of 5 cc of reliefs, the clearance volume drops to 73.10 cc and the ratio rises to 10.95:1.

Effect of head gasket thickness

For the example engine above, changing only the gasket's compressed thickness:

Gasket thicknessCompression ratio
0.027 in10.09:1
0.030 in10.01:1
0.039 in9.80:1
0.041 in9.75:1
0.051 in9.53:1
0.060 in9.34:1

Limitations

  • This is static compression. Dynamic (effective) compression also depends on when the intake valve closes, which this calculator doesn't model.
  • Use measured or published volumes. A chamber or piston volume that's off by a few cc changes the result noticeably, which is why engine builders measure them with a burette.
  • Use the gasket's compressed thickness, not its thickness out of the package.
  • Rotary engines and two-strokes with exhaust ports aren't covered by this formula as written.

Sources

How we checked this

Before every update, this calculator is run in a real browser with these known answers, and it must match all of them:

  • 4.030 × 3.480 in, 64 cc chamber, 4.100 × 0.041 in gasket, 0.025 in deck, 5 cc reliefs: 9.75:1 ✓
  • Same with a 5 cc dome: 10.95:1 ✓
  • 4.000 × 3.480 in, 76 cc, 4.100 × 0.039 in gasket, zero deck, 12 cc dish: 8.43:1 ✓
  • 86 × 86 mm, 45 cc, 87 mm × 0.7 mm gasket, flat top, 4 cylinders: 11.16:1 ✓
  • Same engine is 2.00 L ✓
  • A dome bigger than the space above the piston is flagged ✓

Last checked October 26, 2026. Spotted something wrong? The math is done in your browser with the formula shown on this page, so you can check any result by hand.

Add this calculator to your website (free)

Paste this code into any web page. The calculator works on your page, resizes itself, has no ads and no tracking, and nothing your visitors type is sent anywhere. More about embedding.

Questions people ask

How do you calculate compression ratio?

Add the swept volume of one cylinder to its clearance volume, then divide by the clearance volume. Clearance volume is the chamber plus the gasket volume, the deck volume and any dish, minus any dome.

Does a thicker head gasket lower compression?

Yes. A thicker gasket adds clearance volume, so the ratio falls. In the example engine, going from 0.041 in to 0.060 in drops it from 9.75:1 to 9.34:1.

Is a domed piston positive or negative?

A dome takes up space in the chamber, so it is subtracted from the clearance volume. A dish or valve reliefs add space, so they are added.

What is deck clearance?

The distance from the top of the piston at top dead center to the block's deck surface. If the piston sticks out above the deck, enter it as a negative number.

Related calculators