Engine Displacement Calculator

Turn bore, stroke and cylinder count into cc, litres and cubic inches, then find the stroke for a target size or the compression ratio.

⚙️ Engine Displacement Calculator
Unit of the lengths you type
Bore (B)
20200
Number of cylinders (n)
116
Stroke (S)
20200
Engine speed for piston speed
rpm
100012000
Target total displacement
Stroke (S)
20200
Clearance volume per cylinder
cc
Target compression ratio
: 1
Displacement
—
Litres
—
Cubic inches
—
Per cylinder
—
Bore / stroke
—
Engine type
—
Mean piston speed
—
Piston speed (ft/min)
—

Stroke needed
—
Stroke (mm)
—
Stroke (in)
—
Target displacement
—
Per cylinder
—
Bore / stroke
—
Engine type
—
Square engine size
—

Compression ratio
—
Swept volume per cylinder
—
Clearance volume
—
Total cylinder volume
—
Clearance for target
—
Change needed
—
Clearance / swept
—

⚙️ What is Engine Displacement?

Engine displacement is the total volume swept by all the pistons of a piston engine as they travel from the bottom to the top of their stroke. It excludes the combustion chambers, and it is the standard way of describing engine size: 1998 cc, 2.0 litres, 5.7 litres or 350 cubic inches all describe swept volume. Because an engine burns air and fuel in proportion to the air it can draw in, displacement is a rough guide to how much power and fuel consumption to expect, though it does not decide either on its own.

The figure is used everywhere engines are bought, taxed, classified or built. Racing classes set displacement limits, many countries tax or insure vehicles by cc, and engine builders constantly trade bore, stroke and cylinder count to reach a target size. A builder planning a stroker kit wants the new displacement for a given crank, while a machinist boring a block needs the effect of an oversize piston. The related quantities that come with it, the bore to stroke ratio, the compression ratio and the mean piston speed, drive decisions about valve size, fuel octane and rpm limits.

Some distinctions are worth keeping straight. Displacement is swept volume, not the volume of air actually breathed, which depends on volumetric efficiency and is covered by the carburetor CFM calculator. The static compression ratio on this page is a geometric ratio of volumes, not a pressure. Mean piston speed is an average over a revolution, and the piston actually speeds up and slows down inside every stroke, so the piston speed calculator and the piston force calculator go further into those effects. Finally, the bore and stroke formula describes a reciprocating engine and does not describe a Wankel rotary directly.

This calculator has three modes. Displacement turns bore, stroke and cylinder count into cc, litres and cubic inches, adds the bore to stroke ratio and mean piston speed, and charts the family of bore and stroke pairs that give the same size. Stroke from size works backwards from a target displacement to the stroke. Compression ratio takes the swept volume of one cylinder and a clearance volume and returns the static compression ratio, and also tells you the clearance needed for a target ratio.

📐 Formula

V  =  n × ( π ÷ 4 ) × B² × S
V = total displacement (swept volume of all cylinders)
n = number of cylinders
B = bore, the cylinder diameter. S = stroke, the piston travel from bottom to top dead centre
Units: 1 L = 1000 cc and 1 ci = 16.387064 cc. Inches are multiplied by 25.4 to get millimetres
Stroke from size: S = V ÷ ( n × ( π ÷ 4 ) × B² )
Compression ratio: CR = ( Vs + Vc ) ÷ Vc, with Vs the swept volume per cylinder and Vc the clearance volume. The clearance for a target is Vc = Vs ÷ ( CR − 1 )
Mean piston speed: MPS = 2 × S × N ÷ 60, with N in rpm
Example: n = 4, B = 80 mm, S = 90 mm gives V = 4 × 0.7854 × 80² × 90 = 1,809,557 mm³ = 1809.6 cc

📖 How to Use This Calculator

Steps

1
Choose a mode. Pick Displacement to size an engine, Stroke from size to plan a target displacement, or Compression ratio to work from swept and clearance volume.
2
Enter the dimensions. Type the bore, the cylinder count and the stroke, or the target displacement or clearance volume. The unit menu only says whether the lengths you typed are millimetres or inches.
3
Read the results and chart. The results show the displacement in three units, the bore to stroke ratio and piston speed, or the stroke or compression ratio. The chart marks your engine on the relevant curve.

💡 Example Calculations

