Skip to content

Compression Ratio Calculator

Calculate an engine’s static compression ratio from bore, stroke, chamber, gasket, deck and piston volumes, plus dynamic compression from the intake valve closing.

Calculator Details

Static compression ratio:10.5:1See results ↓

Millimetres or inches for bore, stroke, gasket and deck; volumes stay in cc

Cylinder diameter

Piston travel from top to bottom dead centre

Volume in the cylinder head, from the head maker or measured by burette

Dish and valve reliefs add volume (positive); a dome takes it away (negative)

Diameter of the gasket opening, usually a little larger than the bore

Compressed thickness from the gasket maker

Piston below the deck at top dead centre is positive; above the deck is negative

For the total engine displacement

Your Results

Static compression ratio: 10.5:1

Static compression ratio

10.5:1

Engine displacement

2 L

1,998.2 cc · 121.9 in³

Swept volume per cylinder

499.56 cc

Clearance volume

52.66 cc

Volume left above the piston at top dead centre

The static compression ratio is 10.5:1, with 52.7 cc of clearance above 499.6 cc of swept volume per cylinder (2 L in total).

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Detailed Breakdown

Volumes in one cylinder
PartVolume (cc)
Combustion chamber40
Head gasket4.7557
Deck clearance2.9044
Piston dish and reliefs5
Clearance volume (total)52.66
Swept volume (one cylinder)499.56

Compression ratio = (swept volume + clearance volume) ÷ clearance volume.

How This Calculator Works

How It’s Calculated

CR = (V_swept + V_clearance) ÷ V_clearance · V_swept = π/4 × bore² × stroke
V_clearance = chamber + π/4 × gasket bore² × gasket thickness + π/4 × bore² × deck clearance + piston dish (− dome)

Your calculation: a 86 mm bore and 86 mm stroke sweep 499.56 cc. The clearance volume adds up to 52.66 cc, so CR = (499.56 + 52.66) ÷ 52.66 = 10.49:1.

Frequently Asked Questions

What is compression ratio?

The ratio of the cylinder’s volume with the piston at the bottom of its stroke to the volume with it at the top. A 10:1 engine squeezes the charge into a tenth of its original volume. Higher compression extracts more work from each combustion, up to the point where the fuel knocks.

How do you calculate static compression ratio?

CR = (swept volume + clearance volume) ÷ clearance volume. Swept volume is π/4 × bore² × stroke; clearance volume is everything left above the piston at top dead centre: the head’s chamber, the gasket, any gap between piston and deck, and the dish or dome. The default 86 × 86 mm engine with a 40 cc chamber gives 10.5:1.

How much does a thinner head gasket raise compression?

Going from a 0.8 mm to a 0.5 mm gasket on the default engine raises the ratio from 10.5:1 to 10.8:1. Small volumes matter because the clearance volume is small: every cubic centimetre removed has a big effect.

Is a dome positive or negative?

Enter a dome as a negative piston volume, because it fills part of the chamber, and a dish or valve reliefs as positive. Swapping the default 5 cc dish for a 3 cc dome takes the ratio from 10.5:1 to 12.2:1.

What is dynamic compression ratio?

Compression doesn’t really start until the intake valve closes, which is after bottom dead centre. The dynamic ratio uses only the stroke left at that point. With a 143 mm rod and the valve closing 50° after bottom dead centre, the default engine’s 10.5:1 static ratio becomes about 9.22:1 dynamic. It is a better guide to knock risk when comparing camshafts.

What compression ratio can I run on pump gas?

It depends on the dynamic ratio, combustion chamber design, cooling, ignition timing and fuel octane, so there is no single limit. Modern direct-injection engines run static ratios of 10:1 to 13:1 on regular fuel thanks to knock sensors and charge cooling; older carbureted engines needed premium fuel well below that. Check with your engine builder.

How do I measure the combustion chamber volume?

Head makers publish it, or measure it: seal a clear plate over the chamber with the valves and spark plug installed, and fill it from a burette with a thin liquid. The volume of liquid used is the chamber volume in cc. Piston dish volumes are measured the same way in the bore, with the piston a known distance down.

Uses the geometric compression ratio (Heywood, Internal Combustion Engine Fundamentals, §2.2) with the cylinder treated as a perfect cylinder above the piston, and the dynamic ratio from the ideal slider-crank position at intake-valve closing. It leaves out piston-to-wall crevice volume above the top ring, spark plug and valve recesses not in the chamber figure, valve overlap and gas dynamics, boost, and the cam-timing convention (advertised or at a given lift) your cam card uses. It does not tell you the octane an engine needs.

Compression Ratio Calculator: Static and Dynamic

By FindMySum · Last reviewed

Compression ratio is one of the first numbers engine builders look at. It sets how hard an engine squeezes its charge, which affects power, efficiency and the octane of fuel it needs. This calculator adds up every volume above the piston to give the static compression ratio and the engine's displacement, and optionally the dynamic ratio once valve timing is taken into account.

