Free tools
Cost Per Mile Calculator
Enter a typical month of costs and miles to see what each mile costs you, split into fixed and variable, and the rate a load must pay per mile to break even.
No login, no account and no card. Everything runs in your browser, and nothing you type is sent to us. A link you choose to copy from a calculator holds its numbers; the invoice generator and the IFTA calculator have no link.
Cost Per Mile Calculator: enter your numbers
Every field is optional: leave blank what does not apply. Nothing you type is sent anywhere, and the page address does not change as you type. Leaving or reloading the page clears the form.
Copy link puts a link on your clipboard that holds the numbers on this page, and nothing else. Whoever opens it, and this site's server when it is opened, will see those numbers.
Monthly fixed costs
Costs that stay the same however many miles you drive.
More fixed costs
Per month: divide a yearly bill by 12.
Monthly variable costs
Costs that rise and fall with the miles or the revenue. Driver pay belongs here if it is paid per mile or by percentage; if it is a salary, enter it under Other fixed costs.
More variable costs
Miles for the same month
Total miles is what each cost is divided by. Loaded and deadhead miles are optional detail.
Revenue (optional)
Add the month's revenue to see profit per mile.
Result
Enter a month of costs and the miles you drove, or press Load example to see how it works. Leave blank what does not apply.
This calculator is educational. It adds up the costs and miles you enter, and it is not accounting, tax or financial advice.
How it works
What is trucking cost per mile?
Cost per mile (CPM) is what it costs to run your truck for one mile: all your costs for a period divided by the miles you drove in the same period. It is the number to hold against a rate per mile (RPM). Compare like with like: a posted rate is usually quoted per loaded mile, so set it against your cost per loaded mile; a rate per total mile, which counts the empty miles too, goes against your cost per total mile.
Cost per mile is not a rate you charge. It is a measure of your own operation, so it changes with your fuel bill, your payments, your insurance and how many miles you actually drive. To see what one load leaves after its own costs, use the load profit calculator.
Fixed costs and variable costs
Fixed costs are the ones you pay in a month whether the truck moves or not: truck and trailer payments or leases, insurance, permits and registration, ELD and software subscriptions, and office or admin costs. Variable costs rise and fall with the miles: fuel, driver pay, maintenance and repairs, tires, tolls and factoring fees.
The difference shows up per mile. Fixed cost per mile falls as you drive more miles in the month, because the same bill is spread over more miles. Variable cost per mile stays roughly the same from mile to mile. That is why a slow month raises your CPM even when nothing about the truck changed.
The split is a simplification. Driver pay is variable only when it is paid per mile or by percentage; a salary is fixed. Factoring fees are a percentage of revenue, so they follow revenue more than miles. Put each cost where it behaves that way in your business; the total and the cost per mile do not change, only the fixed and variable split.
How to calculate cost per mile
- Pick a period, usually a typical month, and use it for everything.
- Add up the fixed costs for that period. Turn a yearly bill into a monthly one by dividing it by twelve.
- Add up the variable costs for the same period. For costs that come in lumps, such as tires and repairs, an average over several months is steadier than one month.
- Count the total miles for the same period, loaded and empty.
- Divide total costs by total miles. Divide fixed costs and variable costs by total miles as well to see each part per mile.
If you are an owner-operator who drives the truck yourself, the costs above do not include a wage for you unless you enter one under driver pay. Leave it out and the figure is the cost of the truck; put it in and it is the cost of the truck and your time.
How deadhead changes cost per mile
Deadhead miles are driven empty. They burn fuel and wear the truck like any other mile, so they belong in total miles, and they push cost per loaded mile above cost per total mile. The more of your miles are empty, the wider the gap.
Enter loaded and deadhead miles, or either one together with the total, and the calculator shows the deadhead percentage and the cost per loaded mile. If the three numbers do not agree, it tells you next to the fields and says which figure it used for what.
What is a break-even rate?
The break-even rate is the lowest rate per mile at which a load covers the costs you entered. Measured per total mile, it is your cost per mile. Measured per loaded mile, it is your total cost divided by loaded miles, which is higher because the empty miles have to be paid for too.
Break-even is not the target. A load that pays exactly your break-even rate leaves nothing for profit, growth or a bad month. It is the floor to compare the rates you are offered against.
Cost per total mile versus cost per loaded mile
Cost per total mile divides your costs by every mile you drove. Cost per loaded mile divides the same costs by only the miles you were paid for. Posted load rates are normally quoted per loaded mile, so the loaded figure is the one to compare with a posted rate, while the total figure shows what every mile of driving costs you.
Example: one truck for one month
A month worked through
A one-truck operation with a hired driver adds up a typical month: $5,330.00 of fixed costs and $15,080.00 of variable costs, 11,500 total miles, and $25,000.00 of revenue.
You enter
- Fixed costs
- $5,330.00
- Variable costs
- $15,080.00
- Total miles
- 11,500
- Loaded miles
- 10,200
- Deadhead miles
- 1,300
- Monthly revenue
- $25,000.00
It works out
- Total monthly expenses
- $20,410.00
- Cost per mile
- $1.77
- Fixed cost per mile
- $0.46
- Variable cost per mile
- $1.31
- Deadhead
- 11.3%
- Cost per loaded mile
- $2.00
- Revenue per mile
- $2.17
- Profit for the month
- $4,590.00
- Profit per mile
- $0.40
- Margin
- 18.4%
Based on these inputs, your operation costs approximately $1.77 per mile to run. Loads paying below $1.77 per total mile do not cover the costs entered above. Counting only loaded miles, it is $2.00 per loaded mile, because 11.3% of the miles are deadhead. A posted rate per loaded mile should be compared with that figure. Revenue entered is $4,590.00 above the costs entered for the month.
Frequently asked questions
What is a good cost per mile for a truck?
It varies widely with the equipment, fuel, driver pay, insurance and lanes. Published industry studies, such as the American Transportation Research Institute's yearly analysis of the operational costs of trucking, give averages, but your own figure is the one that matters, because it is the one you compare the rates you are offered against.
Which miles should I count?
Count every mile you drove in the period, loaded and empty, for cost per total mile. Use loaded miles only for cost per loaded mile. The calculator gives both when you enter them.
Should I include my own pay as an owner-operator?
That is your choice, and it changes the answer. Without it the result is the cost of running the truck. With a wage for yourself entered under driver pay, it is the cost of running the truck and paying for your time.
How often should I recalculate it?
Whenever a large cost or your miles change: a new payment, an insurance renewal, a move in fuel prices, or a slow or busy month. Recalculating every few months keeps the figure honest.
Does it include depreciation, taxes or a repair reserve?
It adds up only the costs you enter. Whether to include depreciation, income taxes or a reserve for repairs is a question for you and your accountant. Put them under other fixed or other variable costs if you decide to.
Why does my cost per mile go up in a slow month?
Fixed costs do not shrink when you drive fewer miles, so the same fixed bill is divided by fewer miles. The fixed cost per mile figure shows how much of your cost per mile this is.
Is anything I type saved or sent?
No. The calculation runs in your browser. Nothing you type is sent to CargoRoute or anyone else, and nothing is saved on our side or in your browser's storage. The page address does not change as you type. If you press Copy link, the link you copy contains your numbers: whoever you give it to, and this website when they open it, will receive them in the address, as with any link, and a browser may keep a link it has opened in its history. A page opened from such a link clears the numbers from its own address at once. Press Reset to clear the form.
Related trucking calculators
- Break-Even Rate CalculatorFind the rate per mile that covers your costs, and the rate that leaves your margin.
- Load Profit CalculatorCalculate profit, rate per mile and break-even rate for a single load.
- Fuel Cost CalculatorEstimate the gallons and fuel cost of a trip from your miles, MPG and fuel price.
- Rate Per Mile CalculatorCalculate a load's rate per loaded mile and per total mile, with deadhead counted.
Tracking costs load by load?
CargoRoute records each load's revenue, driver pay, fuel, tolls and other expenses, and reports load and truck profitability from them, so those figures are in one place instead of in a spreadsheet.
CargoRoute is currently available by invitation while we onboard our first carriers.