🔬
🔬 Science & engineering

Compression Ratio Calculator (bore, stroke, chamber, gasket & piston volume)

Results update as you type.

Your numbers

Understanding the engine compression ratio calculator — concept and principle

The static compression ratio compares the cylinder volume with the piston at the bottom of its stroke to the volume left at the top. This calculator adds up the clearance volume from the combustion chamber, head gasket, deck clearance and piston dish or dome, and gives the ratio.

86 × 86 mm cylinder, squeezed86 × 86 mm cylinder, squeezed86 × 86 mm cylinder, squeezedswept volume499.6 ccclearance volume45 + 4.87 + 1.16 + 5 = 56.03 ccCR = (499.6 + 56.03) ÷ 56.039.92 : 1Chamber + gasket + deck + dish all count
Everything left above the piston at top dead centre is the clearance volume; total ÷ clearance gives 9.92:1.

How it is calculated

The principle

At bottom dead centre the cylinder holds the swept volume plus the clearance volume; at top dead centre only the clearance volume remains. The ratio of the two is how many times the charge is squeezed. Small changes in clearance volume change the ratio noticeably, because Vc is small. A thinner gasket or a domed piston raises the ratio; a dished piston or a thicker gasket lowers it.

Worked example

Default inputs: bore 86 mm, stroke 86 mm, chamber 45 cc, gasket 0.8 mm thick with 88 mm bore, deck clearance 0.2 mm, piston dish 5 cc.

  1. Swept volume = π ÷ 4 × 8.6² × 8.6 ≈ 499.6 cc.
  2. Gasket volume = π ÷ 4 × 8.8² × 0.08 ≈ 4.866 cc; deck volume = π ÷ 4 × 8.6² × 0.02 ≈ 1.162 cc.
  3. Clearance volume = 45 + 4.866 + 1.162 + 5 ≈ 56.03 cc.
  4. Compression ratio = (499.6 + 56.03) ÷ 56.03 ≈ 9.92:1.
How Compression ratio changes with Bore (mm)How Compression ratio changes with Bore01020304021.54364.586108129172Example: 9.92Bore (mm)
Each point is the calculator re-run with only “Bore (mm)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Bore (mm)Compression ratio
21.51.57
433.26
64.56.06
869.92
10814.77
12920.55
17234.58

How to read the result

Higher compression improves thermal efficiency and power but raises the risk of knock, so it must suit the fuel's octane rating, ignition timing and any boost. The static ratio does not account for when the intake valve closes; the dynamic compression ratio does (see the compression-ratio-to-psi calculator).

Common mistakes

Keep in mind: Engine building requires accurate measurement and qualified professionals. Incorrect compression can cause severe engine damage.

Frequently asked questions

How do you calculate compression ratio?

(Swept volume + clearance volume) ÷ clearance volume.

How does a thinner head gasket change compression?

It reduces the clearance volume and raises the ratio.

What compression ratio is typical?

Many modern petrol engines run roughly 9:1 to 13:1; diesels run much higher.

Sources: Heywood, J. B., Internal Combustion Engine Fundamentals, 2nd ed. McGraw-Hill (2018) (engine geometry) · SAE J604, Engine Terminology and Nomenclature

Checked 9 Nov 2026. C. Shih, “Internal Combustion Engines” lecture notes, FAMU–FSU College of Engineering: compression ratio r = VBDC/VTDC, displacement = π/4 × B² × S. Breakdown of the clearance volume (chamber, gasket, deck, piston) is standard engine-building practice.

🔬 All science & engineering tools →🌍 Calculators by country →