What Is the Otto Cycle? The 4-Stroke Engine Explained

The Otto cycle is the thermodynamic process that powers most gasoline engines. It describes the four-stage sequence of events inside an engine cylinder: drawing in fuel and air, compressing the mixture, igniting it to produce power, and pushing out the exhaust. Nikolaus August Otto built the first practical four-stroke engine using this cycle in 1876, and the same basic principle of compressing fuel and air before ignition is still used in gasoline engines today.

The Four Strokes, Step by Step

The Otto cycle is called a four-stroke cycle because the piston inside the cylinder makes four distinct movements to complete one full rotation of work. Each stroke has a specific job.

During the intake stroke, the piston pulls back and creates space inside the cylinder. An intake valve opens, and a mixture of fuel and air is drawn in at roughly constant pressure. Think of it like pulling back a syringe to fill it.

During the compression stroke, both valves close and the piston pushes forward, squeezing the fuel-air mixture into a much smaller space. This raises both the pressure and temperature of the gas significantly. The ratio of the cylinder’s largest volume to its smallest is called the compression ratio, and it plays a huge role in how efficient the engine is.

Next comes combustion and the power stroke. A spark plug fires, igniting the compressed mixture. The burning fuel releases heat rapidly while the volume stays essentially constant for a brief moment, causing a sharp spike in pressure. That pressure then forces the piston back, and this is the stroke that actually produces useful work. The expanding gas pushes the piston, which turns the crankshaft, which ultimately moves your car.

Finally, during the exhaust stroke, the exhaust valve opens and the piston pushes forward again, forcing the spent gases out of the cylinder at roughly constant pressure. The cycle then starts over.

Why Compression Ratio Matters So Much

The thermal efficiency of an ideal Otto cycle depends almost entirely on one variable: the compression ratio. The relationship is simple. As the compression ratio goes up, the engine converts a larger share of the fuel’s energy into useful work. A compression ratio of 10:1 (meaning the gas is squeezed to one-tenth its original volume) gives a theoretical maximum efficiency of about 60%. Most modern gasoline engines sit around a compression ratio of 10:1.

There’s an important catch, though. You can’t just keep increasing the compression ratio forever. When you squeeze the fuel-air mixture harder, it gets hotter. Push it too far, and the mixture spontaneously ignites before the spark plug fires. As the normal flame front advances through the cylinder, it compresses and heats the remaining unburned gas ahead of it. If that gas reaches a critical temperature, it detonates on its own. The sudden energy release creates sharp pressure waves that bounce around inside the cylinder, producing the metallic rattling sound known as engine knock. Knock damages engines over time, so it sets a practical ceiling on how high the compression ratio can go in a gasoline engine.

Higher-octane fuels resist this premature ignition better, which is why performance cars often require premium gasoline. Hybrid vehicles are pushing this boundary further, with future designs targeting compression ratios around 13:1. Hybridization helps because the electric motor can handle low-speed driving, letting the gasoline engine operate in a narrower, more efficient range where knock is easier to control.

How It Compares to the Diesel Cycle

The main rival to the Otto cycle is the Diesel cycle, used in diesel engines. The key difference is how combustion starts. In an Otto cycle engine, a spark plug ignites a pre-mixed fuel-air charge. In a Diesel cycle engine, only air is compressed, and fuel is sprayed in at the last moment. The air gets so hot from compression alone that the fuel ignites on contact, with no spark needed.

This distinction has a big practical consequence. Because a Diesel engine compresses only air (not a fuel-air mixture), there’s no risk of premature ignition during compression. That means diesel engines can use much higher compression ratios, often 15:1 to 22:1. At any given compression ratio, the Otto cycle is actually more efficient on paper. But because diesel engines can safely operate at far higher compression ratios, they often achieve better real-world fuel efficiency than their gasoline counterparts.

The Ideal Cycle vs. a Real Engine

The Otto cycle as described in textbooks is an idealized model. It assumes no heat leaks through the cylinder walls during compression or expansion, zero friction between moving parts, and instantaneous combustion the moment the spark fires. None of these assumptions hold perfectly in a real engine.

In practice, heat constantly escapes through the metal walls of the cylinder, which means less energy is available to push the piston. Friction between the piston rings and cylinder walls, and throughout the drivetrain, consumes some of the work the engine produces. Combustion isn’t instantaneous either; burning the fuel takes a small but measurable amount of time, during which the piston is already moving. There are also pumping losses: the engine has to do work just to draw in fresh air and push out exhaust gases. All of these factors mean that real gasoline engines achieve well below their theoretical maximum efficiency, typically converting around 25% to 35% of the fuel’s energy into motion.

Still, the ideal Otto cycle remains valuable as an engineering tool. It tells designers where the biggest efficiency gains are hiding. The math makes clear that increasing the compression ratio is the single most effective lever, which is why so much modern engine development focuses on enabling higher compression through better fuels, direct fuel injection, and variable valve timing.

Where Otto Cycle Engines Are Used

Otto cycle engines dominate anywhere a relatively light, responsive gasoline engine makes sense. That includes the vast majority of passenger cars, motorcycles, lawnmowers, portable generators, chainsaws, and small aircraft. Otto’s 1876 design was the first practical alternative to the steam engine, and its descendants are still the most common type of internal combustion engine in the world. The core idea, compressing a fuel-air mixture and igniting it with a spark, hasn’t changed in nearly 150 years. What has changed is how precisely engineers can control each stage of the cycle to squeeze out more power and better fuel economy from the same basic process.