Practical guide and verification
Displacement is swept cylinder volume
Engine displacement is based on cylinder bore, piston stroke and cylinder count. It describes geometric swept volume and does not by itself determine power, torque or efficiency.
Diameter must be squared
Cylinder area uses π×bore²/4 before multiplying by stroke. Forgetting the square or mixing radius and diameter is a common source of large errors.
Common mistake
Do not mix millimetres and inches in the same formula without conversion. Because bore is squared, a unit mistake can be amplified in the final volume.