Skip to content
Calcapedia
Trades

Compression Ratio Calculator

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

Level: Grade 8

  • Common Core standard 8.G.C.9Know the formulas for the volumes of cones, cylinders, and spheres and use them to solve real-world and mathematical problems.
Printable worksheet

Compression Ratio Calculator

Know the answer you need? Pick an input to work backward.

Inputs
Lengths in

The diameter of the gasket's cylinder opening.

How far the piston sits below the top of the block when it's at its highest point. Enter a negative value if it sticks out above.

From the head maker's spec, or measured by filling the chamber with a burette.

Positive for a dish or valve reliefs (adds volume), negative for a dome (takes volume away).

Result

Static compression ratio (to 1)

9.75

With 727.4 cc swept and 83.1 cc of clearance, the static compression ratio is 9.75:1 (lengths in in).

Written as
9.75:1
Swept volume per cylinder
727.41 cc
Clearance volume
83.1 cc
Head gasket volume
8.87 cc
Deck volume
5.23 cc

See the step-by-step solution ↓

Step-by-step solution

  1. Find the space one piston sweeps as it travels (swept volume): the bore's circle area times the stroke

    π4×4.032×3.48=44.389394 in³
  2. Change to cubic centimeters (cc), the usual unit for engine size (1 in³ = 16.387064 cm³)

    44.389394 in³×16.387064=727.411843 cc
  3. Find the space inside the head gasket: its opening's circle area times its compressed thickness

    π4×4.12×0.041=0.541304 in³
  4. Find the deck volume, the gap above the piston up to the top of the block: the bore's circle area times the deck clearance

    π4×4.032×0.025=0.318889 in³
  5. Add up all the space left when the piston is at the top (clearance volume): chamber + gasket + deck + dish, in cc. A dome counts as negative

    64+8.870388+5.22566+5=83.096047 cc
  6. Divide the total space with the piston at the bottom by the space left at the top. That's how many times the mixture gets squeezed

    727.411843+83.09604783.096047=9.753868

Test yourself

20 quick questions built from this calculator's formula: work out results, predict what happens when an input changes, and work backward from an answer. Every answer comes with the working.

What this calculator does

Find your engine's compression ratio, and see how a different gasket or piston would change it. The ratio compares two spaces in a cylinder. One is the space above the piston at the bottom of its travel. The other is the space left when the piston reaches the top. Squeezing fuel and air into a smaller space before it burns gets more work out of it. But push the ratio too far for your fuel, and the mixture detonates, exploding all at once instead of burning smoothly. Engine builders juggle head gaskets, pistons and chamber sizes to hit a target ratio.

The calculator adds up every part of the space left when the piston is at the top, called top dead center. That's the cylinder head's combustion chamber and the head gasket's thickness. It also includes the gap between the piston and the top of the block (deck clearance), and any dish or dome on the piston. It shows each volume in cubic centimeters and the resulting static compression ratio. So you can see exactly what a thinner gasket or a different piston would change.

Where it's used

Why this math matters outside the classroom:

  • Engine building. A builder totals 64 + 8.87 + 5.23 + 5 = 83.10 cc of clearance and finds a 9.75:1 ratio for a 727 cc cylinder.
  • Choosing gaskets. A mechanic sees that a 0.015 in thinner gasket on a 4.1 in bore removes about 3.2 cc and raises compression.
  • Piston swaps. A tuner compares a 5 cc dish with a 5 cc dome, a 10 cc swing in clearance volume per cylinder.
  • Small engines. A student finds a mower engine with 160 cc swept and 25 cc of clearance runs (160 + 25) ÷ 25 = 7.4:1.
  • Physics class. Students model a cylinder squeezed from 550 cc to 50 cc, an 11:1 ratio, to see how compression raises pressure.

Grade level and standards: Grade 8; Common Core State Standards for Mathematics 8.G.C.9. © Copyright 2010. National Governors Association Center for Best Practices and Council of Chief State School Officers. All rights reserved.

How to use it

  1. Choose whether your lengths are in inches or millimeters.
  2. Enter the bore (cylinder width) and stroke (piston travel). Then enter the head gasket's bore and its compressed thickness.
  3. Enter the deck clearance. It's positive if the piston sits below the deck at top dead center, and negative if it pokes above.
  4. Enter the chamber volume and the piston's dish (positive) or dome (negative) volume in cc, then read the ratio.

What the inputs mean

