No, gasoline sits on top because diesel is denser, so a clean layer forms unless the fuels get shaken or blended.
People ask this after a spill, a misfuel at the pump, or a garage moment with two jars. What happens next can look confusing if you expect one clean rule that covers every case. Density decides which liquid ends up on top. Mixing depends on motion, additives, temperature, and time.
This piece shows what you’ll see when diesel meets gasoline, why the layers form, why a tank behaves differently than a jar, and what to do if the wrong fuel ends up in a vehicle. You’ll also get a quick way to tell “layering” apart from “blending,” since those get mashed together in everyday talk.
Does Diesel Float On Gas in real-world mixes
In a calm container, diesel does not float on gasoline. Gasoline is lighter, so it rises and forms the top layer. Diesel settles underneath. Right after pouring, the surface can swirl and the boundary can look fuzzy. Give it time without movement and the line between layers tends to sharpen.
Two details can fool your eyes:
- Pour order changes what you notice first. If gasoline goes in last, it spreads across the surface fast and can look like it “forced” diesel down.
- Motion changes the look. A shaken jar can turn cloudy for a while, then separate again as tiny droplets merge back into larger ones.
If someone says, “I mixed them and they didn’t separate,” ask one thing: was the container left alone long enough? Separation slows down when droplets are tiny and evenly spread. Still, the lighter portion trends upward once the motion stops.
What makes one fuel sit on top
Layering is driven by density. A liquid with more mass per unit volume tends to sink under a lighter liquid when the two don’t stay fully blended. Gasoline is usually lighter than diesel by a clear margin. Safety references list gasoline’s specific gravity around 0.72–0.76 at 60°F, while diesel is often listed around 0.84 near the same temperature range.
Specific gravity compares a liquid to water. Water is set to 1.0. A fuel at 0.72 weighs 72% as much as the same volume of water, at the stated temperature. A fuel at 0.84 weighs 84% as much as water. That gap is why gasoline ends up above diesel in a still container.
Temperature matters too. Both fuels expand as they warm and contract as they cool. The ranking usually stays the same across normal storage temperatures: gasoline remains lighter than diesel, so it stays on top when a blend has time to settle.
Why “mixing” and “floating” aren’t the same
“Float” is a layering question. “Mix” is a blending question. Diesel and gasoline are both petroleum liquids, so they can blend when stirred, pumped, or sloshed. A running vehicle fuel system adds constant motion. A jar on a bench adds none. That’s why a tank can end up with a blended mess, while a cup can show two tidy layers.
What ethanol-blended gasoline changes
Many gasolines contain ethanol. Ethanol changes how gasoline behaves around water, and it can shift how a mixture looks while it’s settling. In a clean, dry container, ethanol-blended gasoline still tends to sit above diesel because the blend is still lighter overall. If water gets involved, extra layers can appear: a water/ethanol-rich layer can separate from gasoline and may settle lower than the gasoline layer. That can bring odd-looking bands and haze that people mistake for “diesel floating.”
What you’ll see in a jar test
If you want a clear check, a small jar test makes the behavior visible. Use only a tiny amount and do it away from flames, sparks, cigarettes, pilot lights, or tools that can arc. Gasoline vapors ignite easily.
Steps for a simple layering check
- Use a clean, clear glass jar with a tight lid.
- Add diesel first, then slowly add gasoline down the side.
- Set the jar down and don’t touch it for 10–15 minutes.
- Look for a boundary line and note the color shift.
Diesel often has a pale straw or amber tint. Gasoline often looks clearer, though it can have a slight tint too. The top layer can look “brighter” because it transmits light cleanly. The boundary can look like a thin lens, and it may move up and down a little as the liquid cools or warms.
If you shake the jar for a few seconds, the blend can look uniform for a while. Then the droplets start merging. Some rise. Some settle. Over time, you’ll see the liquid clear into layers again as gravity sorts out the heavier and lighter portions.
Why diesel can seem to “float” for a moment
Sometimes diesel looks like it’s sitting on top right after a pour. That can happen when diesel is poured gently over gasoline and it briefly spreads as a thin sheet before sinking. It can also happen when tiny diesel droplets are trapped in a gasoline-rich layer after shaking. The droplets can hang there until they merge into larger drops that sink. That delay makes people think the rule flipped, when it’s just a settling phase.
Density, flash point, and why the mix can be risky
People mix these fuels by mistake more often than they admit. The risk is not only “it won’t run.” It can damage fuel system parts, change combustion behavior, and raise fire risk during handling. Gasoline has a low flash point, so its vapors light readily. Diesel’s flash point is far higher, which is one reason diesel is less volatile in open air.
Safety references publish physical properties used in hazard control. The NIOSH Pocket Guide entry for gasoline lists specific gravity ranges and flash point values used in workplace planning. The OSHA chemical data page for diesel fuel lists a typical diesel specific gravity value and related baseline properties. A broader density range for diesel fuel No. 2 is also listed on the ILO/WHO International Chemical Safety Card (ICSC) for diesel fuel No. 2.
Another measurement you’ll hear in oil work is API gravity. It links to specific gravity with a simple formula used to compare petroleum liquids. The SLB glossary entry on API gravity shows the standard relationship between API gravity and specific gravity.
What the numbers mean for layering
When gasoline is near 0.72–0.76 specific gravity and diesel is near 0.84 or higher, gasoline rises above diesel in a still container. In plain terms, a gallon of diesel weighs more than a gallon of gasoline. That weight difference is enough to create separation when there’s no motion to keep droplets suspended.
Fuel comparison details that affect separation
“Diesel” and “gasoline” aren’t single chemicals. They’re blends. Density shifts with season, region, and blend stock. Still, you can predict layering with a few practical cues: the lighter fuel rises, the heavier fuel settles, and a clearer boundary forms once the motion fades.
Use this table to connect what you see to the properties behind it. It’s meant for real situations: jar tests, fuel cans, and mishaps at the pump.
| Property or factor | Typical gasoline behavior | Typical diesel behavior |
|---|---|---|
| Specific gravity near 60°F | Often 0.72–0.76 | Often around 0.84 (ranges occur) |
| Layer position in a still jar | Top layer | Bottom layer |
| Color in a clear container | Often clear to lightly tinted | Often straw to amber |
| Flash point behavior | Low; vapors light readily | Higher; less vapor at room temp |
| Evaporation in open air | Faster loss to vapor | Slower loss to vapor |
| What a fresh spill feels like | Spreads odor quickly | Feels oilier, odor spreads slower |
| What you see right after shaking | Can turn hazy, then clears upward | Can look cloudy, then settles downward |
| What can slow clean separation | Ethanol blends, detergents, warmth | Additives, warmth, fine droplet size |
What happens inside a fuel tank
A tank is not a calm jar. Driving, braking, road vibration, and pump flow all stir the liquid. That motion can keep diesel and gasoline blended long enough to reach the engine. Once the wrong blend reaches injectors or a carburetor, symptoms can start fast.
If diesel enters a gasoline car, the engine may misfire, stall, or refuse to start. If gasoline enters a diesel vehicle, the risk can be worse because many diesel injection systems rely on the fuel itself for lubrication. Gasoline is thinner and can reduce lubrication where it’s needed most.
Clues that you have gasoline in a diesel vehicle
- Hard starting or no start right after fueling
- Knocking, rough idle, or sudden loss of power
- Fuel pump noise that changes pitch
- New warning lights tied to fuel pressure
Clues that you have diesel in a gasoline vehicle
- Misfires and sputtering under load
- Heavy smoke and a strong exhaust smell
- Stalling at idle, then refusal to restart
One more twist: if the vehicle sits after a misfuel, the blend can start to stratify inside the tank. Then the pickup can draw a “more gasoline” layer first, then a “more diesel” layer later. That can make the symptoms come and go, which can waste time during troubleshooting if the fuel mistake isn’t caught early.
What to do after a mix-up at the pump
This section saves the most money. The decision hinges on one factor: did the engine run after the misfuel?
If you caught it before starting
Keep the ignition off. Many vehicles run the pump for a moment when the key is turned, so “just to check” can still move fuel into lines. Arrange a tow to a shop that can drain the tank safely. If it’s a small equipment tank, drain into an approved fuel can and take it to a local hazardous waste drop-off that accepts fuels.
If it ran for a short time
Shut it off as soon as you suspect the mistake. The goal is to stop circulation. A technician may drain the tank, replace the fuel filter, and purge lines. Some systems need priming steps, so follow the vehicle maker’s service instructions.
If you drove for miles
Treat it as a fuel system service job. Filters may be loaded, injectors may spray poorly, and pumps may have wear. Don’t keep trying to restart it. Each crank can push more wrong fuel through parts that depend on the right viscosity and lubricity.
How to deal with a small spill or mixed fuel in a container
If the mix is outside a vehicle tank, your goal is safe storage and clean disposal. Both fuels are flammable, and gasoline vapors spread fast. Keep the container sealed, label it, and store it away from living areas and ignition sources until you can dispose of it.
For a small bench spill, absorb it with a fuel-rated absorbent and dispose of the waste per local rules. Don’t wash fuel into a drain. It can damage plumbing and raise fire risk.
If you have a jar with two layers and you only want to confirm which layer is which, use sight first. Color and clarity often tell you more than smell. If you use smell at all, waft vapors from a distance. Don’t put your nose near the opening. If the goal is disposal, treat the whole container as mixed fuel and handle it that way.
Common myths and the plain reality
Myth: “If it separates, it’s safe to pour off the top”
In a jar, you might be able to pour off a top layer, but that top layer can still carry some of the other fuel. Small carryover can matter in modern fuel systems. For cars and trucks, don’t gamble. Drain and dispose properly.
Myth: “Diesel always sinks fast”
Diesel can sink and still take time to clear. If the blend was shaken hard, droplets can stay suspended. Warm fuel can also slow clearing. If the container looks uniform right after mixing, that doesn’t mean density stopped applying. It means the droplets haven’t regrouped yet.
Myth: “A small splash can’t hurt a full tank”
Even a small amount can change combustion behavior. Gasoline engines can misfire if the blend is off enough to foul the mixture. Diesel engines can suffer pump wear if gasoline thins the fuel enough. The “safe” amount depends on the system design and the exact mix, so treat any misfuel as a problem to fix, not a rumor to test.
Fast decisions you can make on the spot
This table is for real moments: you’re at the pump, in the driveway, or standing over a can. Pick the row that matches what happened, then act.
| Situation | What to do next | What to avoid |
|---|---|---|
| Wrong nozzle, noticed before starting | Keep ignition off, arrange tow, drain tank | Turning key on “to check” |
| Started engine, ran under a minute | Shut off, don’t restart, drain and change filter | Cranking repeatedly |
| Drove a short trip, then symptoms | Stop driving, tow, plan for system service | Driving “until it clears” |
| Two-layer jar test at home | Leave it still, note top vs bottom, dispose safely | Open flame or sparks nearby |
| Mixed fuel in a can for equipment | Label can, take to approved drop-off | Pouring into a vehicle tank |
| Small spill on concrete | Ventilate, absorb, bag waste, dispose per local rule | Hosing into a drain |
Ways to prevent it next time
Most mix-ups come from distraction at the nozzle, shared fuel cans, or unclear labels on stored fuel. A few habits cut the odds.
- Use dedicated cans. One for gasoline, one for diesel. Color-code caps and write the fuel name on both sides.
- Finish the label. Add the purchase date and any additives used, so old cans don’t turn into mystery liquid.
- Pause before squeezing the handle. A two-second check beats a tow bill.
- Keep funnels separate. Residue from one fuel can carry into the next fill.
Quick recap for the original question
Diesel sits below gasoline in a calm container because it’s denser. A shaken mix can look blended for a while, then separate as droplets merge and the lighter portion rises. In a vehicle tank, motion can keep the blend mixed long enough to reach the engine, so a misfuel needs quick action, most of all before starting.
References & Sources
- CDC/NIOSH.“NIOSH Pocket Guide: Gasoline.”Lists gasoline physical properties such as specific gravity and flash point used in hazard planning.
- Occupational Safety and Health Administration (OSHA).“Chemical Data: Diesel Fuel.”Provides a typical diesel specific gravity value and baseline hazard properties.
- ILO/WHO International Chemical Safety Cards (ICSC).“ICSC 1561: Diesel Fuel No. 2.”Gives a density range for diesel fuel No. 2 and related handling notes.
- SLB Oilfield Glossary.“API Gravity.”Shows the standard formula linking API gravity with specific gravity for petroleum liquids.

Certification: BSc in Mechanical Engineering
Education: Mechanical engineer
Lives In: 539 W Commerce St, Dallas, TX 75208, USA
Md Amir is an auto mechanic student and writer with over half a decade of experience in the automotive field. He has worked with top automotive brands such as Lexus, Quantum, and also owns two automotive blogs autocarneed.com and taxiwiz.com.