Home › Calculators › Fuel Cost Calculator

Fuel Cost Calculator

Fuel is the largest single running cost of a truck, and the easiest to price before you roll. Enter the distance, your real MPG and the diesel price; add a second leg if part of the route runs at a different economy — mountains, city work, a heavy return.

Gallons = distance ÷ MPG · Cost = gallons × price per gallon
Use your measured MPG over recent tanks, not the dashboard's best day.
Preset is the EIA U.S. average on-highway diesel price for the week of November 23, 2026 — overwrite it with the price on your route.

Second leg (optional)

Results

–
Leg 1 fuel (gal)
–
Leg 2 fuel (gal)
–
Total fuel (gal)
–
Total fuel cost
Built locally in your browser from the current inputs and results — nothing is uploaded.

Formula

Each leg is costed on its own economy figure, then the legs are added:

Gallons per leg = leg distance (mi) ÷ leg MPG · Trip cost = total gallons × diesel price

How it works

Distance divided by miles per gallon is gallons; gallons times price is money. The only subtlety is that one MPG rarely describes a whole trip — a loaded climb and an empty descent are different trucks, fuel-wise — so the second leg exists to carry its own figure.

Notes that matter in practice

Worked example

A 1,000-mile one-way run at 6.5 MPG with diesel at $5.695/gal:

  1. Gallons: 1,000 ÷ 6.5 = 153.8 gal.
  2. Cost: 153.8 × 5.695 = $876.15.
  3. As a round trip, the same route doubles: 307.7 gal and $1,752.31.
  4. Per mile, that is 5.695 ÷ 6.5 = $0.876/mi — the same fuel line the cost per mile calculator builds from MPG and price, so the two pages agree by construction.

Frequently asked questions

How much fuel does a semi truck use per mile?

A loaded Class 8 truck typically burns about 0.14 to 0.18 gallons per mile — the mirror image of 5.5 to 7.0 MPG. At 6.5 MPG the figure is 0.154 gal/mi, which at $5.695 per gallon is $0.876 per mile in fuel alone.

Why is my real fuel cost higher than this calculator shows?

Three usual reasons: the MPG entered is a best-case figure rather than the receipts average; idling, reefer and deadhead fuel are burned outside the distance entered; and the price on your route runs above the national average preset. Correct the inputs in that order and the gap usually closes.

Should I cost a load on one-way or round-trip fuel?

Round-trip fuel, whenever the return is unpaid or underpaid — the truck burns it either way. If the return load is already booked, cost each direction against its own load instead.

Related calculators and guides

More calculators