Engine

Compression Ratio Calculator

This compression ratio calculator works out the static ratio from the combustion chamber, head gasket, deck clearance and piston volumes, the dynamic ratio from the intake valve closing point, and the deck clearance from your block and rotating parts.

Engine modifications may be subject to emissions laws in your state. Check local regulations. Estimates only.

Units
in

Finished diameter of the cylinder.

in

cc

Volume of the chamber in the cylinder head, in cc: the head maker’s figure, or measured with a burette.

cc

The piston maker’s figure in cc, measured from the flat of the crown. A dish, or the valve reliefs of a flat-top piston, adds volume: enter it as a negative number. A dome takes volume away: enter it as a positive number, whether or not it rises above the deck.

in

Diameter of the gasket’s opening around the cylinder, from the gasket maker.

in

The installed (compressed) thickness the gasket maker lists, not the thickness out of the box.

in

How far the flat of the piston crown (not the top of a dome) sits below the block deck at top dead center: positive below, negative if it rises above. Not sure? Work it out on the Deck height tab.

Result

Updates as you type
Static compression ratio 9.78 :1
Clearance volume 82.9 cc
Swept volume per cylinder 727.4 cc
Head gasket volume 8.65 cc
Deck volume 5.23 cc
What makes up the clearance volume, drawn to scaleChamber 64.0 cc, gasket 8.7 cc, deck 5.2 cc, piston dish 5.0 cc: clearance volume 82.9 cc. Swept volume 727.4 cc. Static compression ratio 9.78:1.9.78:1staticChamber 64.0 ccGasket 8.7 ccDeck 5.2 ccDish / reliefs 5.0 ccClearance volume 82.9 cc
Head gasket thickness and compression, everything else as entered
Compressed thicknessClearance ccStatic ratioPiston to head
0.015 in77.510.39:10.040 in
0.027 in80.110.09:10.052 in
0.039 in82.79.80:10.064 in
0.040 in82.99.78:10.065 in
0.045 in84.09.66:10.070 in
0.051 in85.39.53:10.076 in
0.060 in87.29.34:10.085 in

Highlighted row: the gasket you entered. Use the compressed thickness the gasket maker lists, not the free thickness.

How compression ratio is calculated

The volumes that make up the clearance volume at top dead center With the piston at top dead center, the clearance volume is the combustion chamber in the head, plus the hole in the head gasket, plus the gap between the piston crown and the block deck, plus any dish in the piston, minus any dome. The swept volume is the bore area times the stroke. Combustion chambermeasured in cc, from the head maker Head gasketgasket bore × compressed thickness Deck clearancecrown below the deck: + volume Piston dish or domedish adds volume, dome takes it away bore Compression ratio =(swept + clearance) ÷ clearance

Compression ratio compares the volume above the piston at bottom dead center with the volume left when the piston reaches top dead center. That second volume, the clearance volume, is where the mixture ends up squeezed, and it is the part people most often get wrong, because it is much more than the combustion chamber.

With the piston at top dead center, the clearance volume is the chamber in the head, plus the hole in the head gasket, plus the gap between the piston crown and the top of the block, plus any dish or valve reliefs in the piston, minus any dome that pokes up into the chamber. The swept volume is the volume of one cylinder, worked out the same way as in the engine displacement calculator.

As a static compression ratio calculator, the first tab adds those volumes up and divides. The second tab accounts for the camshaft, and the third works out the deck clearance from the parts when you can’t measure it.

