Compression Ratio Calculator

The Ratio That Shapes an Engine's Personality

Compression ratio compares the total volume above the piston at the bottom of its stroke to the volume left at the top — in other words, how much the air-fuel mixture gets squeezed before combustion. Squeeze it more and the engine extracts more energy from each combustion cycle, but push the ratio too high on pump gasoline and the mixture can ignite prematurely from heat and pressure alone, causing engine knock. This calculator solves the ratio directly from measured volumes, or derives swept volume first from bore and stroke when only cylinder dimensions are known.

The Formula

From volumes: CR = (Swept Volume + Clearance Volume) ÷ Clearance Volume

From bore & stroke: Swept Volume = (π÷4) × Bore² × Stroke
CR = (Swept Volume + Clearance Volume) ÷ Clearance Volume

Swept volume (also called displacement per cylinder) is the volume the piston sweeps through from bottom dead center to top dead center. Clearance volume is what's left in the combustion chamber when the piston reaches the top.

Where This Matters

  • Fuel octane requirements — higher compression ratios generally demand higher-octane fuel to resist knock, which is why high-compression performance engines specify premium fuel.
  • Forced induction planning — turbocharged and supercharged engines are typically built with lower static compression ratios than naturally aspirated engines, since the turbo or supercharger adds its own pressure on top.
  • Head gasket and piston selection — engine builders calculate compression ratio when swapping pistons, decking a block, or changing head gasket thickness, since each changes clearance volume.
  • Diesel combustion — diesel engines rely on much higher compression ratios than gasoline engines to ignite fuel from heat alone, with no spark plug involved.

Typical Compression Ratios by Engine Type

Commonly published static compression ratio ranges
Engine TypeTypical Compression Ratio
Turbocharged/supercharged gasoline8.5–10.0 : 1
Naturally aspirated gasoline (regular fuel)9.5–11.0 : 1
Naturally aspirated gasoline (premium/performance)11.0–13.0 : 1
Modern direct-injection gasoline12.0–14.0 : 1
Diesel (compression ignition)14.0–23.0 : 1

Ranges reflect commonly published figures for production engines and vary by manufacturer, fuel system design, and model year.

How to Use This Calculator

  1. Choose calculation mode: From Swept & Clearance Volume, or From Bore, Stroke & Clearance Volume.
  2. If using swept volume directly, enter the swept/displacement volume and clearance volume in cc.
  3. If starting from cylinder dimensions, enter bore and stroke in cm plus clearance volume in cc.
  4. Select Calculate to see the resulting compression ratio.

Related Calculations

Once compression ratio is set, see how it interacts with output using the Horsepower Calculator, or check Torque from a dyno pull.