This engine compression ratio calculator works out the static ratio from the six volumes that actually determine it, rather than from bore and stroke alone. Compression ratio is the single most consequential number in a naturally aspirated build: it sets thermal efficiency, it sets the octane the engine will tolerate, and it is decided permanently the moment the head goes on.
Arb Digital publishes it as part of a free tools library covering mechanical and everyday engineering maths. It is a calculation tool, not a build guide — it will tell you exactly what ratio a given set of measurements produces, and it deliberately does not recommend a ratio, because that depends on fuel, camshaft, cooling and boost in ways no calculator can see.
What This Compression Ratio Calculator Does
Enter bore, stroke, chamber volume, gasket dimensions, deck clearance and piston dish and the tool returns static compression ratio. It also gives the swept volume of a single cylinder, the total clearance volume broken into its four components, and total engine displacement in litres.
The fourth grid figure works backwards. Give it a target ratio and it returns the chamber volume that would produce it with every other measurement unchanged — which is exactly the number you need when deciding how much to take off a cylinder head, or which of several available heads to fit.
The bar display splits clearance volume into chamber, gasket, deck and dish so you can see which one dominates. On most engines the chamber is the largest by a wide margin, but the gasket and deck together are rarely negligible, and a build that ignores them will miss its target ratio by a noticeable amount.
How to Use It
- Measure the chamber, do not look it up. Published chamber volumes are nominal, and any head that has been skimmed or ported no longer matches them. A burette and a plate is the only reliable method.
- Use the compressed gasket thickness. Gaskets are quoted uncompressed and squash noticeably. The installed figure is what matters.
- Get deck clearance right, including the sign. Enter it negative if the piston crown rises above the deck at top dead centre, which subtracts volume rather than adding it.
- Enter dish as positive and dome as negative. A dome occupies space in the chamber, so it reduces clearance volume and raises the ratio.
- Use the target field to plan. Set the ratio you want and the calculator returns the chamber volume required, which converts directly into a head-skimming decision.
The Formula / How It's Calculated
Static compression ratio is (swept volume + clearance volume) ÷ clearance volume. Swept volume is the cylinder the piston displaces between bottom and top dead centre; clearance volume is everything left above the piston at top dead centre.
Swept volume comes from the cylinder formula: π ÷ 4 × bore² × stroke. With bore and stroke in millimetres the result is cubic millimetres, so dividing by 1,000 gives cubic centimetres. Clearance volume is the sum of four parts — the combustion chamber, the volume of the gasket bore, the deck volume between piston crown and deck surface, and the piston dish. Gasket and deck volumes each use the same cylinder formula, the gasket with its own bore and compressed thickness and the deck with the cylinder bore and the deck clearance.
Worked example. Bore 86 mm, stroke 86 mm, chamber 50 cc, gasket bore 88 mm, compressed gasket 1.0 mm, deck clearance 0.5 mm, dish 5 cc, four cylinders. Swept volume is 0.7854 × 86² × 86 ÷ 1,000 = 499.56 cc, so the engine is 1,998 cc — call it a 2.0 litre. Gasket volume is 0.7854 × 88² × 1.0 ÷ 1,000 = 6.08 cc and deck volume is 0.7854 × 86² × 0.5 ÷ 1,000 = 2.90 cc. Clearance volume is therefore 50 + 6.08 + 2.90 + 5 = 63.99 cc, and the ratio is (499.63 + 63.99) ÷ 63.99 = 8.81 to 1.
Running the target backwards uses required clearance = swept ÷ (target ratio − 1). For a 10.5 to 1 target that is 499.56 ÷ 9.5 = 52.59 cc of total clearance, and subtracting the gasket, deck and dish volumes leaves a required chamber of 38.60 cc — over 11 cc smaller than the 50 cc head fitted, which is far more than skimming alone would achieve and tells you a different head or a different piston is needed.
Static Versus Dynamic Compression Ratio
The number this page produces is the static ratio, calculated from geometry with the valves assumed closed at bottom dead centre. Real engines do not behave that way. The intake valve stays open well past bottom dead centre, so the cylinder does not begin compressing until it closes, and the effective stroke is shorter than the physical one.
Dynamic compression ratio accounts for that by measuring the swept volume from the point of intake valve closure rather than from bottom dead centre, and it is always lower than the static figure. The gap between them depends entirely on camshaft timing: a mild cam closes the intake early and the two ratios sit close together, while a long-duration performance cam closes it very late and can pull the dynamic ratio down by a point or more.
This matters because detonation resistance tracks the dynamic ratio, not the static one. That is why a race engine with a startling static compression ratio runs happily on pump fuel with the right camshaft, and why fitting a big cam to a stock engine reduces low-speed cylinder pressure and makes it feel flat below the power band. Static ratio is the geometry; dynamic ratio is what the fuel actually experiences.
Why the Ratio Determines Efficiency
The thermodynamic reason compression ratio matters is set out in the ideal Otto cycle, the theoretical model of a spark-ignition engine. NASA's Glenn Research Center publishes a clear treatment of the ideal Otto cycle showing that the cycle's thermal efficiency depends on compression ratio alone, given a fixed working fluid.
The relationship has strongly diminishing returns. Going from 8 to 10 to 1 buys a substantial efficiency gain; going from 12 to 14 buys much less, and the practical ceiling arrives long before the theoretical one because higher ratios raise the risk of detonation. That is the trade the whole exercise revolves around: efficiency pushes the ratio up, fuel quality pushes it back down.
It is also worth keeping the scale of the prize in perspective. Only a fraction of the energy in the fuel reaches the wheels at all — the US Department of Energy's breakdown of where the energy goes in a gasoline vehicle shows how much is lost to engine heat, drivetrain and idling. Compression ratio improves one slice of that chain rather than transforming the whole thing.
The Measurements People Get Wrong
Chamber volume is the biggest source of error, and looking it up rather than measuring it is the usual cause. A head that has been skimmed even lightly has a smaller chamber than the factory figure, and skimming raises compression whether or not that was the intention. On the example engine above, removing 3 cc from the chamber lifts the ratio from 8.81 to about 9.19.
Gasket thickness is the second. Manufacturers quote uncompressed thickness and gaskets compress meaningfully on torque-down, so using the packet figure inflates clearance volume and understates the ratio. Deck clearance is the third and the one most often set to zero out of convenience; a half-millimetre deck on an 86 mm bore is nearly 3 cc, which on a small chamber is worth several tenths of a ratio point.
Dish sign errors produce the most dramatic mistakes. Entering a 5 cc dome as positive rather than negative changes clearance volume by 10 cc and moves the calculated ratio by well over a point in the wrong direction. If your answer looks implausible, that is the first thing to check. The cylinder volume calculator is useful for checking any of the individual volumes independently, and the metric to SAE converter handles mixed-unit measurement sets.
Forced Induction Changes the Question Entirely
Everything above assumes a naturally aspirated engine. Add a turbocharger or supercharger and the cylinder is filled at above atmospheric pressure, so the pressure at the end of the compression stroke is far higher than the static ratio alone suggests.
This is why boosted engines are built with lower static ratios than naturally aspirated ones. The effective compression the fuel sees is a product of the geometric ratio and the pressure ratio of the induction system, and pushing both high at once is the classic route to detonation. Builders converting a naturally aspirated engine to boost usually lower the static ratio deliberately, with a thicker gasket, dished pistons or both.
This calculator computes geometry only and takes no account of boost, so a ratio that is entirely sensible on an atmospheric engine may be far too high once an intake pressure rise is added. For the rest of a drivetrain calculation, the engine RPM calculator covers road speed against gearing, the gear ratio calculator handles the ratios themselves, and the horsepower calculator and the torque calculator deal with output.
Arb Digital builds websites and local search presence for independent workshops and specialist trades, and the free tools library is open to everyone.
SEO Services Talk to Arb DigitalCommon Mistakes to Avoid
- Using the published chamber volume — any head that has been skimmed or ported no longer matches the factory figure, and only a burette measurement is reliable.
- Entering uncompressed gasket thickness — gaskets squash on torque-down, and the installed thickness is the one that sets clearance volume.
- Setting deck clearance to zero — half a millimetre on a typical bore is around 3 cc, which is worth several tenths of a ratio point.
- Getting the dish and dome sign backwards — a dome reduces clearance volume, so it must be entered as a negative figure.
- Treating the static ratio as what the fuel sees — camshaft timing and any boost pressure both change the effective ratio substantially.
Related Free Tools From Arb Digital
Check individual volumes with the cylinder volume calculator, work out road speed against gearing with the engine RPM calculator and the gear ratio calculator, and handle output figures with the horsepower calculator and the torque calculator. The air fuel ratio calculator covers mixture and the gas oil mix ratio calculator handles two-stroke fuelling. Everything else is in the free online tools hub.
Frequently Asked Questions
It is the ratio of the total cylinder volume at bottom dead centre to the clearance volume left at top dead centre, calculated purely from geometry with the valves assumed closed. It is the number quoted in engine specifications.
Usually because the factory figure omits gasket and deck volumes, or because your chamber measurement differs from the nominal one. Those two together commonly account for a full point of ratio.
Negative. A dome occupies space that would otherwise be clearance volume, so it reduces the clearance figure and raises the ratio. Only a dish is entered as a positive number.
It depends on chamber size, but removing volume from a small chamber has a large effect. On a 50 cc chamber with roughly 64 cc of total clearance, taking off 3 cc lifts the ratio from about 8.8 to about 9.19.
Static uses the full stroke; dynamic measures from the point the intake valve actually closes, which is well after bottom dead centre. Dynamic is always lower, and it is the figure that tracks detonation resistance.
No. It computes geometric ratio only. Boost raises the pressure the fuel experiences well beyond what the static ratio implies, which is why boosted engines are usually built with lower geometric ratios.
Yes for bore, stroke, gasket bore, gasket thickness and deck clearance — switch the units selector. Chamber and dish volumes are always in cubic centimetres, which is how they are measured in practice.
Within about half a cubic centimetre. On a typical 60 to 65 cc clearance volume, an error of 1 cc moves the calculated ratio by roughly 0.15, which is enough to matter when you are close to a fuel limit.
This tool performs a geometric calculation from figures you supply. It does not recommend a compression ratio for any engine, and decisions about fuel, camshaft, boost and engine assembly should be made with the engine manufacturer's documentation and a qualified engine builder.