Free trucking tool
Trucking cost per mile calculator
Find your real operating cost per mile, see how much is fixed and how much is variable, and get the rate per mile you need to hit your target profit margin.
Fixed costs
IRP plates, UCR, highway use tax, authority fees.
Accounting, phone, load board, bank fees.
All miles, loaded and empty.
Variable costs (per mile)
Scales, washouts, DEF, small supplies.
Your target
Margin is profit divided by revenue. It is your goal, not a market benchmark.
Optional. Shows profit per mile and per year at that rate.
Result
Your cost per mile
$1.80
$0.415 fixed + $1.385 variable, on 100,000 miles a year
Break-even RPM
$1.80
every mile, loaded and empty
RPM for 15% margin
$2.12
$0.32/mi profit
Fixed share
23%
$3,460.00 a month
Variable share
77%
$1.385 per mile
At $2.30 per mile
$0.50/mi · $49,980 a year
Above your break-even. Margin 21.7%.
Where each mile's cost goes
- All fixed costs$0.415/mi
- Fuel$0.600/mi
- Maintenance & repairs$0.150/mi
- Tires$0.045/mi
- Driver pay$0.550/mi
- Tolls$0.020/mi
- Other variable$0.020/mi
Cost per mile by line
Monthly cost
$15,002
8,333 mi a month
Yearly cost
$180,020
Inputs stay in your browser. Prefilled values are examples. Use your own statements: insurance, truck payment and maintenance vary a lot between fleets.
How cost per mile is calculated
Cost per mile (CPM) is the cheapest rate you can accept for a mile of driving without losing money. It has two parts. Fixed costs do not change with how far you drive in a month: truck and trailer payments, insurance, permits and licences, parking, your ELD and software. Variable costs rise with every mile: fuel, maintenance, tires, driver pay and tolls. Fixed costs are spread across your yearly miles, so driving more miles lowers the fixed part of each mile.
The last line is what makes the result actionable. If you want to keep 15 cents of every dollar of revenue, the rate you need is not CPM plus 15%. It is CPM divided by 0.85, because the margin is measured against revenue.
Worked example
The calculator opens with these example numbers. They are not averages, so swap in your own.
Fixed versus variable: why the split matters
The split tells you what is safe to do when freight is slow. With a high fixed share, parking the truck saves very little, so a low-paying load that covers variable costs and part of the fixed costs can still beat sitting idle. With a high variable share, a bad load costs you more every mile. The fixed share also drops as miles rise, so annual mileage is the lever to watch: cutting empty miles and waiting time spreads the same payments over more paid miles.
Mistakes that understate your cost per mile
- Counting only loaded miles. Deadhead miles cost the same to drive. Use all miles for cost and compare against all-in revenue per mile.
- Forgetting costs that arrive in lumps. Annual insurance, tires, tarps, plates and big repairs are easy to leave out. Switch the fixed costs to per-year entry to include them as they are billed.
- Using best-case MPG. Use the fuel economy you actually average over a quarter, including idling and mountains.
- Assuming full-year mileage. Downtime, repairs and slow weeks reduce yearly miles, which raises fixed cost per mile. Use a realistic number.
- Leaving out your own wage. If the truck is not paying you a fair wage and a margin on top, it is not really profitable.
Benchmarks
This page does not quote an industry-average cost per mile. Costs depend on equipment age, insurance history, lane, fuel prices and whether you pay a driver, so an average could mislead you. Your numbers will differ. The useful comparison is your own cost per mile against the all-in rate on each load, which you can check in the rate per mile calculator or the load profit calculator.
Frequently asked questions
How do I calculate cost per mile for a truck?
Add up everything you spend in a year to own and operate the truck, then divide by the miles you drove that year. Fixed costs (truck payment, insurance, permits, parking, software) are divided by annual miles. Variable costs (fuel, maintenance, tires, driver pay, tolls) are already per mile. Fixed cost per mile plus variable cost per mile is your cost per mile.
Which miles should I use: loaded miles or all miles?
Use all the miles the truck drives, loaded and empty, because your costs accrue on every one of them. Then compare the result against your all-in rate per mile (revenue divided by loaded plus deadhead miles). Mixing a cost figure built on all miles with a rate figure built on loaded miles only makes loads look better than they are.
What is the difference between margin and markup?
Margin is profit divided by revenue; markup is profit divided by cost. This calculator uses margin: the rate per mile for a margin m is cost per mile divided by (1 minus m). A 15% margin on a $1.80 cost per mile needs about $2.12 per mile, whereas a 15% markup would only need $2.07, so mixing the two up leaves you short.
Should I include my own pay in cost per mile?
Yes, if you want to know whether the truck earns a fair return. Enter what you would pay a driver to run the truck, or the wage you need, in the driver pay field. If you leave it at zero, profit per mile includes your wage, which is fine for cash-flow thinking but overstates what the business earns.
How often should I update my cost per mile?
Recalculate whenever a big input changes: a new fuel price, an insurance renewal, a new payment, or a clear shift in your yearly miles. Many carriers also revisit it quarterly using real statements and maintenance records rather than estimates.
Related free tools
From calculator to system
Stop doing this by hand — OmniLoad does it on every load automatically
OmniLoad tracks fuel, driver pay and fees against each load so your cost per mile comes from real activity instead of a yearly estimate. Create an account to try it on your own loads, or open the demo first.
See the pricing page for plan details, including the free plan for small fleets.