Why is financial management within a TMS crucial for trucking companies?
12/12/25, 6:47 PM
What is Cost Per Mile in Trucking? Explained For Carriers

Two carriers run identical routes with identical trucks. One makes $40,000 profit per truck annually. The other loses $15,000. The difference? One knows their cost per mile down to the penny. The other guesses.
Cost per mile (CPM) is the single most important number in trucking. It tells you if you're making money or bleeding it on every load. Yet most carriers either don't track it accurately or calculate it wrong.
What Is Cost Per Mile in Trucking?
Cost per mile is exactly what it sounds like: how much it costs to operate your truck for one mile. This includes everything from fuel and maintenance to driver pay and insurance.
The formula is simple:
Total Operating Costs ÷ Total Miles Driven = Cost Per Mile
If your truck costs $150,000 to operate for the year and drives 100,000 miles, your cost per mile is $1.50. But here's where most carriers go wrong: they don't include all costs, or they calculate using the wrong mileage numbers.
Why Cost Per Mile Matters
You can't price loads correctly without knowing your CPM. If your cost per mile is $1.80 and you're accepting loads at $1.75, you're losing money on every mile you drive.
CPM tells you:
Which trucks are profitable and which are bleeding money
If you can afford to accept a load at the broker's offered rate
Where to cut costs without hurting operations
When it's time to replace aging equipment
Your actual profit margin on every lane
Without accurate CPM tracking, you're driving blind. The top metrics every trucking company should track all start with understanding your cost structure.
How to Calculate Cost Per Mile
Calculating CPM correctly means including every operating cost and using accurate mileage data. Here's the breakdown:
Step 1: Calculate Fixed Costs
Fixed costs happen whether your truck moves or sits idle. These include truck payments or lease costs, insurance premiums for liability and cargo coverage, permits and licenses like IFTA and IRP, and dispatcher or office staff salaries divided across your fleet. Add these up for your annual fixed costs.
Step 2: Calculate Variable Costs
Variable costs change based on miles driven. This covers your total annual fuel spend, maintenance and repairs including oil changes and PM services, driver wages and benefits, toll expenses, and tire replacements amortized over their expected life.
Step 3: Count All Miles
Use all miles driven, not just loaded miles. This includes loaded miles, empty miles to pickup or between loads, personal conveyance, and yard moves. Most carriers underestimate CPM because they only count loaded miles. Your truck burns fuel and wears down on empty miles too.
Step 4: Do the Math
(Fixed Costs + Variable Costs) ÷ Total Miles = Cost Per Mile
Here's a sample calculation to show how this works:
Fixed costs: $30,000 per year
Variable costs: $120,000 per year
Total miles: 100,000
CPM = $150,000 ÷ 100,000 = $1.50 per mile
Note: All numbers in this post are hypothetical examples for illustration purposes. Your actual costs will vary based on your operation, equipment, lanes, and market conditions.
What Makes Up Your Cost Per Mile?
Understanding where your money goes helps you spot opportunities to cut costs. Here's how CPM typically breaks down across major expense categories:
Cost Category | Typical % of CPM | Example Range |
Driver Pay | 35-40% | $0.63-0.72/mile |
Fuel | 24-28% | $0.42-0.50/mile |
Maintenance | 10-15% | $0.18-0.27/mile |
Truck Payment | 8-12% | $0.14-0.22/mile |
Insurance | 5-8% | $0.09-0.14/mile |
Dispatch/Office | 3-5% | $0.05-0.09/mile |
Tolls | 2-5% | $0.04-0.09/mile |
Tires | 2-4% | $0.04-0.07/mile |
Permits/Licenses | 1-2% | $0.02-0.04/mile |
These percentages give you a baseline to compare your costs against. If one category is significantly higher, that's where to focus your cost-cutting efforts.
The Biggest CPM Mistakes Carriers Make
Only counting loaded miles. If you drive 100,000 total miles but only 85,000 are loaded, calculating CPM based on loaded miles gives you a false picture. You're still paying for those 15,000 empty miles in fuel, wear, and driver time.
Forgetting hidden costs. Permits, truck washes, scale tickets, parking fees, PrePass subscriptions, and ELD monthly charges add up quickly. These small expenses can total $0.08-0.12 per mile but frequently get overlooked in calculations.
Using outdated fuel prices. Fuel prices change weekly. If you calculated CPM months ago using old fuel costs, your numbers are wrong and you're making decisions on bad data.
Not accounting for deadhead. Weekly reports should track your deadhead percentage. High deadhead kills your effective revenue per mile even when the loaded rate looks good on paper.
Ignoring seasonal variations. Your CPM in summer is different than winter. Fuel economy drops in cold weather and maintenance costs spike with winter conditions. Calculate quarterly instead of once per year to stay accurate.
CPM vs Revenue Per Mile: The Real Profit Picture
Knowing your CPM is only half the equation. You also need to track revenue per mile to understand actual profit.
Profit Per Mile = Revenue Per Mile - Cost Per Mile
Here's how deadhead dramatically changes profitability on the same load:
Scenario | Loaded Miles Only | With 200 Deadhead Miles |
Load Payment | $2,200 | $2,200 |
Total Miles | 1,000 | 1,200 |
Revenue Per Mile | $2.20 | $1.83 |
Cost Per Mile | $1.75 | $1.75 |
Profit Per Mile | $0.45 | $0.08 |
Total Profit | $450 | $96 |
Same load, same rate. But deadhead cuts your profit by 79%. This is why tracking profit per truck matters more than just looking at load revenue.
How to Lower Your Cost Per Mile
Once you know your CPM accurately, you can work to improve it. Focus on the biggest cost categories first for maximum impact.
Reduce fuel costs through better route planning that minimizes deadhead and avoids expensive toll roads. Managing speed for optimal fuel economy can improve MPG significantly. Regular maintenance keeps your engine running efficiently, and using the right fuel card for your specific lanes ensures you get the best available discounts.
Cut maintenance waste by switching to preventive maintenance that stops problems before they become expensive breakdowns. Track maintenance costs by truck to identify which units are eating up your budget. Replace aging equipment before repair costs spike out of control. Modern AI-powered fleet management systems can even predict when maintenance will be needed, helping you schedule repairs during downtime instead of dealing with emergency failures on the road.
Optimize driver utilization by minimizing idle time between loads, improving your load matching to reduce empty miles, and keeping drivers moving with pre-planned loads that eliminate wasted days.
Why Real-Time CPM Tracking Matters
Calculating CPM once per year doesn't help you make daily decisions about which loads to accept or reject. You need real-time visibility into which trucks are profitable and which are burning money.
Modern TMS platforms for carriers track CPM automatically by pulling data from fuel cards, maintenance records, driver settlements, and load details. This gives you accurate, up-to-date numbers without manual spreadsheet work.
With real-time CPM tracking, you can see profit per truck updated daily, compare CPM across your fleet to identify outliers, make instant decisions on whether to accept or reject loads based on actual profitability, spot cost spikes before they kill your margins, and track CPM by lane to identify your most profitable routes.
How Datatruck Tracks Cost Per Mile Automatically
Datatruck is a TMS for carriers that calculates CPM and profit per truck automatically by connecting your operational data with financial data.
Fuel costs sync directly from your fuel card integrations. Maintenance expenses tie to specific trucks and loads. Driver settlements calculate automatically from load data. Fixed costs like insurance, permits, and payments are allocated per truck. Total miles include both loaded and empty miles pulled from your ELD or telematics system.
The result is real-time CPM and profit visibility for every truck in your fleet. No spreadsheets. No manual calculations. Just accurate numbers you can trust when making decisions.
Ray Cargo scaled from 50 to 350+ trucks while maintaining clear visibility into profit per truck using Datatruck's financial analytics.
See it yourself. Book a 15-minute demo and we'll show you exactly how much each truck in your fleet is actually making.