Engine Displacement Calculator

Find engine displacement in cc, liters and cubic inches from bore, stroke and cylinder count, plus compression ratio and mean piston speed if you know them.

Bore and stroke unit

Displacement

1,685.9 cc

Liters

1.686 L

Cubic inches

102.9 cu in

Per cylinder

421.5 cc

Displacement = π/4 × bore² × stroke × cylinders, the swept volume defined in 40 CFR 1051.140. Compression ratio = (swept volume + clearance volume) ÷ clearance volume for one cylinder. Calculations run in your browser; nothing you type is sent anywhere.

Spec

Displacement = π/4 × bore² × stroke × number of cylinders. The EPA rule at 40 CFR 1051.140 defines it as the swept volume: the cylinder's internal cross-section area times the stroke length times the number of cylinders. A four-cylinder engine with a 75.0 mm bore and 95.4 mm stroke sweeps 421.46 cc per cylinder and 1,685.9 cc in total, about 1.686 L or 102.9 cubic inches.

The swept-volume formula

Displacement is the volume the pistons sweep as they travel. Rose-Hulman's internal combustion engines course (ME410) sets out the geometry: bore is the diameter of the cylinder, stroke is the distance the piston moves between bottom centre and top centre, and the volume swept between those two points is Vd = π × B² × L ÷ 4. Multiplying Vd by the number of cylinders gives the engine's displaced volume.

US federal regulations use the same definition. In the EPA's emission rules for recreational vehicles, 40 CFR 1051.140(b) says an engine configuration's displacement is the intended swept volume rounded to the nearest cubic centimetre, and that swept volume is the product of the internal cross-section area of the cylinders, the stroke length, and the number of cylinders. The rule's own example is a one-cylinder engine with a 6.00 cm bore and a 6.25 cm stroke: (6.00 ÷ 2)² × π × 6.25 = 177 cc. Enter 60 mm, 62.5 mm and one cylinder and the calculator shows 176.7 cc, which rounds to the same 177.

The rule adds a precision instruction worth copying: work from the design dimensions with enough significant figures to pin the result to 0.1 cc. The calculator keeps full precision internally and rounds only what it displays.

A worked example from an engine course

The default inputs come from a Rose-Hulman ME410 test problem about a 2003 Honda Civic DX engine: four cylinders, 75.0 mm bore, 95.4 mm stroke. The course solution gets 421,464 cubic millimetres per cylinder and 1.686 × 10⁶ cubic millimetres, or 1.686 L, for the engine.

The calculator reproduces those figures: 421.5 cc per cylinder and 1,685.9 cc in total, shown as 1.686 L. Divided by 16.387064 cc per cubic inch, the same engine is 102.9 cubic inches.

Bore and stroke must be in the same unit. The formula multiplies a squared diameter by a length, so mixing millimetres and inches gives a meaningless number. The unit switch converts both fields at once, and the result does not change when you flip between them.

Cubic inches, cc and liters

A cubic centimetre and a millilitre are the same volume, so 1,000 cc is one litre. Cubic inches come from the inch, which NIST Special Publication 811 defines as exactly 2.54 cm. Cubing that gives 16.387064 cubic centimetres per cubic inch, and NIST's conversion table lists one cubic inch as 1.638 706 × 10⁻⁵ cubic metres, the same figure written in SI units.

To see the conversion working on an inch-measured engine, take a hypothetical eight-cylinder with a 4.00 in bore and a 3.48 in stroke. π/4 × 4.00² × 3.48 × 8 = 349.8 cubic inches, which the calculator also shows as about 5,733 cc, or 5.733 L.

Boring the cylinders oversize raises displacement through the squared bore term. On that same hypothetical engine, a bore of 4.03 in instead of 4.00 in gives 355.1 cubic inches, an increase of about 5.3 cubic inches from a change of 0.03 in. Lengthening the stroke raises displacement in direct proportion, because stroke appears only once in the formula.

Compression ratio from the clearance volume

The clearance volume, Vc, is the cylinder volume at top centre, the space left above the piston when it is as high as it goes. Rose-Hulman's notes give the compression ratio as the maximum cylinder volume over the minimum: rc = (Vd + Vc) ÷ Vc, using the swept volume of one cylinder, not the whole engine.

In the Civic test problem each cylinder has a clearance volume of 50,174 cubic millimetres. Enter 50.174 cc in the optional field and the calculator returns 9.4:1, matching the course solution's (421,464 + 50,174) ÷ 50,174 = 9.4.

The same notes list typical compression ratios of 8 to 12 for spark-ignition engines and 12 to 24 for compression-ignition (diesel) engines. If your result lands far outside the range for your engine type, check that you entered the clearance volume for one cylinder in cubic centimetres.

Mean piston speed