What to enter and where to find it

  • Combustion chamber volume. The head maker’s figure in cc. Measured on the bench with a burette and a clear plate over the chamber, it can differ from the catalog by a cc or two, especially after valve or seat work.
  • Piston dome or dish. The piston maker’s figure in cc. A dish, or the valve reliefs of a flat-top piston, goes in as a negative number; a dome as a positive number. This is the same sign My Garage uses.
  • Head gasket bore and compressed thickness. From the gasket maker. Use the compressed thickness, the one it has once the head is installed.
  • Deck clearance. How far below the block deck the flat of the piston crown (not the top of a dome) sits at top dead center: positive below, negative above. Measure it with a dial indicator, or calculate it on the Deck height tab.
  • Rod length and intake valve closing (dynamic tab). The rod’s center-to-center length, and the intake closing point in degrees after bottom dead center at the cam card’s seat timing.

Combustion chamber volume, dome, dish and deck: the sign convention

Every part of the clearance volume is a positive volume except two that can go either way. A piston dome sits above the crown and fills part of the chamber, so it is subtracted: enter it as a positive number. A dish, or the valve reliefs cut into a flat-top piston, is an extra pocket, so it is added: enter it as a negative number. A truly flat piston with no reliefs is zero.

Deck clearance follows the same logic from the block’s side. A piston that stops below the deck leaves a thin disc of extra volume, the bore area times the gap, which counts as positive. A piston that rises above the deck (negative deck clearance) takes that disc away, and the calculator subtracts it. Either way the piston has to stay clear of the head, so deck clearance plus gasket thickness must be more than zero; the calculator stops and says so if it isn’t.

Some calculators and catalogs use the opposite sign for the piston, with a dish as a positive number. If you copy a figure from somewhere else, check its convention first: getting the sign of even a small dish backwards can move the result by a full point.

Head gasket thickness and compression

The head gasket is the easiest part of the clearance volume to change. Its volume is a thin disc as wide as the gasket bore, so a thicker gasket adds volume and lowers the ratio, and a thinner one raises it. On a small-block V8 the difference between a thin steel gasket and a thick composition one can be close to a full point of compression; the table under the result recalculates the ratio for a range of compressed thicknesses with everything else as you entered it.

Gasket thickness also sets the piston-to-head clearance over the flat part of the piston, deck clearance plus compressed gasket, which engine builders check when they choose a gasket. The calculator shows the figure on the Deck height tab and in the gasket table. It does not judge it, because the right clearance depends on the rods, the pistons and the rpm; that call belongs to your engine builder.

Dynamic compression ratio calculator: why the cam matters

The static ratio assumes the cylinder starts compressing at bottom dead center. In a running engine the intake valve stays open well past that point, and until it closes the rising piston pushes part of the charge back into the intake port instead of compressing it. Compression only really starts when the valve seats.

The dynamic compression ratio, called the effective compression ratio in engineering papers on late intake closing, recalculates the ratio from that point. The calculator finds where the piston is when the valve closes with the crank and rod geometry, the same piston position equation Heywood gives, turns the stroke that is left into a swept volume and divides as before. A cam that closes the intake later lowers the dynamic ratio. Rod length plays a smaller part: at the same closing point a shorter rod leaves the piston slightly lower in the bore and raises the dynamic ratio a little.

Use the intake closing point at seat timing, the one the cam card lists with the advertised duration, and correct it for how the cam is installed: each degree of advance closes the valve one degree earlier. The figure at 0.050 in of lift comes well before the valve actually seats and gives a dynamic ratio that is too high.

If the card only gives the events at 0.050 in, work out the seat-timing closing point from the advertised intake duration and the intake centerline as installed: closing point ABDC = centerline + advertised duration ÷ 2 − 180 for a symmetric lobe, or enter the advertised duration in the cam calculator. Cam grinders do not all measure advertised duration at the same lift, so dynamic ratios worked out from different makers’ cards are only roughly comparable.

Treat the dynamic ratio as a comparison tool. Builders use it to judge how a cam and a static ratio work together, because cylinder pressure, and with it the octane an engine needs, follows the dynamic figure more closely than the static one. It is still a simplification that ignores the momentum of the charge, which keeps filling the cylinder at high rpm, as well as boost and altitude, so two engines with the same figure are similar, not identical.

