Compression Ratio Calculator

Calculate engine compression ratio from bore, stroke, deck clearance, and chamber volume.
Helps determine octane requirements and engine performance potential.

Compression Ratio

The compression ratio is one of the most fundamental specifications of an internal combustion engine. It describes how much the air-fuel mixture is compressed before ignition, and it drives power output, efficiency, and the octane rating of the fuel you have to put in.

Formula: Compression Ratio = (Swept Volume + Clearance Volume) ÷ Clearance Volume

Or equivalently: CR = (V_swept + V_clearance) ÷ V_clearance

What each variable means:

  • Swept Volume (V_swept): also called displacement per cylinder; the volume the piston sweeps from Bottom Dead Center (BDC) to Top Dead Center (TDC).
  • Clearance Volume (V_clearance): the volume remaining above the piston at TDC (combustion chamber volume).
  • Bore: the diameter of the cylinder.
  • Stroke: the distance the piston travels.

Swept Volume Formula: V_swept = π ÷ 4 × Bore² × Stroke (all in the same units)

Worked example: Bore = 86 mm, Stroke = 86 mm, Clearance Volume = 56.4 cc

V_swept = π ÷ 4 × 86² × 86 = 499.6 cc CR = (499.6 + 56.4) ÷ 56.4 = 556 ÷ 56.4 = 9.86:1

That is a perfectly ordinary naturally-aspirated petrol engine, and at 9.86:1 it runs on regular 87 octane. You do not reach for premium until somewhere around 11:1.

Typical compression ratios:

  • Naturally-aspirated gasoline: 9:1 to 12:1
  • High-performance naturally-aspirated: 12:1 to 14:1
  • Turbocharged gasoline: 8:1 to 10:1
  • Diesel: 14:1 to 23:1

The full engine build calculator works from the same bands, so the two pages give the same verdict for the same engine.

Why raising compression helps, and where it stops. A higher ratio squeezes the mixture harder before ignition, which raises the peak temperature and lets more of the fuel’s energy become work rather than heat out of the exhaust. That is why efficiency climbs with compression. The limit is knock: squeeze petrol too hard and it detonates ahead of the flame front, which sounds like marbles in a can and can hole a piston. Diesel engines run 14:1 and up precisely because they exploit that, compressing air alone until it is hot enough to ignite fuel injected at the top of the stroke, so there is no knock limit to respect.

Static versus dynamic. What this calculator gives you is the static ratio, which is pure geometry. Dynamic compression accounts for when the intake valve actually closes, and it is always lower because the piston is already partway up the bore before the cylinder is sealed. A big camshaft with late intake closing can drop an 11:1 static engine to an 8.5:1 dynamic one, which is how a race engine gets away with a ratio that would knock badly on the street.

Where the swept volume comes from. If you know bore and stroke but not the per-cylinder volume, the engine displacement calculator gives it to you directly. If you are building an engine and need to account for the head gasket, deck clearance and piston dish as well, use the full engine compression calculator instead of this one.


How we build and check this calculator

This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.

SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.


Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.