Compression Ratio Calculator
Calculate engine compression ratio from swept volume and combustion chamber size. Find recommended octane rating, dynamic CR from cam timing, and estimated cylinder pressure.
cc
cc
Compression Ratio
—
Total Volume at BDC (cc) —
Recommended Octane (approx) —
Extended More scenarios, charts & detailed breakdown ▾
cc
cc
cc
cc
Static Compression Ratio
—
Total Clearance Volume (cc) —
Recommended Octane —
Professional Full parameters & maximum detail ▾
mm
mm
cc
cc
cc
psi
Compression
Static Compression Ratio —
Cylinder Displacement (cc) —
Effective CR with Boost —
Fuel & Efficiency
Recommended Octane —
Theoretical Thermal Efficiency (%) —
How to Use This Calculator
- Enter the Swept Volume per Cylinder (cc) and Combustion Chamber Volume (cc).
- Instantly see compression ratio and recommended octane rating.
- Use the Static CR tab to add head gasket and piston dish volumes for a more precise result.
- Use Cylinder Pressure to estimate cranking compression in psi.
Formula
CR = (Swept Volume + Clearance Volume) / Clearance Volume
Clearance Volume = Chamber + Head Gasket + Piston Dish/Dome
Example
499cc swept, 50cc chamber, 5cc gasket, 0cc dish. Clearance = 55cc. CR = (499 + 55) / 55 = 10.07:1. Recommended octane: 89.
Frequently Asked Questions
- Compression ratio is the ratio of the maximum cylinder volume (when the piston is at bottom dead center, BDC) to the minimum cylinder volume (when the piston is at top dead center, TDC). The formula is CR = (Swept Volume + Clearance Volume) / Clearance Volume. The swept volume is calculated from bore and stroke using V = (π/4) × bore² × stroke. The clearance volume includes the combustion chamber in the cylinder head, the compressed head gasket thickness, and any dish or dome machined into the piston crown. A piston dome protrudes into the clearance space (reducing clearance volume and raising CR), while a dish or valve pocket increases clearance volume and lowers CR. Compression ratio is measured experimentally using a burette to fill the combustion chamber with fluid at TDC, giving the clearance volume directly. Typical street NA gasoline engines run 9:1 to 11:1, performance NA engines 12:1 to 14:1, and diesel engines 16:1 to 23:1.
- Octane rating measures a fuel's resistance to autoignition — spontaneous detonation of the air-fuel mixture from heat and pressure before the spark plug fires. Higher compression ratios squeeze the mixture to higher temperatures and pressures during the compression stroke, increasing the tendency for premature autoignition, called knock or detonation. When knock occurs, the mixture ignites in multiple locations simultaneously, creating shock waves that strike the piston and cylinder walls — producing a metallic pinging sound and causing potentially severe engine damage over time. Higher octane fuel requires more heat and pressure to autoignite, allowing it to survive higher-compression environments without detonating. As a rule of thumb: engines with compression ratios up to 9:1 can typically use 87 octane (regular), 9:1 to 10.5:1 may benefit from 89, and 10.5:1 to 12:1 typically requires 91 premium. Above 12:1 (as in many race engines) often requires 93 octane or race fuel with even higher octane ratings.
- Static compression ratio is the geometric ratio based purely on cylinder dimensions — it describes the physical volume change from BDC to TDC. Dynamic compression ratio (DCR) accounts for the fact that the intake valve does not close exactly at BDC — it stays open for some degrees of the compression stroke (due to valve overlap designed to improve high-RPM breathing). During those extra degrees, some of the intake charge can flow back out through the still-open intake valve before it closes. This effectively reduces the volume of charge actually trapped in the cylinder, lowering the real compression that occurs. DCR is calculated by factoring in the intake valve closing angle after BDC. Aggressive camshafts with late intake valve closing (high overlap) significantly reduce DCR below the static CR, which is why high-compression race engines with wild camshafts can sometimes run on pump gas — the cam profile brings the effective compression down to a manageable level even though the static CR appears dangerously high on paper.
- Yes, there are several ways to raise compression ratio in an existing engine. The most common method is milling (decking) the cylinder head surface to reduce the head chamber volume, which reduces clearance volume and raises CR. Another approach is using dished pistons replaced with flat-top or domed pistons. Thinner head gaskets reduce the compressed gasket thickness contribution to clearance volume. Block decking — machining the block surface — achieves the same effect. The amount you can safely increase CR depends on the fuel you plan to use, whether the engine will be turbocharged or naturally aspirated, and the combustion chamber shape. Forced induction engines typically lower CR when adding a turbo or supercharger (to 8:1–9:1) because boost pressure multiplies effective cylinder pressure. Modern direct-injection engines use combustion chamber geometry improvements and cooled EGR to manage knock at higher compression ratios while still running pump fuel.
- Diesel engines rely entirely on compression ignition — there is no spark plug. Diesel fuel is injected directly into air that has been compressed to the point where it is hot enough to ignite the fuel spontaneously. This requires compression ratios of 16:1 to 23:1, compared to 9:1 to 13:1 for gasoline engines. The extreme compression heats the air to over 800°F (427°C), which is above diesel fuel's autoignition temperature of approximately 490°F (254°C). This high compression is the fundamental reason diesel engines are more thermally efficient than gasoline engines — higher compression ratios extract more work from each combustion event. The theoretical thermal efficiency of a compression ignition cycle scales with compression ratio: at 20:1 CR, theoretical efficiency approaches 65–70%, compared to roughly 55–60% for a high-compression gasoline engine. In practice, friction, heat loss, and incomplete combustion reduce these numbers, but diesel engines consistently achieve 40–45% brake thermal efficiency, while the best gasoline engines reach 38–42%.
Related Calculators
Sources & References (5) ▾
- SAE J1349 Engine Power Test Code — SAE International
- Bosch Automotive Handbook, 10th Edition — Robert Bosch GmbH
- Internal Combustion Engine Fundamentals — Heywood — McGraw-Hill
- Bell — Performance Tuning in Theory and Practice — Haynes Publishing
- VP Racing Fuels — Octane and Compression Guide — VP Racing Fuels