Compression Ratio Formula & How to Calculate It
- Swept volume per cylinder
- cc
- Result
- Clearance volume
- cc
- Result
- Cylinder bore
- 86 mm
- You entered
This calculator works out the compression ratio of an internal combustion engine from the cylinder bore, stroke length, and combustion chamber volume. Enter those three values (plus the head gasket and piston deck height if you know them), and you get the ratio as a single number, typically between 8:1 and 12:1 for a street engine. The formula is straightforward, but getting the volumes right is where most people make mistakes.
Formula
The compression ratio (CR) is the total cylinder volume at bottom dead center (BDC) divided by the total volume at top dead center (TDC). In symbols:
CR = (Vswept + Vclearance) / Vclearance
Where:
- Vswept = volume swept by the piston as it moves from BDC to TDC, in cubic centimeters (cc). Calculated as π/4 × bore² × stroke, using consistent units.
- Vclearance = volume remaining above the piston at TDC, in cc. This includes the combustion chamber volume in the cylinder head, the volume of the head gasket, and the volume above the piston due to deck height (the piston not reaching the top of the block).
To convert bore and stroke from millimeters to centimeters, divide by 10. The formula for swept volume in cc is then:
Vswept = (π/4) × (bore/10)² × (stroke/10)
The clearance volume is:
Vclearance = chamber volume + (π/4) × (bore/10)² × (gasket thickness/10 + deck height/10)
All volumes must be in the same units (cc or cm³). If you measure the chamber in cubic centimeters, keep the bore and stroke in centimeters as well.
Worked Example
Using the default values from the calculator above:
- Bore = 86 mm → 8.6 cm
- Stroke = 86 mm → 8.6 cm
- Chamber volume = 50 cc
- Gasket thickness = 1.2 mm → 0.12 cm
- Deck height = 0.5 mm → 0.05 cm
First, calculate the swept volume:
Vswept = (π/4) × (8.6)² × (8.6) = 0.7854 × 73.96 × 8.6 = 499.6 cc
Next, the clearance volume:
Vclearance = 50 + (π/4) × (8.6)² × (0.12 + 0.05) = 50 + 0.7854 × 73.96 × 0.17 = 50 + 9.87 = 59.87 cc
Now the compression ratio:
CR = (499.6 + 59.87) / 59.87 = 559.47 / 59.87 = 9.34
So the compression ratio is 9.34:1, matching the calculator’s output.
Why Compression Ratio Matters
Compression ratio is one of the main factors controlling an engine’s thermal efficiency. Higher compression squeezes the air-fuel mixture more, raising the temperature and pressure before ignition, which releases more energy per unit of fuel. In practice, a higher ratio (within the fuel’s knock limit) improves fuel economy and power output. That’s why modern engines with direct injection and variable valve timing often run 12:1 or higher, while older carbureted engines stayed around 8:1 to 9:1.
But there’s a trade-off. Higher compression requires higher-octane fuel to prevent detonation (knock). It also increases mechanical stress on pistons, rods, and bearings. For a street engine, the chosen ratio must match the fuel available and the camshaft timing. A long-duration camshaft effectively lowers the dynamic compression ratio, so engines with aggressive cams can run slightly higher static ratios.
How to Measure the Volumes
Getting accurate numbers is the hard part. Here’s what each volume actually represents and how to measure it:
- Bore and stroke – Bore is the cylinder diameter, stroke is the piston travel. Both are usually in the engine’s specifications. If you’ve overbored the cylinders, use the new bore size.
- Combustion chamber volume – This is the volume in the cylinder head above the piston at TDC. It’s typically measured by “cc-ing” the head: level the head, seal the valves, and use a burette to fill the chamber with fluid until it reaches a marked level. Typical values range from 40 to 70 cc for a four-valve head.
- Head gasket volume – The gasket adds a small volume equal to its compressed thickness times the bore area. Use the gasket’s compressed thickness, not the new, uncompressed thickness. Many gaskets list this spec.
- Piston deck height – This is the distance from the piston crown at TDC to the top of the block deck. If the piston is below the deck, add this volume; if it protrudes above the deck, subtract it. Some pistons have a dome (adds volume) or a dish (reduces volume) – those are usually included in the chamber volume calculation or listed separately.
For a piston with a dome or dish, you need that volume too. A dome reduces the clearance volume (it takes up space), while a dish increases it. Many piston manufacturers list the dome/dish volume in cc.
Common Mistakes and How to Avoid Them
The most frequent error is mixing units. Bore and stroke in millimeters, but chamber volume in cubic centimeters – you must convert everything to centimeters or cubic centimeters. Another common mistake is using the wrong gasket thickness: always use the compressed thickness, which can be 0.2–0.4 mm less than the new gasket.
People also forget the deck height or assume it’s zero. Even a 0.5 mm deck height on an 86 mm bore adds about 2.9 cc, which can drop the ratio by 0.3–0.5 points. That’s significant when you’re aiming for a specific number.
Rounding too early causes small errors. Keep at least two decimal places until the final division, then round to one decimal place for the ratio. The calculator above uses full precision internally, so its result is reliable.
Finally, remember that the static compression ratio you calculate here is not the same as the dynamic compression ratio, which accounts for intake valve closing timing. The dynamic ratio is always lower and is what actually determines knock resistance. For a stock cam, the static ratio is a good guide; for a modified cam, you need a dynamic compression calculator.
How to Choose a Target Ratio
Your target compression ratio depends on the fuel and the engine’s intended use. Here are typical ranges (static, for naturally aspirated engines):
- 87 octane (regular): 8.5:1 to 9.5:1
- 91–93 octane (premium): 9.5:1 to 11.0:1
- E85 (ethanol): 11.0:1 to 13.0:1 (ethanol has high knock resistance)
- Forced induction (turbo/supercharger): 8.0:1 to 9.5:1 (lower to avoid detonation under boost)
These are rough guides. The actual limit depends on combustion chamber design, spark plug location, coolant temperature, and cam timing. If you’re building an engine, start low and increase gradually while monitoring for knock.
Limits of the Formula
The formula assumes the cylinder is a perfect cylinder and the piston crown is flat. In reality, piston domes, valve reliefs, and irregular chamber shapes add or subtract volume. The formula also ignores the volume of the ring land area above the top ring, which is small but not zero (usually 0.5–1 cc). For a precise build, you’d add that too.
Another limit: the compression ratio alone doesn’t tell you the actual pressure at TDC. That depends on volumetric efficiency, intake valve closing, and temperature. Two engines with the same static ratio can have very different dynamic pressures. So use this number as a design tool, not a guarantee of performance.
Frequently Asked Questions
What is a good compression ratio for a street engine?
For a daily driver on pump gas, 9.0:1 to 10.5:1 is typical. With modern engine management and knock sensors, some production cars run 11:1 or higher on premium fuel. For a classic car with a carburetor, staying under 9.5:1 is safer.
Does a higher compression ratio always mean more power?
Up to a point, yes, because thermal efficiency improves. But if the ratio is too high for the fuel, detonation occurs, which can destroy the engine. Also, beyond about 13:1, the gains diminish and the risk of knock rises sharply, especially at low RPM.
How do I convert compression ratio to PSI?
You can’t directly. Cranking compression pressure depends on valve timing, cranking speed, and throttle position. A rough rule of thumb is to multiply the compression ratio by about 14.7 psi (atmospheric pressure), but that ignores the temperature rise and valve timing. Use a compression gauge for actual readings.
What is the difference between static and dynamic compression ratio?
Static ratio uses the full stroke from BDC to TDC. Dynamic ratio uses the cylinder volume at the intake valve closing point (usually 40–70 degrees after BDC) as the starting point. Because the piston has already moved up some distance, the dynamic ratio is lower. It’s a better predictor of knock.
Can I calculate compression ratio from engine displacement?
Not without the chamber volume. If you know total displacement and the number of cylinders, you can get swept volume per cylinder, but you still need the clearance volume. The formula requires both.
Why do diesel engines have such high compression ratios?
Diesels compress air only, not a fuel-air mixture, so they don’t suffer from pre-ignition. They need ratios of 16:1 to 22:1 to heat the air enough to ignite the injected fuel. The lack of a throttle also means they run lean, which reduces knock risk.
Related
Formula used
in bore | Cylinder bore | mm | 86 | 0 in stroke | Piston stroke | mm | 86 | 0 in chamber | Combustion chamber volume | cc | 50 | 0 in gasket | Head gasket thickness | mm | 1.2 | 0 in deck | Piston deck height | mm | 0.5 | 0 out ratio | Compression ratio | :1 | (pi/4 * (bore/10)^2 * (stroke/10 + gasket/10 + deck/10) + chamber) / chamber | 2 out swept | Swept volume per cylinder | cc | pi/4 * (bore/10)^2 * (stroke/10) | 1 out clearance | Clearance volume | cc | chamber + pi/4 * (bore/10)^2 * (gasket/10 + deck/10) | 1
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.