Free tools
Fuel Cost Calculator
Enter the trip's miles, your truck's MPG and the price you pay per gallon to see the gallons, the fuel cost and the fuel cost per mile. It uses your price: it has none of its own.
No login, no account and no card. Everything runs in your browser, and nothing you type is sent to us. A link you choose to copy from a calculator holds its numbers; the invoice generator and the IFTA calculator have no link.
Fuel Cost Calculator: enter your numbers
Every field is optional: leave blank what does not apply. Nothing you type is sent anywhere, and the page address does not change as you type. Leaving or reloading the page clears the form.
Copy link puts a link on your clipboard that holds the numbers on this page, and nothing else. Whoever opens it, and this site's server when it is opened, will see those numbers.
Trip miles
Count the empty miles as well: the truck burns fuel on them too.
Miles driven empty, such as to the pickup.
Fuel
Use the price you actually pay at the pump, after any discount, and the MPG your truck really gets.
From 1 to 100. A loaded tractor-trailer is usually in single digits.
Result
Enter the trip miles, your MPG and the fuel price, or press Load example to see how it works.
This calculator is educational. It estimates fuel from the miles, MPG and price you enter; the fuel a trip really burns depends on the truck, the load, the road and the weather.
How it works
How to calculate fuel cost for a trip
The fuel a trip burns is its miles divided by the truck's miles per gallon. The fuel cost is those gallons multiplied by the price you pay per gallon. Three numbers in, one out: miles, MPG and price.
- Add the loaded miles and the empty miles: the truck burns fuel on both.
- Divide the total by your MPG to get the gallons.
- Multiply the gallons by the price per gallon you pay.
- Divide the price per gallon by the MPG to get the fuel cost of a single mile.
Which MPG to use
Use the figure your truck really gets, not the one on a brochure. The dependable way to find it is from your own records: miles driven over a few weeks divided by the gallons bought in the same weeks. One tank is too short a sample, because how full you filled it changes the answer.
MPG is not one fixed number. It falls with weight, speed, headwinds, hills, idling and cold weather, and it differs between a loaded and an empty truck. If a trip is unusual, a heavy load over mountains for instance, a slightly lower MPG than your average gives a safer estimate.
Which fuel price to use
Enter the price you expect to pay at the pump on this trip, after any fleet or fuel card discount. Prices differ from state to state and from one truck stop to the next, so an average of where you plan to fuel is closer than any single posted price. This calculator does not look up or suggest a price: it uses only the one you type.
The result shows what ten cents on a gallon does to this trip. It is a quick way to see how much a move in the pump price, or a discount, is worth over the miles you are about to drive. What a customer pays you when the price rises is a separate figure: the fuel surcharge calculator works that out. For a receipt in liters, the trucking unit converter gives the gallons.
Fuel cost per mile
Fuel cost per mile is the price per gallon divided by MPG. It does not depend on the length of the trip, which makes it the handy form of the number: multiply it by any mileage to estimate that trip's fuel.
Fuel is one of the largest costs of running a truck, but it is only one of them. To put it together with payments, insurance, driver pay and maintenance, use the cost per mile calculator.
Fuel burned on empty miles
Deadhead miles earn nothing and still burn fuel. When you enter empty miles, the calculator shows how much of the fuel bill they account for, so you can see what the drive to the pickup costs before you accept a load.
For the whole cost of the empty miles, and what they do to the rate per mile, see the deadhead cost calculator. To set fuel and every other cost of one load against what it pays, use the load profit calculator.
Example: fuel for one trip
A trip worked through
A truck that gets 6.50 MPG drives 950 loaded miles and 100 empty miles, with fuel at $3.850 a gallon. The price is an example, not a current price.
You enter
- Loaded miles
- 950
- Deadhead miles
- 100
- Truck MPG
- 6.50
- Fuel price per gallon
- $3.850
It works out
- Total miles
- 1,050
- Gallons
- 161.5
- Fuel cost for the trip
- $621.92
- Fuel cost per mile
- $0.592
- Fuel for empty miles
- $59.23
- Each 10 cents per gallon
- $16.15
This trip burns about 161.5 gallons over 1,050 miles, which costs approximately $621.92 at the price you entered. That is $0.592 of fuel for every mile, loaded or empty. $59.23 of it is burned on the 100 empty miles. Every ten cents on the price of a gallon moves this trip's fuel bill by $16.15.
Frequently asked questions
How do I calculate fuel cost for a truck trip?
Divide the trip's total miles by your truck's miles per gallon to get the gallons, then multiply the gallons by the price you pay per gallon. Count the empty miles as well as the loaded ones.
What MPG should I enter for a semi truck?
Enter your own truck's figure, worked out from miles driven and gallons bought over a few weeks. It varies with the engine, the load, the speed and the terrain, so your own records are a better guide than a typical figure.
Does the calculator know current diesel prices?
No. It has no fuel prices of its own and looks none up. You enter the price you pay or expect to pay, which is also the only way to account for your own discounts and the places you actually fuel.
Should I include deadhead miles in fuel cost?
Yes. The truck burns fuel whether or not it is loaded, so the empty miles to a pickup or back home belong in the trip. Enter them separately and the result shows how much of the fuel bill they are.
Does this include DEF, idling or reefer fuel?
No. It estimates the fuel burned driving the miles you enter. Diesel exhaust fluid, fuel burned idling and fuel for a refrigeration unit are not in the figure, so add them to your own budget if they apply.
Is anything I type saved or sent?
No. The calculation runs in your browser. Nothing you type is sent to CargoRoute or anyone else, and nothing is saved on our side or in your browser's storage. The page address does not change as you type. If you press Copy link, the link you copy contains your numbers: whoever you give it to, and this website when they open it, will receive them in the address, as with any link, and a browser may keep a link it has opened in its history. A page opened from such a link clears the numbers from its own address at once. Press Reset to clear the form.
Related trucking calculators
- Deadhead Cost CalculatorSee what empty miles cost in fuel and other expenses, and what they do to your rate.
- Fuel Surcharge CalculatorCalculate a fuel surcharge per mile and per load from the fuel price, base price and MPG.
- Load Profit CalculatorCalculate profit, rate per mile and break-even rate for a single load.
- Cost Per Mile CalculatorCalculate your trucking cost per mile and break-even rate from the costs you enter.
Tracking fuel stop by stop?
CargoRoute puts every fuel stop on the right truck, driver and load, with the gallons and the state, so what was spent on fuel sits beside what the load paid instead of in a folder of receipts.
CargoRoute is currently available by invitation while we onboard our first carriers.