1. Home
  2. Calculators
  3. Compression Ratio Calculator

Compression Ratio Calculator

For engine builders: add up the clearance volume and see the compression ratio, and how a long-duration camshaft lowers the effective one.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Compression Ratio Calculator

  1. Enter your numbers, or press a sample to see an example.
  2. Read the results and the table under them.
  3. Copy the results or download the table as a CSV file.

Features

  • Static ratio from swept and clearance volume
  • Head gasket, deck clearance and dished or domed piston volumes
  • Dynamic ratio from the intake valve closing angle and rod length
  • Pressure ratio with boost
  • Shows each part of the clearance volume

Supported formats

Input

  • Typed numbers

You get

  • On-screen results
  • Copyable text

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Compression Ratio Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • The ratio is only as good as the chamber, gasket and piston volumes you measure.
  • The dynamic ratio uses the valve closing point you enter and ignores valve lift, rod angle effects at other points and the real cylinder pressure.
  • It uses standard formulas on the figures you enter; a real engine, car or part differs with its condition, so verify important decisions with measurements.
  • Everything runs in your browser; nothing you type is sent anywhere.

Guide

Static and dynamic compression ratio: adding up the clearance volume and the cam timing

Compression ratio compares the volume of a cylinder when the piston is at the bottom of its stroke with the volume left when it is at the top. A higher ratio extracts more energy from each charge but also raises the risk of knock on poor fuel, so engine builders calculate it carefully before choosing parts. This tool does both the static and the dynamic calculation.

The static ratio

The static compression ratio is (swept volume + clearance volume) ÷ clearance volume. The swept volume comes from the bore and stroke. The clearance volume is everything left above the piston at top dead centre, and the tool adds each part: the combustion chamber in the cylinder head, the volume inside the head gasket (π ÷ 4 × gasket bore² × compressed thickness), the gap between the piston crown and the top of the block (the deck clearance), and the piston itself. A dished piston or valve reliefs add volume and a dome subtracts it, so enter a negative number for a dome.

The dynamic ratio

The static ratio ignores that the intake valve is still open for the first part of the compression stroke. The dynamic (effective) ratio counts only the piston movement after the valve closes. The tool takes the connecting rod length and the number of degrees after bottom dead centre at which the intake valve closes, works out the height of the piston above top dead centre at that moment, and divides the volume at that point by the clearance volume. A late closing angle, as on a camshaft with a long duration, gives a lower dynamic ratio.

A worked example

Press the first sample: an 86 × 86 mm cylinder with a 50 cc chamber, a 6 cc dish, an 88 mm gasket bore at 1.0 mm and the piston 0.3 mm below the deck. The gasket adds 6.082 cc and the deck gap 1.743 cc, so the clearance volume is 63.825 cc and the static ratio is 8.827:1. With a 143 mm rod and the valve closing 55° after bottom dead centre the piston is 72.07 mm above top dead centre, and the dynamic ratio is 7.559:1. The second sample, with a 40 cc chamber, no dish and a 0.8 mm gasket, gives 12.13:1 static and 9.99:1 dynamic.

Adding boost

For a turbocharged or supercharged engine, enter the boost in bar of gauge pressure. The tool multiplies the dynamic ratio by the absolute intake pressure in atmospheres (1.01325 bar plus the boost) to give a pressure ratio. The third sample, a low-compression turbo build at 0.8 bar, rises from 6.829:1 dynamic to 12.22:1. It shows how hard the mixture is squeezed, which is why boosted engines run low static ratios, but it is not a knock limit: fuel, ignition timing and cooling decide that.

Getting accurate inputs

The result is only as good as the measurements. Use the compressed thickness of the head gasket, not its thickness new, measure the deck clearance with the piston at top dead centre, and measure the chamber and piston volumes by filling them with liquid. Small errors matter: 1 cc is about 1.5% of a 64 cc clearance volume.

Limits

The tool does not model valve lift, the effect of valve overlap, or how real cylinders breathe, and it gives no advice on the octane of fuel to use. It is a calculation aid for builders who check the result against the engine manufacturer’s data.

Checked against the current version of the Compression Ratio Calculator on .

Frequently asked questions

Why does a bigger cam lower the effective compression?

A long-duration camshaft holds the intake valve open longer after the piston has passed bottom dead centre, so some of the mixture is pushed back out before the valve closes. Compression only starts when the valve shuts, so the useful stroke is shorter and the dynamic ratio falls.

How do I measure the chamber volume?

Seal a clear plate on the head with grease, then fill the chamber with measured liquid from a burette until it is full, using a valve and spark plug in place. This is called cc-ing the head. Compare it with the figure from the head supplier.

What is the difference between static and dynamic ratio?

The static ratio compares the whole cylinder volume at bottom and top dead centre. The dynamic ratio only counts the stroke after the intake valve has closed, so it is the one that relates to how hard the mixture is squeezed.

How accurate is the result?

It is as accurate as your measurements. Cylinder head chamber volumes are best measured by filling the chamber with liquid (cc-ing), and gasket thickness must be the compressed value.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.