Add an engine speed and the calculator also reports mean piston speed, Sp = 2 × L × N, where L is the stroke and N is the rotational speed. The piston travels the stroke twice per revolution, once down and once up. Rose-Hulman's notes give 8 to 15 m/s as the range for most engines and point out that this is an average, not the instantaneous piston velocity, which varies over the stroke.

For the Civic example the course takes its maximum brake power of 115 hp at 6,100 rpm and gets 2 × 95.4 mm × 6,100 ÷ 60 = 19.4 m/s. Type 6,100 into the rpm field and the calculator shows the same 19.4 m/s, about 3,819 ft/min.

The notes say the ratio of bore to stroke, B/L, is 0.8 to 1.2 for small and medium engines and can be as low as 0.5 for large diesel engines. The Civic engine's 75.0 ÷ 95.4 = 0.79 sits just under that band. Separately, at 6,100 rpm its mean piston speed is 19.4 m/s, above the 8 to 15 m/s range.

Working backwards, and where displacement thresholds matter

The formula can be turned around when you know the displacement you want. Stroke = displacement ÷ (π/4 × bore² × cylinders), and bore = √(displacement ÷ (π/4 × stroke × cylinders)). For a single cylinder that must stay at 50 cc with a 40 mm bore, the stroke works out to 50,000 ÷ (π/4 × 40² × 1) = 39.8 mm. Try the numbers in the calculator: 40 mm by 39.8 mm on one cylinder returns 50 cc.

Displacement is not only a spec-sheet number; regulations draw lines with it. The same EPA part 1051 that defines swept volume applies, under section 1051.1, to snowmobiles, off-highway motorcycles and all-terrain vehicles, and to offroad utility vehicles with engines of 1,000 cc or less, maximum engine power of 30 kW or less and a top speed above 25 miles per hour. Section 1051.1 also mentions engines under 50 cc used in motorcycles that are motor vehicles. When a threshold like that is in play, the rounding rule in 1051.140, to the nearest whole cubic centimetre from design dimensions, is the one that counts for EPA part 1051 purposes.

Where the numbers come from on a real engine

The EPA rule calculates displacement from the design specifications for the cylinders, so a maker's stated bore and stroke are the right inputs for a stock engine. For an engine you have rebuilt, measure the actual bore after machining; a rebuild is exactly the case where the design figure is no longer the real one.

The swept-volume definition does not depend on the operating cycle. Rose-Hulman's notes describe four-stroke and two-stroke engines, spark and compression ignition, and say most engines run on a four-stroke cycle, but the bore, stroke and cylinder count give the displacement the same way for each. If you are converting other quantities around the engine, the volume converter handles litres, gallons and cubic inches, and the shape volume calculator works out any cylinder from its radius and height.

Displacement checks against the sources

Engine Bore × stroke Cylinders Displacement
40 CFR 1051.140 example60.0 mm × 62.5 mm1176.7 cc (rounds to 177 cc)
Rose-Hulman ME410 Civic DX example75.0 mm × 95.4 mm41,685.9 cc = 1.686 L = 102.9 cu in
Hypothetical V8, stock bore4.00 in × 3.48 in8349.8 cu in = 5.733 L
Same V8 bored 0.03 in over4.03 in × 3.48 in8355.1 cu in = 5.819 L

Displacement = π/4 × bore² × stroke × cylinders. Cubic inches = cc ÷ 16.387064 (1 in = 2.54 cm exactly, NIST SP 811).

Frequently asked questions

How do you calculate engine displacement?

Square the bore, multiply by π/4 and the stroke, then multiply by how many cylinders the engine has. Centimetre inputs give cc directly; millimetre inputs give mm³, which you divide by 1,000.

How many cc are in a cubic inch?

16.387064 cc. The inch is defined as exactly 2.54 cm, and 2.54 cubed is 16.387064. So 1,000 cc (1 L) is about 61.02 cubic inches.

Does the number of strokes change displacement?

No. The cycle changes how often each cylinder fires, not how much volume the piston sweeps, so a two-stroke and a four-stroke with identical cylinders have identical displacement.

What is clearance volume?

It is the space remaining in the cylinder when the piston is at top centre. Add it to one cylinder's swept volume, divide by it, and the result, written like 9.4:1, compares the cylinder's largest volume with its smallest.

Why does my result differ slightly from the brochure figure?

Published figures are rounded. The EPA rule rounds to a whole cc, so its example engine, 176.7 cc by the formula, is listed as 177 cc.

Embed this calculator

Paste this snippet into any blog post or web page to get the working engine displacement calculator, free to use, with the attribution link staying in place.

Readout check

Did this tool do the job?

Published by CalcBadger. Formulas verified against the sources above; last reviewed 2026-10-20.