Datatruck Raises $12M Series A to Accelerate AI-Native TMS for Carriers
12/12/25, 11:47 PM
Cost Per Mile (CPM) in Trucking: How to Calculate It

Most drivers know exactly what a load pays. Far fewer know what it costs them to run. That gap is how you haul all month and still lose money, and the number that closes it is your cost per mile, or CPM.
Key takeaways
|
What is cost per mile (CPM) in trucking?
Cost per mile (CPM) in trucking is the total cost to operate your truck for one mile, found by dividing your total expenses by your total miles over the same period. It is your break-even number: any rate below it loses money.
Put simply, if it costs you $2.00 a mile and a load pays $1.80, you lose 20 cents on every mile you run. To get the number right, count your total miles, including the empty deadhead miles you drive to reach a load, since those unpaid miles cost you whether you count them or not.
Cost per mile (CPM) formula
The CPM formula is simple:
Cost Per Mile = Total Expenses ÷ Total Miles
Total expenses means every dollar you spent in a period. Total miles means every mile you ran in that same period, loaded and empty.
How to calculate your cost per mile (without guessing)
Most operators price loads on a feeling. Here's the exact math for a solo owner-operator over one month.
Track total miles. Use your odometer or ELD, paid and empty. Example: 8,500 miles.
Add up fixed costs. Truck payment, insurance, permits, licenses. Turn yearly bills into monthly ones.
Add up variable costs. Fuel, maintenance, tires, tolls, factoring fees.
Add your own pay as its own line.
Divide. Total expenses ÷ total miles = CPM.
Expense Category | Type | Monthly Cost |
Truck payment | Fixed | $1,500 |
Insurance | Fixed | $900 |
Permits/licenses | Fixed | $200 |
Fuel | Variable | $5,000 |
Maintenance/tires | Variable | $800 |
Tolls/misc | Variable | $600 |
Owner/driver pay | Separate line | $4,000 |
Total | $13,000 |
CPM = $13,000 ÷ 8,500 miles = $1.53 per mile. That's break-even, before a dollar of profit. It sits below the $2.34 average because this is a solo driver with one financed truck and no office staff. Now this driver can say no to that $1.35 load with confidence.
Why a parked truck has the worst cost per mile
Your fixed costs only shrink per mile when the truck moves. Park it, and the payment, insurance, and permits keep billing while zero miles roll. Drive more loaded miles and that $2,600 in fixed cost spreads thinner, so your CPM drops.
Fixed costs stay the same whether you drive 1 mile or 20,000: truck and trailer payment, insurance, permits, licensing, software.
Variable costs rise and fall with miles: fuel, maintenance and repairs, tires, tolls, factoring fees.
Your own pay is neither. Give it its own line and always include it.
What the average cost per mile trucking data actually tells you (2026, sourced)
The American Transportation Research Institute (ATRI) 2026 report put the average at a record $2.336 per mile for 2025, up 3.4% from $2.26. That is roughly $6,535 more per truck a year. Use it as a reference, not a replacement for your own number.
Cost Category | Range (per mile) | Source Note |
Fuel | about $0.48 | ATRI 2026 report: fuel stable near $0.48 |
Driver pay | $0.48 to $0.83 | ATRI: wages up about 7.6% YoY |
Truck and trailer | about $0.40 | ATRI 2026: truck $0.28, trailer $0.12 |
Maintenance/repair | $0.09 to $0.40 | ATRI: up about 3.1% YoY |
Insurance | $0.06 to $0.18 | ATRI: up about 12.5% YoY |
All-in cost per mile | about $2.34 | ATRI 2026 report: 2025 data, record high |
How to use your number the minute you know it
|
Cost per mile vs rate per mile: what you can say yes to
Cost per mile is what you spend. Rate per mile, or RPM, is what you earn (total revenue ÷ total miles). A rate is what a broker offers; your CPM tells you whether you can afford to say yes. Your rate has to clear your CPM with room to spare, and that room shrinks fast when a broker is negotiating you down on the rate. Margin also changes with your trailer type.
Trailer Type | Rate/Mile | vs. ~$2.34 Cost Baseline |
Dry van | $2.00 to $2.80 | Thin margin at the low end |
Reefer | $2.30 to $3.20 | Pays more, but fuel and reefer upkeep eat in |
Flatbed | $2.50 to $3.50 | Pays more for strapping and tarping |
Specialized/heavy haul | $4.00+ | Permits, escorts, oversize premiums |
How to lower your cost per mile
You don't cut your cost per mile by squeezing one line item. You cut it by hauling fewer empty miles and keeping the truck productive.
Cut deadhead: line up backhauls so paid miles spread your fixed costs thinner. Routing software that plans return loads pays for itself here.
Lower fuel cost per mile: hold 56 to 62 mph, cut idling, keep tires inflated. Going from 6 to 6.5 MPG trims fuel burn about 8%, and fuel is your biggest variable cost.
Stay ahead of maintenance: planned service is far cheaper per mile than a roadside breakdown.
Why last month's cost per mile is already out of date
A once-a-month spreadsheet is stale by the time you finish it. Fuel prices, repair bills, and how much you run shift week to week, so the CPM you priced loads against on the 1st may be wrong by the 15th. If your number is wrong, your "no" button is broken. Datatruck is an AI-native TMS that turns CPM into a live number by pulling your operating data automatically, so your break-even rate updates in real time and your dispatch decisions reflect what a load truly costs. See how Datatruck tracks the financial metrics that decide whether you make money.
Frequently Asked Questions
What is CPM in trucking?
CPM means cost per mile: total cost to run your truck divided by total miles driven in the same period. It's your break-even line, because any rate below it loses money.
What is a good cost per mile for a trucking company?
It depends on your truck and lanes, but many solo owner-operators run around $1.50 to $1.80 all-in, while the industry average (ATRI) sits near $2.34. What matters is that your rate consistently clears your CPM with room to spare.
How do you calculate cost per mile for a semi-truck?
Add up all fixed and variable expenses for a period, include your own pay as its own line, then divide by total miles driven (including empty deadhead miles). Total Expenses ÷ Total Miles = Cost Per Mile.
What's included in fixed costs vs. variable costs per mile?
Fixed costs don't change with miles: truck and trailer payment, insurance, permits, licensing, software. Variable costs rise with miles: fuel, maintenance and repairs, tires, tolls, factoring fees. Your own pay is a separate line you should always include.