calculate-loan

01 Loan payments

Diesel Fuel Cost per Gallon? Average Prices

Calculator No. 01-27221 · Updated · Formula and assumptions shown below

Monthly fuel cost $260.00
Gallons used per month
66.7 gal
= Miles driven per month ÷ vehicle fuel economy
Fuel price per gallon
$3.90
Input
Vehicle fuel economy
18 mpg
Input
You enter
Fuel price per gallon ($), Vehicle fuel economy (mpg), Miles driven per month (miles)
You get
Monthly fuel cost ($), Gallons used per month (gal)
Rounding
2 dp · 1 dp

Estimate for education, not financial advice. The result follows from the numbers you enter and the formula shown. It is not a quote or an offer, and it does not include fees, taxes or insurance unless the calculator asks for them. Ask your lender for the exact figures.

As of mid-2024, the average retail diesel fuel cost per gallon in the United States is roughly $3.80–$4.00, though the exact price varies by state, region, and week. This article explains what drives that price, how to estimate your own fuel costs, and what to expect at the pump.

Formula

The calculator estimates your monthly diesel expense using the simple relation: Monthly cost = (miles driven ÷ fuel economy) × price per gallon. In symbols: C = (M / E) × P, where C is the monthly fuel cost in dollars, M is miles driven per month, E is the vehicle’s fuel economy in miles per gallon (mpg), and P is the price per gallon in dollars. The calculator also shows gallons used per month, which is just M / E.

Worked Example

Using the default values from the calculator: price = $3.90 per gallon, fuel economy = 18 mpg, miles driven = 1,200 per month.

  1. Gallons used per month = 1,200 ÷ 18 = 66.67 gallons (rounded to 66.7).
  2. Monthly fuel cost = 66.67 × $3.90 = $260.01 (rounded to $260.01).

The calculator’s first output shows $260.01, matching the step-by-step result.

Assumptions

  • Fuel price is a constant input; real prices change daily and vary by station.
  • Vehicle fuel economy is the real-world average, not the EPA sticker number, which is often higher.
  • Miles driven are assumed constant each month; no seasonal or route adjustments.
  • No taxes, tolls, or other vehicle operating costs are included.

What Makes Up the Price at the Pump?

Retail diesel prices are not set by a single factor. The largest component is the cost of crude oil, which typically accounts for about half of the retail price. Then come refining costs and margins, distribution and marketing, and federal and state excise taxes. Federal diesel tax is 24.3 cents per gallon, and state taxes range from about 15 to 77 cents per gallon. Because diesel is used heavily by freight and agriculture, its price often moves with global supply and refinery capacity, not just with gasoline.

Regional differences are significant. For example, California often has higher diesel prices due to stricter fuel specifications and higher state taxes, while Gulf Coast states tend to have lower prices because of proximity to refineries. Seasonal demand also matters: winter diesel (with additives for cold weather) can cost a few cents more, and summer blends may differ slightly.

How to Use the Calculator for Real Budgeting

To get a useful estimate, you need three realistic numbers. First, check the actual price at your usual station, not a national average. Second, find your vehicle’s real-world mpg—many diesel trucks get 15–20 mpg, while modern diesel cars can get 30–40 mpg. Third, estimate your monthly miles by looking at your odometer over a month or using a trip log.

If you drive a semi-truck that gets 6 mpg and covers 10,000 miles a month, the calculator will show a very different result than a diesel sedan. The formula is linear, so doubling miles or price doubles the cost.

Common Mistakes and Misconceptions

  • Using the EPA sticker mpg: That number is from lab tests; real-world mpg is often 10–20% lower, especially with loaded trucks or city driving.
  • Forgetting taxes and fees: The calculator uses the price you enter; if you enter a pre-tax price, the result will be too low.
  • Mixing units: Always use miles and gallons, not kilometers and liters. If you have liters, divide by 3.785 to get gallons.
  • Assuming constant price: Diesel prices can swing 20–30 cents in a month; a single estimate is a snapshot, not a forecast.

