Free Tool
Engine Displacement And Compression Ratio Calculator
Enter bore, stroke and cylinder count to get displacement in cc and cubic inches. Add the combustion chamber, head gasket, deck and piston volumes to get the static compression ratio. Presets load the numbers printed in KTM, Honda and Yamaha owner's manuals so you can check the math against the factory figure.
Displacement
Compression Ratio
The default compression inputs are example values for illustration. Measure your own engine for a real answer, and use the manual as the authority for stock specs.
How The Displacement Math Works
Displacement is the volume the piston sweeps on one stroke. It is a cylinder, so the formula is the area of the bore times the stroke: pi divided by 4, times bore squared, times stroke. Use centimeters and the answer comes out in cubic centimeters (cc). Multiply by the number of cylinders for the total.
Here is a check with a real engine. KTM's 2024 250 SX-F manual lists an 81 mm bore and a 48.5 mm stroke. That is 0.7854 x 8.1 x 8.1 x 4.85 = 249.9 cc, and the manual prints 249.91 cc. Honda's 2025 CRF450R manual lists 96.000 mm by 62.138 mm, which works out to 449.8 cc against the printed 449.77 cc. One cubic inch is 16.387 cc, so the calculator divides by that for cubic inches.
Bore matters more than stroke because it is squared. A 1 mm bigger bore on a 77 mm engine adds about 2.6% displacement, while a 1 mm longer stroke on a 53.6 mm stroke adds about 1.9%.
How Compression Ratio Is Calculated
Static compression ratio compares the volume above the piston at bottom dead center with the volume left at top dead center. The volume left at the top is the clearance volume, and it has four pieces:
- Combustion chamber in the head, measured in cc.
- Head gasket, a thin cylinder: pi / 4 x gasket bore squared x compressed thickness.
- Deck height, the gap between the piston crown at top dead center and the top of the cylinder: pi / 4 x bore squared x deck height. If the piston sticks up past the deck, enter a negative number.
- Piston shape. A dish adds volume. A dome, common on high compression four-strokes, takes volume away, so enter it as a negative number.
The ratio is (swept volume + clearance volume) divided by clearance volume. Small clearance changes move it a lot because the clearance volume is tiny. On a 250 cc engine with 20 cc of clearance, taking away 1 cc raises the ratio from 13.5:1 to about 14.2:1.
Factory Bore, Stroke And Compression By Model
Pick one of these in the preset menu to load its bore and stroke. The printed displacement appears under the results so you can compare it with the calculated one.
| Model | Bore x stroke | Displacement | Compression | Source |
|---|---|---|---|---|
| KTM 250 SX-F (2024) | 81 x 48.5 mm | 249.91 cc | 14.5:1 | KTM 250 SX-F 2024 owner's manual, PDF p. 149 |
| KTM 450 SX-F (2024) | 95 x 63.4 mm | 449.9 cc | 13.6:1 | KTM 450 SX-F 2024 owner's manual, PDF p. 154 |
| Honda CRF250R (2025) | 79.0 x 50.887 mm | 249.43 cc | 13.9:1 | Honda 2025 CRF250R owner's manual, PDF p. 79 |
| Honda CRF450R (2025) | 96.0 x 62.138 mm | 449.77 cc | 13.5:1 | Honda 2025 CRF450R owner's manual, PDF p. 79 |
| Yamaha YZ250F (2026) | 77.0 x 53.6 mm | 250 cc | 13.8:1 | Yamaha 2026 YZ250F owner's service manual, PDF p. 55 |
Manuals do not print chamber volume, so the compression ratio inputs need your own measurements. Small differences between calculated and printed cc come from rounding in the published bore and stroke.
Why A Rebuild Can Change Compression
Anything that removes clearance volume raises the ratio. Machining the head or cylinder deck flat, fitting a thinner head gasket, or a piston with a taller dome all shrink the space left at top dead center. A bigger bore raises it too, because swept volume grows while the chamber stays the same.
Going the other way, a thicker gasket or a dished piston lowers it. On a four-stroke, the valves pass very close to the piston at top dead center, so any change that moves the piston closer to the head needs piston to valve clearance checked before the engine runs. Follow your engine builder or service manual for that check.
Static ratio is geometry only. The squeeze an engine actually makes is lower, because the intake valve on a four-stroke, or the ports on a two-stroke, are still open as the piston starts up. That is why a cranking compression gauge reads in psi, not as a ratio. Our top end rebuild guide covers compression testing.
How To Measure Chamber Volume
- Remove the head and clean the chamber of carbon.
- Fit the spark plug and, on a four-stroke, make sure the valves are seated.
- Seal a flat clear plate with a small fill hole over the chamber using a thin film of grease.
- Fill through the hole from a burette with a light fluid until the chamber is full and free of bubbles.
- Read how many cc left the burette. That is your chamber volume.
Learn How The Engine Uses That Volume
See every stroke animated in how a four-stroke engine works and how a two-stroke engine works. If a high compression four-stroke has turned hard to start, read our valve clearance check guide before you blame the piston. And if you are wondering how the fuel gets in, see EFI vs carburetor.
MotoMind tracks top end, valve clearance and oil intervals by engine hours, and logs the parts and cost of each rebuild. Available to download on iOS.
FAQ
How do you calculate cc from bore and stroke?
Displacement per cylinder is pi divided by 4, times bore squared, times stroke. Work in centimeters and the answer is in cc. A KTM 250 SX-F is 8.1 cm bore by 4.85 cm stroke, so 0.7854 x 8.1 x 8.1 x 4.85 = 249.9 cc, which matches the 249.91 cc in KTM's 2024 manual.
What compression ratio is a KTM 450 SX-F?
KTM's 2024 450 SX-F owner's manual lists 13.6:1 with a 95 mm bore and 63.4 mm stroke. The 2024 250 SX-F is listed at 14.5:1.
What is the compression ratio of a Honda CRF450R?
Honda's 2025 CRF450R owner's manual lists 13.5:1, with a 96.000 mm bore and 62.138 mm stroke. The 2025 CRF250R is listed at 13.9:1.
Does a thinner head gasket raise compression?
Yes. The gasket is part of the clearance volume above the piston. A thinner gasket shrinks that volume while the swept volume stays the same, so the ratio goes up. Enter both thicknesses above to see by how much, and check piston to valve clearance before running it on a four-stroke.
What is the difference between static and dynamic compression?
Static compression is the geometric ratio this calculator gives: total volume at bottom dead center divided by the volume left at top dead center. Dynamic compression accounts for the intake valve or ports still being open as the piston starts up, so the real squeeze starts later and is lower than the static number.
How do I measure combustion chamber volume?
With the head off, seal a flat clear plate over the chamber with the spark plug fitted, then fill it through a small hole from a burette and read how many cc it took. Measure the gasket and deck height separately and add them in the calculator.
Is cc the same as cubic centimeters and ml?
Yes. One cc is one cubic centimeter, which is one milliliter. One cubic inch is 16.387 cc.
Track Every Rebuild By The Hour
MotoMind tracks top end, valve clearance and oil intervals by engine hours and logs parts and cost for every job. Available to download on iOS.
