Skip to content

Compression Ratio Calculator

Calculate engine compression ratio from bore, stroke, and chamber volume.

By CalcGenius Editorial TeamLast reviewed August 28, 20253 min read
Compression Ratio Calculator

Volume displaced by the piston stroke: (π/4) × bore² × stroke × n_cylinders. Per-cylinder or total, just be consistent.

Combustion-chamber volume at TDC. Measured by buret testing the assembled head with the piston at TDC.

The unit cancels in the ratio; both inputs must use the same unit.

📊
Enter your values and click Calculate

About

Compression ratio (CR) is one of the most important numbers in engine design. It is the ratio of the cylinder's total volume at bottom dead centre (BDC) — when the piston is at the bottom of its stroke — to the volume at top dead centre (TDC), when the piston is at the top. The difference is the swept volume displaced by the piston; what remains at TDC is the clearance volume, the combustion chamber. Geometrically CR = (swept + clearance) / clearance.

The swept volume comes from the cylinder geometry: V_swept = (π/4) × bore² × stroke × n_cylinders. For a 4-cylinder engine with 86 mm bore and 86 mm stroke, that is about 499 cc per cylinder or 1996 cc total — a 2.0 L engine. The clearance volume is harder to measure because it is the complex shape of the combustion chamber at TDC: it includes the head pocket, the compressed head gasket, any piston dish or dome, and the valve pockets. Engine builders measure it by buret testing the assembled head with solvent.

Higher CR means a hotter, denser compressed mixture, which releases more of the combustion energy as work during the expansion stroke. The Otto cycle ceiling is 1 − 1/r^(γ−1) with γ ≈ 1.4 for air, giving 56.5% at 8:1, 60.2% at 10:1, 63.5% at 12:1, 66.5% at 14:1. Real engines capture about half of this theoretical maximum (25–35% brake thermal efficiency), but the trend with CR is real: more compression means more efficiency, all else equal.

The catch is detonation. As CR rises, the compressed mixture gets hot enough to self-ignite before the spark fires — knock or detonation, which hammers pistons and melts ring lands. Octane is the anti-knock rating of fuel; higher-octane fuel resists auto-ignition. The rule of thumb is roughly 1 octane point per 0.5 CR above 8:1, so 10:1 wants about 91 AKI, 11:1 wants 93, 12:1+ wants E85 or race gas. Modern direct-injection engines can push CR higher because the fuel spray cools the charge.

Turbocharged and supercharged engines use lower geometric CR (8:1 to 9.5:1) because the forced induction adds effective compression on top of the geometric ratio. A 9:1 engine at 1 bar of boost has an effective CR of about 18:1 — already at the diesel ceiling. The low geometric CR keeps part-throttle operation tractable on pump gas; the turbo adds compression only when the driver demands power. This is why modern turbo engines mimic naturally aspirated feel off-boost but hit hard when spooled.

Diesel engines run 14:1 to 22:1 because they ignite by compression alone — no spark plug. The high CR heats the intake air enough that injected diesel self-ignites on contact. Modern common-rail diesels sit at the low end (16:1 to 18:1) to reduce NOx and soot, while older indirect-injection diesels went above 22:1. The high CR is also why diesels are more efficient — they sit higher on the Otto curve — but heavier (the parts must withstand higher peak pressures) and rougher-running.

How to Use

  1. 1
    Enter the swept volume
    Swept volume is the cylinder volume displaced by the piston from BDC to TDC. Compute it as (π/4) × bore² × stroke × number_of_cylinders, or read it off the engine spec sheet. Use cc (cubic centimetres) or cu in (cubic inches).
  2. 2
    Enter the clearance volume
    Clearance volume is the combustion-chamber volume remaining at TDC — the volume above the piston at top dead centre, including the head gasket, valve pockets, and dish. Measure it by buret testing the assembled cylinder head. Same units as swept volume.
  3. 3
    Pick your volume unit
    Choose cc (cubic centimetres, 1 cc = 1 mL) for metric engines, or cu in (cubic inches) for imperial engines. Both inputs must use the same unit — the ratio is dimensionless and the unit cancels.
  4. 4
    Read the compression ratio
    The hero shows CR as a ratio like 10.5:1. The recommendation panel shows the minimum pump-gas octane for that CR based on typical naturally aspirated engines.
  5. 5
    Sanity-check with the comparison table
    The table lists common engine configurations (8:1 turbo, 10:1 NA, 13:1 high-compression) and the fuel they typically need. Use this to verify your number lands in a sensible range for your engine type.

Formula

Compression ratio:

CR = (V_swept + V_clearance) / V_clearance

Swept volume (per cylinder):

V_swept = (π/4) × bore² × stroke
V_swept_total = V_swept × n_cylinders

Otto cycle thermal efficiency:

η = 1 − 1/r^(γ−1), γ ≈ 1.4 for air

Worked Example

