How to Calculate Cost Per Mile
Your CPM determines every business decision — from which loads to accept to whether you're actually profitable. Here's the step-by-step formula to calculate your true operating cost.
O Trucking Editorial Team
Trucking Industry Experts
Fact-Checked by O Trucking Dispatch Team
5+ years analyzing carrier operating costs
Sources:
This article was written by the O Trucking editorial team with 9+ years of combined trucking industry experience. Learn more about us.
How to Calculate Cost Per Mile: Step-by-Step Trucking Formula
The Cost Per Mile Formula
The Formula
CPM = Total Monthly Expenses ÷ Total Monthly Miles
Cost per mile (CPM) is the single most important number in your trucking business. It tells you the minimum rate per mile you need to break even. Every load decision, every lane choice, every negotiation should start with your CPM.
The formula itself is simple — the hard part is making sure you include every expense. Most owner operators underestimate their CPM because they leave out costs that don't show up as monthly bills.
Use ALL Miles
Always use total miles driven as your divisor — loaded miles plus deadhead miles plus personal miles. If you only divide by loaded miles, your CPM looks lower than reality and you'll accept loads that actually lose money.
Best Timeframe
Monthly is the best timeframe for CPM calculation. Weekly is too volatile (one breakdown skews everything). Quarterly smooths out seasonal variation but may hide problems. Calculate monthly, then review a 3-month rolling average for the most reliable number.
Calculate Fixed Costs
Fixed costs stay roughly the same every month regardless of how many miles you drive. You pay these whether you run 5,000 miles or 12,000 miles. That's what makes them dangerous — they eat into profitability during slow months.
| Expense | Range / Month | Our Example |
|---|---|---|
| Truck payment | $1,500 – $2,500 | $2,000 |
| Insurance (liability + cargo + physical damage) | $800 – $1,800 | $1,200 |
| Permits & plates (amortized) | $200 – $400 | $300 |
| Health insurance | $400 – $1,200 | $600 |
| Phone & ELD subscription | $50 – $150 | $100 |
| Total Fixed Costs | $2,950 – $6,050 | $4,200 |
Reduce Fixed Costs
The biggest fixed cost lever is your truck payment. Buying a reliable used truck at $40,000–$60,000 instead of a $180,000 new truck can cut your payment from $2,500/month to $800/month — saving $0.21/mi at 8,000 miles. Just make sure maintenance reserves are higher for older equipment.
Calculate Variable Costs
Variable costs change based on how many miles you drive. Fuel is the biggest one — typically 30–40% of total operating cost. These are easier to estimate per-mile, then multiply by your monthly mileage.
| Expense | Range / Mile | Example / Mile | Monthly (8,000 mi) |
|---|---|---|---|
| Fuel | $0.50 – $0.65 | $0.58 | $4,640 |
| Maintenance & repairs | $0.10 – $0.20 | $0.15 | $1,200 |
| Tires (amortized) | $0.03 – $0.05 | $0.04 | $320 |
| Tolls | $0.02 – $0.08 | $0.04 | $320 |
| Truck wash | $50–$100/mo | $0.01 | $75 |
| Total Variable Costs | $0.82/mi | $6,555 |
Fuel is King
At $3.50/gallon diesel and 6.5 MPG, fuel costs $0.54/mile. Improving MPG from 6.5 to 7.0 saves $0.04/mile — that's $320/month at 8,000 miles, or $3,840/year. Speed, idle time, and tire pressure are your biggest MPG levers.
Maintenance Adds Up
ATRI data shows maintenance averages $0.17/mile across the industry. Preventive maintenance costs less than breakdowns. Budget $0.15/mi minimum and increase to $0.20/mi for trucks over 500,000 miles.
Add Owner-Specific Costs
These are the costs that come with running a business, not just driving a truck. Many owner operators forget these, which is why their CPM calculation comes up short.
Dispatch fee (5-10% of revenue)
$600
/month
Factoring fee (2-5% of invoices)
$400
/month
Accounting / bookkeeping
$200
/month
Savings / emergency fund
$750
/month
Total Owner-Specific Costs
$1,950
/month
Don't Forget Taxes
Set aside 25–30% of your profit (revenue minus expenses) for self-employment and income taxes. This isn't part of your CPM calculation directly, but if you don't reserve for it, you'll be hit with a large quarterly tax bill. Many owner operators treat tax reserves as an expense line to ensure they never come up short.
Total It Up and Divide
Now add all three categories together and divide by your total monthly miles. Here's our example with 8,000 miles per month:
Your Cost Per Mile
This means you need to earn at least $1.59 per mile on total miles just to break even.
Paid-Off Truck Comparison
Same expenses minus the $2,000/month truck payment: $10,705 ÷ 8,000 = $1.34/mi. That's a $0.25/mi advantage. But remember: you should still set aside $500–$1,000/month as depreciation reserve for your next truck.
Complete CPM Worksheet
Use this worksheet to calculate your own cost per mile. Fill in your actual monthly expenses, then divide by your total monthly miles.
| Expense Category | Monthly Cost | Per Mile (8,000 mi) | Your Cost |
|---|---|---|---|
| Truck payment | $2,000 | $0.25 | $____ |
| Insurance | $1,200 | $0.15 | $____ |
| Permits & plates | $300 | $0.04 | $____ |
| Health insurance | $600 | $0.08 | $____ |
| Phone & ELD | $100 | $0.01 | $____ |
| Fuel | $4,640 | $0.58 | $____ |
| Maintenance | $1,200 | $0.15 | $____ |
| Tires | $320 | $0.04 | $____ |
| Tolls | $320 | $0.04 | $____ |
| Truck wash | $75 | $0.01 | $____ |
| Dispatch fee | $600 | $0.08 | $____ |
| Factoring fee | $400 | $0.05 | $____ |
| Accounting | $200 | $0.03 | $____ |
| Savings fund | $750 | $0.09 | $____ |
| TOTAL | $12,705 | $1.59 | $____ |
Print This Worksheet
Print this page or copy it into a spreadsheet. Update it every month. Over 3–6 months you'll have a clear picture of your true CPM and where your money goes. Carriers who track CPM consistently earn 15–20% more than those who guess.
Common Mistakes in CPM Calculation
These four mistakes cause most owner operators to underestimate their true cost per mile — and unknowingly run loads at a loss.
Using loaded miles only
Why it's dangerous: If you drove 10,000 total miles but only 8,000 were loaded, dividing by 8,000 makes your CPM look lower than it really is. You still burn fuel on deadhead miles.
Fix: Always divide by total miles driven, including empty and deadhead miles.
Forgetting depreciation on paid-off trucks
Why it's dangerous: A paid-off truck still loses value and will eventually need replacement. If you ignore this, your CPM looks artificially low and you won't have capital for your next truck.
Fix: Set aside $500-1,000/month as depreciation reserve, even with no truck payment.
Not including driver pay for yourself
Why it's dangerous: As an owner operator, you are both the business and the driver. If you don't account for your own labor cost, you can't accurately compare your CPM to company driver costs.
Fix: Decide on a reasonable driver wage ($0.50-0.70/mi) and include it, or calculate your profit margin separately.
Ignoring seasonal cost variations
Why it's dangerous: Winter means higher fuel costs, lower MPG, and potentially fewer miles. Summer can mean better MPG but higher maintenance costs. A single-month snapshot can be misleading.
Fix: Calculate monthly CPM, then average over 3-6 months for a reliable baseline.
The Biggest Mistake of All
Not calculating CPM at all. According to ATRI, carriers who track their operating costs make better load decisions, negotiate higher rates, and stay in business longer. If you don't know your CPM, you're flying blind.
How Dispatchers Use CPM
As a dispatch service that books loads daily, cost per mile is the foundation of every decision we make for our carriers. Here's how we use it:
We calculate minimum rate before booking
Before confirming any load, we check the carrier's CPM and ensure the rate per total mile (including deadhead to pickup) exceeds their break-even point plus profit margin. If a load pays $2.20/mi loaded but requires 150 miles of deadhead, we recalculate the effective rate on total miles before booking.
We factor deadhead into every load decision
A 500-mile load at $2.80/mi looks great. But if the carrier is 200 miles from pickup, the effective rate drops to $2.00/mi on 700 total miles. We calculate the all-in rate on every load and compare it to the carrier's CPM before recommending it.
We help carriers track and reduce CPM
We work with our carriers to identify where their costs are highest and find ways to reduce CPM — whether that's optimizing lanes to reduce deadhead, recommending fuel card programs, or suggesting maintenance schedules. Even a $0.05/mi CPM reduction on 100,000 annual miles saves $5,000/year.
Learn more about CPM and related terms in our cost per mile glossary entry.
Cost Per Mile Guide Collection
Owner Operator Costs
Full breakdown of what it costs to run your own truck in 2026
Fuel Surcharge Explained
How FSC works and how it affects your per-mile revenue
Rate Negotiation
Use your CPM to negotiate rates that guarantee profitability
CPM Glossary
Quick reference definition and formula for cost per mile
Try Our Free Cost Per Mile Calculator
Calculate your true cost per mile including all expenses
Open Cost Per Mile CalculatorCost Per Mile FAQ
Common questions about calculating and using cost per mile in your trucking business.
What expenses should I include in cost per mile?
Everything: fuel, insurance, truck payment, maintenance, tires, permits, ELD, phone, health insurance, taxes, factoring, dispatch, accounting. If the expense exists because you operate a truck, it belongs in your CPM calculation. Leaving out even one category gives you a false picture of profitability.
How do I account for deadhead in CPM?
Use total miles (loaded + empty) as your divisor. This gives your true CPM. If you only use loaded miles, you underestimate your real cost. For example, if you drove 10,000 total miles but 2,000 were empty, divide your total expenses by 10,000 — not 8,000. Your revenue per mile may be higher on loaded miles, but your cost per mile must reflect all miles.
Should I include depreciation in CPM?
Yes, even on paid-off trucks. Set aside depreciation for replacement. Without it, your CPM looks artificially low and you won't have the capital to buy your next truck when the current one wears out. A good rule: set aside $500-1,000/month as a truck replacement fund.
How do variable months affect CPM?
Calculate monthly, then average over 3 months for a reliable CPM. Winter months may have higher fuel costs and lower miles due to weather delays. Summer typically brings better MPG but higher maintenance needs. A rolling 3-month average smooths out these variations and gives you a more accurate baseline.
What CPM should I use for load acceptance decisions?
Your actual CPM plus desired profit margin. If your CPM is $1.50 and you want 20% profit, your minimum rate is $1.80/mi on total miles. For individual loads, factor in deadhead to the pickup: if the load pays $2.50/mi loaded but you deadhead 100 miles to get it, recalculate using total miles for that trip.
We Calculate Before We Book
Our dispatch team evaluates every load against your cost per mile to ensure profitability. No guessing, no loads that lose money.