# What are the differences between diesel and unleaded gasoline?

I am curious about the flammability of diesel fuel and its properties, as I don't deal with it on a regular basis (at all).

In particular, I want to know how the fuel works when powering a diesel engine.

Things I know about gasoline engines:

• Compresses gasoline and air
• Ignites compressed gasoline and air with spark from spark plug
• The ignition pushes the piston back turning the crank shaft

I have heard that diesel is less flammable than gasoline and that diesel engines don't require spark plugs. How does this work?

• Welcome to Chem.SE! I think this is a great question for the site, though you should probably add some more details. For example, what precisely do you know about gasoline that you'd like to know also about diesel? What do you know about how gasoline engines work, and how they use gasoline as fuel? – hBy2Py Jun 30 '15 at 17:18
• maybe something along those lines? And thank you for the welcome – Malachi Jun 30 '15 at 17:23
• I'm not clear if you're asking about diesel fuel or diesel engines, or both. You're right that diesel engines don't have spark plugs. They rely on spontaneous ignition of a compressed air / fuel mixture. The compression stroke has to (probably not quite) adiabatically heat the air/fuel mixture to the point of combustion before the power stroke begins. – Curt F. Jun 30 '15 at 17:30
• @CurtF. I would say both. I am not so clear on how a diesel engine produces so much energy without the use of a spark to ignite the fuel. and I am unfamiliar with the term adiabatically I will have to look this up. – Malachi Jun 30 '15 at 17:35

## Diesel engines vs. gasoline engines

Diesel engines don't rely on spark plugs, but they still work by igniting the fuel to generate a force that moves a cylinder in the engine. The air/fuel mixture in a diesel engine is ignited by the compression of the same cylinder during the "compression" stroke. That is, like most gasoline engines in cars, diesel engines are four-stroke engines.

The compression stroke, in a gasoline engine or in a diesel engine, causes heating of the cylinder contents as the compression happens. Diesel engines are designed to have a more severe compression of the cylinder contents during the compression stroke. This results in much higher heating of the contents; in fact the temperature becomes so high that the ignition of the fuel and air becomes spontaneous.

You may ask, where does the energy to power the compression stroke come from? It comes from inertia in the engine as it is running. Another way to say it is that the previous power stroke provides the energy for the compression stroke. (The power stroke is when the exploding air fuel mixture pushes the cylinder out, doing useful work.) There is so much work released in the power stroke that there is enough to move the car forward as well as provide inertia for the next compression stroke.

Here are some more web links with helpful explanations:

• The diesel engine (also known as a compression-ignition or 'CI' engine) is an internal combustion engine in which ignition of the fuel that has been injected into the combustion chamber is initiated by the high temperature which a gas achieves when greatly compressed (adiabatic compression). This contrasts with spark-ignition engines such as a petrol engine (gasoline engine) or gas engine (using a gaseous fuel as opposed to gasoline), which use a spark plug to ignite an air-fuel mixture. The diesel engine has the highest thermal efficiency of any standard internal or external combustion engine due to its very high compression ratio and inherent lean burn which enables heat dissipation by the excess air.

• In theory, diesel engines and gasoline engines are quite similar. They are both internal combus­tion engines designed to convert the chemical energy available in fuel into mechanical energy. This mechanical energy moves pistons up and down inside cylinders. The pistons are connected to a crankshaft, and the up-and-down motion of the pistons, known as linear motion, creates the rotary motion needed to turn the wheels of a car forward. Both diesel engines and gasoline engines covert fuel into energy through a series of small explosions or combustions. The major difference between diesel and gasoline is the way these explosions happen. In a gasoline engine, fuel is mixed with air, compressed by pistons and ignited by sparks from spark plugs. In a diesel engine, however, the air is compressed first, and then the fuel is injected. Because air heats up when it's compressed, the fuel ignites.

Be sure to watch the animation at How Stuff Works. It's quite helpful!

## Diesel fuel vs. gasoline