Deck height calculator: finding the deck clearance

With the engine apart, deck clearance is often easier to calculate than to measure. From the crankshaft centerline up, the parts stack up as half the stroke (the crank throw), the rod length and the piston’s compression height. Subtract that stack from the block’s deck height and what is left is the deck clearance: positive if the piston stops below the deck, negative if it comes up above it.

This is the check to make when changing parts. A stroker crank adds half of its extra stroke to the stack, so it needs a shorter rod or a piston with a lower compression height to keep the same deck clearance. Blocks are often machined during a rebuild, so measure the actual deck height if the block has been decked.

Compression ratio formulas

All the volumes are worked out in cc, the unit chambers and pistons are sold in; dimensions in inches are converted with the exact factor of 16.387064 cc per cubic inch.

  1. Swept volume = π/4 × bore² × stroke
  2. Gasket volume = π/4 × gasket bore² × compressed thickness
  3. Deck volume = π/4 × bore² × deck clearance (positive below the deck)
  4. Clearance volume = chamber + gasket + deck − piston (dome positive, dish negative)
  5. Static compression ratio = (swept volume + clearance volume) ÷ clearance volume
  6. Piston distance below TDC = r × (1 − cos θ) + L − √(L² − r² × sin² θ), with r = half the stroke, L = rod length and θ = crank angle after TDC
  7. Dynamic compression ratio = (π/4 × bore² × piston distance at intake closing + clearance volume) ÷ clearance volume, with θ = 180° + closing point ABDC
  8. Deck clearance = block deck height − (stroke ÷ 2 + rod length + compression height)

The first five lines are plain geometry and the textbook definition of compression ratio. The deck volume treats the gap above the piston as a disc the size of the bore, and the piston maker’s figure already includes the valve reliefs; small crevices, such as the space beside the piston above the top ring, are left out, as in nearly every builder’s calculation. The piston position is the standard crank and rod equation, so the dynamic ratio is exact for the closing point you enter; the uncertainty is in that closing point.

Worked example

One engine, three questions, worked out with the same functions that run the calculator.

Static compression ratio

A small-block V8 bored to 4.030 in with a 3.480-inch stroke, 64 cc chambers, flat-top pistons whose valve reliefs add volume (entered as a negative number), a 0.040-inch compressed gasket with a 4.100-inch bore, and the pistons 0.025 in below the deck:

  1. Swept volume of one cylinder π/4 × 4.030² × 3.480 in × 16.387 cc per ci = 727.4 cc
  2. Head gasket volume π/4 × 4.100² × 0.040 × 16.387 = 8.65 cc
  3. Deck volume π/4 × 4.030² × 0.025 × 16.387 = 5.23 cc
  4. Clearance volume 64.0 + 8.65 + 5.23 − (−5.0) = 82.88 cc
  5. Static compression ratio (727.4 + 82.88) ÷ 82.88 = 9.78:1

The clearance volume adds up to 82.9 cc against 727.4 cc of swept volume, for a static ratio of 9.78:1; note that the gasket and the deck together add 8.7 + 5.2 cc: leave them out and the ratio looks far higher than it is.

Dynamic compression ratio

The same engine with 5.700-inch rods and a cam whose intake valve seats 64° after bottom dead center:

  1. Swept volume of one cylinder π/4 × 4.030² × 3.480 in × 16.387 cc per ci = 727.4 cc
  2. Head gasket volume π/4 × 4.100² × 0.040 × 16.387 = 8.65 cc
  3. Deck volume π/4 × 4.030² × 0.025 × 16.387 = 5.23 cc
  4. Clearance volume 64.0 + 8.65 + 5.23 − (−5.0) = 82.88 cc
  5. Static compression ratio (727.4 + 82.88) ÷ 82.88 = 9.78:1
  6. Crank angle at intake closing 180° + 64° ABDC = 244° after TDC
  7. Piston distance below TDC 1.740 × (1 − cos 244°) + 5.700 − √(5.700² − 1.740² × sin² 244°) = 2.722 in
  8. Volume swept after the valve closes π/4 × 4.030² × 2.722 × 16.387 = 568.9 cc
  9. Dynamic compression ratio (568.9 + 82.88) ÷ 82.88 = 7.86:1