Example 1 — A small-block Chevy with 632 cc swept, 63 cc clearance:

  • CR = (632 + 63) / 63 = 695 / 63 ≈ 11.03 : 1.
  • Fuel: 91 AKI premium. Otto efficiency ≈ 1 − 1/11.03^0.4 ≈ 61.2%.

Example 2 — A Mazda Skyactiv-G 2.0 with 499 cc swept, 41 cc clearance:

  • CR = (499 + 41) / 41 = 540 / 41 ≈ 13.17 : 1 (production-record for NA gasoline).
  • Fuel: 91 AKI premium thanks to direct injection cooling the charge.

Example 3 — A boosted 2.0 L with 500 cc swept, 55 cc clearance:

  • CR = 555 / 55 ≈ 10.09 : 1 — at the high end for a turbo engine.
  • Fuel: 91 AKI minimum, more boost requires E85 or race gas.

Example 4 — A modern diesel with 500 cc swept, 32 cc clearance:

  • CR = 532 / 32 = 16.6 : 1 — typical of a common-rail diesel.
  • Fuel: diesel (no octane rating — diesel ignites by compression).

Tips

  • Otto cycle efficiency is 1 − 1/r^(γ−1) with γ ≈ 1.4. So 8:1 → 56.5%, 10:1 → 60.2%, 12:1 → 63.5%, 14:1 → 66.5%. Real engines capture about half of this theoretical maximum.
  • Turbo engines need lower geometric CR (8–9.5:1) because the turbo adds effective compression. Total effective CR ≈ geometric × (1 + boost_bar), so a 9:1 engine at 1 bar boost has ~18:1 effective CR.
  • Milling the head raises CR by reducing clearance volume. Rough rule: 0.010 in (0.25 mm) off the deck raises a typical small-block Chevy's CR by about 0.25–0.5 points. Always re-check piston-to-valve clearance after milling.
  • Octane rule of thumb: 87 AKI good for up to ~9:1 NA, 89 AKI to ~10:1, 91 AKI to ~11:1, 93 AKI to ~12:1. Beyond 12:1 you usually need E85 (100+ AKI) or water-methanol injection.
  • Diesel engines run 14:1 to 22:1 — they need the high CR for compression ignition (no spark plug). Modern common-rail diesels are at the low end (16:1 to 18:1) to reduce NOx and soot while still igniting reliably.

Common Mistakes

Warning

The most common mistake is mixing per-cylinder and total-engine volumes. If you compute the per-cylinder swept volume but use the total engine displacement divided by the number of cylinders, the CR is still correct — but if you pair total swept with per-cylinder clearance (or vice versa), the CR is wrong. Always pair like with like: either both per-cylinder or both total. The ratio is dimensionless and unit-independent, so use cc, cu in, or mL freely as long as both inputs match.

Frequently Asked Questions

What is the compression ratio of an engine?
The compression ratio (CR) is the ratio of the cylinder volume at bottom dead centre (BDC) to the volume at top dead centre (TDC). CR = (swept + clearance) / clearance, where swept is the volume displaced by the piston stroke and clearance is the remaining combustion-chamber volume at TDC. A 10:1 CR means the air-fuel mixture is squeezed to one-tenth of its original volume — ten times denser, hotter, and closer to detonation.
How do I compute swept volume from cylinder dimensions?
Swept volume = (π/4) × bore² × stroke, for one cylinder. Multiply by the number of cylinders for total engine swept volume. For a 4-cylinder engine with 86 mm bore and 86 mm stroke: swept per cylinder = (π/4)·(8.6 cm)²·(8.6 cm) ≈ 499 cc, total ≈ 1996 cc (a 2.0 L engine). Use consistent units — cm for bore/stroke gives cc.
What octane fuel do I need for a given CR?
As a rough guide: 8:1 → 87 AKI regular; 9:1 → 89 AKI mid-grade; 10–11:1 → 91 AKI premium; 12:1 and higher → 93+ AKI or E85. Modern engines with direct injection, variable valve timing, and knock sensors can run higher CR on lower octane than the chart suggests, but always follow the manufacturer's recommendation, not a rule of thumb.
Why do high-compression engines make more power?
Thermal efficiency rises with CR because the expansion ratio is larger — more of the combustion heat is converted to work before the exhaust valve opens. The theoretical (Otto cycle) efficiency is 1 − 1/r^(γ−1) where γ ≈ 1.4 for air. Going from 8:1 to 12:1 raises efficiency from about 56.5% to about 63.5% — roughly 12% more work per unit of fuel, all else equal.
Why do turbo engines use lower CR than naturally aspirated?
Turbochargers stuff more air into the cylinder, so the effective (pre-turbo) compression is higher than the geometric CR. To stay below the detonation limit on pump gas, turbo engines lower the geometric CR to 8–9.5:1. The total (turbo × CR) effective compression may still exceed 12:1, but only at full boost; part-throttle operation reverts to a low effective CR for drivability.
What is the highest CR in production engines?
Modern naturally aspirated direct-injected engines reach 14:1 (Mazda Skyactiv-G, some Formula Atlantic racing engines use 13:1 on methanol). Formula 1 turbo-hybrid engines (1.6 L V6) run around 18:1 effective thanks to heavy knock resistance from ethanol fuel and extreme turbo efficiency. Diesel engines run 14:1 to 22:1 — compression ignition needs the heat of high CR.

