Fuels in everyday life and history
How a Gasoline Engine Turns Fuel Into Motion
A four-stroke gasoline engine turns fuel into motion through a repeating cycle of intake, compression, power and exhaust. Only the third stroke makes power: a spark lights a compressed mix of air and gasoline vapor, and the hot expanding gas pushes a piston down.
The fuel does more than burn. It has to mix with air, survive compression without lighting early, and burn on cue after the spark. This guide follows the fuel through each stroke, then looks at where the energy goes and what ethanol, present in nearly all U.S. gasoline, changes inside the cylinder.
The four strokes, one at a time
The U.S. Department of Energy (DOE) describes the cycle as intake, compression, combustion and power, and exhaust. NASA’s Glenn Research Center adds the mechanics. Valves, opened by cams and rocker arms, let gases in and out, and the straight-line motion of the piston becomes rotation at the crankshaft. The crankshaft turns twice for each turn of the cam that opens the valves, so one full cycle takes two crankshaft turns.
| Stroke | Piston | Valves | What happens to the fuel |
|---|---|---|---|
| Intake | Moves down | Intake open | Fuel and air enter the cylinder, either mixed beforehand or mixed inside it |
| Compression | Moves up | Both closed | The mixture is squeezed, so pressure and temperature rise |
| Power | Moves down | Both closed | A spark starts a flame, and the hot gas pushes the piston and turns the crankshaft |
| Exhaust | Moves up | Exhaust open | Burned gas leaves toward the exhaust system |
The spark is a trigger, not a push. It starts a flame at the spark plug, and the pressure of the burning gas does the work. The engine computer sets when the spark fires. DOE’s Alternative Fuels Data Center (AFDC) says the electronic control module controls both the fuel mixture and the ignition timing.
How fuel and air meet
In a spark-ignition engine the fuel is mixed with air before it burns. In a port-injected engine, fuel is sprayed into the intake port and mixes with air as the charge is drawn into the cylinder. In gasoline direct injection, the injector sprays fuel straight into the cylinder. The DOE’s fueleconomy.gov notes that direct injection makes the mixture somewhat cooler, which allows a higher compression ratio or more efficient spark timing. The compression ratio compares the cylinder’s volume before and after the piston squeezes the charge. A higher ratio gives a hotter, denser charge at the moment of the spark.
Either way, the engine meters the fuel against the air it takes in. Two fuel properties matter here: how well the fuel resists igniting early, and how much energy each gallon holds. For gasoline with no ethanol (E0), the comparator lists 116,090 Btu per gallon (32.36 MJ/L) on a lower-heating-value basis, or 43.45 MJ/kg (18,680 Btu/lb) per unit of mass.
Where knock comes in
Engines are designed so that combustion starts at the spark plug and a flame travels across the chamber. The U.S. Energy Information Administration (EIA) explains what can go wrong. If rising heat and pressure from the main burn make unburned fuel ignite on its own, the result is knock, a pressure spike that can damage the engine. Pre-ignition, where fuel lights before the spark, is a related fault.
Modern engines carry knock sensors. When one detects knock, the computer delays the spark, which stops the knock but can cost efficiency, according to EIA. The fuel’s defense against early ignition is its octane rating, a measure of how stable the fuel is under pressure. Octane rating, explained covers the scale. Engine and fuel work as a pair: the higher the compression ratio, the more the fuel has to resist early ignition.
Where the energy goes
Most of the fuel’s energy never reaches the wheels. DOE’s fueleconomy.gov estimates that only about 12 to 30 percent of the energy in gasoline moves the vehicle, depending on the driving pattern. For a mix of 55 percent city and 45 percent highway driving, it puts engine losses at 68 to 72 percent, mostly heat, with smaller shares lost to friction, pumping air and combustion inefficiency. Accessories, the drivetrain and idling take more, leaving 18 to 25 percent for the wheels. The page calls these illustrative estimates. Energy efficiency and fuel efficiency explains the terms.
What does leave the engine passes to the exhaust system. AFDC notes that this system carries a three-way catalyst designed to reduce engine-out emissions before the gas reaches the tailpipe.
What ethanol changes inside the cylinder
The cycle stays the same when ethanol is in the tank. The fuel’s properties change. AFDC reports that more than 98 percent of U.S. gasoline contains ethanol, and that E10, which is 10 percent ethanol, is the typical blend. Ethanol has a higher octane number than gasoline, and lower-octane gasoline is blended with 10 percent ethanol to reach the standard 87 octane. Ethanol holds less energy per gallon: the comparator lists 76,330 Btu per gallon (21.27 MJ/L) for E100, lower heating value.
Worked example, with the arithmetic shown. A gallon of E10 is 0.9 gallon of E0 gasoline and 0.1 gallon of ethanol.
- Energy of the gasoline part: 0.9 × 116,090 = 104,481 Btu
- Energy of the ethanol part: 0.1 × 76,330 = 7,633 Btu
- Total: 112,114 Btu per gallon, the same as the low end of the Gasoline/E10 range in AFDC’s fuel comparison
- Against E0: 112,114 ÷ 116,090 = 0.966, so about 3.4 percent less energy per gallon
Pure ethanol holds about two-thirds of the energy of E0 per gallon (76,330 ÷ 116,090 = 0.66). All values are on a lower-heating-value basis. These are energy contents, not claims about mileage. You can view both fuels in the comparator for gasoline and ethanol, and ethanol fuel explained covers the fuel itself. Compression ignition works differently, and how diesel engines ignite fuel explains it.
Common mistakes
- Thinking the spark pushes the piston. The spark only starts the flame. The expanding hot gas moves the piston.
- Assuming every stroke makes power. Only the power stroke does. Intake, compression and exhaust prepare for it and clear up after it.
- Confusing octane with energy. Octane describes how well a fuel resists igniting on its own. Energy per gallon is a separate property.
- Believing a gasoline engine turns most of its fuel into motion. DOE’s estimates put that share between roughly 12 and 30 percent, and most of the rest leaves as heat.
- Treating knock as normal engine noise. EIA describes it as unburned fuel igniting on its own, which can damage the engine. Modern engines respond by delaying the spark.
Frequently asked questions
What are the four strokes of a gasoline engine?
Intake, compression, power and exhaust. On intake, the piston moves down and the cylinder fills with air and fuel. On compression, the piston rises with both valves closed. A spark starts combustion, and the burning gas drives the piston down in the power stroke. On exhaust, the piston rises again and pushes the burned gas out.
Why does a gasoline engine need a spark plug?
The spark plug starts the flame at a moment the engine computer chooses. Combustion is meant to begin there and spread across the chamber. If fuel ignites by itself instead, the engine knocks, which EIA says can cause a damaging pressure spike. A diesel engine works differently and uses no spark plug.
Does ethanol change how a gasoline engine works?
The four strokes stay the same, but the fuel differs. Ethanol has a higher octane number and less energy per gallon. AFDC says E15 is approved for model year 2001 and newer light-duty vehicles, and E85, also called flex fuel, is meant for flexible fuel vehicles. Follow the manufacturer’s instructions for any blend.
How much of the fuel’s energy reaches the wheels?
DOE’s fueleconomy.gov estimates that about 12 to 30 percent of fuel energy moves the vehicle, depending on the driving pattern. For a combined city and highway mix it lists 18 to 25 percent. Engine heat, friction and pumping account for most of the loss, and the page presents all of these numbers as illustrative.
Sources
- Internal Combustion Engine Basics: U.S. Department of Energy. Accessed November 13, 2026.
- Four Stroke Internal Combustion Engine: NASA Glenn Research Center. Accessed November 13, 2026.
- How Do Gasoline Cars Work?: U.S. Department of Energy, Alternative Fuels Data Center. Accessed November 13, 2026.
- Advanced Engine Technologies: U.S. Department of Energy and U.S. Environmental Protection Agency, fueleconomy.gov. Accessed November 13, 2026.
- Gasoline explained, octane in depth: U.S. Energy Information Administration. Accessed November 13, 2026.
- Where the Energy Goes: Gasoline Vehicles: U.S. Department of Energy and U.S. Environmental Protection Agency, fueleconomy.gov. Accessed November 13, 2026.
- Ethanol Fuel Basics: U.S. Department of Energy, Alternative Fuels Data Center. Accessed November 13, 2026.
- Fuel Properties Comparison: U.S. Department of Energy, Alternative Fuels Data Center. Accessed November 13, 2026.
Spotted something wrong or out of date? Tell us through the corrections page. We answer within 10 business days.