Free truck fuel planning tool

Truck Fuel Cost Calculator

Estimate the diesel fuel your trip will use, what it will cost, and your fuel cost per total mile. Enter your own miles, MPG, and price per U.S. gallon. Completely free, private, and no signup required.

Free · No signup · Your numbers stay in this tab

Plan the fuel for your trip

Use miles, U.S. MPG, and USD per U.S. gallon. Include all the miles you intend to drive.

Whole miles for the complete trip, including deadhead and any return miles you want to budget. Count truck miles once, not once per car.

Miles per U.S. gallon for your truck and expected trip conditions, with up to two decimals. No MPG is assumed.

Your expected pump price, with up to three decimals. Enter an explicit 0 if appropriate. This is not a live price feed.

Fuel is one part of running a truck. Use the Trucking Cost Per Mile Calculator for your full operating costs.

Estimated trip fuel cost

Know your trip’s fuel budget.

See estimated gallons, total fuel cost, and fuel cost per mile.

Fuel cost = (total trip miles ÷ MPG) × price per gallon.
Enter your own MPG and fuel price, or try the clearly labeled example.

Driving-fuel planning estimate from your inputs, not a live pump price or complete operating cost. Actual MPG and fuel prices vary. Idling, reefer fuel, DEF, tolls, maintenance, pay, and other expenses are not added automatically. Estimated fuel consumed is not necessarily the amount you need to purchase.

The formulas

How to calculate truck fuel cost

Gallons consumed = total trip miles ÷ MPG
Trip fuel cost = (total trip miles ÷ MPG) × price per gallon

Fuel cost per total mile = price per gallon ÷ MPG. All inputs must use matching U.S. units. Include empty miles so the estimate covers the complete trip you are planning.

Each result rounds independently from the original inputs. The calculator does not multiply the rounded gallons shown on screen to obtain the cost. Results are planning estimates; actual consumption and pump prices can change.

A car-hauling truck at a diesel fuel pump beside a calculator, fuel receipt, and mileage log for planning trip fuel costs.
Start with the full trip distance, realistic fuel economy, and the price you expect to pay.

A worked example

Example: 1,000 miles uses 160 gallons and costs $640

These numbers are illustrative, not a typical truck MPG or current diesel price. Select Use example numbers, then Calculate fuel cost to try 1,000 total miles, 6.25 MPG, and $4.000 per U.S. gallon.

Estimated fuel consumed
1,000 ÷ 6.25 = 160.000 U.S. gallons
Estimated trip fuel cost
160 × $4.000 = $640.00
Fuel cost per total mile
$4.000 ÷ 6.25 = $0.6400 / mile

If that trip includes 800 loaded miles and 200 deadhead miles, enter 1,000 total miles. The displayed $0.6400 fuel cost applies to every truck mile, not just loaded miles, and does not include other operating expenses.

Use your own assumptions

Make the fuel estimate useful for your truck

Set the trip boundary

Include all loaded and empty legs you want to budget. Enter a round trip’s complete mileage yourself; the tool does not double your miles or calculate a route.

Choose representative MPG

Use your truck’s recent records and the conditions you expect. Measured MPG is miles driven divided by U.S. gallons consumed. A single average MPG is an assumption, not a prediction of every trip leg.

Keep fuel separate from profit

This is a fuel-only budget. For total operating costs, start with cost per mile. For a minimum load payment, use the break-even calculator and avoid adding fuel twice.

Reference: EIA Gasoline and Diesel Fuel Update publishes diesel-price information. This calculator does not fetch those prices or add a fuel surcharge. Last reviewed November 5, 2026.

Common questions

Truck fuel cost calculator FAQ

Is this truck fuel cost calculator completely free?

Yes. It is free without a TruckTA account, subscription, email address, phone number, or signup. Your mileage, MPG, price, and calculated results stay in this browser tab; the calculator does not send or save them.

How do I calculate diesel fuel cost for a truck trip?

Divide total trip miles by expected miles per U.S. gallon to estimate gallons consumed. Multiply that unrounded quantity by your entered USD price per U.S. gallon. Fuel cost per mile equals price per gallon divided by MPG.

Should I include deadhead and return miles?

Yes, if those miles are part of the trip you are budgeting. Total trip miles should include loaded, empty, repositioning, and return miles within the same trip boundary. Count each truck mile once, even when a car hauler carries several vehicles.

What MPG should I enter for a semi truck or car hauler?

Use a measured or expected MPG representative of your truck, trailer, load, route, speed, weather, and driving conditions. This calculator supplies no assumed truck MPG. If trip legs have substantially different fuel economy, calculate them separately rather than averaging the MPG values without accounting for fuel consumed.

Does the calculator use U.S. or Imperial gallons?

It uses U.S. gallons and miles per U.S. gallon only. Imperial MPG, liters per 100 kilometers, and kilometers must be converted before entering them. Mixing gallon definitions or distance units produces the wrong estimate.

Does TruckTA supply a live diesel price?

No. Enter the price you expect to pay, including any discount you intend to use. You can consult EIA diesel-price data as a reference, but a regional or national average may differ from your local pump or fleet price. The example price is illustrative, not a current market price.

Are estimated gallons the amount I need to buy?

Not necessarily. The result estimates fuel consumed while driving the entered miles. Fuel already in your tanks, desired reserve, tank capacity, and refueling stops are not included. It is not a range, tank-capacity, or fueling-stop planner.

Does this include idling, DEF, or all truck operating expenses?

No. The calculation models driving fuel using your entered MPG and diesel price. It does not add separate idling or reefer fuel, DEF, tolls, maintenance, insurance, driver pay, or other expenses. Use the Trucking Cost Per Mile Calculator for a broader operating-cost calculation, and include each cost only once.

Why can rounded gallons multiplied by price differ from the cost result?

Gallons display three decimals, trip fuel cost displays cents, and fuel cost per mile displays four decimal dollars. Each result rounds independently, half up, from its unrounded ratio. Multiplying displayed rounded figures can therefore produce a slightly different amount.