# Compression ratio calculator > How high is your engine's compression ratio? Static compression ratio from bore, stroke and the combustion chamber, with the head gasket, deck clearance and piston dish or dome. Calculate an engine's static compression ratio from bore, stroke and chamber volume, with head gasket, deck clearance and piston dish or dome included. - Page: https://how.box/compression-ratio/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/compression-ratio/?b={b}&s={s}&cc={cc}&g={g}&dk={dk}&pv={pv}&lu={lu} - `b` (number 0 to 2000): Cylinder bore, in lu. Example: `86`. - `s` (number 0 to 2000): Piston stroke, in lu. Example: `86`. - `cc` (number 0 to 100000): Combustion chamber volume in the head, cm³. Example: `45`. - `g` (number 0 to 100): Compressed head gasket thickness, in lu. Example: `1`. - `dk` (number 0 to 100): Deck clearance of the piston below the block top, in lu. Example: `0.5`. - `pv` (number -100000 to 100000): Piston top volume, cm³: positive dish, negative dome. Example: `0`. - `lu` (mm or in): mm or in. Example: `mm`. Example answer: https://how.box/compression-ratio/?b=86&s=86&cc=45&g=1&dk=0.5&pv=0&lu=mm A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `compression_ratio_calculate`: Static compression ratio of one cylinder: (swept volume + clearance volume) / clearance volume, with the clearance made of the combustion chamber, head gasket, deck clearance and piston dish or dome. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"compression_ratio_calculate","arguments":{"bore":86,"stroke":86,"chamber":45,"gasket_thickness":1,"deck_height":0.5,"piston_volume":0,"length_unit":"mm"}}}` - GET: https://how.box/mcp/run/compression_ratio_calculate?bore=86&stroke=86&chamber=45&gasket_thickness=1&deck_height=0.5&piston_volume=0&length_unit=mm ## How it works The compression ratio says how much the engine squeezes the air and fuel in a cylinder. It compares the largest volume in the cylinder, with the piston at the bottom, to the smallest, with the piston at the top. A ratio of 10:1 means the mixture is squeezed into a tenth of its volume. Higher ratios give more efficiency and power from the same fuel, but make knocking more likely on low-octane petrol. The formula is r = (V_s + V_c) ÷ V_c. V_s is the swept volume of one cylinder, π/4 × bore² × stroke. V_c is the clearance volume left at the top: the combustion chamber, plus the thin disc of the head gasket and of the deck clearance (each π/4 × bore² × its height), plus the volume of a dish in the piston, minus the volume of a dome. With an 86 × 86 mm cylinder, V_s = 499.6 cm³; a 45 cm³ chamber, a 1 mm gasket (5.8 cm³) and 0.5 mm of deck clearance (2.9 cm³) give V_c = 53.7 cm³, so r = (499.6 + 53.7) ÷ 53.7 = 10.3. This is the static ratio from geometry. The effective ratio is lower, because the intake valve closes after the piston has started up, and boosted engines run at a much higher real cylinder pressure than the ratio suggests. The gasket is assumed to have the same bore as the cylinder. Based on Heywood, Internal Combustion Engine Fundamentals (2nd ed.), and Wikipedia's article on compression ratio. ## FAQ **What is a good compression ratio?** Most petrol cars run between about 9:1 and 13:1, diesels between about 14:1 and 22:1. The right value depends on fuel octane rating, cooling and whether the engine is turbocharged. **How do I measure the combustion chamber volume?** Fit the spark plug, lay the head level, cover the chamber with a clear plate and fill it with liquid from a burette. The volume of liquid in cc is the chamber volume. **How does a thicker head gasket change the compression ratio?** It adds clearance volume and lowers the ratio. At 86 mm bore each extra millimetre of gasket adds about 5.8 cm³, which here costs roughly 0.9 of a ratio point. **Why do turbo engines have a lower compression ratio?** Boost already raises the cylinder pressure, so a lower static ratio keeps it from knocking. Many turbo petrol engines sit between 8:1 and 10.5:1. **Is this the same as the effective or dynamic compression ratio?** No. This is the static ratio from the geometry. The dynamic ratio also considers when the intake valve closes and is lower, so it is not given here. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)