Enter details
💾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.
📘 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
✏️ Worked examples
An 86 × 86 mm four with a 50 cc chamber
You get| Compression ratio | 9.77 : 1 |
| Swept volume | 499.6 cc per cylinder — 1,998 cc total for 4 cylinders |
| Clearance volume | 56.97 cc |
| Bore × stroke | 86 × 86 mm — square |
| Fuel it suits | Standard petrol |
Comes out at 9.77 : 1.
The same engine with a 5 cc dished piston
You get| Compression ratio | 9.06 : 1 |
| Swept volume | 499.6 cc per cylinder — 1,998 cc total for 4 cylinders |
| Clearance volume | 61.97 cc |
| Bore × stroke | 86 × 86 mm — square |
| Fuel it suits | Standard petrol |
Drops to 9.06 : 1.
A skimmed head — 45 cc chamber
You get| Compression ratio | 10.61 : 1 |
| Swept volume | 499.6 cc per cylinder — 1,998 cc total for 4 cylinders |
| Clearance volume | 51.97 cc |
| Bore × stroke | 86 × 86 mm — square |
| Fuel it suits | Premium petrol, or boost with care |
Rises to 10.61 : 1.
A small single-cylinder bike engine
You get| Compression ratio | 8.44 : 1 |
| Swept volume | 147.5 cc per cylinder — 147 cc total for 1 cylinders |
| Clearance volume | 19.83 cc |
| Bore × stroke | 57 × 57.8 mm — undersquare, a torquey long-stroke |
| Fuel it suits | Low 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.