gray rectangle with angle
gray slant

How to calculate cost per mile

How to calculate cost per mile

What are you waiting for?

Make more money starting now.

Buy Now

The cost to keep your truck operating is one of the most important financial calculations for any trucking business. Yet, many drivers and owner-operators don’t track it, which can lead to pricing loads too low or running at a loss.

If you’ve never calculated your cost per mile before, don’t worry. You don’t need accounting software to do it. This guide will walk you through how to figure out cost per mile and why it’s essential for your profitability.

Why you should calculate your cost per mile

Most owner-operators know roughly what they earn per mile. Far fewer know what it actually costs them to drive it. That gap is where profitability gets lost.

Your cost per mile (CPM) is the true baseline for your business. It tells you the minimum rate you need to cover expenses before you make a single dollar of profit. Without it, you’re pricing loads based on feel, not facts, and there’s no reliable way to know whether a given haul is making you money or costing you money.

Kevin Rutherford, founder of Let’s Truck, put it plainly: “If you don’t know your cost per mile, you’re guessing.”

That guesswork adds up. A rate that looks fine on the surface might not cover your fuel, maintenance, and fixed costs once you do the math. Over dozens of loads, those small miscalculations compound into real losses. Knowing your CPM helps you:

  • Identify areas to cut costs.
  • Set rates that are fair to the market and profitable for your business.
  • Adjust quickly when fuel prices or other expenses shift.
  • Plan for growth, slow seasons, and unexpected costs with confidence.

The carriers who track this number closely are the ones who stay in business and grow. The ones who skip it tend to find out too late that they have been running at a loss.

How to calculate cost per mile in trucking

Calculate your CPM with this formula:

Total expenses ÷ Total miles = Total cost per mile

To figure this out, you’ll need information from previous trips:

  • Expense receipts from food, fuel, lodging, and other expenses from the previous month
  • List of monthly payments, such as truck fees, permits, and insurance
  • An odometer reading from the first day and final day of the previous month

Step 1: Calculate how many miles you expect to drive 

Odometer information helps you figure out how many miles you drive in a given month, whether paid or unpaid. Use this formula:

[End-of-the-month odometer reading] – [Beginning-of-the-month odometer reading] = Total miles driven

For example, if your mileage was 67,426 at the beginning of the month, and 75,968 at the end of the month, here’s what you would calculate:

75,968 – 67,426 = 8,542 miles

Now it’s time to figure out your total expenses.

Step 2: Calculate your fixed expenses 

Your expenses break down into fixed costs, variable expenses, and salary costs.

Fixed costs, or fixed expenses, are what you pay each month, whether you drive 10 miles, 1,500 miles, or not at all. They include:

  • Truck payments
  • Insurance (collision, liability, health)
  • License plates
  • Permits

You usually pay fixed costs monthly, quarterly, or yearly. But to calculate your cost per mile, you need to know the monthly total for each fixed cost. If, for example, your annual license plate fee is $1,800, divide that amount by 12 months. This totals $150 per month.

Your fixed costs might look something like this:

Expense Monthly Cost
Truck payment$1,500
Insurance: Collision$500
Insurance: Health$400
License plate$150
Permits$75
Parking expenses$250
Total Fixed Costs$2,875

Step 3: Calculate your variable costs 

Variable costs or operating expenses are based on how often and how far you drive and fluctuate from month to month. These include:

  • Fuel costs
  • Meals
  • Broker fees
  • Repairs and maintenance
  • Lodging
  • Tires

While some variable costs go up the more you run your truck, others can go down the longer you’re on the road.

Here are example variable costs:

Expense Monthly Cost
Fuel$1,500
Meals / Lodging$800
Tolls$100
Tires$450
Maintenance$450
Repairs$300
Broker Fees$1,000
Miscellaneous$350
Total Variable Costs$4,950

Step 4: Include salary expenses 

Whether you run a fleet of trucks or are an owner-operator, you pay or draw a salary plus related expenses. Salary expenses can include:

  • Wages
  • Payroll fees
  • Benefits
  • Employment taxes