Head gasket bore
The diameter of the gasket's cylinder opening.
Compressed gasket thickness
Use the compressed (installed) thickness, which gasket makers list. Don't use the thickness of a new gasket out of the box.
Piston deck clearance
Measure from the top surface of the block (the deck) to the flat part of the piston top at top dead center. In a zero-deck build, the piston sits flush with the block.
Combustion chamber volume
The head maker usually publishes the chamber volume. You can also measure it: seal a clear plate over the chamber and fill it from a burette, a measuring tube.
Piston dish or dome volume
Piston makers list a dish or dome volume. Valve reliefs, small pockets cut into a flat-top piston, add a few cc and count as positive, like a dish. A dome that rises into the chamber takes up space, so enter it as negative.

Formula and method

swept volume = (π/4) × bore² × stroke
gasket volume = (π/4) × gasket bore² × gasket thickness
deck volume = (π/4) × bore² × deck clearance
clearance volume = chamber + gasket + deck + dish (dome negative)
compression ratio = (swept + clearance) ÷ clearance

Swept volume is the space the piston sweeps through, and clearance volume is the space left above it at the top. π is pi, the circle constant. At the bottom of the stroke, the gas fills the swept volume plus the clearance volume. At the top, it fills only the clearance volume. Dividing the first by the second gives the static compression ratio.

The gasket and deck spaces are thin, flat cylinders. So their volumes come from the same πr²h formula (circle area times height) as the swept volume. Inch measurements give cubic inches, converted at exactly 16.387064 cc per in³. Millimeter measurements give mm³, divided by 1,000.

Worked example

A V8 has a 4.03 in bore and 3.48 in stroke, 64 cc chambers, a 4.100 in gasket 0.041 in thick, pistons 0.025 in below the deck and a 5 cc dish.

  1. Swept volume: (π/4) × 4.03² × 3.48 = 44.389 in³ = 727.41 cc.
  2. Gasket volume: (π/4) × 4.1² × 0.041 = 0.5413 in³ = 8.87 cc.
  3. Deck volume: (π/4) × 4.03² × 0.025 = 0.3189 in³ = 5.23 cc.
  4. Clearance volume: 64 + 8.87 + 5.23 + 5 = 83.10 cc.
  5. Compression ratio: (727.41 + 83.10) ÷ 83.10 = 9.75.

Result: The static compression ratio is about 9.75:1.

Understanding the result

Every cc of clearance volume matters. In the example, a gasket 0.015 in thinner removes about 3.2 cc and raises the ratio to roughly 10.1:1.

Static ratio comes purely from the engine's shape. What the engine actually feels, often called dynamic compression, also depends on when the intake valve closes. So two engines with the same static ratio can need different fuel.

Assumptions and limitations

  • All cylinders are identical, and the measured volumes are accurate.
  • The gasket's opening is round. The small space around the piston's top ring land (the band above the top ring) isn't counted.
  • It doesn't work out dynamic compression, cranking pressure or the octane an engine needs.
  • The space between the piston and the cylinder wall above the top ring (crevice volume) is usually left out of builders' math, and it's left out here.
  • Follow the engine and parts makers' specifications for safe compression on a given fuel.

Frequently asked questions

How do I calculate compression ratio?

Add one cylinder's swept volume to its clearance volume (chamber, gasket, deck and piston dish). Then divide by the clearance volume. 500 cc swept with 50 cc of clearance gives (500 + 50) ÷ 50 = 11:1.

Does a thicker head gasket lower compression?

Yes. A thicker gasket adds clearance volume, which lowers the ratio. On a 4 in bore, each 0.010 in of gasket thickness adds about 2.1 cc per cylinder.

Is a piston dome positive or negative?

Negative. A dome fills part of the chamber and shrinks the clearance volume, which raises compression. A dish or valve reliefs add volume, so they're positive.

What compression ratio is good for pump gas?

It depends on cam timing, chamber design, cooling and fuel, so there's no single number. Follow the head and piston makers' advice for your combination, not a rule of thumb.

How this calculator is checked

Method: Static compression ratio CR = (V_swept + V_clearance)/V_clearance, with each thin volume (gasket, deck) as a cylinder (π/4)·d²·h; 1 in³ = 16.387064 cm³. The calculation is covered by automated tests with known reference values and edge cases. Last updated 2026-10-18. Found a problem? Tell us.

Embed this calculator

Put this Compression Ratio Calculator on your own website or blog for free. Paste this code where you want it to appear: