What is the Compression Ratio Calculator?
An engine's compression ratio (CR) describes how much the air-fuel mixture is squeezed inside a cylinder before ignition. It is the ratio between the total cylinder volume (when the piston is at the bottom of its stroke) and the clearance volume (when the piston is at the top). A higher compression ratio generally means more thermal efficiency and power, but it also raises the octane requirement to avoid knock. This calculator computes CR from three values you can measure directly: bore, stroke, and clearance volume.
How to use it
Enter the cylinder bore (the diameter of the cylinder) and the stroke (the distance the piston travels), both in millimetres. Then enter the clearance volume in cubic centimetres (cc) — this is the combustion chamber volume remaining above the piston at top dead centre, including head gasket, deck and chamber. The calculator returns the swept (displacement) volume per cylinder and the resulting compression ratio.
The formula explained
The swept volume is the volume of a cylinder: \(V_{disp} = \frac{\pi}{4} \times \text{bore}^2 \times \text{stroke}\). With bore and stroke in mm the result is in mm³, so we divide by 1000 to convert to cc. The compression ratio is then $$\text{CR} = \frac{V_{disp} + V_{clear}}{V_{clear}}$$
Worked example
For an 86 mm bore, 86 mm stroke and 55 cc clearance: $$V_{disp} = 0.7853982 \times 86^2 \times 86 = 499{,}481 \text{ mm}^3 \approx 499.48 \text{ cc}$$ Then $$\text{CR} = \frac{499.48 + 55}{55} \approx 10.08 : 1$$
Typical Compression Ratios by Engine Type
The table lists typical static compression ratios (CR). These are general industry guidance only. Actual values vary with combustion chamber design, cooling, fuel, engine management and intended use.
| Engine type | Typical static CR | Typical fuel association |
|---|---|---|
| Naturally aspirated petrol | approx. 9:1 – 12.5:1 | Roughly 91–98 RON pump fuel, with higher ratios needing higher octane |
| Turbocharged / supercharged petrol | approx. 8:1 – 10.5:1 | Usually premium fuel (about 95–98 RON or higher), because boost raises cylinder pressure |
| Diesel (overall) | approx. 14:1 – 23:1 | Diesel fuel, ignited by compression rather than a spark |
| Diesel, indirect injection | approx. 18:1 – 23:1 | Diesel fuel |
| Diesel, direct injection | approx. 15:1 – 20:1 | Diesel fuel |
| High-performance race / E85 petrol | up to about 13:1 – 15:1 | Race fuel or E85 (ethanol blend), whose high knock resistance allows higher CR |
Octane numbers differ by region. RON is common in Europe and Asia-Pacific, while the US pump label (AKI) is usually about 4–5 points lower than RON for the same fuel. Always follow the fuel recommendation of the engine manufacturer.
Interpreting Your Compression Ratio
The calculator returns the geometric static compression ratio:
$$\text{CR} = \frac{V_d + V_c}{V_c}, \qquad V_d = \frac{\pi}{4}\cdot\frac{\text{bore}^2 \cdot \text{stroke}}{1000}$$
Here bore and stroke are in mm, and \(V_d\) and the clearance volume \(V_c\) are in cc. The result is dimensionless and is written as, for example, 10.5:1.
What the number generally implies (petrol engines)
- Low (below 9:1): Lower thermal efficiency and less power per litre, but a low octane requirement and low knock risk. This is common in older designs and in heavily boosted engines that rely on boost for output.
- Medium (9–11:1): A balance of efficiency, power and fuel tolerance. Many road engines sit here, typically on regular to premium fuel, with moderate knock risk that the engine management usually controls.
- High (above 11:1): Higher thermal efficiency and more power from the same airflow. The engine needs higher-octane fuel, good chamber and cooling design, and careful ignition control, because knock (detonation) risk rises.
Static vs. dynamic (effective) compression ratio
Static CR ignores valve timing and boost. Dynamic or effective CR accounts for the intake valve closing late, which traps less charge and lowers the real compression. Boost raises effective pressure well above what the static ratio suggests. A long-duration cam can allow a higher static CR on the same fuel, while a turbo engine with a modest static CR can still see very high cylinder pressure at full boost.
Real cylinder pressure and knock behaviour also depend on cam timing, boost level, intake air and coolant temperature, fuel quality, ignition timing and chamber shape. Treat the calculated figure as one input to engine design, not a complete measure of performance or safety.
Unit Conversions for Bore, Stroke and Volume
This calculator expects bore and stroke in millimetres (mm) and clearance volume in cubic centimetres (cc). Convert other units first using these relationships:
- 1 in = 25.4 mm
- 1 cm = 10 mm
- 1 cc = 1 cm³ = 1000 mm³
- 1 cubic inch = 16.387 cc
- 1 litre = 1000 cc
| From | To |
|---|---|
| 3.50 in | 88.9 mm |
| 3.25 in | 82.55 mm |
| 4.00 in | 101.6 mm |
| 80 mm | 3.150 in |
| 1 cm | 10 mm |
| 10 cc | 0.610 cu in |
| 50 cc | 3.05 cu in |
| 350 cu in | 5735 cc (about 5.74 L) |
| 2.0 L | 2000 cc (about 122.0 cu in) |
To convert cubic inches to cc, multiply by 16.387. To convert cc to cubic inches, divide by 16.387.
FAQ
Does this account for all cylinders? No — it computes per-cylinder swept volume and CR. CR is the same for every cylinder, so multiply swept volume by the cylinder count for total displacement.
What raises compression ratio? A smaller clearance volume (thinner gasket, milled head, domed piston) or a larger swept volume raises CR.
Why convert mm³ to cc? Clearance volume is usually quoted in cc, so the swept volume must use the same units before adding them.