🏍️ Compression Ratio Calculator (Bore, Stroke and Chamber)

Half a millimetre off the head can cost you a fuel grade.

No ratings yet — be the first

Enter details

Leave at 0 to use the cylinder bore.
How far below the block deck the piston stops at top dead centre.
A dish is positive, a dome is negative. Flat top is 0.

Log in or create a free account to save your inputs and results, so you don't have to enter them again next time.🔒 No spam, ever. We never sell or share your details, and you can delete your history or account at any time. Privacy policy

Fill in the details and click Calculate to see your results.

Formula at a glance

Compression Ratio Calculator: Swept volume — π/4 × bore² × stroke. Example: An 86 × 86 mm four with a 50 cc chamber → Compression ratio: 9.77 : 1
How the Compression Ratio Calculator works: Swept volume — π/4 × bore² × stroke

Rate this calculator

Was it useful? A quick star rating helps others — and you can leave a comment too.
Rate it: ★ ★ ★ ★ ★

📘 About the Compression Ratio Calculator

Compression ratio is the total volume above the piston at the bottom of its stroke divided by what remains at the top: (swept + clearance) ÷ clearance. Swept volume is straightforward — π/4 × bore² × stroke. The clearance volume is where the work is, because it is four separate things added together.

There is the chamber machined into the cylinder head, the thin ring of volume inside the head gasket, the deck clearance if the piston stops slightly below the top of the block, and the shape of the piston crown itself. A dish adds volume and lowers the ratio; a dome takes volume away and raises it. Get any one of them wrong and the answer is wrong by more than you would expect.

That sensitivity is the practical point. Skimming a head by half a millimetre or fitting a thinner gasket can move the ratio by half a point, and half a point can be the difference between an engine that runs happily on standard petrol and one that detonates on it. Chamber volume is worth measuring with a burette rather than taking from a manual, because every rebuild and every skim has changed it.

🧮 Formula

Swept volume
π/4 × bore² × stroke
Clearance
chamber + gasket + deck + piston dish (or − dome)
Compression ratio
(swept + clearance) ÷ clearance

✏️ Worked examples

An 86 × 86 mm four with a 50 cc chamber

You enter
Measurements inMillimetres
Bore86
Stroke86
Cylinders4
Head chamber volume50 cc
Head gasket bore0
Head gasket thickness1.2
Deck clearance0
Piston dish or dome0 cc
You get
Compression ratio9.77 : 1
Swept volume499.6 cc per cylinder — 1,998 cc total for 4 cylinders
Clearance volume56.97 cc
Bore × stroke86 × 86 mm — square
Fuel it suitsStandard petrol

Comes out at 9.77 : 1.

The same engine with a 5 cc dished piston

You enter
Measurements inMillimetres
Bore86
Stroke86
Cylinders4
Head chamber volume50 cc
Head gasket bore0
Head gasket thickness1.2
Deck clearance0
Piston dish or dome5 cc
You get
Compression ratio9.06 : 1
Swept volume499.6 cc per cylinder — 1,998 cc total for 4 cylinders
Clearance volume61.97 cc
Bore × stroke86 × 86 mm — square
Fuel it suitsStandard petrol

Drops to 9.06 : 1.

A skimmed head — 45 cc chamber

You enter
Measurements inMillimetres
Bore86
Stroke86
Cylinders4
Head chamber volume45 cc
Head gasket bore0
Head gasket thickness1.2
Deck clearance0
Piston dish or dome0 cc
You get
Compression ratio10.61 : 1
Swept volume499.6 cc per cylinder — 1,998 cc total for 4 cylinders
Clearance volume51.97 cc
Bore × stroke86 × 86 mm — square
Fuel it suitsPremium petrol, or boost with care

Rises to 10.61 : 1.

A small single-cylinder bike engine

You enter
Measurements inMillimetres
Bore57
Stroke57.8
Cylinders1
Head chamber volume18 cc
Head gasket bore0
Head gasket thickness1
Deck clearance0.5
Piston dish or dome-2 cc
You get
Compression ratio8.44 : 1
Swept volume147.5 cc per cylinder — 147 cc total for 1 cylinders
Clearance volume19.83 cc
Bore × stroke57 × 57.8 mm — undersquare, a torquey long-stroke
Fuel it suitsLow compression — happy on any petrol

Works out at 8.44 : 1.

🧭 How to use this calculator

What you enter

  • Measurements in
  • Bore
  • Stroke
  • Cylinders
  • Head chamber volume (cc)
  • Head gasket boreLeave at 0 to use the cylinder bore.
  • Head gasket thickness
  • Deck clearanceHow far below the block deck the piston stops at top dead centre.
  • Piston dish or dome (cc)A dish is positive, a dome is negative. Flat top is 0.

What you get

  • Compression ratio
  • Swept volume
  • Clearance volume
  • Bore × stroke
  • Fuel it suits

💡 Where ratios usually sit

  • Older carburetted petrol engines: 8.5 to 9.5:1.
  • Modern naturally aspirated petrol: 10.5 to 13:1 with direct injection.
  • Turbocharged petrol: 8.5 to 10.5:1, because boost does the squeezing.
  • Diesel: 16 to 22:1 — compression alone has to light the fuel.
  • Motorcycle and race engines: 12 to 14:1, on premium or race fuel.

❓ Frequently asked questions

How do you calculate compression ratio?

(Swept volume + clearance volume) ÷ clearance volume. Swept is π/4 × bore² × stroke; clearance is the head chamber plus the gasket volume plus deck clearance plus the piston dish, less any dome.

What compression ratio can run on regular petrol?

Up to about 10.5:1 on a modern engine with knock sensing and good chamber design. Above that you want premium fuel, and above about 12:1 either race fuel or direct injection.

How much does a thinner head gasket raise compression?

Typically a quarter to a half point for every 0.5 mm removed, depending on bore. It is the cheapest way to raise a ratio and the easiest way to run into piston-to-valve clearance trouble.

Is a dished piston positive or negative?

Positive. A dish adds volume to the clearance, so compression falls. A dome takes volume away, so enter it as a negative number and compression rises.

What is deck clearance?

How far below the top of the block the piston stops at top dead centre. It adds a thin cylinder of volume to the clearance. If the piston comes level with the deck it is zero.

Does a longer stroke raise compression?

Only if the clearance volume stays the same, which it rarely does. Stroke increases swept volume and therefore the ratio, but a stroker kit usually changes the piston as well.