How to Calculate Engine Compression Ratio
Work out static compression ratio by hand: swept volume from bore and stroke, then chamber, piston, gasket and deck volumes in cc, with a full example.
The piston is at top dead center, the valves are closed, and the cylinder head is off, sitting on a workbench with a burette and a plate of acrylic. You are about to find out if the parts you bolted together actually make the compression ratio you planned, or if the engine will ping on pump gas or fall flat on its face, and understanding how to calculate compression ratio is the key to this check.
How to Calculate Compression Ratio: the Formula You Need
What the Formula Actually Means
The compression ratio formula is CR = (Swept Volume + Clearance Volume) / Clearance Volume. Swept volume is the cylinder volume the piston displaces as it moves from BDC to TDC. Clearance volume is everything left above the piston at TDC: the combustion chamber, the head gasket, the deck height, and any dish or dome in the piston. The formula is the same for every engine ever built. You are not calculating pressure; you are calculating a ratio of two volumes.
Step 1: Swept Volume from Bore and Stroke
This is the only part of the calculation that is not up for debate. The bore and stroke are fixed by the crankshaft and the cylinder walls. Measure the bore with a dial bore gauge at the top, just below the ridge, and again in the middle and at the bottom to catch taper. Measure the stroke with a dial indicator on the crank throw, or trust the crank manufacturer's spec. The unit conversion to cc is critical: 1 cubic inch equals 16.387 cc, and 1 cc equals 1 milliliter. If you mix inches and millimeters, the swept volume formula spits out garbage.
Step 2: Gasket Volume Calculation
Do not use the manufacturer's advertised gasket volume unless you have no other choice. The compressed thickness is what matters, and that changes with the torque spec and the surface finish of the block and head. Measure the gasket bore with a caliper before you install it. If the gasket is already installed, you are guessing, and guessing is how engines ping.
Step 3: Deck Clearance Volume
Piston Dish and Dome
The piston volume is either a dish (adds volume, lowers compression) or a dome (subtracts volume, raises compression). The manufacturer's advertised volume is a starting point, but the actual dish volume can vary by several cc due to machining tolerances. You can measure it with a burette and a flat plate, but that is a separate skill. For the calculation, use the advertised number and note that the real answer might be off by half a point of compression.
Step 4: Combustion Chamber Volume
The Order of Operations
Add the swept volume to the clearance volume first, then divide by the clearance volume. The formula is (Vd + Vc) / Vc, where Vd is displacement and Vc is clearance volume. Do not add the swept volume to the clearance volume and then divide by the total, because that gives you 1.0:1. The ratio is always greater than 1.0 because the swept volume is always positive.
Common Mistakes: Dome Vs. Dish, Gasket Bore Vs. Cylinder Bore
The head gasket bore vs. cylinder bore distinction is not pedantry. A gasket that is too small creates a sharp edge that glows and causes detonation. A gasket that is too large creates a dead volume that traps exhaust gas. The gasket must clear the cylinder by at least 0.020 inches per side, but not by a quarter inch. Use the gasket bore in the formula, not the cylinder bore.
The Dome vs. Dish Trap
Piston manufacturers use the same word for both, which is why the sign error happens. A "-5 cc" piston is a dish, and a "+5 cc" piston is a dome, but some catalogs reverse the sign. Read the fine print. If the piston is advertised as "domed," the volume is subtracted from the clearance volume. If it is "dished" or "reverse dome," the volume is added. When in doubt, measure the piston with a burette and a plate. It takes twenty minutes and it removes all doubt.
Step 5: Put it Together and Pick a Target
If you are building for a class with a compression limit, the static ratio is the number the rulebook quotes. Build to 0.2:1 below the limit to account for measurement error, because the tech inspector's burette might read differently than yours. If you are building a street engine, target the lowest compression that makes the power you need. Higher compression makes more power, but it also requires more octane and more ignition timing. A 10.5:1 engine on 91 octane is a ticking time bomb if the cam is too small and the intake valve closes too early.
What a Compression Calculator Can and Cannot Do
There is no substitute for cc'ing the chamber and measuring the deck clearance. A calculator is just a tool that does the arithmetic you already know how to do. Use it to check your work, not to replace it. The static compression ratio formula does not care about your feelings or your budget. It is a geometric fact.
Common Questions
What is the formula for static compression ratio?
CR = (Swept Volume + Clearance Volume) / Clearance Volume. Swept volume is (Bore/2)² × π × Stroke, in cc. Clearance volume is the sum of the chamber, piston, gasket, and deck height volumes.
How do I convert the compression ratio to a percentage?
You do not. A compression ratio is a ratio, not a percentage. The ratio tells you how many times the total cylinder volume is bigger than the clearance volume. A 10:1 ratio means the total volume is ten times the clearance volume.
What is the difference between static and dynamic compression ratio?
Static uses the full stroke from BDC to TDC. Dynamic uses the cylinder volume at the intake valve closing point, which is later than BDC, so the effective stroke is shorter. Dynamic is the number that predicts detonation.
Why does the head gasket bore matter in the gasket volume calculation?
The gasket bore is larger than the cylinder bore, so it adds a ring of volume around the cylinder. That volume is part of the clearance volume. If you use the cylinder bore, you underestimate the clearance volume and overestimate the compression ratio.
Can I trust the piston manufacturer's advertised dish volume?
No. Machining tolerances can change the dish volume by a couple of cc. Measure the piston with a burette and a plate if you need an accurate number, or accept that the compression ratio might be off by 0.2:1.