← Back to blog

Freight costs

How to calculate cost per km for a delivery van, urban truck, or semi-truck

Separate fixed and variable fleet costs step by step to calculate true cost per kilometer (CPK) and price delivery routes profitably.

By Time Genne

Pricing deliveries based only on fuel receipts quickly drains cash flow. To know whether a route is genuinely profitable, you need your true Cost per Kilometer (CPK) combining fixed and variable expenses.

1. Calculate monthly fixed costs

Fixed costs accrue even when a truck stays parked. Add your monthly totals:

  • Vehicle depreciation: annual value loss divided by 12.
  • Insurance and tracking: liability policies (such as RCTR-C, RC-DC, and RC-V in Brazil), hull coverage if used, and telematics fees.
  • Taxes and licensing: annual registration and vehicle taxes divided by 12.
  • Driver pay: wages plus payroll taxes or owner-operator draw.
  • Overhead: accounting, depot parking, and fixed tax dues.

Divide total monthly fixed costs by your average monthly kilometers driven to get fixed cost per km.

2. Calculate variable costs per km

Variable costs scale with mileage. Road-transport benchmarks from CNT and NTC&Logística show diesel typically accounts for 30% to 40% of direct operating costs, followed by tires (5% to 10%) and maintenance.

  • Fuel per km: divide fuel price per liter by real-world fuel economy (km/L). For example, BRL 6.80/L at 7.5 km/L equals BRL 0.91/km.
  • DEF / ARLA 32 (Euro 5/6): budget 3% to 5% of diesel volume (up to 7% in some Euro 6 urban duty cycles).
  • Tires per km: divide full tire set plus retreading cost by total expected lifespan in km.
  • Preventive and corrective maintenance: oil, filters, brakes, and scheduled overhaul reserves divided by interval mileage.

3. Combine both and include deadhead miles

Total CPK = Fixed Cost per km + Variable Cost per km

Multiply total route distance, including deadhead miles to pickup and return to depot, by Total CPK. Then add tolls (billed separately under VPO rules for third-party freight in Brazil), revenue taxes, and target profit margin.

How route optimization lowers CPK

Out-of-order stops burn extra variable cost while cutting deliveries per shift, inflating fixed cost per drop. Sequencing routes in Genne before departure removes wasted mileage and safeguards margin.

Sources

  • CNT and NTC&Logística road freight fixed and variable cost structure benchmarks

To apply this guide to your work, see how to plan delivery routes and explore the Genne delivery route planner.