For example, if you pay yourself $4,500 a month, this is your salary expense.

Step 5: Calculate your cost per mile 

Using the above example numbers, let’s figure out your cost per mile. First, calculate your total expenses by adding fixed costs, variable costs, and salary costs:

Fixed costs ($2,875) + Variable costs ($4,950) + Salary ($4,500) = $12,325 total expenses

Next, divide the total expenses by your total number of miles (8,542):

$12,325 ÷ 8,542 = $1.44 per mile

If your cost per mile seems high, look for ways to reduce costs, like finding more efficient routes or minimizing idle time.

Ways to lower your cost per mile

Once you know your CPM, the real work is bringing it down. Even small reductions add up fast over thousands of miles a month. Here’s where to focus.

Fuel efficiency 

Fuel is typically the single largest variable expense for carriers, which means it’s also where you have the most room to save.

The first place to look is how you drive.

Carriers who are serious about fuel efficiency typically start with the basics: maintaining speeds between 56 to 62 mph, cutting idle time, and keeping tires properly inflated. Those habits alone can meaningfully improve your fuel economy without spending a dollar. 

Pair them with a fuel management strategy to track consumption and plan fuel stops, and you’ll start catching where money is quietly leaking out each month.

The second lever is what you pay at the pump. A fuel card is a payment card designed specifically for truckers that unlocks discounted fuel prices at participating truck stops. Instead of paying the posted pump price, cardholders pay a negotiated rate that can save several cents per gallon. Across thousands of miles a month, that adds up fast.

The discount varies by card and network, so finding the best fuel card for your operation matters more than just signing up for the first one you see.

The Truckstop Fuel Card is built for owner-operators and gives you access to discounts at thousands of locations nationwide, with no complicated sign-up process.

Finally, before you sign a load, make sure you understand how to negotiate fuel surcharges. If fuel costs rise mid-haul and you haven’t negotiated a surcharge, that extra expense comes straight out of your margin.

Rate negotiation 

Knowing your CPM gives you a floor, the minimum you need to cover costs and stay profitable. But getting above that floor requires negotiating well.

Truckstop Rate Insights shows you real market rates by lane, so you’re not guessing what a load should pay. When you can back up your number with current data, you have a clear basis for negotiating better load rates.

Backhauls and deadhead miles 

Deadhead miles, meaning miles driven without a paying load, are pure cost. Every empty mile raises your CPM without adding a dollar of revenue. 

One of the most effective ways to reduce deadhead is building backhaul loads into your route planning from the start, rather than scrambling for a return load after you’ve already committed to a lane.

Truckstop’s backhaul search makes it easy to find loads moving back in your direction, so you’re not leaving money on the table at either end of a run. Before you head out, the RPM heat map shows you which lanes are paying well and which markets are dead zones with low freight volume, low rates, or both.

A few things to keep in mind:

  • Check the heat map before committing to a lane, not after.
  • Use backhaul search to line up a return load before your outbound delivery.
  • Avoid markets where the outbound rate looks good but the backhaul options are thin. You’ll pay for it on the way home.

Driving into a dead zone without a plan is one of the fastest ways to watch your CPM spike. A few minutes of planning before you book can save you hundreds on a single trip.

Know your number, run a better business

Calculating your cost per mile isn’t just an accounting exercise. It’s the foundation for every profitable decision you make on the road. When you know your number, you can price loads with confidence, catch where costs are slipping, and stop leaving money on the table. If you want to take the next step, pairing your CPM with a solid profit and loss statement gives you a complete picture of where your business stands financially.

Truckstop brings together the tools that make it work in practice: Rate Insights to negotiate smarter, backhaul search and the RPM heat map to eliminate wasted miles, and a Fuel Card to cut costs at the pump. It’s everything you need to run leaner and earn more on every load.

START EARNING MORE

phone and laptop preview of Truckstop Load Baord

Sign up for the Truckstop Load Board today.

Get helpful content delivered to your inbox.

Sign up today.

Find high-quality loads fast, get higher rates on every haul, and access tools that make your job easier at every turn.

Truckstop Load Board preview