Quick answer: Build your cost-per-mile number from actual monthly data — fixed costs (truck payment, insurance, permits) divided by monthly miles, plus variable costs (fuel, maintenance, tires) calculated from real receipts and odometer readings, recalculated every month or whenever diesel moves more than about 10-15 cents a gallon. A cost-per-mile figure built on last quarter's fuel price is not a working number once diesel has moved — it's a guess with a decimal point.
Key takeaways
- Diesel price swings of 30 cents or more per gallon in a single month can shift your true cost per mile by several cents — enough to turn a profitable lane into a loss.
- A complete cost-per-mile formula has two buckets: fixed costs (paid whether you drive or not) and variable costs (paid only when the wheels turn).
- Recalculate monthly at minimum, and immediately if diesel moves sharply, you add equipment, or you take on a new lane with different terrain or idle time.
- Your cost-per-mile number feeds three separate decisions: what you quote a broker, what you pay a driver, and which lanes you should stop running.
Step 1: Understand Why a Fixed Cost-Per-Mile Number Breaks Down
A cost-per-mile figure calculated in January and never touched again is already wrong by March. Diesel is the single most volatile line item in a trucking budget, and fuel typically makes up somewhere around a quarter to a third of total operating cost per mile — so a 30-cent swing at the pump doesn't just nudge your number, it can move it by multiple cents per mile across your whole fleet.
Here's the math problem in plain terms. A truck averaging 6.5 miles per gallon burns roughly 15.4 gallons per 100 miles. If diesel climbs 30 cents a gallon, that's an extra $4.62 per 100 miles — or about 4.6 cents per mile — that your old cost-per-mile figure doesn't know about.
Run that across a truck doing 9,000 miles a month and you're looking at over $400 in costs your spreadsheet never saw. Multiply by a 10-truck fleet and the gap between your "official" cost per mile and your real cost per mile turns into a five-figure blind spot in a single month.
This is exactly why a static number is dangerous for two specific decisions:
- Quoting a rate to a broker or shipper. If your quote assumes $3.80 diesel and the market is at $4.15 by the time you run the load, you've quoted yourself into a loss.
- Calculating a driver settlement. Settlements built on stale fuel surcharge assumptions either shortchange the driver or quietly erode your margin — neither is sustainable.
We've covered the mechanics of this specific problem in more depth in How Diesel Prices Change Your Cost Per Mile and Settlements — worth a read if settlements are where you're feeling the pinch most.
Step 2: Build the Full Formula — What Belongs in Each Bucket
Cost per mile is calculated as total monthly costs divided by total monthly miles, but the real work is sorting every expense into the right bucket first. Get the categorization wrong and the number looks precise while being useless.
Fixed costs — these don't change whether the truck runs 500 miles or 15,000 miles this month:
- Truck and trailer payments (loan or lease)
- Insurance premiums (liability, cargo, physical damage)
- Permits, licensing, and base plates
- Office overhead — rent, software subscriptions, admin salaries
- ELD and compliance software fees
Variable costs — these scale directly with miles driven:
- Fuel (the biggest and most volatile line item)
- Tires
- Routine maintenance and unscheduled repairs
- Tolls
- Driver pay, if paid per mile or per load
| Cost category | Type | Example monthly figure (owned truck) |
|---|---|---|
| Truck payment | Fixed | $2,200 |
| Insurance | Fixed | $1,400 |
| Permits & licensing | Fixed | $150 |
| Fuel | Variable | $6,930 (9,000 mi ÷ 6.5 mpg × $5.00/gal) |
| Maintenance & tires | Variable | $900 |
| Tolls | Variable | $200 |
| Total | $11,780 |
Divide that $11,780 by 9,000 miles and you get roughly $1.31 per mile. Change the fuel price to $4.70 a gallon instead of $5.00, and fuel drops to about $6,514 — total cost falls to $11,564, or about $1.29 per mile. That two-cent difference looks small until you multiply it across a fleet and a full year.
We walked through the base version of this formula, without the fuel-volatility layer, in How to Calculate Trucking Cost Per Mile the Right Way if you want the foundational version before layering in monthly resets.
Step 3: Gather Real Numbers Instead of Estimates
Your cost-per-mile figure is only as accurate as the data feeding it, and estimates from memory are consistently wrong in the same direction — too low. Pull actual records, not guesses, for every category.
Here's the checklist to work through before you calculate anything:
- Gather fuel receipts or card statements for the full month, not a sample week
- Pull odometer or ELD mileage reports for each truck, matched to the same date range as fuel spend
- Collect maintenance invoices, including any unscheduled repairs, not just scheduled service
- Record tire purchases and any retreading costs for the period
- Confirm insurance premiums for the month, including any mid-term adjustments
- Log toll charges from your toll transponder statements
- Note any permit renewals or one-time licensing fees paid that month
- Separate owner-operator settlements from company-driver payroll if your fleet has both
The two numbers most owners get wrong are fuel gallons consumed and actual miles driven. Fuel card totals sometimes include non-fuel purchases (DEF, snacks, showers), and odometer readings can drift from GPS mileage if a driver deadheads without logging it. Reconcile both before you divide.
If you're scanning fuel receipts and reconciling IFTA miles by hand every quarter, that same data set doubles as your cost-per-mile input — a platform like Yolda pulls fuel and mileage data already captured for IFTA reporting so you're not rebuilding the same numbers twice.
Step 4: Set a Recalculation Schedule — Don't Wait for Chaos
Recalculate cost per mile monthly at minimum, and add a trigger-based recheck any time diesel moves sharply between your scheduled updates. A monthly cadence catches slow drift; trigger points catch the sudden moves that actually hurt.
Monthly cadence. Pick a fixed day — the 1st or the day after your fuel card cycle closes — and rebuild the calculation from that month's actuals. Consistency matters more than the exact date; what you want is a clean, repeatable comparison month over month.
Trigger points that call for an immediate recheck, even mid-month:
- Diesel prices move 10-15 cents or more per gallon in either direction
- You add or retire a truck, changing your fleet's average fuel economy
- A driver moves to a new lane with significantly different terrain, idle time, or traffic patterns
- Insurance renews at a new premium
- A major unscheduled repair changes your maintenance run rate
Don't skip this: Never let a rate quote or driver settlement run on a cost-per-mile figure that predates the last significant diesel move. If fuel has moved since your last calculation, update the number before you quote or settle — not after.
Mid-month recalculation feels disruptive, which is exactly why most fleets skip it and then wonder why margins erode quietly over a quarter. A short, defined trigger list — like the one above — keeps the recheck from turning into a fire drill. We go deeper on handling a fast spike specifically in Recalculating Cost Per Mile When Diesel Prices Spike.
Step 5: Put the Number to Work in Settlements, Quotes, and Lane Decisions
Your cost-per-mile figure only matters if it changes what you charge, what you pay, and which loads you accept. Three uses, three different failure modes if the number is stale.
Driver settlements. If pay includes a fuel surcharge or mileage-based rate tied to cost assumptions, an outdated number either underpays the driver — a retention problem — or overpays and erodes your margin without you noticing until the month-end numbers land. Settlement calculations should pull from the same current cost-per-mile figure you just rebuilt, not a number from two months ago.
Rate quotes to brokers and shippers. Quote below your true cost per mile and you're paying to run the load. This is where the fuel volatility problem bites hardest, because rate negotiations often happen days or weeks before the load actually runs — leaving a window for diesel to move against you.
Spotting unprofitable lanes. Compare your calculated cost per mile against your average revenue per mile, lane by lane. A lane that penciled out at $1.85 revenue against $1.60 cost in a low-fuel month can flip negative the moment diesel climbs — and if you're not recalculating monthly, you won't see it until the losses have already stacked up over several loads.
- Track cost per mile separately by truck or by driver where fuel economy varies meaningfully
- Compare revenue per mile against cost per mile lane by lane, not fleet-wide
- Flag any lane where the margin has dropped below a threshold you set in advance
- Re-run the comparison every time you recalculate cost per mile, not just quarterly
The connection between diesel swings and your IFTA fuel-tax bill is a related piece of this — a fuel price spike changes not just your cost per mile but your quarterly tax exposure, covered in How Rising Fuel Prices Change Your IFTA Tax Bill.
What to Do Next
Start with one month of clean data. Pull last month's fuel, mileage, maintenance, and fixed costs, run the formula above, and compare the result to whatever number you've been quoting and settling against — the gap will tell you how much fuel volatility has already cost you without your knowing it.
If pulling that data together by hand across fuel receipts, IFTA logs, and settlement records feels like more manual reconciliation than your week has room for, Yolda brings fuel, mileage, maintenance, and settlement data into one place so your cost-per-mile number is built from the same records you're already generating — not a separate spreadsheet you have to remember to update.


