Compression ratio is the cylinder volume with the piston at bottom dead center divided by the volume left above it at top dead center: CR = (swept + clearance) / clearance, for one cylinder. Swept volume is 0.7854 × bore² × stroke. Clearance volume is the head's combustion chamber plus the head gasket bore volume plus the deck clearance volume, plus a dish or valve reliefs or minus a dome. Enter those figures in inches or millimeters below and the calculator gives the static ratio to two decimals with every step shown. Add the rod length and the intake closing angle and it also gives the dynamic ratio, which counts compression only from the point where the intake valve seals. The example loaded is a 4.000 in bore, 3.480 in stroke cylinder with 64 cc chambers: 9.63:1 static and 7.39:1 dynamic with a 5.700 in rod and the intake closing at 70° after BDC.
Bore, stroke, gasket, deck and rod dimensions are in in. Chamber and piston volumes are always in cc (1 cc = 1 mL), the way head and piston makers list them.
Static compression ratio
Dynamic compression ratio
Uses the bore, stroke and clearance volume from the static calculator, plus the rod length and the crank angle at which the intake valve closes. Pick which intake closing figure you have from the cam card.
01What compression ratio is
Compression ratio compares two volumes in the same cylinder. When the piston sits at bottom dead center (BDC), the space above it is the swept volume plus the clearance volume. When it reaches top dead center (TDC), only the clearance volume is left. The ratio of the first to the second is the compression ratio, written as a number to one, such as 10:1.
The swept volume is fixed by bore and stroke. The clearance volume is where all the variation lives, and it has four parts:
- The combustion chamber in the head, in cc. It is measured by sealing the chamber with a clear plate and filling it from a burette, or taken from the head maker's specification.
- The head gasket: a short cylinder the diameter of the gasket bore and the height of its compressed thickness. Some gasket makers print this volume directly.
- The deck clearance: how far the piston crown sits from the block deck at TDC, a cylinder the diameter of the bore. A piston below the deck adds volume; a piston that comes up above the deck takes it away, so enter it as a negative number.
- The piston crown: a dish or valve reliefs add volume and are entered as positive cc; a dome fills part of the chamber and is entered as negative cc. That is the sign convention JE Pistons uses in its own worked example.
Compression ratio is a geometric figure. It is not the same thing as the pressure a compression gauge reads during a cranking test, and you cannot convert one into the other with this formula.
02The formulas, with a worked example
Swept volume (one cylinder) = 0.7854 × bore² × stroke
Gasket volume = 0.7854 × gasket bore² × compressed thickness
Deck volume = 0.7854 × bore² × deck clearance
Clearance volume = chamber + gasket + deck + dish (dome negative)
CR = (swept + clearance) / clearance
0.7854 is π/4 rounded; the worked figures on this page and in the calculator use 0.785398. With inch dimensions each cylinder formula gives cubic inches; multiply by 16.387064 (2.54 cubed; 16.387 is close enough by hand) to get cc so the result can be added to the chamber and piston figures, which are always quoted in cc. With millimeter dimensions the result is in cubic millimeters; divide by 1,000 for cc.
Worked example in inches (the calculator's defaults). Bore 4.000 in, stroke 3.480 in, 64 cc chamber, gasket bore 4.100 in at 0.041 in compressed, piston 0.025 in below the deck, flat-top piston with 5 cc of valve reliefs.
Swept = 0.785398 × 4.000² × 3.480 = 43.7310 in³ × 16.387064 = 716.62 cc.
Gasket = 0.785398 × 4.100² × 0.041 = 0.5413 in³ × 16.387064 = 8.87 cc.
Deck = 0.785398 × 4.000² × 0.025 = 0.3142 in³ × 16.387064 = 5.15 cc.
Clearance = 64 + 8.87 + 5.15 + 5 = 83.02 cc.
CR = (716.62 + 83.02) / 83.02 = 799.64 / 83.02 = 9.63:1.
The gasket and deck volumes together are 14.0 cc here. Leave them out and the same parts appear to give 11.39:1, which is why a ratio worked from the chamber and piston alone always reads high. Note also that the swept volume is per cylinder: 43.73 in³ times eight cylinders is 350 in³ of displacement, and using the whole-engine figure in the ratio would make it eight times too large.
Worked example in millimeters. Bore 86.0 mm, stroke 86.0 mm, 42 cc chamber, gasket 87.0 mm × 0.7 mm, piston 0.2 mm above the deck (enter −0.2), 1.5 cc dome (enter −1.5). Swept = 0.785398 × 86.0² × 86.0 / 1,000 = 499.56 cc. Gasket = 4.16 cc. Deck = 0.785398 × 86.0² × −0.2 / 1,000 = −1.16 cc. Clearance = 42 + 4.16 − 1.16 − 1.5 = 43.50 cc. CR = (499.56 + 43.50) / 43.50 = 12.48:1.
03Static vs dynamic compression ratio
The static ratio assumes compression starts at BDC. In a running engine it starts later, because the intake valve stays open past BDC, and until it seats the rising piston is not trapping the charge. The dynamic (or effective) ratio counts only the volume above the piston at the moment the intake valve closes:
DCR = (volume swept after intake closing + clearance) / clearance
To find how far down the bore the piston is at that moment, the calculator uses the standard slider-crank relation from engine geometry. With crank radius a (half the stroke), rod length l, and crank angle θ measured from TDC, the piston's distance below TDC is
x = a + l − (√(l² − a² sin²θ) + a cos θ)
An intake closing point given as degrees after BDC (ABDC) is 180 plus that figure from TDC, so θ = 180 + IVC. The effective stroke is x, and the volume swept after closing is 0.7854 × bore² × x. Rod length matters because the rod angle moves the piston away from a simple sine curve.
Worked example. The default cylinder with a 5.700 in rod and the intake closing at 70° ABDC: θ = 250°, a = 1.740 in, sin²θ = 0.8830, cos θ = −0.3420. √(32.49 − 3.0276 × 0.8830) = 5.4605, so x = 7.44 − (5.4605 − 0.5951) = 2.5747 in, 74.0% of the stroke. Volume swept after closing = 0.785398 × 4.000² × 2.5747 × 16.387064 = 530.19 cc. DCR = (530.19 + 83.02) / 83.02 = 7.39:1, against 9.63:1 static. With a 6.000 in rod and the same closing point it would be 7.36:1, a small change next to the effect of the cam.
Which intake closing figure to use
The answer depends heavily on which closing figure you enter, and cam cards give two. The 0.050 in figures are timed at 0.050 in of tappet lift; the Erson card in the sources lists its valve events this way. The advertised or seat-to-seat figures are timed at a much smaller lift, usually 0.004 or 0.006 in depending on the cam maker, so they open earlier and close later. Compression cannot build until the valve has sealed, so the closing point the geometry wants is the advertised one, the published figure nearest to that moment. This calculator expects the seat-to-seat (advertised) intake closing point, in crank degrees ABDC, for the cam as installed.
If you only have the 0.050 in figure, switch the toggle and the tool adds 15°. That follows UEM Pistons (maker of the KB, Icon and Silvolite piston lines), whose static-and-dynamic and effective compression calculators both ask for the intake closing point at 0.050 in lift plus 15 degrees. The sources do not agree on how big that gap really is. On the Erson cam card that EngineLabs walks through, the intake closes at 42° ABDC at 0.050 in and at 73° ABDC at 0.006 in, a 31° gap. Run through this cylinder, the 0.050 figure plus 15 gives 8.14:1 and the card's own advertised figure gives 7.19:1. Using the raw 0.050 figure with nothing added would give 8.82:1, which overstates it further. Treat the 15° rule as an estimate and use the seat-to-seat number from the card or from degreeing the cam when you have it.
04How gasket thickness and deck height change the ratio
Swept volume does not change when you swap a gasket or machine the block, so every change to the ratio comes through the clearance volume. A smaller clearance volume raises the ratio; a larger one lowers it. JE Pistons makes the same point: a thicker gasket lowers compression slightly, a thinner one raises it, and beyond that the options are different pistons or a milled head.
Gasket thickness. Each 0.001 in of compressed thickness on a 4.100 in gasket bore is 0.785398 × 4.100² × 0.001 × 16.387064 = 0.216 cc. Going from 0.041 in to 0.051 in on the example adds 2.16 cc, clearance rises to 85.18 cc, and CR = (716.62 + 85.18) / 85.18 = 9.41:1, down from 9.63:1. Use the compressed thickness, not the free thickness, and use the maker's printed gasket volume if it gives one.
Deck clearance. On a 4.000 in bore each 0.001 in of deck clearance is 0.206 cc. Machining the block deck (or using pistons with a taller compression height) so the piston sits 0.005 in below the deck instead of 0.025 in removes 4.12 cc and gives 10.08:1. If the crown comes up past the deck, the deck volume turns negative: 0.010 in above the deck is −2.06 cc, and the piston crown sits that much closer to the head.
JE Pistons singles out deck height as the measurement a builder most needs to take personally rather than add up from catalog figures, because the block may have been surfaced before and the tolerances of block, crank, rods and pistons stack. The method is a dial indicator zeroed on the deck, then read on the piston crown at TDC. Measure every cylinder you intend to rely on.
Milling the head face also raises the ratio by making the chamber smaller. Measure the chamber with a burette after machining and enter the new figure rather than trusting an estimate. The engine displacement calculator has a bore-area estimate for milling and a target-ratio calculator if you need one.
05Compression, fuel and boost
JE Pistons describes the risk in both directions: too little compression leaves performance on the table, while too much raises the tuning risk and the chance of damaging parts unless the engine gets a better fuel. For turbocharged or supercharged engines it advises erring low, since boost can make up lost power and a lower ratio leaves more margin if fuel delivery or fuel quality falls short. This page gives no octane-to-ratio chart because none of the sources used here publishes one; follow the engine or piston maker's guidance for the fuel you will run.
The cam and the static ratio have to be chosen together. A cam with a late intake closing lowers the dynamic ratio, and the Erson article warns that large overlap combined with low static compression makes a sluggish street engine. Running both figures through the calculator is the quick way to see where a combination sits.
06Where compression shows up on ASE A1 and A8
Neither the ASE A1 Engine Repair nor the ASE A8 Engine Performance task list in ASE's study guide asks you to calculate a compression ratio. What they test is the work around it. On A1, General Engine Diagnosis is the largest area at 18 of 45 scored questions, and its tasks include running cranking, relative and running compression tests and cylinder leakage tests and interpreting the results. Cylinder Head and Valve Train Diagnosis and Repair (6 questions) covers checking the head's mating surface, installing the gasket and head, and timing the camshaft to the crankshaft. Engine Block Diagnosis and Repair (4 questions) covers inspecting the block deck for warpage and finish and checking valve timing.
On A8, General Diagnosis (12 of 50 scored questions) includes the same compression and leakage tests and verifying cam timing, including engines with variable valve timing and lift. Cam timing is exactly what moves the intake closing point, so it is the link between those tasks and the dynamic ratio on this page. Spark knock appears in ignition system diagnosis and repair (8 questions) as one of the symptoms to diagnose.
The diesel test makes the dimensions explicit: the ASE A9 Light Vehicle Diesel Engines task list includes checking deck height, checking piston height or protrusion, and determining the required head gasket thickness. Those are the same deck and gasket figures that feed the clearance volume here.
For any of these tests, know which way each change moves the ratio (thicker gasket down, milled head or decked block up, dome up, dish down) and why a late-closing intake valve lowers the effective ratio and the cranking pressure a gauge shows.
07Sources
- JE Pistons: How to calculate engine compression ratio and displacement definition of the ratio, the inputs (chamber, gasket bore and compressed thickness, deck clearance, dome or dish), the gasket and deck volume formulas, the dome-negative sign convention, measuring deck clearance, and the gasket and fuel remarks.
- Colorado State University engineering thermodynamics notes: slider crank model the piston position and cylinder volume as a function of crank angle, bore, stroke and rod length used for the dynamic ratio.
- UEM Pistons: compression ratio calculator (static and dynamic) the deck sign convention (negative above deck) and the intake closing input at 0.050 in lift plus 15 degrees.
- UEM Pistons: effective compression ratio calculator the same 0.050 in plus 15 degrees intake closing convention, with stroke and rod length inputs.
- EngineLabs: Understanding a cam card with Erson Cams advertised duration measured at 0.004 or 0.006 in lift against 0.050 in figures, and the example card's intake closing at 42 and 73 degrees ABDC.
- ASE Automobile Test Series study guide (A1 to A9) the A1, A8 and A9 test specifications and task lists, paraphrased in the ASE section.
08Questions people ask
- How do you calculate compression ratio?
- Divide the cylinder volume at bottom dead center by the volume at top dead center: CR = (swept + clearance) / clearance, for one cylinder. Swept volume is 0.7854 x bore squared x stroke. Clearance volume is the chamber plus the gasket volume plus the deck volume plus any dish, minus any dome. A 4.000 x 3.480 in cylinder (716.6 cc) with 83.0 cc of clearance volume is (716.6 + 83.0) / 83.0 = 9.63:1.
- What is dynamic compression ratio?
- It is the ratio counted from the moment the intake valve closes instead of from bottom dead center. The piston position at intake closing is found from the stroke, rod length and closing angle, and the volume above it is divided by the clearance volume. Because the valve closes after BDC, the dynamic ratio is always lower than the static one: 7.39:1 against 9.63:1 for the example on this page.
- Should I use the 0.050 or the advertised intake closing point for dynamic compression?
- Use the seat-to-seat (advertised) closing point if you have it, because compression only starts once the valve seals. If you only have the 0.050 in figure, UEM Pistons' calculators add 15 degrees to it as an estimate, and this calculator does the same when you choose that option. The real gap varies by cam; one Erson cam card shows 31 degrees.
- Does a thicker head gasket lower compression?
- Yes. A thicker gasket adds clearance volume and lowers the ratio; a thinner one raises it. On a 4.100 in gasket bore each 0.001 in of compressed thickness is about 0.22 cc, so going from 0.041 to 0.051 in takes the example engine from 9.63:1 to 9.41:1.
09Practice for the test
Compression testing, head and block measurement and cam timing sit in the diagnosis, cylinder head and engine block areas of A1 and the general diagnosis area of A8. ToolboxPrep practice tests follow each ASE test specification area by area, and each explanation covers the wrong options as well as the right one. Sample questions are open to try without signing up.
Ten free questions per test, no account: free practice questions. For how we write and review questions, see our question method.
Related guides
ToolboxPrep is run independently and has no affiliation with, or endorsement from, ASE (the National Institute for Automotive Service Excellence). Our questions are original, written from ASE’s published test specifications and task lists and other public sources. They are not actual ASE test questions and not recalled or “brain dump” questions. ASE is a trademark of its owner, and we never use the ASE logo. Standards and service information are cited, not reproduced.