Compression Ratio Calculator
Work out static compression ratio from bore, stroke, chamber, head gasket, deck clearance and piston dome or dish, find the chamber volume a target ratio needs, or get the dynamic ratio from when the intake valve closes.
How to Use
- Pick a mode: Static for the ratio of a build, Chamber for the head volume a target ratio needs, or Dynamic for the ratio from when the intake valve closes.
- Enter the bore and stroke, and for Static or Chamber the gasket bore and compressed thickness, the deck clearance (piston below the deck is positive) and the piston volume: a dish in positive cc, a dome in negative cc.
- Static: enter the combustion chamber volume in cc. Chamber: enter the target ratio and read the chamber volume.
- Dynamic: enter the static ratio, the rod length (centre to centre) and the intake closing angle after bottom dead centre from your cam card, and boost if the engine has it.
- Read the ratio and the volumes, and check Show Work for every step. Use the maker’s fuel recommendation for the octane your engine needs.
Worked Example
A flat-top build. A 4.030 in bore and 3.48 in stroke sweep π ÷ 4 × 102.36² × 88.39 ÷ 1,000 = 727.4 cc per cylinder. The clearance is the 64 cc chamber, plus a 4.100 in × 0.041 in gasket (8.87 cc), plus 0.020 in of deck gap over the bore (4.18 cc), plus 0 cc for flat pistons: 77.05 cc. CR = (727.4 + 77.05) ÷ 77.05 = 10.44:1.
When the valve closes. The same 10.5:1-class engine with a 6.0 in rod and an intake that closes 60° after bottom dead centre has 71.18 mm of its 88.39 mm stroke left when compression really starts (80.5 %). Counting from there, the ratio is 8.65:1. Closing at 70° makes it 7.99:1.
The common mistake: the dome’s sign. A 92 × 86 mm cylinder with a 48 cc chamber, 93 mm × 1.2 mm gasket and 0.5 mm deck is 11.49:1 with a 5 cc dome, entered as −5 cc. Typing the dome as +5 cc treats it as a dish and gives 9.87:1, a 1.6-point error that decides whether the engine knocks on pump gas.
Show Work
Formulas
Compression, Knock and Octane
MIT’s course 2.61, Internal Combustion Engines, shows the ideal efficiency of the spark-ignition cycle rising with compression ratio and gives a working rule: one more point of compression is worth about one percentage point of efficiency. The limit is knock, the end gas igniting on its own. The course puts it near 12.5:1 for port-injected gasoline engines and 13.5:1 with direct injection, with a knock sensor letting the engine run close to that line. Toyota’s direct-and-port-injected 2.0 Dynamic Force engine runs 13:1 (14:1 in the hybrid) for a stated 40 % peak thermal efficiency; Ford’s Coyote 5.0 runs 12.0:1 and Honda’s HR-V 2.0 10.8:1.
Octane measures resistance to knock. The number is the percentage of iso-octane in an iso-octane and n-heptane blend that knocks like the fuel; the Research method runs at 52 °C inlet and 600 rpm, the Motor method at 149 °C and 900 rpm (MIT 2.61). The number on a US pump is (RON + MON) ÷ 2, as the Federal Trade Commission’s rule 16 CFR 306 requires, and fueleconomy.gov lists 87 for regular, 88–90 for midgrade and 91–94 for premium. In the 1920s Thomas Midgley, working under Charles Kettering at General Motors, found that tetraethyl lead suppressed knock; MIT’s notes credit leaded fuel with raising usable compression from about 5:1 to 9:1.
The static ratio assumes compression starts at bottom dead centre, but the intake valve shuts 30–50° later on a typical engine (MIT 2.61), and the Miller cycle closes it later still on purpose so the effective compression is lower than the expansion. That is what the dynamic ratio measures. Diesels have no end gas to knock: the diesel engines in MIT’s notes run 15.4:1 to 17:1.
About This Calculator
This calculator does three compression jobs. Static adds the chamber, gasket, deck and piston volumes and gives the ratio. Chamber works backwards from a target ratio to the head volume it needs. Dynamic finds where the piston is when the intake valve closes, from the rod length and the closing angle, and gives the ratio counted from there, with the boost pressure ratio alongside. Lengths take inches or millimetres; Show Work prints each volume.
The answers are only as good as the measurements: chamber volumes and dish sizes are best measured with a burette, and gasket thickness is the compressed figure on the packet. The fuel an engine needs is the maker’s figure, and a knocking engine should be backed off, not pushed. Everything runs in your browser and nothing you enter is sent anywhere.
Related calculators: Engine Displacement Calculator, Air Density Calculator, and Horsepower Calculator.
Frequently Asked Questions
How do you calculate compression ratio?
CR = (swept volume + clearance volume) ÷ clearance volume, where the clearance volume is the chamber plus the gasket, the deck gap and the piston dish (minus a dome). A 4.030 in bore and 3.48 in stroke sweep 727.4 cc; a 64 cc chamber, an 8.87 cc gasket (4.100 × 0.041 in) and a 4.18 cc deck gap (0.020 in) make 77.05 cc of clearance, so CR = 804.5 ÷ 77.05 = 10.44:1.
What is dynamic compression ratio?
It is the ratio counted from when the intake valve actually closes rather than from bottom dead centre. MIT’s engine course gives 30–50° after BDC as typical intake closing and notes that late closing lowers the effective ratio. With a 3.48 in stroke and 6.0 in rod, closing at 60° after BDC leaves 80.5 % of the stroke, so 10.5:1 static becomes 8.65:1 dynamic.
What compression ratio can pump gas take?
It depends on the engine, which is why makers state the fuel. MIT’s course puts the gasoline knock limit near 12.5:1 with port injection and 13.5:1 with direct injection. Honda’s 2023 HR-V 2.0 runs 10.8:1, Ford’s Coyote 5.0 12.0:1 and Toyota’s 2.0 Dynamic Force 13:1 (14:1 in the hybrid). US pump grades are 87 regular, 88–90 midgrade and 91–94 premium (fueleconomy.gov).
Is a piston dome negative or positive?
Negative. A dome sticks up into the chamber, takes up space and raises the ratio, so it is entered as negative cc. A dish adds space and lowers the ratio, so it is positive. On a 92 × 86 mm cylinder with a 48 cc chamber, a 5 cc dome gives 11.49:1; the same 5 cc as a dish gives 9.87:1.
How does boost change compression?
Boost raises the pressure in the cylinder when the intake closes; the compression ratio itself stays the same. Garrett’s Turbo Tech 103 works out pressure ratio as absolute manifold pressure ÷ ambient, so 10 psi at sea level is (10 + 14.7) ÷ 14.7 = 1.68. Multiplying the static ratio by that number to get an “effective” ratio is a rule of thumb with no standard behind it, so this page shows the pressure ratio on its own.
How do I use the Compression Ratio Calculator?
Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.
Is it free? Does it work without internet?
Yes to both. It is free with no sign-up, and once the page has loaded it keeps working even with no internet.
Where does my data go?
Nowhere — every calculation runs on your own device. Nothing you enter is uploaded, logged, or stored.
Common Use Cases
Choosing a head gasket
On a 4.030 in bore, going from a 0.041 in to a 0.051 in gasket adds 2.16 cc of clearance and drops 10.44:1 to 10.18:1.
Picking pistons
A 92 × 86 mm build with 48 cc chambers is 11.49:1 with a 5 cc dome and 9.87:1 with a 5 cc dish.
Matching a factory ratio
Honda’s 10.8:1 on an 86 × 85.9 mm cylinder means 50.92 cc of total clearance; Ford’s 12.0:1 Coyote needs 57.25 cc.
Checking a cam swap
Closing the intake 70° after BDC instead of 60° drops a 10.5:1 engine with a 6.0 in rod from 8.65:1 to 7.99:1 dynamic.
Planning a boosted build
An 86 × 86 mm engine at 9.0:1 with a 143 mm rod and 45° closing is 8.13:1 dynamic; 10 psi of boost is a 1.68 pressure ratio on top.
Last updated: