What Is the Otto Cycle and How Does It Work?

The Otto cycle is the thermodynamic process that describes how gasoline engines convert fuel into motion. It models the four distinct strokes of a piston engine (intake, compression, power, and exhaust) as an idealized sequence of pressure and volume changes. Nearly every gasoline-powered car on the road runs on some version of this cycle, which was first put into practice by German engineer Nikolaus Otto in 1876.

The Four Strokes Explained

The Otto cycle breaks down into four strokes, each doing a specific job inside the engine cylinder.

Intake stroke: The piston moves down, drawing a mixture of gasoline vapor and air into the cylinder. In the idealized version of the cycle, this happens at constant pressure and doesn’t contribute to power generation.

Compression stroke: The piston moves back up, squeezing the fuel-air mixture into a much smaller space. This raises both pressure and temperature significantly. The ratio of the cylinder’s full volume to its compressed volume is called the compression ratio, and it’s the single most important number for determining how efficient the engine can be. Typical gasoline engines have compression ratios somewhere between 8:1 and 12:1.

Power stroke: A spark plug ignites the compressed mixture. Combustion happens so fast that the volume barely changes during ignition, so this is modeled as heat addition at constant volume. The burning gases then expand rapidly, pushing the piston down and doing the actual work that eventually turns the wheels. The expansion ratio is the reverse of the compression ratio, so the gas expands back through the same volume change it was compressed through.

Exhaust stroke: A valve opens and the spent combustion gases escape the cylinder. The piston then pushes any remaining exhaust out. Like the intake stroke, this happens at roughly constant pressure and produces no useful power.

Why the Compression Ratio Matters So Much

The thermal efficiency of an ideal Otto cycle depends almost entirely on the compression ratio. The higher you compress the fuel-air mixture before igniting it, the more useful work you extract from each combustion event. An engine with a compression ratio of 10:1 is theoretically more efficient than one at 8:1, all else being equal.

The formula for ideal efficiency is: η = 1 − (1 / r^(γ−1)), where r is the compression ratio and γ is a property of the gas mixture (roughly 1.4 for air). Plug in a compression ratio of 8 and you get a theoretical efficiency around 56%. At a compression ratio of 10, it climbs to about 60%. These are theoretical maximums; real engines fall well short of them.

There’s a practical ceiling on how high you can push the compression ratio, and it comes down to fuel quality. When the mixture is compressed too much, it can ignite on its own before the spark plug fires. This premature ignition is called engine knock, and it can damage the engine. Higher-octane fuel resists knock better, which is why high-performance engines require premium gasoline. From the 1920s through the 1970s, engine compression ratios and fuel octane ratings rose together. Since then, octane ratings have held fairly steady at around 88 to 90 AKI, while compression ratios have continued climbing thanks to advances in engine design and electronic controls. There is real concern that automakers may eventually hit the limit of what they can achieve without higher-octane fuel becoming standard.

How Real Engines Differ From the Ideal

The Otto cycle as described above is a theoretical model. It assumes perfect conditions: no friction, no heat escaping through the cylinder walls, instantaneous combustion, and gas that behaves in perfectly predictable ways. Real engines deviate from this ideal in several important ways.

Friction between the piston and cylinder walls absorbs energy. Heat leaks through the engine block instead of being fully converted to work. Combustion isn’t truly instantaneous, so it doesn’t happen at perfectly constant volume. The intake and exhaust strokes require the engine to push and pull gas against real pressure differences, creating what engineers call pumping losses. And fuel doesn’t always burn completely, leaving some chemical energy on the table.

The result is that real gasoline engines capture far less energy than the ideal cycle predicts. A naturally aspirated gasoline engine today achieves a peak thermal efficiency around 35 to 40%. The U.S. Department of Energy has set stretch goals of 43% peak efficiency for conventional gasoline engines and 46% for engines designed specifically for hybrid applications. Diesel engines, which use a different thermodynamic cycle with higher compression ratios, target 50%.

Otto Cycle vs. Diesel Cycle

The key difference between the Otto and Diesel cycles is when and how fuel ignites. In the Otto cycle, a spark plug ignites a premixed fuel-air charge, and combustion is modeled as happening at constant volume. In the Diesel cycle, air alone is compressed to a much higher ratio (often 14:1 to 25:1), which makes it hot enough to ignite fuel sprayed directly into the cylinder. That combustion is modeled as happening at constant pressure rather than constant volume.

Because diesel engines compress air to much higher ratios without worrying about premature ignition of fuel (since fuel isn’t present during compression), they can achieve higher thermal efficiencies. The tradeoff is that diesel engines need to be built heavier to withstand the greater pressures involved.

Where You Encounter the Otto Cycle

The Otto cycle isn’t limited to cars. It describes the operating principle behind motorcycles, lawnmowers, portable generators, small aircraft engines, and many other machines that run on gasoline or natural gas with spark ignition. Both two-stroke and four-stroke spark-ignition engines follow the Otto cycle, though two-stroke engines combine some of the strokes to complete the cycle in a single revolution of the crankshaft rather than two.

Even modern hybrid vehicles still rely on the Otto cycle for their gasoline engine component. The electric motor handles low-speed driving and assists during acceleration, but the underlying combustion process remains the same thermodynamic sequence that Nikolaus Otto demonstrated nearly 150 years ago. What has changed dramatically is how precisely computers control ignition timing, fuel injection, and valve operation to squeeze real-world performance closer to the theoretical ideal.