How to Calculate a Truck’s Cost per Kilometre
A guide to organising a truck’s fixed and variable costs, calculating its cost per kilometre from your own records, and comparing vehicles on a consistent basis.
Key points
Calculate a truck’s cost per kilometre by adding its fixed and variable costs over a period, then dividing by the kilometres driven in that same period. Use each vehicle’s actual records to compare options rather than relying on generic estimates.
The formula: period costs divided by kilometres driven
Calculate cost per kilometre by adding the truck’s fixed and variable costs over a period, then dividing that total by the kilometres driven during the same period. The calculation is simple; the key is to match costs and mileage to the same vehicle and dates.
Use the result to compare the operating costs of different trucks or track how costs change over time. It is not a transport rate: setting prices also requires taking your margin and the terms of each service into account.
Section references: Coste por km de un camión en 2026: cálculo y Observatorio ↗
- Cost per km = (fixed costs for the period + variable costs for the period) ÷ kilometres driven during that period.
Which costs to include
Classify costs consistently. Fixed costs are recorded over the period even if activity levels vary; variable costs are linked to how much the vehicle is used. The precise classification may depend on how your business keeps its accounts, so avoid counting the same cost twice.
| Category | Items |
|---|---|
| Fixed | Depreciation, finance, driver costs, insurance and taxes |
| Variable | Fuel, AdBlue, tyres, maintenance, repairs, allowances and tolls |
Section references: Cómo calcular el coste por kilómetro de tu flota de camiones ↗ · Coste por km de un camión en 2026: cálculo y Observatorio ↗
- Fixed costs: depreciation, finance, insurance, taxes and driver costs.
- Variable costs: fuel, AdBlue, tyres, maintenance, repairs, allowances and tolls.
- Include other items, such as washing, only if you record them consistently and they are attributable to the truck.
How to collect comparable data
Choose a consistent period, such as the month or year used in your accounts, and gather each vehicle’s mileage, fuel consumption and costs, and maintenance and repair history. Add the other relevant fixed and variable costs.
To compare models or decide whether to keep a truck, use the same period and accounting rules for each option. For used vehicles, maintenance and repair records help reflect costs actually incurred; do not replace those records with assumed service life or fuel consumption.
Section references: Cómo calcular el coste por kilómetro de tu flota de camiones ↗
- Check that mileage and costs cover exactly the same dates.
- Use a consistent method for depreciation and finance, and do not count items twice.
- Record costs by vehicle, rather than only as a fleet-wide total.
Apply the calculation to your fleet’s data
Use this structure with your own figures, not averages from other operations. When comparing options, calculate each over the same period and decide in advance which costs to include.
Section references: Coste por km de un camión en 2026: cálculo y Observatorio ↗
- Fixed costs for the period = depreciation + finance + driver costs + insurance + taxes.
- Variable costs for the period = fuel + AdBlue + tyres + maintenance and repairs + allowances + tolls.
- Cost per kilometre = (fixed costs for the period + variable costs for the period) ÷ kilometres driven.
How to use the result when comparing options
A cost per kilometre based on comparable records lets you compare vehicles and monitor changes in spending. When deciding whether to buy, replace or rent, look at the breakdown as well: two trucks can have similar total costs per kilometre for different reasons, and the details help identify which costs account for the difference.
Do not mix periods or calculation methods, and do not present projected fuel or maintenance costs as observed figures. For an external reference on road freight transport in Spain, consult the Road Freight Transport Cost Observatory from Spain’s Ministry of Transport and Sustainable Mobility. For a specific decision, compare it with the costs recorded in your own operation.
Section references: Observatorio de Costes del Transporte de Mercancías por Carretera ↗
What formula is used to calculate a truck’s cost per kilometre?
Add the fixed and variable costs for the period, then divide the total by the kilometres driven during that same period.
Which costs are usually included?
Fixed costs include depreciation, finance, driver costs, insurance and taxes. Variable costs include fuel, AdBlue, tyres, maintenance, repairs, allowances and tolls.
How do I compare two trucks?
Use the same period, actual kilometres driven and consistent rules for recording each cost. Keep the breakdown alongside the cost per kilometre to see what explains any differences.