The formula

At bottom dead centre (BDC) the cylinder holds the swept volume plus the clearance volume. At top dead centre (TDC) only the clearance volume is left. The compression ratio is the ratio of the two:

CR = (V_swept + V_clearance) ÷ V_clearance

Swept volume is the cylinder the piston moves through: π/4 × bore² × stroke.

Clearance volume is everything above the piston at TDC:

  • the combustion chamber in the head, quoted by the head maker in cc;
  • the head gasket: π/4 × gasket bore² × compressed thickness;
  • the deck clearance: π/4 × bore² × the gap between the piston top and the block deck (negative if the piston pokes above the deck);
  • the piston: a dish or valve reliefs add volume, a dome subtracts it.

Worked example: the default

The calculator opens with a square 86 × 86 mm four-cylinder engine, a 40 cc chamber, an 87 mm × 0.8 mm gasket, 0.5 mm deck clearance and a 5 cc dished piston.

  • Swept volume: π/4 × 8.6² × 8.6 = 499.6 cc per cylinder, or 2.0 L for four cylinders
  • Gasket: π/4 × 8.7² × 0.08 = 4.76 cc
  • Deck: π/4 × 8.6² × 0.05 = 2.90 cc
  • Clearance: 40 + 4.76 + 2.90 + 5 = 52.66 cc
  • CR = (499.6 + 52.66) ÷ 52.66 = 10.49:1

Lengths are in centimetres inside the calculation so the volumes come out in cubic centimetres. If you work in inches, choose Inches: bore, stroke, gasket and deck are converted, and chamber and piston volumes stay in cc, as head and piston makers quote them.

Why small volumes matter

The clearance volume is small, so a few cc change the ratio a lot. On the default engine, a 0.5 mm gasket instead of 0.8 mm raises the ratio by about a third of a point, and swapping the 5 cc dish for a 3 cc dome takes it above 12:1. That is why builders measure chambers and dishes rather than trusting catalogue numbers.

Dynamic compression ratio

The static ratio assumes compression starts at BDC. In a real four-stroke engine the intake valve closes some time after BDC to let the incoming charge keep filling the cylinder. Until it closes, the rising piston pushes some mixture back out, so compression really starts later.

The dynamic ratio uses the piston's distance from TDC at intake valve closing (IVC). That position comes from the slider-crank geometry in Heywood's textbook:

s = a cos θ + √(l² − a² sin² θ)

where a is half the stroke, l the connecting rod length and θ the crank angle from TDC (180° plus the IVC angle after BDC). The distance from TDC is a + l − s, and the dynamic ratio is (π/4 × bore² × that distance + clearance) ÷ clearance.

Open "Advanced options" and enter the rod length and the IVC angle from the cam card. A small-block V8 with a 4.000 × 3.480 in bore and stroke, 64 cc heads and a 5.7 in rod has a static ratio of 9.6:1; with the intake closing 60° after BDC, its dynamic ratio is about 8.0:1. Cam makers quote valve timing in different ways (advertised duration or at a set lift), so use the IVC figure consistently when comparing cams.

Displacement

The calculator also reports total displacement, swept volume × number of cylinders, in cc, litres and cubic inches (1 in³ = 16.387064 cc exactly). The V8 above is 349.8 in³, the familiar "350".

Limits

The calculation treats the space above the piston as simple cylinders. It leaves out the small crevice volume between the piston crown and the top ring, and any recesses not included in your chamber figure. For a precise build, measure the whole clearance volume with the piston at TDC.

The BMEP calculator uses the displacement to show how hard an engine works for its size, and the gear ratio calculator turns engine speed into road speed.

More questions

Why does compression ratio affect efficiency?

In the ideal Otto cycle, thermal efficiency rises with compression ratio: η = 1 − 1/r^(γ−1). Going from 8:1 to 12:1 raises the ideal efficiency from about 56% to about 63% for γ = 1.4. Real engines gain less, because of heat loss and friction, but the direction is the same.

What is knock?

Knock, or detonation, is the unburned mixture ahead of the flame igniting on its own from heat and pressure. It causes a sharp pressure spike that can damage pistons and bearings. Higher compression raises end-gas temperature and pressure, so it raises the risk of knock unless the fuel's octane rating is higher too.

Do diesel engines have higher compression?

Yes, much higher, typically around 15:1 to 22:1. Diesels rely on the heat of compression to ignite the fuel, which is injected near top dead centre, so there is no premixed charge to knock in the same way.

Does a turbocharger change the compression ratio?

Not the geometric ratio, which is fixed by the parts. But boost raises the pressure and temperature at the start of compression, so turbocharged petrol engines usually use a lower static ratio than a naturally aspirated version of the same engine to keep away from knock.

What does milling the head do?

Machining material off the head's gasket face reduces the combustion chamber volume, raising the compression ratio. The change depends on the chamber shape, so the reliable way to know the new volume is to measure it after machining.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy