What is a truck trip cost calculator?
A truck trip cost calculator adds up every cost a single trip causes and divides it by the distance driven. You enter loaded and empty kilometers, fuel consumption and price, driver hours, maintenance per kilometer, tolls and the truck's fixed cost for the days it is tied up. You get the trip cost, the truck operating cost per km and the cost per loaded kilometer, which is the figure you have to recover from the customer.
The same tool answers the questions that come straight after. Is waiting time at customer sites eating your margin? What does each stop on a delivery route cost? What rate breaks even, and what rate hits your target margin? Is a backhaul worth taking? How much should the rate move when diesel moves? Each question has its own tab that shares the trip figures, so you enter them once.
Why calculate cost per trip, not just cost per month?
Monthly budgets hide the trips that lose money. A trip-level view shows:
- Which rates cover their cost. A rate per kilometer that looks fine on loaded distance can fail once positioning and the empty return are counted.
- Where time goes. Hours spent waiting to load are paid hours with no kilometers, and they rarely appear in a fuel report.
- What empty kilometers cost. Empty running burns fuel and wears the truck without earning anything, so it belongs in the price.
- How exposed contracts are to fuel. Fuel is often the largest variable cost, so a price change moves every trip's margin at once.
What data do you need to calculate trip cost?
| Input | Where to find it | Tip |
|---|---|---|
| Loaded and empty distance | Trip sheets, route planner or tracking reports | Include positioning to the pickup, not only the delivered leg. |
| Fuel consumption and price | Fuel card liters ÷ distance; pump or contract price | Use the figure for this truck type, not the whole-fleet average. |
| Driver hours and cost per hour | Timesheets, payroll | Include allowances and employer costs, and count waiting time. |
| Maintenance and tires per km | Workshop invoices ÷ distance over a year | A full year smooths out large one-off repairs. |
| Fixed cost per day | Lease or depreciation, insurance, licenses ÷ working days | This is the cost of having the truck, whether it moves or not. |
How to calculate truck trip cost and cost per km
Internally the calculator works in kilometers and liters. Miles, gallons and mpg are converted on entry and back for display.
Trip cost and truck operating cost per km
Variable cost is the trip cost without the fixed share. It is what matters for short-term decisions, such as whether to accept a backhaul, because the fixed cost is paid either way.
Truck detention cost
Last-mile cost per stop
Trip break-even rate and rate for a target margin
Margin here is a share of the price. A 15% margin needs a rate of cost ÷ 0.85, which is a mark-up of about 17.6% on cost.
Empty miles and backhaul rate
The empty return is driven anyway, so only the extra cost of the backhaul counts against the offer.
Fuel surcharge
Worked example: cost of a 600 km trip
A truck drives 450 km loaded and 150 km empty at 32 L/100 km, with diesel at 1.10 per liter. The driver works 12 hours (9 driving, 3 loading and waiting) at 28 per hour. Maintenance and tires cost 0.12 per km, fees are 40, the truck's fixed cost is 220 per day and other costs are 30.
- Fuel: 600 km × 32 ÷ 100 = 192 L × 1.10 = 211.20
- Driver: 12 × 28 = 336; maintenance: 600 × 0.12 = 72
- Trip cost: 211.20 + 336 + 72 + 40 + 220 + 30 = 909.20
- Cost per km: 909.20 ÷ 600 = 1.52; per loaded km: 909.20 ÷ 450 = 2.02
- Rate for a 15% margin: 909.20 ÷ 0.85 = 1,069.65
- A backhaul with 40 km detour and 2.5 extra hours costs 40 × 0.472 + 2.5 × 28 = 88.88 more than returning empty, so any offer above that adds contribution.
How to read your results and use them in pricing
- Cost per loaded km is the floor for a rate per km. Quoting on cost per total km undercharges whenever there are empty kilometers.
- The cost breakdown shows what to work on. A large driver share points to waiting and planning; a large fuel share points to consumption and routes.
- Empty share above about a quarter of the distance is a signal to review backhaul options and route design.
- Detention by site tells you which customer conversations to have first, and how much an agreed detention charge would recover.
- Contribution on a quote below break-even is not automatically a loss: if it is positive, the trip still pays part of the fixed cost. It is a short-term argument, not a pricing policy.
Common mistakes when costing a truck trip
- Forgetting empty kilometers. Positioning and empty returns are part of the trip's cost even if the customer never sees them.
- Counting only driving hours. Loading, unloading and waiting are paid hours too.
- Leaving out fixed costs. A rate that covers fuel and the driver but not the truck itself loses money over the year.
- Confusing margin and mark-up. A 15% mark-up on cost gives a margin of only about 13% of the price.
- Treating every backhaul as profit. Detours and extra waiting can cost more than the offer, and acceptance also depends on the contract, timing and capacity.
- Copying a fuel surcharge formula from elsewhere. Base price, band and share passed on are contract terms to agree, not constants.
Assumptions and limits
Results are estimates based on the values entered. The calculator assumes a constant consumption and price for the trip, does not model load weight, terrain or traffic, and does not check route legality, driving time rules or road restrictions. Fuel surcharge results are a discussion aid, not a contract clause or an official tariff, and backhaul results do not replace a check of the contract, timing and capacity. Validate inputs against your own records before quoting.