In diesel engines, premature combustion can be a problem. This happens when the fuel ignites "too early" in the compression phase, before maximum temperature and thus maximum efficiency can be obtained. This means that by design, diesel fuel is a bit harder to ignite than gasoline. It's made of slightly less volatile hydrocarbons.

As noted by @steveverrill in the comments, the above paragraph was incorrect. A better explanation (straight from his comment) is

Diesel is harder to ignite at ambient temp due to its lower volatility / higher flash point (approx 52 °C vs -43 °C). This means it's difficult to form an explosive mixture which could be ignited by a spark (which is a local area at much higher than ambient temp.) But inside an engine both diesel & gasoline are fully evaporated. Under these conditions diesel is easier to ignite due to its lower autoignition temperature (approx 265 °C vs 280 °C). Autoignition temperature is tuned by additives to help ensure diesel can be ignited just by compression, whereas gasoline cannot ignite without a spark.

• Wikipedia again

Petroleum-derived diesel is composed of about 75% saturated hydrocarbons (primarily paraffins including $n$, $iso$, and cycloparaffins), and 25% aromatic hydrocarbons (including naphthalenes and alkylbenzenes). The average chemical formula for common diesel fuel is $\ce{C12H23}$, ranging approximately from $\ce{C10H20}$ to $\ce{C15H28}$.

• Wikipedia on gasoline

The bulk of a typical gasoline consists of hydrocarbons with between 4 and 12 carbon atoms per molecule (commonly referred to as C4-C12). It is a mixture of paraffins (alkanes), cycloalkanes (naphthenes), and olefins (alkenes).

Thus, diesel fuel contains mostly hydrocarbon molecules that have on average 12 or so carbon atoms, while gasoline contains hydrocarbons that contain on average 8 or so carbon atoms. The heavier, bigger molecules in diesel fuel means it evaporates more slowly at ambient conditions, requires more heating (i.e. more compression) before it spontaneously ignites.

• Diesel is harder to ignite at ambient temp due to its lower volatility / higher flash point (approx 52C vs -43C). This means it's difficult to form an explosive mixture which could be ignited by a spark (which is a local area at much higher than ambient temp.) But inside an engine both Diesel & gasoline are fully evaporated. Under these conditions diesel is easier to ignite due to its lower autoignition temperature (approx 265C vs 280C). Autoignition temperature is tuned by additives to help ensure Diesel can be ignited just by compression, whereas gasoline cannot ignite without a spark. – Level River St Jun 30 '15 at 18:34

Diesel fuel

The difference between gasoline and diesel fuel lies in the length of carbon chains.

Gasoline and diesel fuel are examples of hydrocarbons, molecules made up purely of hydrogen ($\ce{H}$) and carbon ($\ce{C}$) atoms. Simple examples include $\ce{C_3H_8}$ (propane) and $\ce{C_8H_18}$ (octane).

Gasoline contains compounds with carbon chains containing a certain amount of carbon atoms; their formulas are typically in the range of $\ce{C_7H_16}$ to $\ce{C_11H_24}$. Diesel fuel, on the other hand, has carbon chains somewhere in the area of $\ce{C_13}$ to $\ce{C_18}$.

However, in order for some set of atoms to qualify as a chain, it must have a certain structure. You could not somehow make random hoops of carbon and call them carbon chains.

Diesel engines

I hope you read the Wikipedia article on diesel engines. It explains that compression is used to ignite the fuel, rather than a traditional spark (from a spark plug).

There are a few different reasons why diesel fuel is better than gasoline in diesel engines. One major one (referring to Engineering Stack Exchange) is that diesel has a lower autoignition temperature - which is perfect, because diesel engines don't have spark plugs like those used in gasoline engines.

• It is worth mentioning that Diesel tends to consist of larger linear hydrocarbons but gasoline tends to consist of shorter unsaturated and branched hydrocarbons. This is an important reasons for the different combustion behaviours. – matt_black Oct 20 '15 at 9:06