Example 1 — 80 mm × 90 mm Four-Cylinder

Bore 80 mm, stroke 90 mm, 4 cylinders, 6500 rpm

1
One cylinder: 0.7854 × 80² × 90 = 452,389 mm³ = 452.4 cc
2
Total: 4 × 452.4 = 1809.6 cc = 1.810 L = 110.4 ci
3
Bore / stroke = 80 ÷ 90 = 0.889, an under-square engine. Mean piston speed = 2 × 0.090 × 6500 ÷ 60 = 19.50 m/s (3839 ft/min).
Displacement = 1809.6 cc (1.810 L, 110.4 ci)
Try this example →

Example 2 — 4.00 in × 3.48 in V8

Bore 4.00 in, stroke 3.48 in, 8 cylinders, 6000 rpm

1
In millimetres: bore 101.6 mm and stroke 88.392 mm. One cylinder = 0.7854 × 101.6² × 88.392 = 716.6 cc
2
Total: 8 × 716.6 = 5733.0 cc = 5.733 L = 349.8 ci, which is the familiar 350 class of V8
3
Bore / stroke = 4.00 ÷ 3.48 = 1.149 (over-square). Mean piston speed at 6000 rpm = 17.68 m/s (3480 ft/min).
Displacement = 5733.0 cc (5.733 L, 349.8 ci)
Try this example →

Example 3 — Stroke for a 2.0 L Four-Cylinder

Target 2.0 litres, bore 86 mm, 4 cylinders

1
Target = 2.0 × 1000 = 2000 cc, so each cylinder is 2000 ÷ 4 = 500.0 cc
2
Stroke = 500,000 ÷ (0.7854 × 86²) = 86.08 mm (3.389 in)
3
Bore / stroke = 86 ÷ 86.08 = 0.999, so the engine is essentially square. A perfectly square engine of this size has a bore and stroke of 86.03 mm.
Stroke needed = 86.08 mm
Try this example →

Example 4 — Stroke for a 350 ci V8 with a 4.00 in Bore

Target 350 cubic inches, bore 4.00 in, 8 cylinders

1
Target = 350 × 16.387064 = 5735.5 cc, so each cylinder is 5735.5 ÷ 8 = 716.9 cc
2
Stroke = 716,943 ÷ (0.7854 × 101.6²) = 88.43 mm = 3.48 in
3
Bore / stroke = 4.00 ÷ 3.48 = 1.149, an over-square engine. A square engine of 350 ci would have a bore and stroke of 3.82 in.
Stroke needed = 3.48 in (88.43 mm)
Try this example →

Example 5 — Compression Ratio of an 86 mm Square Engine

Bore 86 mm, stroke 86 mm, clearance volume 50 cc, target 10 : 1

1
Swept volume per cylinder = 0.7854 × 86² × 86 = 499.6 cc. Total volume at bottom dead centre = 499.6 + 50 = 549.6 cc
2
CR = 549.6 ÷ 50 = 10.99 : 1
3
For exactly 10 : 1 the clearance would be 499.6 ÷ 9 = 55.5 cc, which is 5.5 cc more, and the current clearance is 10.0 % of the swept volume.
Compression ratio = 10.99 : 1
Try this example →

Example 6 — Compression Ratio of the 80 mm × 90 mm Engine

Bore 80 mm, stroke 90 mm, clearance volume 45 cc, target 11 : 1

1
Swept volume per cylinder = 452.4 cc, so the total volume at bottom dead centre is 497.4 cc
2
CR = 497.4 ÷ 45 = 11.05 : 1
3
For 11 : 1 the clearance would be 452.4 ÷ 10 = 45.2 cc, only 0.2 cc more. The clearance is 9.9 % of the swept volume.
Compression ratio = 11.05 : 1
Try this example →

❓ Frequently Asked Questions

