ToolNestr

Compression Ratio Calculator

Calculate engine compression ratio from volumes at bottom dead centre (BDC) and top dead centre (TDC).

Reviewed by the ToolNestr Editorial Team — July 2026

Disclaimer: Results are estimates for general guidance only. Always follow your vehicle manufacturer’s specifications and consult a qualified mechanic for safety-critical decisions.
Swept vol (cc)
Clearance vol (cc)
Compression Ratio
Piston at BDC and TDC positions Two cylinder cross-sections showing the piston at bottom dead centre (BDC) and top dead centre (TDC) with volume labels BDC Bottom Dead Centre Swept Volume Clearance Volume TDC Top Dead Centre Clearance Vol = CR VBDC ÷ VTDC 10:1
CR = (Swept Volume + Clearance Volume) ÷ Clearance Volume

How compression ratio is calculated

Compression ratio is one of the most important specifications of an internal combustion engine. It describes how much the air-fuel mixture is compressed before ignition. The ratio is calculated by dividing the total cylinder volume when the piston is at bottom dead centre (BDC) by the volume when the piston is at top dead centre (TDC). The TDC volume is known as the clearance volume.

The swept volume (the volume displaced by the piston) is calculated from bore and stroke using the same cylinder volume formula as engine displacement. The clearance volume is the sum of the combustion chamber volume in the cylinder head, the head gasket volume, the piston deck height volume, and any piston crown volume (dome adds volume, dish subtracts). This calculator takes bore, stroke, and clearance volume as inputs and computes the ratio.

The formula explained

Swept volume = π × (bore/2)² × stroke ÷ 1000 (cc)
CR = (swept volume + clearance volume) ÷ clearance volume

Worked example

Bore: 86 mm · Stroke: 86 mm · Clearance: 50 cc

Swept vol: π × 43² × 86 ÷ 1000 = 499.6 cc
Clearance vol: 50 cc
CR: (499.6 + 50) ÷ 50 = 10.99:1
Rounded: ≈ 11.0:1
🔧

Engine Building

Calculate the compression ratio of your build before assembly. Adjust head gasket thickness, piston dome height, or cylinder head volume to target a specific CR.

🏎️

Performance Tuning

Increasing compression ratio is one of the most effective ways to gain power. Calculate the CR change when milling cylinder heads or using thinner head gaskets.

Fuel Selection

Higher compression requires higher octane fuel. Use the calculator to determine your engine's CR and select the minimum octane rating needed to prevent detonation.

🔍

Engine Diagnostics

A compression test measures cylinder pressure, not ratio. But knowing your calculated CR helps interpret compression test results when diagnosing engine wear.

How to use the compression ratio calculator

1

Enter bore and stroke

The swept volume is calculated automatically from the cylinder bore diameter and piston stroke length.

2

Enter clearance volume

This is the volume above the piston at TDC: chamber + gasket + deck height + piston crown volume.

3

Read the ratio

The compression ratio is displayed along with swept volume and clearance volume for reference.

Tips for compression ratio

Measure clearance volume accurately

The most common source of error is the clearance volume. Use a burette (cc kit) to measure the actual combustion chamber volume with the cylinder head installed and valves seated.

Include all volume components

Clearance volume = chamber volume + gasket volume + deck height volume + piston crown volume (or − dish volume). Missing any component gives an incorrect CR.

Higher CR requires better fuel

As a rule of thumb: CR 8–10:1 uses regular (87 octane), 10–11:1 uses mid-grade (89), 11–12:1 uses premium (91–93), above 12:1 usually needs race fuel or E85.

Dynamic vs static CR

This calculator gives the static compression ratio. Dynamic CR depends on valve timing and is lower than static. Forced induction engines need lower static CR to avoid detonation under boost.

Related tools

Frequently asked questions

What is compression ratio?

Compression ratio (CR) is the ratio of cylinder volume when the piston is at bottom dead centre (BDC) to the volume at top dead centre (TDC). Higher ratios generally mean more power but require higher octane fuel.

How do I measure the volumes?

Swept volume comes from bore and stroke. Clearance volume is measured by filling the combustion chamber with fluid from a burette (cc'ing the heads).

What is a good compression ratio?

Street petrol engines: 8:1 to 10:1. Performance builds: 10:1 to 12:1. Race engines: 12:1 to 15:1. Diesel: 14:1 to 22:1.

What happens if CR is too high?

Excessive compression causes detonation (knocking), which can destroy pistons and rings. Higher octane fuel resists detonation.

Can I calculate CR from displacement alone?

No. You need the clearance volume (combustion chamber + head gasket + piston top volume) in addition to the swept volume.

Sources & references

This tool uses standard formulas and reference values from:

  • SAE International standards (e.g. J1349 engine power, J1634 EV range). sae.org
  • U.S. DOE / EPA — fueleconomy.gov, official efficiency, MPGe and charging figures. fueleconomy.gov
  • Vehicle manufacturer service specifications — always defer to the OEM figures for your specific vehicle.

General estimates. Follow your manufacturer’s published specifications and a qualified mechanic for safety-critical work.

All tool categories

Automotive (26 tools)
🌐 Networking & IP Tools (36 tools)
🧮 Everyday (26 tools)
💪 Health & Fitness (30 tools)
💰 Finance (34 tools)
🔢 Math (23 tools)
📄 PDF Tools (10 tools)
🎨 Creators (12 tools)
💻 Developers (24 tools)
⚡ Engineering & Science (24 tools)
⚛️ Physics (48 tools)
🧪 Chemistry (50 tools)
🧬 Biology (50 tools)
🏠 Construction & Home Improvement (105 tools)
👗 Clothing & Garment Tools (68 tools)
🍳 Cooking & Baking (9 tools)
🖼️ Image Tools (13 tools)
🔐 Security & Hash (15 tools)
📝 Text Tools (15 tools)
🔍 SEO Tools (11 tools)
🔄 Converters (69 tools)
🕐 Time & Date (15 tools)
📊 Chart Generators (11 tools)
🕌 Islamic Tools (16 tools)