Engine compression ratio

Compression ratio (CR) is the ratio of cylinder volume at bottom dead centre (BDC) to volume at top dead centre (TDC). Geometrically CR = (V_swept + V_clearance) / V_clearance. A 10:1 ratio means the air-fuel mixture is squeezed to one-tenth of its BDC volume — denser, hotter, and more reactive. The CR sets the engine's thermal efficiency ceiling and its fuel requirement; it is one of the most important engine design numbers along with bore, stroke, and displacement.

Swept + clearance volumes

Swept volume is the cylinder volume the piston displaces from BDC to TDC: V_swept = (π/4) × bore² × stroke × n_cylinders. Clearance volume is what remains at TDC — the combustion chamber shaped by the cylinder head, the head gasket thickness, any piston dish or dome, and the valve pockets. Together they give the total cylinder volume at BDC: V_total = V_swept + V_clearance. The CR is V_total / V_clearance. Bigger clearance lowers CR; bigger swept raises it.

Octane requirement

As CR rises, the compressed air-fuel mixture gets hotter and more pressurised. Above a critical temperature, the mixture self-ignites before the spark fires — knock or detonation, which can crack pistons and melt ring lands. Higher-octane fuel resists this auto-ignition: octane is the anti-knock rating. The rule of thumb is roughly 1 octane point per 0.5 CR above 8:1. Direct injection, intercooling, and knock sensors relax this; forced induction and hot intake air tighten it.

High vs low CR trade-offs

High CR (12:1+) gives more thermal efficiency (more work per unit of fuel) and torque, but demands high-octane fuel and careful cooling, and limits forced induction. Low CR (8:1) tolerates boost and cheap fuel, but wastes efficiency and feels soft off-boost. The Otto cycle ceiling is 1 − 1/r^(γ−1) with γ ≈ 1.4, so 8:1 → 56.5%, 12:1 → 63.5%, 20:1 → 71%. Real engines hit about 30–35% of that, but the trend holds.

Typical CR values for common engine families and the pump-gas fuel they want. Diesel ignores octane and runs 14:1 to 22:1 for compression ignition.
Compression ratioRecommended fuelNotes
8:1 (turbocharged, low boost)87 AKI regularLow-stress, cheap fuel, ready for boost
10:1 (modern naturally aspirated)91 AKI premiumGood efficiency, common in modern cars
12:1 (high-compression NA, DI)93 AKI premiumMazda Skyactiv-G territory
13:1 (Skyactiv-G PFI variant)91 AKI premiumHighest NA pump-gas CR in production
14:1 (Skyactiv-D diesel)Diesel (no octane)Lowest-CR diesel that still ignites cleanly
17:1 (modern common-rail diesel)Diesel (no octane)Compression ignition needs high CR
Info

The Otto cycle efficiency formula 1 − 1/r^(γ−1) with γ ≈ 1.4 sets the theoretical ceiling. A real engine captures roughly half of this — a 12:1 engine has a 63.5% Otto ceiling but achieves about 30–35% brake thermal efficiency. The losses go to heat (cooling system, exhaust), pumping work, friction, and incomplete combustion. Still, higher CR moves the ceiling up, so every fraction of a point matters for fuel economy.

Pro tip

Boring and stroking an engine changes CR in two ways: more swept volume raises CR (good), but a longer stroke usually needs a bigger combustion chamber for piston-to-valve clearance, which lowers CR (cancels part of the gain). Always recompute CR after any displacement change, and re-clearance the head to keep the ratio in the safe zone.

Warning

Detonation (knock) is destructive. If you raise CR by milling the head or using thinner gaskets, you must verify the fuel requirement and ignition timing with a knock sensor or by ear before hammering the throttle. Sustained heavy knock can crack ring lands in seconds. When in doubt, run higher octane or retard ignition 1–2 degrees.

Authoritative References

  • Wikipedia — Compression ratio— wikipedia.org
    Encyclopedic article on engine compression ratio: definition, formula, the Otto cycle efficiency ceiling, effects on power and fuel octane, and the diesel vs petrol comparison.
  • Summit Racing — Compression Ratio Tech— summitracing.com
    Summit Racing's technical articles explain how to measure swept and clearance volumes, how to compute CR from bore and stroke, and how CR affects fuel choice and engine tuning.
  • Engine Builder Magazine — Compression Ratio Guide— enginebuildermag.com
    Practitioner-facing reference covering swept volume calculations, combustion chamber measurement by buret, and how piston dish, head gasket thickness, and valve pockets contribute to clearance.

Try our other free calculators

CalcGenius has 1,200+ free, ad-free, browser-based calculators for finance, health, math, science, and everyday life. No sign-up required.

Compression Ratio Calculator — APR, Fuel & Ownership