Fuels in everyday life and history

How a Diesel Engine Ignites Fuel by Compression

A rustic red diesel engine on a wooden pallet outdoors, surrounded by industrial objects
Photo by Michał Robak on Pexels. A general illustration, not evidence for any number.

A diesel engine has no spark plug. It compresses only air until the air is hot enough to ignite diesel fuel on contact, then sprays the fuel in at a measured rate. The heat of compression does the job that a spark does in a gasoline engine.

That one difference shapes how the engine is built, what it asks of its fuel, and what comes out of the exhaust. The U.S. Energy Information Administration (EIA) lists trucks, trains, buses and boats among the vehicles that use diesel engines. This guide walks through the four strokes, explains why squeezing air is enough, and shows what biodiesel changes inside the same engine.

The four strokes without a spark

The U.S. Department of Energy (DOE) states the contrast plainly. In a spark-ignition engine, fuel is mixed with air and then drawn into the cylinder. In a diesel engine, only air is drawn in and compressed, and the fuel is sprayed into the hot compressed air, which makes it ignite. Penn State’s course notes put the fuel injection in the third stroke, at high pressure and temperature, with ignition coming from the heat of the compressed air.

What is in the cylinder during each stroke of a diesel engine.
StrokeIn the cylinderWhat happens
IntakeAir onlyThe piston moves down and draws in air
CompressionAir onlyThe piston rises and squeezes the air until it is very hot
PowerAir plus sprayed fuelFuel is injected into the hot air, ignites, and the burning gas pushes the piston down
ExhaustBurned gasThe piston rises and pushes the gas out through the exhaust treatment system

The timing of the fuel spray replaces the timing of a spark. Nothing in the cylinder can ignite early, because the fuel is not there yet during compression. For the gasoline version of the same four strokes, see how a gasoline engine turns fuel into motion.

Why squeezing air is enough

Compressing a gas heats it. A diesel engine squeezes the air hard enough that its temperature passes the point where the injected fuel lights without help. Penn State’s course material calls this compression ignition, also called autoignition, and notes that diesels usually run at higher compression ratios than gasoline engines. The compression ratio is how many times smaller the cylinder volume becomes when the piston squeezes the charge. One Penn State page gives an example: a small diesel at 13:1 against 10:1 for a high-performance gasoline engine. Those are example values, not limits.

Only air is compressed, so a diesel is not limited by a premixed charge that could ignite too soon. EIA describes the gasoline version of that problem as knock: unburned fuel igniting on its own and causing a damaging pressure spike. In a diesel, self-ignition is the intended way to start combustion, not a defect.

That reverses what the fuel needs. A gasoline engine wants a fuel that resists igniting early, which the octane rating measures. A diesel engine wants a fuel that ignites readily in hot air, which the cetane number measures. Cetane number, explained covers the scale, and gasoline versus diesel fuel compares the two fuels themselves.

The exhaust side

Diesel exhaust systems are built to handle two pollutants, particulate matter and nitrogen oxides. DOE’s Alternative Fuels Data Center (AFDC) describes the hardware. A diesel particulate filter and an oxidation catalyst filter the exhaust to reduce particulate matter. Diesel exhaust fluid, an aqueous urea solution, is injected into the exhaust, and selective catalytic reduction converts nitrogen oxides into nitrogen and water. EIA defines ultra-low sulfur diesel as fuel with a sulfur content of 15 parts per million or less. Ultra-low-sulfur diesel has its own explainer.

What biodiesel changes

Biodiesel, made of fatty acid methyl esters, is used to fuel compression-ignition engines, according to AFDC. It can be used neat, called B100, or blended with petroleum diesel, as in B5, which is up to 5 percent biodiesel. The engine still compresses air and sprays fuel. What changes is the fuel. AFDC lists a cetane number of 47 for B100, and it notes that blends with smaller shares of biodiesel perform better in cold weather. B100’s cloud point runs from −3 to 15 °C (27 to 59 °F), and suppliers add a cold flow improver in winter.

Energy per gallon also differs. The table uses AFDC’s lower heating values for diesel and B100, and a volume-weighted average for B5.

Energy per gallon of diesel and biodiesel, lower heating value.
FuelBtu per gallonMJ per literCompared with diesel
Diesel (ultra-low sulfur)128,48835.81Baseline
B5 (calculated)about 128,041about 35.69Under half a percent less
B100119,55033.32About 7 percent less

Worked example for B5: 0.95 × 128,488 = 122,063.6 and 0.05 × 119,550 = 5,977.5, which add up to about 128,041 Btu per gallon. For B100: 119,550 ÷ 128,488 = 0.930, so about 7 percent less energy per gallon. A small share of biodiesel therefore barely changes the energy in the tank. You can view both fuels in the comparator for diesel and biodiesel. Follow the engine maker’s instructions on which blends an engine accepts.

Common mistakes

  • Looking for a spark plug. A diesel has none. Heat from compression starts combustion.
  • Thinking the engine compresses fuel and air together. DOE says only air is drawn in and compressed. The fuel arrives afterward as a spray.
  • Treating self-ignition as a fault. In a gasoline engine, unburned fuel igniting on its own is knock. In a diesel it is the designed way to light the fuel.
  • Mixing up cetane and energy. Cetane describes how readily a fuel ignites. Energy per gallon is a separate property.
  • Assuming biodiesel needs a different kind of engine. AFDC says biodiesel, like petroleum diesel, fuels compression-ignition engines. Its energy per gallon and cold-weather behavior differ.

Frequently asked questions

How does a diesel engine start combustion without a spark plug?

The engine compresses air until it is very hot, then injects fuel into it. The fuel ignites from the heat of the compressed air, which is why this design is called compression ignition. The timing of the fuel injection plays the role that spark timing plays in a gasoline engine.

Why do diesel engines use higher compression ratios?

Only air is compressed, so no fuel in the cylinder can ignite too early, and the air must reach a temperature high enough to light the fuel. Penn State’s course notes say diesels usually run at higher compression ratios than gasoline engines and give 13:1 against 10:1 as an example pairing.

Can a diesel engine run on biodiesel?

AFDC says biodiesel is used to fuel compression-ignition engines, as petroleum diesel is, either as B100 or blended, for example as B5. B100 holds about 7 percent less energy per gallon than diesel on a lower-heating-value basis. Follow the manufacturer’s instructions for blend limits.

What does diesel exhaust fluid do?

Diesel exhaust fluid is an aqueous urea solution that is injected into the exhaust of engines with selective catalytic reduction. According to AFDC, the system converts nitrogen oxides into nitrogen and water. It is separate from the fuel itself.

Sources

Spotted something wrong or out of date? Tell us through the corrections page. We answer within 10 business days.