Two fuels distilled from the same barrel of crude oil, refined into entirely different products. One ignites by spark, the other by pressure alone. Here's the science, the economics, and the history behind every fill-up.
On any given day, Americans consume roughly 390 million gallons of gasoline and 130 million gallons of diesel. Both flow from crude oil. Both burn in piston engines. Yet they are fundamentally different substances — engineered for different tasks, priced by different market forces, and optimized through more than a century of competing technological development.
The differences run deeper than the color of the pump handle. Diesel carries 15 percent more energy per gallon, but costs more to make and taxes more heavily. Gasoline is lighter, more volatile, and universal — but diesel engines outlast them by hundreds of thousands of miles. Understanding what separates these two fuels explains a surprising amount about how the global economy works.
The numbers on the display tell only part of the story. Tap each fuel to see what you're actually paying for.
Tap a card to expand
Both fuels begin as crude oil. The refinery separates them by boiling point: gasoline vaporizes first, at lower temperatures, producing shorter hydrocarbon chains. Diesel condenses later, heavier and denser, its longer chains storing more energy per molecule.
Diesel's energy advantage is real — but it doesn't translate simply into savings at the pump. The interplay of fuel economy, price premium, and use case determines which fuel wins the long-haul math.
That 14 percent energy advantage doesn't fully explain the 30 percent MPG gain. The rest comes from thermodynamics: diesel engines run at higher compression ratios (up to 23:1, vs. 10:1 for gasoline), which extracts more work from each combustion cycle. Rudolf Diesel designed his engine to approach the theoretical maximum efficiency that Sadi Carnot described in 1824.
A diesel engine doesn't just burn fuel differently — it squeezes more work out of every molecule before exhaust.
Diesel costs more per gallon — but diesel engines travel farther on each one. Drag the slider to find where the math tips in each fuel's favor.
At 12,000 miles/year, diesel saves you $201 annually — despite the higher per-gallon price, the fuel economy advantage wins.
Diesel carries more energy and powers more efficiently — yet it consistently costs more at the pump than regular gasoline. The reasons span chemistry, regulation, taxation, and global trade.
Approximate pump price breakdown per gallon
The federal excise tax on diesel is 24.4¢/gal — 6 cents more than the 18.4¢/gal levied on gasoline. Most states compound this: average combined diesel taxes run 6–12 cents higher than gasoline taxes. The Highway Trust Fund collects more per gallon from diesel because heavy trucks cause disproportionately more road wear.
+6¢ federal · +4–8¢ avg. stateSince 2006, the EPA has required highway diesel to contain no more than 15 parts per million of sulfur — down from 500 ppm. Removing that sulfur requires additional hydrotreating steps, specialized catalysts, and added energy. That process adds 5–10 cents per gallon to refining costs compared to earlier low-sulfur formulas.
15 ppm max sulfur since Oct. 2006A typical 42-gallon barrel of crude yields roughly 19–20 gallons of gasoline and only 11–12 gallons of diesel. Refiners can crack heavier distillates into gasoline more easily than they can increase diesel yield, so diesel supply is relatively inelastic — small demand shifts produce larger price swings.
~29% of barrel vs. ~45% gasolineDiesel competes in a worldwide distillate market. The same refinery cut that becomes #2 diesel in a U.S. truck tank is virtually identical to heating oil burned in Northeast homes each winter and to the marine gas oil powering container ships globally. When Europe, Asia, or agriculture demand spikes, diesel prices worldwide feel it — often before gasoline does.
Trucks · ships · trains · farms · homesDiesel is more volatile than gasoline. Heating oil demand surges each autumn as Northeast homeowners fill tanks, pulling distillate inventories down. Geopolitical shocks — sanctions on major diesel exporters, war in grain-producing regions — ripple directly into distillate markets. In 2022, diesel briefly hit $5.80/gal nationally as European buyers rushed to replace Russian imports.
$5.80/gal national peak in 2022Diesel burns dirtier per gallon — 22.4 lbs of CO₂ versus 19.6 lbs — but the higher fuel economy changes the calculus when you measure per mile traveled.
Per-mile CO₂ emissions favor diesel by roughly 14%, mirroring the fuel economy gap. Source: EPA, DOE/EIA
The emissions picture is more complicated than CO₂ alone. Modern diesel engines paired with particulate filters (DPF) and selective catalytic reduction (SCR) systems have dramatically cut soot and NOₓ emissions — the pollutants that once made diesel synonymous with black smoke. The 2006 ULSD mandate was the foundation; modern Tier 4 Final standards brought diesel particulate emissions near zero.
But the Volkswagen "Dieselgate" scandal revealed that real-world NOₓ emissions from some 2009–2015 diesel vehicles ran 15–40 times higher than lab tests. The episode reinforced that the gap between certified and on-road performance matters as much as the numbers on a spec sheet.
Two fuels, two engineering philosophies — diverging at the dawn of the automobile age and still competing more than a century later.
The German engineer described an engine that ignites fuel through compression alone — no spark required. His demonstration engine ran on peanut oil. He envisioned a motor that would free small workshops from dependence on coal-powered steam.
Henry Ford's mass-produced automobile, priced at $825 at launch, cemented spark-ignition gasoline engines as the fuel of personal transportation — a dominance that would persist for over a century.
The first diesel passenger car produced in volume brings compression-ignition technology to everyday drivers. Its 2.6-liter four-cylinder engine delivered 45 hp and exceptional fuel economy by the era's standards.
New federal emissions standards forced both gasoline and diesel toward cleaner formulations. Refiners invested heavily in catalytic reforming, cracking, and desulfurization — infrastructure that defines modern fuel quality.
The EPA required highway diesel sulfur content to drop from 500 ppm to 15 ppm — a 97% reduction. This enabled catalytic aftertreatment that eliminated most particulate and NOₓ emissions from modern diesel engines.
Volkswagen admitted to programming 11 million diesel vehicles to cheat emissions tests globally. The scandal cost the company over $30 billion in settlements and permanently dampened consumer enthusiasm for diesel passenger cars in North America.
Battery-electric vehicles have largely displaced diesel in passenger cars. But diesel's dominance in heavy transport remains unchallenged — a fully loaded long-haul truck would require a battery pack weighing several tons to match diesel's range and refueling speed.
Every major dimension compared. ↗ indicates a clear advantage.
| Property | Gasoline | Diesel |
|---|---|---|
| Ignition method | Electric spark plug | Compression (no spark) |
| Rating system | Octane (87 regular) | Cetane (40–55) |
| Energy per gallon | 120,238 BTU | 137,381 BTU |
| Average price/gal (2026) | ~$3.39 | ~$3.85 |
| Federal excise tax | 18.4¢/gal | 24.4¢/gal |
| Typical fuel economy | 25–32 MPG | 35–45 MPG |
| CO₂ per gallon burned | 19.6 lbs | 22.4 lbs |
| CO₂ per mile traveled | 0.65 lbs | 0.56 lbs |
| Engine compression ratio | 9:1 – 11:1 | 16:1 – 23:1 |
| Engine service life | ~200,000 mi | 400,000+ mi |
| Peak torque | Moderate; high RPM | High; low RPM |
| Cold-weather reliability | Reliable to −40°F | Can gel below 10–15°F |
| Refueling availability | Universal | Most highway stations |
| Sulfur content | ≤30 ppm | ≤15 ppm (ULSD) |
Two fuels from the same barrel — one light and eager, the other dense and relentless. Neither is simply better.
Gasoline and diesel represent more than a century of engineering optimized for different ends. Gasoline excels in light-duty applications where responsiveness, cold-weather reliability, and widespread availability matter most. Diesel dominates wherever sustained power output, torque, fuel economy over long distances, and extreme engine durability are required.
As electrification accelerates, passenger cars will continue shifting toward batteries. But diesel's role in heavy freight, agriculture, shipping, and construction is unlikely to fade quickly — the energy density and practicality of liquid distillate fuels still can't be matched by current battery technology for the world's hardest-working machines.
Understanding what separates these two fuels is, in part, understanding the infrastructure that keeps the modern economy running.