Boneyard Tools

Compression Ratio Calculator

This calculator finds an engine's static compression ratio, the X:1 figure that sets how hard the charge is squeezed before ignition. Feed it a known swept volume per cylinder, or let it derive swept volume from your bore and stroke, then add the clearance (combustion chamber) volume. The result drives fuel octane choice, cam matching and safe boost levels.

How to calculate compression ratio

  1. Pick a mode with the toggle: 'Swept volume' if you already know cc per cylinder, or 'Bore & stroke' to derive it.
  2. In swept mode, type the swept volume per cylinder in cc. In bore mode, type the bore and stroke in mm.
  3. Enter the clearance (combustion chamber) volume in cc, including gasket, deck and any piston dish or dome.
  4. Read the static compression ratio shown as an X:1 figure in the highlighted panel.
  5. Check the swept volume the tool derived beside it, then click Copy to grab both numbers.

Examples

From swept and clearance volume

swept 500 cc, clearance 50 cc
11:1 (swept 500 cc)

From bore and stroke (square 86 mm engine)

bore 86 mm, stroke 86 mm, clearance 55.5 cc
10:1 (swept 499.56 cc)

A small chamber pushes ratio high

swept 500 cc, clearance 30 cc
17.67:1 (swept 500 cc)

Frequently asked questions

What is compression ratio?

It compares the cylinder volume with the piston at bottom dead centre to the volume at top dead centre. A 10:1 ratio means the fuel and air charge is squeezed into one tenth of its starting space before the spark.

What formula does this tool use?

Static CR equals the swept volume plus the clearance volume, all divided by the clearance volume: (swept + clearance) / clearance. Swept volume alone never appears in the ratio without the clearance added on top.

How does it turn bore and stroke into swept volume?

It uses the cylinder formula pi/4 times bore squared times stroke, divided by 1000 to convert cubic millimetres to cc. An 86 mm bore with an 86 mm stroke gives about 499.56 cc per cylinder.

What counts as clearance volume?

The space left above the piston at top dead centre: mainly the combustion chamber, plus the head gasket volume, any deck clearance, and a piston dish that adds volume or a dome that subtracts it. It is the smaller number and it swings the ratio the most.

Is this static or dynamic compression ratio?

Static, from geometry alone. Dynamic compression also depends on when the intake valve closes on the compression stroke, so it is almost always lower than the static figure and cannot be found from volumes by themselves.

Does a higher ratio need higher octane fuel?

Usually. A higher ratio raises peak cylinder pressure and temperature, which makes the charge more likely to knock, so high static CR engines often call for premium fuel, richer mixtures or careful ignition timing.

Do I enter volume per cylinder or total engine volume?

Per cylinder. Compression ratio is the same for every identical cylinder, so entering the total swept volume of a multi-cylinder engine along with one chamber would give a wrong, inflated number.

Why does it reject zero or blank clearance?

Dividing by a zero clearance volume is undefined and physically impossible, so the tool asks for a positive clearance value. The same guard applies to swept volume, bore and stroke.

Is my data sent anywhere?

No. The math runs entirely in your browser with plain arithmetic, so your engine specs never leave your device and nothing is uploaded or stored.

Learn more

  • Static vs dynamic compression ratio

    How the static ratio from bore, stroke and chamber differs from the dynamic ratio the cam actually delivers, and why both matter for tuning.

Related tools