UTILS.
Private by default
🔧

Engine Displacement Calculator

Calculate engine displacement in cc, liters and cubic inches from bore, stroke and cylinder count, plus the bore/stroke ratio.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

About this tool

Engine Displacement Calculator is a free, in-browser tool that works out an engine's total swept volume from the cylinder bore, the piston stroke and the number of cylinders. Enter bore and stroke in millimetres or inches — the unit selector converts inches to millimetres for you. Nothing is uploaded; the math runs entirely in your browser.

The volume of one cylinder is (π ÷ 4) × bore² × stroke, giving cubic millimetres when bore and stroke are in mm. Multiplying by the cylinder count and dividing by 1000 gives total displacement in cubic centimetres (cc); dividing cc by 1000 gives liters and dividing by 16.387 gives cubic inches (CID). The bore/stroke ratio is simply bore ÷ stroke.

Use it to confirm an engine's advertised size, size a rebuild with an overbore, or compare designs. A bore/stroke ratio above 1 is oversquare (a short-stroke, high-revving layout), below 1 is undersquare (long-stroke, torque-biased), and exactly 1 is square.

Frequently asked questions

What is the displacement formula?
Displacement = (π ÷ 4) × bore² × stroke × number of cylinders. With bore and stroke in millimetres the result is cubic millimetres; dividing by 1000 gives cubic centimetres (cc), the value most engines are quoted in.
How do cc, liters and cubic inches relate?
1 liter is 1000 cc, and 1 cubic inch is 16.387 cc. So a 2489 cc engine is about 2.5 liters and roughly 152 cubic inches. The tool shows all three at once.
What do oversquare and undersquare mean?
They describe the bore/stroke ratio. Oversquare (bore larger than stroke) engines tend to rev higher; undersquare (stroke larger than bore) engines make torque lower down; square engines have equal bore and stroke.
Is my engine data private?
Yes. Bore, stroke and cylinder count are processed locally in your browser — nothing is uploaded and the calculator works offline.

More tools