FinanceGuide9 min read

How to Calculate Cost Per Mile for a Trucking Company

The one number that tells you whether a load is worth taking

Cost per mile is the number every rate decision should be measured against, and most carriers calculate it wrong — usually by forgetting empty miles or leaving the owner's own pay out of the math. This walks through the full method, fixed and variable, with a worked example you can substitute your own figures into.

RigBase Editorial

Platform Team

Share

Ask ten carriers what their cost per mile is and you will get ten confident answers, several of which are wrong — not because the arithmetic is hard, but because the inputs are easy to get wrong in ways that all push the number in the same direction: down. A cost per mile that is too low feels good and quietly justifies hauling freight at a loss.

This guide walks the full method: what belongs in the calculation, which mile count to divide by, and the specific mistakes that produce a flattering number. Every figure in the worked example is illustrative — a stand-in so you can follow the arithmetic. Substitute your own ledger; the method is the part that transfers.

Why Cost Per Mile Is the Number That Matters

Cost per mile (CPM) is what converts a rate into a decision. A broker offers $2.40 a mile on a lane. Is that good? The question is unanswerable without knowing what a mile costs you to produce. With CPM in hand it becomes arithmetic: your margin is the rate minus your cost, and if the gap is negative you are paying for the privilege of moving someone else's freight.

It also travels further than most operators expect. The same number underpins whether to add a truck, whether a lane is worth a dedicated commitment, whether a driver pay increase is affordable, and what your break-even utilisation looks like in a soft market. Carriers who know their CPM precisely can say no quickly, which turns out to be one of the more valuable capabilities in freight.

CPM is a floor, not a target

Cost per mile tells you where you break even. It says nothing about what the market will pay, what your service is worth, or what you should charge. Treat it as the line beneath which a load is not worth taking — then price above it.

Fixed Costs vs. Variable Costs

Every dollar your operation spends falls into one of two buckets, and the split matters because it determines what happens to your CPM when your miles change.

Fixed costs are the ones that arrive whether the truck turns a wheel or sits in the yard all month. Because the total does not move with mileage, fixed cost per mile falls as you run more miles — which is the entire economic argument for utilisation.

Typical fixed costs

  • Truck and trailer payments, or depreciation if owned outright
  • Insurance — liability, cargo, physical damage, occupational accident
  • Permits, registration, IRP/IFTA licensing, UCR
  • ELD and software subscriptions, including your TMS
  • Parking, yard, or terminal rent
  • Accounting, legal, and any back-office salary that is not per-mile
  • The owner's own pay — see the mistakes section, this is the one everyone drops

Variable costs scale with distance. Run twice the miles and, broadly, you spend twice as much on these. Variable cost per mile stays roughly flat as utilisation changes, which is why it forms the hard floor under any rate.

Typical variable costs

  • Fuel — usually the largest single variable line
  • Driver pay, where it is paid per mile or per load
  • Tires, and the tire replacement reserve
  • Preventive maintenance and unscheduled repairs
  • Tolls, scales, and lumper fees
  • Def, oil, and consumables

Maintenance is variable even when it is lumpy

A transmission does not fail evenly across the year, but it fails as a function of miles run. Set aside a per-mile maintenance reserve rather than treating repairs as a surprise expense — otherwise your CPM looks excellent in quiet months and catastrophic in the month the truck goes into the shop.

The Formula — and the Mile Count That Breaks It

The formula is unremarkable:

Cost per mile = (total fixed costs + total variable costs) ÷ miles driven

The trap is the denominator. There are two mile counts in every trucking operation and they are not the same number:

Total miles — every mile the truck moves, loaded or empty.
Loaded miles — only the miles run under a paying load.

You are paid for loaded miles. You incur cost on total miles. Divide your costs by total miles and you get a genuine cost of operating the truck — but it is not the number to compare against a rate per mile, because the rate only applies to the loaded portion. Deadhead has to be carried by the loaded miles that surround it.

“You are paid for loaded miles and you incur cost on every mile. Any cost-per-mile figure that ignores the difference is describing a truck that never runs empty.”

— RigBase, Platform Team

The practical move is to calculate both and know which one you are quoting. Cost per total mile tells you what the asset costs to run. Cost per loaded mile — total costs divided by loaded miles only — is the figure you hold a rate against, because it has already absorbed your empty running.

A Worked Example

The figures below are invented for illustration — a hypothetical single-truck operation over one month. They are not averages, benchmarks, or claims about what anything costs. They exist so you can follow the arithmetic and then replace every line with your own.

10,000
Total miles
hypothetical — one truck, one month
8,500
Loaded miles
1,500 miles run empty between loads
$6,200
Fixed costs
illustrative monthly total
$11,300
Variable costs
illustrative monthly total

