Engine Displacement Calculator
Enter the bore diameter, piston stroke and cylinder count for two piston engines with identical cylinders within each configuration. Compare total swept volume, volume per cylinder and the bore-to-stroke ratio. Hold bore or stroke fixed to solve the other dimension for a target, then use the curve to explore different shapes that produce the same displacement.
Compare cylinder geometry
Compare two engine configurations and solve the bore or stroke needed to reach a displacement target.
Enter cylinder dimensions as decimals or fractions such as 7/2. Input unit switches preserve the entered quantity.
Configuration A · baseline
1,997.64 cc
499.411 cc per cylinder
Configuration B · comparison
2,094.48 cc
523.621 cc per cylinder
Displacement comparison
Change from A to B
+96.8415 cc · +4.84779%
| Measurement | A | B |
|---|---|---|
| Cylinders | 4 | 4 |
| Bore diameter | 83.5 mm | 85.5 mm |
| Piston stroke | 91.2 mm | 91.2 mm |
| Displacement per cylinder | 499.411 cc | 523.621 cc |
| Total displacement | 1,997.64 cc | 2,094.48 cc |
| Bore ÷ stroke | 0.91557 | 0.9375 |
| Geometry | Long stroke | Long stroke |
Solve a displacement target
Required stroke
100.438 mm
2,200 cc with 4 cylinders. Bore held at 83.5 mm.
The line shows bore and stroke pairs that reach the same target with 4 cylinders.
Stroke · 74.784 mm to 118.517 mm
Bore · 68.47 mm to 100.89 mm · Log axes
- Configuration A
- Configuration B
- Target geometry
Show target curve values
| Bore (mm) | Stroke (mm) |
|---|---|
| 76.868 mm | 118.517 mm |
| 77.982 mm | 115.155 mm |
| 79.1123 mm | 111.888 mm |
| 80.2589 mm | 108.714 mm |
| 81.4221 mm | 105.63 mm |
| 82.6021 mm | 102.634 mm |
| 83.5 mm | 100.438 mm |
| 83.7993 mm | 99.7222 mm |
| 85.0138 mm | 96.8933 mm |
| 86.246 mm | 94.1446 mm |
| 87.4959 mm | 91.4738 mm |
| 88.764 mm | 88.8789 mm |
| 90.0505 mm | 86.3575 mm |
| 91.3557 mm | 83.9077 mm |
| 92.6797 mm | 81.5274 mm |
| 94.0229 mm | 79.2146 mm |
| 95.3856 mm | 76.9674 mm |
| 96.7681 mm | 74.784 mm |
Save the comparison
The CSV includes both configurations, their difference, the target state, and every plotted point in mm and cc.
Show selectable CSV
How to use this calculator
- Start with Bore change example or Same displacement example. Enter Cylinder count, Bore diameter and Piston stroke in Configuration A and Configuration B. Use the same cylinder dimensions throughout each engine.
- Select mm, cm or inches separately for each entered dimension. A valid unit switch preserves the quantity. Choose Display length unit and Display displacement unit to view the same results in different units.
- Read total displacement and per-cylinder volume in the cards. In Displacement comparison, use Change from A to B to see the signed difference and percentage relative to A.
- Enter Target displacement, choose the Reference configuration and select Solve for. Hold the other dimension and the selected cylinder count fixed. Read the required dimension and inspect its position on the bore and stroke curve.
- Open Show target curve values to inspect each plotted pair. Download displacement CSV or open its selectable copy to retain the configurations, comparison and modeled target in mm and cc.
The Formula
The mathematical logic powering this calculation is:
Bore B is the inside diameter of the cylinder. Stroke S is the distance the piston travels from one end of its stroke to the other. Each cylinder sweeps the area of a circle of radius B/2 through distance S, giving V₁ = πB²S/4. For N identical cylinders, total displacement V = NπB²S/4. With the dimensions in mm, divide cubic millimeters by 1,000 for cc or by 1,000,000 for liters. One inch is exactly 25.4 mm, so one cubic inch is exactly 16.387064 cc.
For a target T in cc and dimensions in mm, solve stroke as S = 4,000T/(NπB²) when holding bore fixed. Solve bore as B = √[4,000T/(NπS)] when holding stroke fixed. The curve applies the first relationship across several bores at the selected cylinder count. The diamond identifies the particular solution. Configuration points use their own entered dimensions and cylinder counts. A point lying on the target curve indicates the same displacement only when its cylinder count also matches the selected reference count. Both axes are logarithmic.
The comparison subtracts A from B. Percentage change equals 100 × (V_B − V_A)/V_A. The common factor π cancels for this ratio, so exact entered dimensions determine the sign and exact equality before floating-point display. Bore-to-stroke geometry is square if B = S, wide bore if B > S, and long stroke if B < S.
The tool accepts 1 to 24 cylinders, bore and stroke from 0.1 to 500 mm equivalent, and targets from 0.0000001 to 3,000,000 cc equivalent. These are calculator bounds. A target that needs a dimension outside the supported range returns an explicit unavailable state. Positive decimals can use up to 12 decimal places. Fractions with positive denominators preserve exact unit switches when a decimal cannot represent the converted value. The workspace displays up to six significant digits and the numeric CSV retains model precision.
Swept volume is a geometric estimate for circular bores and equal cylinders. It excludes combustion chamber clearance volume and does not evaluate mechanical compatibility, wall thickness, power, compression ratio or whether a modified engine can be built.Worked Example
If you input:
- Configuration A: 2026 Mazda MX-5 nominal geometry: 4 cylinders, 83.5 mm bore, 91.2 mm stroke
- Configuration B: Illustrative geometry: 4 cylinders, 85.5 mm bore, 91.2 mm stroke
- Target displacement: 2.2 L
- Reference configuration / Solve for: A / Stroke with bore held at 83.5 mm
Result:
The nominal Mazda geometry yields 1,997.64 cc total and 499.411 cc per cylinder. Increasing only bore to 85.5 mm yields 2,094.48 cc total. The difference is 96.8415 cc, or 4.84779% relative to A. At the original bore and four cylinders, a 2.2 L target needs about 100.438 mm of stroke. Configuration B and the target illustrate geometry only.
Frequently Asked Questions
Is displacement measured for one cylinder or the whole engine?
Total displacement sums the swept volume of all the cylinders. The workspace also gives the volume of each cylinder. It assumes that every cylinder in one configuration has the same bore and stroke.
How does increasing bore affect displacement compared with increasing stroke?
At fixed cylinder count and stroke, displacement scales with bore squared. At fixed cylinder count and bore, it scales in direct proportion to stroke. A 10% bore increase therefore raises volume by 21%, while a 10% stroke increase raises volume by 10%.
Can two engines have the same displacement with different bore and stroke?
Yes. Four cylinders with an 80 mm bore and 100 mm stroke give the same swept volume as four cylinders with a 100 mm bore and 64 mm stroke. Both have the same bore-squared times stroke product.
Why does the calculated number differ slightly from the badge or manual?
Manufacturers often publish nominal engine sizes or round the dimensions and total for reporting. Entering rounded bore and stroke can produce a slightly different swept volume. Use the precision of the measurements you actually have when interpreting the result.
What do the markers and line represent?
The circle and square show the entered A and B bores and strokes. The line holds target volume and cylinder count fixed. The diamond is the specific target solution based on the selected reference and fixed dimension. If A or B uses a different cylinder count, its marker compares geometry only.
Does a calculated target fit my engine block?
The result is the nominal dimension that would give the entered swept volume. Verify available parts, cylinder wall thickness, machining limits and other mechanical constraints for the specific engine before planning any changes.
Similar Calculators
Motorcycle Gearing, RPM & Shift Planner
Compare motorcycle sprockets, tyre rollout and gearbox ratios. Plot RPM versus speed, wheel torque and shift recovery, inspect cruising RPM and export complete exact tables.
Two-Stroke Oil Mix & Premix Planner
Calculate two-stroke petrol and oil additions, combine known premixes, check ingredient stocks and usable capacity, and explore feasible batch sizes.
Cone & Frustum Capacity Calculator
Compare cone, frustum and cylinder capacity, liquid depth and surface areas. Inspect fill curves, solve target-volume depth and explore ideal sector or rectangle development.
