How static compression ratio works
Compression ratio compares the cylinder's total enclosed volume at bottom dead center with its enclosed volume at top dead center. The piston sweeps an additional volume as it moves between those positions. Add that swept volume to the remaining clearance volume, then divide by clearance volume. A result of 10:1 means the larger volume is ten times the smaller volume.
Swept volume comes from the circular bore area multiplied by stroke. With both dimensions in millimeters, the result starts in cubic millimeters. Divide by 1,000 to express it in cubic centimeters, also written cc. The calculator uses the cylinder formula: pi times bore squared times stroke, divided by four and then by 1,000. The ratio is one plus swept volume divided by total clearance volume.
Worked example for an 86 mm bore and stroke
The example uses a bore of 86 mm, a stroke of 86 mm and total clearance volume of 50 cc. The circular cylinder calculation gives a swept volume of 499.557 cc. Adding the 50 cc clearance volume produces approximately 549.557 cc at bottom dead center. Dividing the full-precision total by 50 gives a static compression ratio displayed as 10.9911:1.
Swept volume is displayed to three decimal places and the ratio to four decimal places. Intermediate values retain their calculation precision. The extra displayed digits help compare small input changes; they do not make an uncertain measurement more reliable. If your clearance volume is only known to the nearest cubic centimeter, a long decimal ratio should not be treated as a laboratory measurement.
Build a complete clearance-volume total
Clearance volume means the complete enclosed space remaining when the piston reaches top dead center. It can include the cylinder-head chamber, the space created by the compressed head gasket, deck-clearance space and the effect of the piston crown. A dish or valve recess adds space. A dome occupies space and reduces the remaining volume. The appropriate assembled total depends on the actual components and their measured relationship.
This calculator accepts that positive net total as one input. It does not add separate gasket, deck, dish or dome entries for you. Work those components out using the relevant part specifications and a consistent sign convention before entering the result. Do not type a negative dome volume into the total-clearance field. If a preliminary sum is zero or negative, review the dimensions, units and component signs.
Compare changes without mixing assumptions
At a fixed clearance volume, increasing bore or stroke increases swept volume and therefore increases the calculated ratio. At fixed bore and stroke, increasing total clearance volume reduces the ratio. These comparisons can help identify a transposed measurement or an omitted space. Save the original inputs beside any proposed alternative so that the difference can be traced to the component assumption you changed.
Keep in mind that a real parts change may affect several inputs together. A gasket choice changes assembled clearance volume; machining can change chamber or deck relationships. Recalculate the complete total rather than altering one number while silently keeping an incompatible old assumption. Manufacturer dimensions are useful starting points, but the calculator cannot verify whether the finished assembly matches those nominal specifications.
Understand what the ratio does not tell you
Static compression ratio is a geometric quantity. It is different from pressure measured during a compression test and from a dynamic or trapped compression calculation that considers valve timing. This tool has no intake-valve-closing input and does not estimate cylinder pressure. It also does not determine fuel octane, ignition timing, boost limits or whether a proposed combination is suitable for a particular engine.
Use the result with the engine builder's specifications and component documentation. A matching numeric ratio does not mean two engines have matching combustion behavior or mechanical clearances. Cylinder count is not needed to calculate one cylinder's ratio. If cylinders have different measured clearance volumes, calculate them separately instead of assuming one average describes every cylinder equally well.
Input limits and error handling
Bore and stroke must each be greater than zero and no more than 1,000 mm. Total clearance volume must be greater than zero and no more than 1,000,000 cc. These broad bounds define the calculator's accepted numeric domain; they are not recommended engine dimensions. The resulting geometric ratio exceeds 1:1 whenever all three entries are positive.
Blank, nonnumeric, negative, zero or out-of-range entries show an input message and clear all calculated outputs. Correct the entry to calculate again, or use Reset to return to the worked example. Check that bore and stroke are both in millimeters before copying values from an inch-based drawing. A conversion error in bore is especially significant because the bore is squared.