Compression Ratio Calculator

Enter the bore and stroke, the combustion chamber volume, the piston dish or dome, the head gasket and the deck clearance. The calculator adds up the volume left above the piston at top dead center and gives the static compression ratio, with each volume listed.

Enter one cylinder

Cylinder diameter.

Crankshaft stroke.

Volume of the chamber in the cylinder head, from the head maker or measured.

Dish or valve reliefs as a positive number, a dome as a negative one, from the piston maker. 0 for a flat top without reliefs.

From the gasket maker.

Compressed, not free, thickness.

Piston top below the block deck at top dead center as a positive number, above it as a negative one. Same unit as above.

Static compression ratio

9.63 : 1

716.6 cc swept · 83.02 cc above the piston at top dead center

Volumes of one cylinder
Swept volume, bore 4 in, stroke 3.48 in716.62 cc
Combustion chamber64 cc
Piston dish or valve reliefs (+), dome (−)+5 cc
Head gasket, bore 4.1 in, thickness 0.041 in8.87 cc
Deck clearance, +0.025 in (piston below the deck)+5.15 cc
Clearance volume, total of the four above83.02 cc
Volume at bottom dead center, swept + clearance799.64 cc
Compression ratio9.63 : 1

Formula: compression ratio = (swept volume + clearance volume) ÷ clearance volume. The gasket and deck volumes are cylinders: π ÷ 4 × diameter² × height, converted with 1 cubic inch = 16.387064 cc. This is the static (geometric) ratio, from volumes only. It says nothing about what an engine can safely run: follow the engine builder's and the parts makers' specifications.

What the compression ratio compares

Lecture slides on internal combustion engines from the FAMU-FSU College of Engineering define the compression ratio as the volume in the cylinder at bottom dead center divided by the volume at top dead center. Notes from the National Institute of Technology Srinagar call the smallest volume the clearance volume and the difference between the largest and smallest the swept volume. So the volume at bottom dead center is the swept volume plus the clearance volume.

Swept volume = π ÷ 4 × bore² × stroke
Compression ratio = (swept volume + clearance volume) ÷ clearance volume

The swept volume is easy to get from two measurements. The clearance volume is the hard part, because it is made of several pieces.

The four parts of the clearance volume

  • Combustion chamber. The volume in the cylinder head, in cc, from the head maker or measured.
  • Piston. A dish or valve reliefs add volume, so they go in as a positive number. A dome takes volume away and goes in as a negative number. The piston maker lists it in cc.
  • Head gasket. A thin cylinder: the gasket bore and the compressed thickness give π ÷ 4 × bore² × thickness.
  • Deck clearance. The gap between the piston top and the block deck at top dead center, another thin cylinder at the cylinder bore. A piston below the deck adds volume and is entered as a positive number. A piston that rises above the deck is entered as a negative number.

Clearance volume = chamber + piston volume + gasket volume + deck volume
Gasket volume = π ÷ 4 × gasket bore² × compressed thickness
Deck volume = π ÷ 4 × bore² × deck clearance

Volumes worked out in cubic inches are converted with 1 cubic inch = 16.387064 cc, the exact value that follows from the NIST Handbook 44 definition of the inch.

Worked example

A cylinder has a 4.00 in bore and a 3.48 in stroke. The head has a 64 cc chamber, the piston has 5 cc of dish and valve reliefs, the gasket has a 4.10 in bore and is 0.041 in thick when compressed, and the piston stops 0.025 in below the deck.

  • Swept volume: 0.785398 × 4.00² × 3.48 × 16.387064 = 716.62 cc
  • Gasket: 0.785398 × 4.10² × 0.041 × 16.387064 = 8.87 cc
  • Deck: 0.785398 × 4.00² × 0.025 × 16.387064 = 5.15 cc
  • Clearance volume: 64 + 5 + 8.87 + 5.15 = 83.02 cc
  • Compression ratio: (716.62 + 83.02) ÷ 83.02 = 9.63 : 1

With a 6 cc dome in place of the dish, the clearance volume drops to 72.02 cc and the ratio rises to 10.95 : 1. With the piston level with the deck, it is 10.2 : 1.

How each input moves the ratio (one change at a time from the example)
ChangeClearance volumeCompression ratio
Chamber 58 cc77.02 cc10.3 : 1
Chamber 64 cc (example)83.02 cc9.63 : 1
Chamber 70 cc89.02 cc9.05 : 1
Piston dome 6 cc instead of a 5 cc dish72.02 cc10.95 : 1
Flat top, no reliefs (0 cc)78.02 cc10.19 : 1
Gasket 0.027 in thick79.99 cc9.96 : 1
Gasket 0.051 in thick85.18 cc9.41 : 1
Piston at deck height (0 in)77.87 cc10.2 : 1
Piston 0.005 in above the deck76.84 cc10.33 : 1

A check against published figures

The National Institute of Technology Srinagar notes work through a small three-cylinder engine with a 68.5 mm bore, a 72 mm stroke and a clearance volume of 34.54 cc, and give 8.7 : 1. Entering those numbers, with the chamber at 34.54 cc and every other volume at 0, the calculator shows a swept volume of 265.3 cc and a ratio of 8.68 : 1. The notes round the swept volume to 266 cc, for a total of 300.54 cc and a ratio of 8.70 : 1. Both figures are 8.7 to one decimal.

Static ratio only

The result is the geometric, or static, ratio. This calculator uses volumes only, and it says nothing about what an engine can safely run. Those choices belong to the engine builder and the parts makers' specifications. A small error in the chamber or gasket volume moves the result noticeably, as the table shows, so check each volume carefully. For the total size of the engine, use the engine displacement calculator.

Compression Ratio Calculator FAQ

How do you calculate the compression ratio of an engine?

Add the swept volume of one cylinder to its clearance volume, then divide by the clearance volume. In the example, 716.6 cc swept and 83.02 cc of clearance give 9.63 : 1.

Is a piston dome a positive or negative volume?

Negative in this calculator. A dome fills part of the chamber and lowers the clearance volume. A dish or valve reliefs add room and are entered as positive.

What deck clearance should I enter?

The measured distance from the piston top to the block deck at top dead center. Enter it as positive when the piston sits below the deck and negative when it rises above.

Why does the head gasket change the compression ratio?

The compressed gasket adds a thin cylinder of volume above the piston. A thicker gasket or a larger gasket bore adds more, so the ratio goes down.

Is this the dynamic compression ratio?

No. It is the static ratio, and this calculator uses volumes only.

Last updated . Free to use, no sign-up. How we check our numbers.