What is the formula for engine displacement?+
Displacement = number of cylinders x (pi / 4) x bore squared x stroke. For an 80 mm bore, 90 mm stroke four-cylinder engine that is 4 x 0.7854 x 80 x 80 x 90 = 1,809,557 mm3, or 1809.6 cc (1.81 litres).
How do I convert cc to cubic inches?+
Divide cubic centimetres by 16.387064 to get cubic inches. A 5733 cc engine is 349.8 ci. Going the other way, multiply cubic inches by 16.387064, and divide cc by 1000 for litres.
What does over-square and under-square mean?+
An over-square engine has a bore larger than its stroke, so the bore to stroke ratio is above 1. It allows large valves and high rpm at a given piston speed. An under-square engine has a longer stroke than bore, with a ratio below 1, and tends to favour low-speed torque.
How do I find the stroke for a target displacement?+
Divide the target by the number of cylinders, then use stroke = per-cylinder volume / ((pi / 4) x bore squared). For 2.0 litres in four cylinders with an 86 mm bore the stroke is 86.08 mm.
How is compression ratio calculated?+
Static compression ratio = (swept volume + clearance volume) / clearance volume, per cylinder. With 499.6 cc swept and 50 cc clearance the ratio is 549.6 / 50 = 10.99 : 1.
What is clearance volume?+
Clearance volume is the space above the piston at top dead centre, made of the combustion chamber, the head gasket, any piston dish or dome and the gap at the deck. It is usually measured by filling the chamber with a known volume of liquid.
What is mean piston speed?+
Mean piston speed is 2 x stroke x rpm / 60, the average speed of the piston over a full revolution. For a 90 mm stroke at 6500 rpm it is 19.5 m/s. Production engines are often kept below about 20 to 25 m/s, which is an illustrative guide rather than a rule.
Does displacement include the combustion chamber?+
No. Displacement is the swept volume only, the space the piston travels through between top and bottom dead centre. The combustion chamber volume above the piston is the clearance volume and is used for the compression ratio instead.
Is engine size the same as engine capacity?+
Yes, displacement, capacity and engine size all refer to the total swept volume of all cylinders. It is given in cc or litres in most countries and in cubic inches in the United States for older engines.
Does the formula work for a rotary or a diesel engine?+
The bore and stroke formula applies to any reciprocating piston engine, petrol or diesel. It does not apply directly to a Wankel rotary engine, whose displacement is defined by the chamber volume swept per rotor rotation.

What is the formula for engine displacement?

Displacement = number of cylinders x (pi / 4) x bore squared x stroke. For an 80 mm bore, 90 mm stroke four-cylinder engine that is 4 x 0.7854 x 80 x 80 x 90 = 1,809,557 mm3, or 1809.6 cc (1.81 litres).

How do I convert cc to cubic inches?

Divide cubic centimetres by 16.387064 to get cubic inches. A 5733 cc engine is 349.8 ci. Going the other way, multiply cubic inches by 16.387064, and divide cc by 1000 for litres.

What does over-square and under-square mean?

An over-square engine has a bore larger than its stroke, so the bore to stroke ratio is above 1. It allows large valves and high rpm at a given piston speed. An under-square engine has a longer stroke than bore, with a ratio below 1, and tends to favour low-speed torque.

How do I find the stroke for a target displacement?

Divide the target by the number of cylinders, then use stroke = per-cylinder volume / ((pi / 4) x bore squared). For 2.0 litres in four cylinders with an 86 mm bore the stroke is 86.08 mm.

How is compression ratio calculated?

Static compression ratio = (swept volume + clearance volume) / clearance volume, per cylinder. With 499.6 cc swept and 50 cc clearance the ratio is 549.6 / 50 = 10.99 : 1.

What is clearance volume?

Clearance volume is the space above the piston at top dead centre, made of the combustion chamber, the head gasket, any piston dish or dome and the gap at the deck. It is usually measured by filling the chamber with a known volume of liquid.

What is mean piston speed?

Mean piston speed is 2 x stroke x rpm / 60, the average speed of the piston over a full revolution. For a 90 mm stroke at 6500 rpm it is 19.5 m/s. Production engines are often kept below about 20 to 25 m/s, which is an illustrative guide rather than a rule.

Does displacement include the combustion chamber?

No. Displacement is the swept volume only, the space the piston travels through between top and bottom dead centre. The combustion chamber volume above the piston is the clearance volume and is used for the compression ratio instead.

Is engine size the same as engine capacity?

Yes, displacement, capacity and engine size all refer to the total swept volume of all cylinders. It is given in cc or litres in most countries and in cubic inches in the United States for older engines.

Does the formula work for a rotary or a diesel engine?

The bore and stroke formula applies to any reciprocating piston engine, petrol or diesel. It does not apply directly to a Wankel rotary engine, whose displacement is defined by the chamber volume swept per rotor rotation.