How to calculate cost per mile trucking
Add the costs of one truck or consistently defined operating unit for a defined period, then divide by loaded plus empty miles for that same period. This trucking cost per mile calculator separates recorded Actual Expenses from a Planning Estimate. Use your own records and assumptions; no industry benchmark is supplied. The result describes the selected budget, not a freight quote or accounting profit.
The formula
Keep currency, units and time periods consistent. Percentage inputs use percentage points (enter 5 for 5%). Results are rounded only for display; tiny nonzero values may use scientific notation. Undefined ratios are shown as unavailable.
Illustration, not an industry benchmark: $4,000 fixed + $14,000 variable costs = $18,000. With 8,000 loaded + 2,000 empty miles, operating CPM is $1.80 and cost recovery per loaded mile is $2.25.
Fixed and variable trucking costs
Insurance, permits, software, equipment commitments and fixed salaries typically remain fixed over a planning period. Fuel, per-mile driver pay, tires and mileage-based maintenance allowances change with activity. Classification depends on your agreement: use an additional named fixed or variable expense when needed, and enter each cost once. A truck expenses calculator cannot infer omitted bills. Mark a category entered, not applicable or not supplied; missing costs are disclosed and excluded, never silently estimated.
Actual expenses versus planning assumptions
Actual mode uses recorded costs and miles for a calendar month or explicit inclusive date range; amounts are not smoothed or automatically prorated. For Actual Expenses, choose one consistent expense period and gather loaded and empty mileage records; fuel, maintenance and tire expenses; and insurance, permit, equipment and relevant labor costs. Enter each cost once, avoid overlapping totals and components, and keep actual records separate from planning allowances. Planning mode can normalize weekly costs × 52, monthly × 12, quarterly × 4 and annual × 1 to annual amounts, then multiply by period years. A month is 1/12 year; a date range uses inclusive days ÷ 365. This convention is an estimate, not a payment schedule. Per-mile costs use the stated activity basis. Drafts remain separate while switching modes in this browser session.
Loaded miles, empty miles and cost recovery
Loaded miles plus empty repositioning and deadhead equal total miles. Operating CPM divides the budget by total miles. Cost recovery per loaded mile divides the same budget by loaded miles: it allocates empty movement costs onto productive miles. It is not a market rate, guaranteed profit or driver compensation. A zero denominator makes the corresponding ratio unavailable. Do not compare revenue per loaded mile directly with cost per total mile.
Equipment costs: cash budget versus economic allocation
Cash Operating Budget includes eligible loan payments or lease costs and excludes depreciation of owned equipment. Interest already included in a payment must not be added again. Economic Cost Allocation includes your entered depreciation allocation and applicable interest, excluding principal and full loan payments. A leased asset remains a lease cost without duplicate depreciation. Use matching equipment identifiers to detect same-asset conflicts. No automatic tax deduction, depreciation schedule or accounting treatment is inferred.
Owner-operator compensation and driver labor
An owner operator cost per mile calculator should distinguish money withdrawn from the business from the cost of work. Owner draws are excluded. An optional owner-labor allowance is a user-defined value of work; do not repeat labor already included as driver pay. In planning, specify whether per-mile driver compensation applies to total, loaded or empty miles. A fixed salary belongs in a named fixed expense. This tool allocates labor cost; the Driver Settlement calculator handles agreed pay and deductions.
Worked examples: recorded costs and changing activity
For illustration only, $4,000 fixed costs plus $14,000 variable costs equal an $18,000 budget. With 8,000 loaded and 2,000 empty miles, operating CPM is $1.80, fixed CPM $0.40, variable CPM $1.40, empty share 20%, and loaded-mile cost recovery $2.25. In a planning model with fixed costs $4,000 and variable costs $1.40 per total mile, 8,000 miles produce $15,200 cost and $1.90 CPM; 12,000 miles produce $20,800 and about $1.73 CPM. Fixed costs stay fixed while activity-dependent costs change. Period-based fuel budgets remain fixed unless revised.
Common accounting and mileage mistakes
Do not combine a fuel budget with fuel calculated from price and MPG, full loan payments with depreciation, or maintenance bills with a reserve for the same coverage. Use miles and expenses from the same period. Zero is a known amount; not supplied means incomplete information. Check additional expenses for duplicates because software cannot infer their economic meaning. A semi truck cost per mile calculator is useful only when its scope, equipment costs and labor assumptions are consistent.
CPM versus RPM, driver pay and profit
Truck operating cost per mile measures the selected cost budget. RPM measures revenue over a stated mileage basis. Driver pay follows a compensation agreement. Profit requires revenue and a complete, consistently defined expense basis; cash debt-service budgets and economic allocations answer different questions. Use Rate Per Mile for revenue, Break-Even RPM for recovery targets and Load Profit for trip economics. Lower CPM alone does not establish that a load is profitable.
Using this in a dispatch decision
Compare operating cost per mile with All-In RPM using the same total-mile basis. Multiply a representative CPM by the load’s loaded and empty miles for an allocated cost estimate, then check fuel, tolls, time and a profit allowance in Load Profit or Break-Even RPM. Period averages allocate overhead; they are not the exact extra cost of accepting one more load.
Method and reference sources
Method and content checked 2026-10-15. These sources provide background, not endorsement or professional certification. The formula and limitations above define this calculator.
- ATRI — Trucking researchOperating-cost research context. No industry-average cost or contractual compensation rate is automatically used.
Frequently asked questions
Should total miles include deadhead and empty repositioning?
Yes. Enter loaded and empty miles separately for the same period. They are added once to form total operating miles. Cost recovery per loaded mile uses loaded miles alone and is a different allocation.
Does selecting an expense frequency convert planning costs?
Yes. Planning recurring expenses are annualized using 52 weeks, 12 months or 4 quarters, then scaled to the selected period. Per-mile expenses use mileage. Actual recorded expenses are never automatically converted.
How are missing expenses handled?
Not supplied costs are excluded with warnings, making results provisional. Not applicable explicitly excludes a cost. Enter zero only when the recorded or assumed amount is known to be zero.
Should I enter a truck payment and depreciation together?
No. Cash basis uses eligible payments or leases. Economic basis uses user-entered depreciation and interest for owned financed equipment while excluding principal and full payments. Do not depreciate the same leased equipment.
Is owner compensation the same as an owner draw?
No. Draws are not operating expenses here. An optional owner-labor allowance values work and must not duplicate driver labor already included.
Can this cost per mile trucking calculator set a freight rate?
No. It calculates a cost budget and its mileage allocations. Market rates, revenue, driver compensation and profit are distinct. Use the dedicated revenue and load calculators for those questions.
Are my drafts saved after closing the page?
No. Actual and Planning drafts are kept separately in memory while this page remains open. Export the complete CSV before refreshing or leaving if you need a record.