Introduction
The compression ratio of an engine tells you how much the air-fuel mixture gets squeezed inside the cylinder before it ignites. It compares the total volume of the cylinder when the piston is at the bottom to the volume left when the piston is at the top. A higher compression ratio usually means more power and better fuel efficiency, while a lower ratio can help prevent engine knock. This compression ratio calculator makes it easy to find your engine's compression ratio. Just enter your cylinder bore, stroke length, head gasket details, and combustion chamber volume, and the tool does the math for you. Whether you are building a new engine or tuning an existing one, knowing your compression ratio is a key step to getting the best performance.
How to Use Our Compression Ratio Calculator
Enter your engine's cylinder dimensions and head specifications below. The calculator will give you the static compression ratio (SCR), cylinder displacement, total engine displacement, clearance volume, and a full breakdown of all volumes. Switch to the Dynamic CR tab to also calculate the dynamic compression ratio (DCR).
Bore Diameter — Enter the inside diameter of your engine's cylinder. This is the width of the hole the piston moves through. You can enter the value in millimeters (mm) or inches (in).
Stroke Length — Enter how far the piston travels from the top of its movement to the bottom. This is the full up-and-down distance inside the cylinder. Choose mm or inches.
Chamber Volume — Enter the volume of the combustion chamber in the cylinder head. This is usually measured in cubic centimeters (cc) or cubic inches (ci). You can find this number in your head's spec sheet or by cc'ing the chamber with a burette.
Head Gasket Thickness — Enter the compressed thickness of your head gasket. This is how thick the gasket is after the head bolts are torqued down, not before. Choose mm or inches.
Head Gasket Bore — Enter the inside diameter of the head gasket's cylinder opening. This is often slightly larger than the cylinder bore itself. Choose mm or inches.
Piston Deck Height — Enter how far the top of the piston sits relative to the top of the engine block when the piston is at top dead center (TDC). A positive number means the piston sits below the deck surface. A negative number means the piston sticks out above the deck surface.
Piston Dome/Dish Volume — Enter the volume of the dish or dome on top of the piston. Use a positive number if the piston has a dish (scooped out). Use a negative number if it has a dome (raised up). Enter the value in cc or cubic inches.
Number of Cylinders — Enter the total number of cylinders in your engine. This is used to calculate the total engine displacement.
Connecting Rod Length (Dynamic CR tab only) — Enter the center-to-center length of your connecting rod. This is needed to figure out exact piston position when the intake valve closes. Choose mm or inches.
Intake Valve Closing Angle (Dynamic CR tab only) — Enter the angle in degrees after bottom dead center (ABDC) when your intake valve fully closes. You can find this number on your camshaft spec card. This value determines how much of the cylinder's air charge is actually trapped and compressed.
What Is Compression Ratio?
Compression ratio is one of the most important numbers in engine design. It compares the total volume inside a cylinder when the piston is at the bottom of its stroke (Bottom Dead Center, or BDC) to the volume remaining when the piston reaches the top of its stroke (Top Dead Center, or TDC). A higher compression ratio squeezes the air-fuel mixture into a smaller space before ignition, which generally produces more power and better fuel efficiency.
Static Compression Ratio (SCR)
The static compression ratio is the basic, geometric measurement of how much the engine compresses the air-fuel charge. It is calculated using this formula:
SCR = (Cylinder Displacement + Total Clearance Volume) ÷ Total Clearance Volume
The cylinder displacement is the volume swept by the piston as it moves from BDC to TDC. It depends on the bore diameter (the width of the cylinder) and the stroke length (how far the piston travels). The formula for a single cylinder's displacement is:
Cylinder Displacement = (π ÷ 4) × Bore² × Stroke
The total clearance volume is the small space left above the piston when it is at TDC. It is the sum of four separate volumes:
- Combustion chamber volume – the space machined into the cylinder head.
- Head gasket volume – the thin gap created by the head gasket, calculated using the gasket's bore and thickness.
- Deck clearance volume – the gap between the top of the piston and the top of the cylinder block. A positive deck height means the piston sits below the deck surface; a negative value means it pokes above it.
- Piston dish or dome volume – the shape on top of the piston. A dish (positive value) adds clearance volume, while a dome (negative value) reduces it.
For example, a typical small-block V8 with a 101.6 mm bore, 88.9 mm stroke, and 64 cc chambers might produce an SCR around 9.6:1. That means the mixture is squeezed to about one-ninth of its original volume before the spark plug fires.
Dynamic Compression Ratio (DCR)
The static ratio tells only part of the story. In a real running engine, the intake valve does not close exactly at BDC. Most camshafts keep the intake valve open well past BDC, which means some of the air-fuel charge gets pushed back out before compression truly begins. The dynamic compression ratio accounts for this by using only the effective displacement—the portion of the stroke that actually compresses the charge.
To calculate DCR, you need two extra measurements:
- Intake Valve Closing (IVC) angle – how many crankshaft degrees after BDC the intake valve finally seats. A mild street cam might close around 40–50° ABDC, while an aggressive race cam could be 70° or more.
- Connecting rod length – needed to figure out exactly where the piston sits at the IVC angle, since piston motion is not perfectly linear.
The piston's distance from BDC at any crank angle is found with this equation:
h = R × (1 − cos θ) + L × (1 − √(1 − (R/L)² × sin² θ))
where R is the crank radius (half the stroke), L is the rod length, and θ is the IVC angle. The effective displacement is then the full cylinder displacement minus the volume above the piston at that angle. The DCR formula mirrors the SCR formula but swaps in this effective displacement:
DCR = (Effective Displacement + Total Clearance Volume) ÷ Total Clearance Volume
DCR is always lower than SCR. It is especially useful when choosing fuel octane, because it reflects the actual pressure the mixture feels. Most naturally aspirated gasoline engines run well with a DCR between 7.5:1 and 8.5:1 on 91–93 octane pump gas. Go above roughly 8.5:1 DCR on pump fuel, and you risk detonation (engine knock), which can cause serious damage.
Why Compression Ratio Matters
Compression ratio directly affects power output, thermal efficiency, and fuel requirements. Raising the ratio extracts more energy from each combustion event, but it also raises cylinder pressures and temperatures. There is always a trade-off:
- Higher compression = more power and efficiency, but requires higher-octane fuel and tighter engine tolerances.
- Lower compression = easier on fuel quality and engine components, but leaves some performance on the table.
Turbocharged and supercharged engines usually run a lower static compression ratio (often 8:1–9.5:1) because the forced air already increases cylinder pressure. Naturally aspirated performance engines commonly target 10:1–12.5:1 or higher. Diesel engines, which rely on compression alone to ignite fuel, typically run between 14:1 and 23:1. Understanding how compression relates to power output is closely tied to concepts like horsepower and torque, both of which are direct measures of engine performance.
Compression Ratio and Related Engine Calculations
Compression ratio does not exist in isolation—it connects to many other aspects of vehicle performance and ownership. Once you know your engine's displacement and compression figures, you may also want to explore how efficiently your engine uses fuel with a gas mileage calculator, or estimate the cost of your trips using a fuel cost calculator. If your build involves upgrading wheels and rubber, a tire size calculator helps ensure your new tires match your speedometer and gearing. And when it is time to finance the vehicle that houses your freshly built engine, an auto loan calculator can help you budget your payments.
How to Use This Calculator
Enter your engine's bore diameter, stroke length, combustion chamber volume, head gasket thickness and bore, piston deck height, piston dish or dome volume, and the number of cylinders. The calculator will instantly show your static compression ratio, individual cylinder displacement, total engine displacement, and a full breakdown of the clearance volume.
Switch to the Dynamic CR tab if you also want to factor in cam timing. Add your connecting rod length and the intake valve closing angle (in degrees after BDC), and the tool will display both SCR and DCR side by side so you can see how your camshaft choice affects real-world compression.