By the time the valve closes the piston is already on its way back up, with 2.722 in of travel left, 78% of the stroke. Counting from there, the dynamic ratio is 7.86:1, against 9.78:1 static.

Deck clearance from the parts

Where did that 0.025 in come from? The block has a 9.025-inch deck height, and the parts are half of the 3.480-inch stroke, 5.700-inch rods and pistons with a 1.560-inch compression height:

  1. Deck clearance 9.025 − (3.480 ÷ 2 + 5.700 + 1.560) = 0.025 in
  2. Piston to head, flat area 0.025 + 0.040 = 0.065 in
  3. Swept volume of one cylinder π/4 × 4.030² × 3.480 in × 16.387 cc per ci = 727.4 cc
  4. Head gasket volume π/4 × 4.100² × 0.040 × 16.387 = 8.65 cc
  5. Deck volume π/4 × 4.030² × 0.025 × 16.387 = 5.23 cc
  6. Clearance volume 64.0 + 8.65 + 5.23 − (−5.0) = 82.88 cc
  7. Static compression ratio (727.4 + 82.88) ÷ 82.88 = 9.78:1

They stack up to 9.000 in, so the piston stops 0.025 in below the deck and, with the gasket, 0.065 in from the head. The static ratio is the same 9.78:1 as before.

Typical compression ratios and how the parts move them

Heywood gives 8 to 12:1 as the typical static ratio of spark-ignition (gasoline) engines and 12 to 24:1 for diesels; current direct-injection gasoline engines often sit at the top of that range or a little above it. Within the usual range, the chamber and the gasket are the two figures a builder changes most often. The table works out the static ratio of one engine, a V8 with a 4.030 in bore and 3.480 in stroke, the pistons 0.025 in below the deck and valve reliefs that add volume (entered as a negative number), for a grid of chamber volumes and compressed gasket thicknesses.

Static compression ratio of one V8 (4.030 in bore, 3.480 in stroke, 4.100 in gasket bore, pistons 0.025 in below the deck, piston volume -5 cc, negative because the valve reliefs add volume) for different chamber volumes and compressed gasket thicknesses
Chamber volume0.015 in gasket0.027 in gasket0.039 in gasket0.051 in gasket
58 cc11.2:110.8:110.5:110.2:1
64 cc10.4:110.1:19.8:19.5:1
70 cc9.7:19.5:19.2:19.0:1
76 cc9.1:18.9:18.7:18.5:1

Moving across a row changes only the gasket; moving down a column changes only the chamber. One step down a column moves the ratio nearly as much as going from the thinnest gasket to the thickest, which is why chamber size is the first thing to settle when choosing heads.

Common mistakes

  • Leaving out the gasket and the deck. Using only the chamber and the swept volume overstates the ratio by a point or more on a typical V8, because the gasket and the deck gap add a lot of volume between them.
  • Getting the dome or dish sign backwards. Here a dish is negative and a dome positive. Check the convention of any figure you copy from another calculator or a catalog.
  • Using the gasket’s free thickness. Gaskets crush when the head is installed. The maker lists the compressed thickness, and that is the one that counts.
  • Using the 0.050-inch intake closing for the dynamic ratio. It comes much earlier than seat timing and inflates the dynamic figure.
  • Assuming the deck clearance. Blocks, cranks, rods and pistons all have tolerances, and decked blocks are shorter. Measure the deck clearance or calculate it from the actual parts.

Last updated October 29, 2026 by Fernando Margareto, Founder & Editor.

My Garage

Build Sheet

Paper size