Published
How to Calculate Cost Per Mile for Your Trucks
A step-by-step way to calculate cost per mile for a truck or a small fleet: fixed and variable costs, deadhead, a worked example and how to use the number.
Cost per mile is the number that tells you whether a load makes money. Without it, a rate is just "good" or "bad" by feel, and a busy month can still end with less in the bank than it started. The calculation is not complicated. What takes discipline is collecting every cost and updating the figure regularly. Here is how to do it for one truck or a small fleet.
The formula
Cost per mile = total costs for a period divided by total miles driven in the same period. Total miles means all miles, loaded and empty. A month is a convenient period for variable costs; for costs that arrive once a year, take the annual amount and divide by twelve.
Step 1. List fixed costs
Fixed costs are owed whether the truck moves or not:
- Truck and trailer payments or lease
- Insurance
- Permits, registrations and other annual fees, divided by twelve
- ELD, load board, software and phone subscriptions
- Parking
- Office costs, accounting and other overhead
- Salaries that do not depend on miles, including the owner's own pay
The last line is the one most often left out. If you drive or manage the business yourself, include what you need to be paid. Otherwise your cost per mile describes a business that works only while you work for free.
Step 2. List variable costs
Variable costs grow with every mile:
- Fuel and diesel exhaust fluid
- Driver pay per mile or as a percentage of the load, with the related payroll costs
- Maintenance and repairs
- Tires
- Tolls and scales
- Fees that depend on revenue, such as factoring or dispatch fees
Repairs and tires do not arrive evenly. A truck can run three quiet months and then need a large repair. Instead of letting one month look terrible, set aside a fixed amount per mile for maintenance and tires based on what you actually spent over the past year, and review it every few months.
Step 3. Count all miles
Take the miles from the odometer or from your ELD or GPS provider's report, not from paid miles on rate confirmations. The difference between the two is your empty mileage, and you pay for it just the same.
A worked example
The figures below are invented to show the arithmetic and are not typical costs. One truck, one month:
- Fixed costs for the month: 6,000
- Variable costs for the month: 9,000
- Total miles: 10,000, of which 8,500 loaded and 1,500 empty
- Fixed cost per mile: 6,000 / 10,000 = 0.60
- Variable cost per mile: 9,000 / 10,000 = 0.90
- Total cost per mile: 1.50
From cost per mile to a break-even rate
Brokers pay for loaded miles, so the rate you compare against must cover the empty ones too. Divide total costs by loaded miles: 15,000 / 8,500 = 1.76 per loaded mile in this example. A load paying less than that per loaded mile loses money on average, even though it is above the 1.50 total cost per mile.
For a specific load, do the same with its own numbers: add the deadhead to the pickup to the loaded miles, multiply by your cost per mile, add costs specific to the trip such as tolls, and compare with the total the load pays, not with the rate per mile on the confirmation.
Fixed costs depend on how much you run
Variable cost per mile stays roughly the same whether the truck runs 6,000 or 12,000 miles in a month. Fixed cost per mile does not: in the example, 6,000 of fixed costs spread over 6,000 miles is 1.00 per mile, and over 12,000 miles it is 0.50. That is why a week in the shop is so expensive and why a cheap load can sometimes be worth taking on the way home: it does not cover full cost, but it covers its variable cost and pays part of the fixed costs that you owe anyway. Use that reasoning for the occasional backhaul, not as a habit. A truck that only runs loads below full cost loses money.
Per truck, not only per fleet
A fleet average hides the truck that is costing you money. Calculate the number per unit at least quarterly. An older truck may have no payment but high repairs; a new one the opposite. Fuel economy differs between drivers and lanes. Per-truck figures show which unit should be sold, which lanes do not work and where a conversation about driving habits is worth having.
Common mistakes
- Dividing by loaded miles in one place and total miles in another. Decide which figure you mean and label it.
- Leaving out annual costs because they were not paid this month.
- Leaving out the owner's pay.
- Using last year's fuel price. Recalculate monthly.
- Treating a fuel surcharge as extra profit. It is revenue meant to offset fuel, so count it as revenue and count fuel in full as a cost.
- Confusing cash payments with accounting cost. Loan principal, depreciation and tax deductions follow their own rules; for those, consult your accountant.
Keeping the number current
A cost per mile calculated once a year is out of date within weeks. The inputs already exist in digital form: fuel card transactions, miles from the ELD or GPS provider, bank and accounting records, repair invoices. A monthly routine is enough:
- Export fuel and expense transactions and assign each to a truck.
- Take total and loaded miles per truck for the month.
- Update the fixed cost table if anything changed.
- Calculate cost per mile and break-even rate per truck and for the fleet.
- Give dispatch the current break-even figure so that it is in front of them when they book.
If you would rather not rebuild this spreadsheet every month, this is something we automate for trucking companies: expenses and mileage from your existing providers are collected into a per-truck cost report that updates on its own. Get in touch through the contact form and tell us what data you have today.