Total cost for the month is $6,200 + $11,300 = $17,500.

Cost per total mile: $17,500 ÷ 10,000 = $1.75
Cost per loaded mile: $17,500 ÷ 8,500 = $2.06

That thirty-one cent gap is the cost of deadhead, and it is the difference between a lane looking profitable and being profitable. A load offered at $1.95 a mile clears the first number and loses money against the second. If you quote yourself the $1.75 figure, you will take that load and feel fine about it.

Run this monthly, not annually

Fuel moves, insurance renews, freight seasons turn. A cost per mile calculated once a year is a historical artifact by the time you use it. Recalculating monthly also surfaces the trend, which is more useful than the level — a CPM drifting upward tells you something is wrong before the P&L does.

Five Mistakes That Make Your Number Too Low

1. Leaving out your own pay. If you drive, dispatch, or run the office, your labour is a real cost. An operation that only looks profitable because the owner works unpaid is not profitable; it is subsidised. Put a market salary for your role into fixed costs.

2. Dividing by total miles and quoting against loaded rates. The error covered above, and the most common one. It understates your true cost by exactly your deadhead percentage.

3. Ignoring the maintenance reserve. Counting only the repairs you happened to pay for this month produces a number that is too low in most months and wildly high occasionally. Accrue instead.

4. Forgetting depreciation on an owned truck. No payment does not mean no cost. The truck is consuming its remaining value as you run it, and one day it must be replaced. If that replacement is not in your cost base, you are financing it out of a future you have not budgeted.

5. Excluding unpaid non-revenue time. Detention you never billed, a repositioning move, a day lost to a breakdown — the fixed costs kept accruing throughout. They belong in the month regardless of whether the truck earned.

Turning Cost Per Mile Into a Minimum Rate

Once you have a cost per loaded mile, your minimum acceptable rate is that figure plus the margin you intend to earn. If your cost per loaded mile is $2.06 and you want a 15% margin, you need roughly $2.42 a mile — and now the broker's $2.40 offer is a conversation rather than a guess.

Two refinements make this sharper in practice. First, evaluate the round trip, not the leg: a strong outbound rate into a region with no freight out of it can be worse than a mediocre rate into a market you can reload from. Second, treat the deadhead to pick-up as part of the load's cost, because it is — a load 200 miles away consumes 200 miles of your cost base before it pays you anything.

This is where the number stops being an accounting exercise and starts being a dispatch tool. A dispatcher who can see cost per mile against a tendered rate at the moment of the decision makes different, better calls than one working from instinct and a rate sheet.

See the rate against the cost, at the moment you assign

RigBase keeps load rate, mileage, and deadhead on the same board your dispatchers already work from — so profitability is visible when the decision is made, not at month end.

Common questions

Should driver pay be a fixed or variable cost?
It depends how you pay. Per-mile or per-load pay is variable — it scales directly with the work. Salaried drivers are a fixed cost, because the amount arrives whether or not the truck moves. Percentage-of-revenue pay behaves as variable but scales with the rate rather than the distance, so model it against revenue rather than miles.
What is the difference between cost per mile and operating ratio?
Cost per mile expresses cost against distance; operating ratio expresses operating expenses as a percentage of operating revenue. They answer different questions. CPM tells you whether a specific load clears your floor. Operating ratio tells you how efficiently the business as a whole converts revenue into profit. Most carriers benefit from tracking both.
How do I calculate cost per mile with more than one truck?
You can calculate fleet-wide — all costs divided by all miles — or per unit. Fleet-wide is simpler and fine for pricing. Per unit is more work but surfaces the truck that is quietly costing more than it earns, which fleet-wide averaging hides. If you run mixed equipment, calculate per equipment type at minimum, since a reefer and a dry van do not share a cost structure.
Does cost per mile include the empty miles to pick up a load?
It should. Those miles consume fuel, wear, and time exactly like loaded miles, and they were incurred in order to serve that load. Excluding them makes distant freight look cheaper than it is. The cleanest approach is to calculate cost per loaded mile, which spreads all empty running across the miles you actually get paid for.

Carrier intelligence

Get guides like this in your inbox.

New operational guides, compliance frameworks, and platform updates — straight to you. No spam. Unsubscribe anytime.

cost per miletrucking cost per mileoperating ratiofreight ratesowner operator costscarrier profitability
Share
RSS feed

RigBase Editorial

Platform Team

Operational insights from the team building carrier software.

Continue reading

All resources

— ready to go further?

See this in a real carrier operation.

30 minutes. Walk through dispatch, safety, PTI, and fleet with RigBase — built for how your operation actually runs.

FMCSA-READY · OFFLINE PTI · SETUP < 1 HOUR · NO CREDIT CARD