← All calculators Fuel

Truck fuel cost calculator

What a trip will cost in diesel before you take it: loaded and empty miles, idling, your real MPG and today's price.

mi
mi
mpg
$/gal
h
gal/h
$
Gallons, driving + idling—
Fuel cost for the trip—
of which idling—
of which empty miles—
Fuel cost per total mile—
Fuel cost per loaded mile—
Fuel as a share of the rate—
If diesel goes up $0.50—

Starts at $6.28 diesel, the U.S. average on 19 October 2026 (EIA). Use the price you actually pay. To see what is left after every cost, run the load in the load calculator.

Want a specific load checked? I run it against your real costs and send a one-page answer: take it, counter or pass.

$49 Load Check →

How the truck fuel cost calculator works

Formula & FAQ +

This truck fuel cost calculator works in gallons first: miles divided by MPG, plus the fuel burned idling. Multiplying by the diesel price gives the trip's fuel bill. Keeping gallons and price apart shows whether a higher bill comes from the market or from the truck.

Empty miles burn the same fuel as loaded ones, so they are counted. The cost per loaded mile is the number to compare with a broker's rate per mile, because empty miles are paid for out of the loaded ones.

gallons = (loaded + empty miles) ÷ MPG + idle hours × idle burn
fuel cost = gallons × diesel price
fuel per loaded mile = fuel cost ÷ loaded miles

What MPG should I use?

Your real average from fuel receipts or the ELD over a few weeks, not the spec sheet. Many loaded semis run between 6 and 7.5 MPG.

Does the fuel surcharge cover this?

Usually only part of it. Compare the result with the fuel surcharge calculator.

Want the arithmetic behind it?

Each calculator has a guide with the formula, the assumptions and the sources.