A common misconception is that diesel is always more expensive than gasoline. Historically, diesel was cheaper, but since 2004 it has often been more expensive due to global demand and refinery costs. The gap varies, so check current prices rather than assuming.

How Diesel Prices Compare to Gasoline

On average, diesel has been about 20–40 cents per gallon more than regular gasoline in recent years, but the difference fluctuates. Diesel fuel has a higher energy content per gallon (about 12% more than gasoline), which is why diesel engines often achieve better fuel economy. That means even if diesel costs more per gallon, the cost per mile can be lower if the vehicle’s mpg is sufficiently higher. For example, a diesel car at 35 mpg and $4.00/gal costs 11.4 cents per mile; a gasoline car at 28 mpg and $3.50/gal costs 12.5 cents per mile.

Why Diesel Prices Vary by Region and Over Time

Refinery capacity is a big reason. Diesel is produced from the same crude oil as gasoline, but refineries are often configured to maximize gasoline output. When diesel demand spikes (e.g., during harvest season or before winter), supply tightens and prices rise. Geopolitical events, like conflicts in oil-producing regions, also affect crude prices globally. In the U.S., the Northeast and West Coast tend to have higher prices due to supply logistics and stricter environmental rules. The Gulf Coast, with its dense refinery network, usually has the lowest prices.

Time of year matters too. Diesel used in cold climates gets a winter additive that slightly raises cost. Also, the transition to ultra-low sulfur diesel (ULSD) since 2006 added a few cents per gallon, which is now standard.

Safety and Practical Tips for Fueling

When handling diesel, avoid skin contact—prolonged exposure can cause irritation. Never mix diesel with gasoline in a vehicle not designed for it; misfueling can damage the engine. Store diesel in approved containers away from heat sources. For fleet owners, tracking fuel costs with this calculator helps identify when fuel economy drops, which might indicate maintenance issues like clogged filters or tire pressure problems.

Frequently Asked Questions

Why is diesel more expensive than gasoline? Diesel has higher refining costs in many regions, and global demand from shipping, farming, and trucking is strong. Taxes also differ; federal diesel tax is slightly higher than gasoline (24.3 vs 18.4 cents per gallon).

How much does it cost to fill a diesel truck? A typical pickup truck has a 25–35 gallon tank. At $4.00 per gallon, a 30-gallon tank costs $120. A semi-truck with a 100-gallon tank would cost $400.

What is the average mpg for a diesel vehicle? Modern diesel cars average 30–40 mpg, while diesel pickup trucks average 15–20 mpg. Heavy-duty trucks get 5–8 mpg depending on load.

Does using diesel cost less per mile than gasoline? Not always. You need to compare cost per mile: (price per gallon ÷ mpg). If diesel is $4.00 and you get 30 mpg, that’s 13.3 cents per mile. If gasoline is $3.50 and you get 25 mpg, that’s 14 cents per mile—so diesel can be cheaper per mile despite higher price.

Where can I find current diesel prices? The U.S. Energy Information Administration publishes weekly average prices by region. Many fuel price apps also show local station prices, but they may not update daily.

Why does my diesel cost more in winter? Winter diesel contains additives to prevent gelling, which adds a small cost. Also, demand for heating oil (similar to diesel) rises in cold months, pulling prices up.

This calculator gives an estimate based on the numbers you enter; your actual fuel cost will vary with real prices and driving conditions.

Related

Formula used
in p | Fuel price per gallon | $ | 3.90 | 0.01 | 20
in mpg | Vehicle fuel economy | mpg | 18 | 1 | 100
in miles | Miles driven per month | miles | 1200 | 0 | 100000
out cost | Monthly fuel cost | $ | (miles / mpg) * p | 2
out gal | Gallons used per month | gal | miles / mpg | 1

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard loan formula for this calculation, fixed rate and monthly compounding unless stated, rounded as each result states. Not financial advice; no lender, rate or product is recommended. See formulas and assumptions, the disclaimer or report an error.

More in this section

The whole Loan payments section →