A practical guide to calculating cost per mile, analyzing fleet expenses, and improving trucking profitability.

Ali Hamza
Fleet Accounting & Finance
7
min read

Introduction
For a trucking company, knowing total expenses is important—but knowing how much each mile costs provides a much clearer picture of fleet performance.
A trucking company may generate substantial revenue while still experiencing weak profitability if operating costs are not properly measured. Fuel, driver payroll, maintenance, insurance, truck payments, repairs, permits, tolls, and other expenses all contribute to the actual cost of operating a truck.
This is where cost per mile becomes an important fleet accounting metric.
Cost per mile converts trucking expenses into a common measurement that allows accounting teams and management to evaluate operating efficiency, compare trucks, monitor expense trends, and better understand profitability.
The basic calculation is simple:
Cost Per Mile = Total Operating Costs ÷ Total Miles
However, obtaining a meaningful cost-per-mile figure requires accurate expense classification, reliable mileage records, and consistent accounting procedures.
What Is Cost Per Mile in Trucking?
Cost per mile is the amount a trucking company spends to operate its fleet for every mile traveled.
For example, if a truck generates:
Total operating expenses: $50,000
Total miles: 200,000
Then:
$50,000 ÷ 200,000 = $0.25 per mile
The truck's operating cost is therefore $0.25 per mile.
Cost per mile can be calculated for:
An individual truck
A group of trucks
A fleet
A specific month
A quarter
A full year
A particular route or operation
The level of analysis depends on how detailed the company's accounting and operational records are.
Why Cost Per Mile Matters
Cost per mile helps translate accounting information into an operational performance measure.
It can help management:
Understand operating efficiency
Compare truck performance
Analyze fuel costs
Monitor maintenance expenses
Evaluate driver-related costs
Identify increasing expenses
Develop budgets
Analyze freight rates
Evaluate profitability
Support pricing decisions
Identify high-cost operations
For example, knowing that a fleet spent $500,000 on operating expenses is useful. But knowing that those expenses equal $2.50 per mile provides additional context.
The Basic Cost Per Mile Formula
The basic formula is:
Cost Per Mile = Total Costs ÷ Total Miles
Suppose a trucking company has:
Total operating costs: $300,000
Total miles: 120,000
Calculation:
$300,000 ÷ 120,000 = $2.50 per mile
The company's average operating cost is therefore $2.50 per mile.
This number can then be compared with revenue per mile.
If revenue is:
$3.25 per mile
and operating cost is:
$2.50 per mile
the difference is:
$3.25 − $2.50 = $0.75 per mile
That difference is not automatically the company's final net profit because other costs, accounting treatments, taxes, financing considerations, and other factors may apply. It is simply the difference between the revenue-per-mile and the costs included in the calculation.
Step 1: Determine the Miles
Accurate mileage is essential.
Mileage records may come from:
Dispatch records
Trip reports
Driver records
Electronic logging systems
Fleet management systems
Odometer records
Companies should establish a consistent definition of the mileage used in their calculation.
For example, management may separately analyze:
Loaded miles
Empty miles
Total miles
Revenue miles
Using different mileage definitions from month to month can make comparisons misleading.
Step 2: Identify Variable Costs
Variable costs generally increase as trucks operate more miles.
Common examples include:
Fuel
Fuel is one of the largest variable costs for many trucking operations.
For example:
Fuel expense: $40,000
Miles: 200,000
$40,000 ÷ 200,000 = $0.20 per mile
Fuel cost is therefore $0.20 per mile.
Maintenance
Maintenance and repair expenses can also be analyzed on a per-mile basis.
For example:
Maintenance: $30,000
Miles: 150,000
$30,000 ÷ 150,000 = $0.20 per mile
Tires
Tire purchases and related expenses can be tracked separately.
Tolls and Road Expenses
Depending on the operation, tolls and other mileage-related expenses can contribute significantly to operating costs.
Step 3: Identify Fixed Costs
Fixed costs generally do not change directly with every additional mile during a specific period.
Examples may include:
Truck payments
Equipment financing
Insurance
Certain permits and licensing costs
Office-related fleet expenses
Certain administrative costs
For example, suppose monthly fixed costs are:
Expense | Monthly Cost |
|---|---|
Truck payments | $8,000 |
Insurance | $4,000 |
Permits and licensing | $1,000 |
Other fixed fleet costs | $2,000 |
Total | $15,000 |
If the fleet operates 50,000 miles during the month:
$15,000 ÷ 50,000 = $0.30 per mile
The fixed-cost component is therefore $0.30 per mile for that period.
Step 4: Include Driver-Related Costs
Driver compensation can be a significant part of trucking operating costs.
Depending on the company's operating model, this may include:
Driver payroll
Driver settlements
Bonuses
Commissions
Applicable payroll-related costs
Reimbursements
For example:
Driver-related expense: $50,000
Miles: 100,000
$50,000 ÷ 100,000 = $0.50 per mile
This means driver-related costs contributed $0.50 per mile during the period being analyzed.
The exact treatment should follow the company's accounting structure and applicable worker classification and payroll requirements.
Step 5: Calculate Total Cost Per Mile
Once relevant expenses have been collected, combine them according to the company's cost model.
Consider this example:
Cost Category | Expense | Miles | Cost Per Mile |
|---|---|---|---|
Fuel | $40,000 | 200,000 | $0.20 |
Maintenance | $30,000 | 200,000 | $0.15 |
Driver-related costs | $100,000 | 200,000 | $0.50 |
Insurance | $20,000 | 200,000 | $0.10 |
Truck payments | $30,000 | 200,000 | $0.15 |
Other operating costs | $20,000 | 200,000 | $0.10 |
Total | $240,000 | 200,000 | $1.20 |
The total cost per mile is:
$240,000 ÷ 200,000 = $1.20 per mile
This provides management with a useful baseline for evaluating fleet performance.
Variable Cost Per Mile vs. Fixed Cost Per Mile
It is useful to separate costs into different categories.
Variable Cost Per Mile
These costs tend to change with miles or utilization.
Examples:
Fuel
Certain maintenance expenses
Tires
Mileage-related operating expenses
Fixed Cost Per Mile
These costs may remain relatively stable over a particular period but become a per-mile amount when divided by miles.
Examples:
Truck payments
Insurance
Certain permits
Other fixed fleet costs
This distinction is important because fixed costs can appear higher on a per-mile basis when a truck operates fewer miles.
Example: Why Mileage Changes Cost Per Mile
Suppose monthly fixed costs are $10,000.
Scenario A
Miles:
50,000
Cost per mile:
$10,000 ÷ 50,000 = $0.20
Scenario B
Miles:
25,000
Cost per mile:
$10,000 ÷ 25,000 = $0.40
The fixed expense did not change, but the cost per mile doubled because the truck traveled fewer miles.
This is why cost-per-mile analysis should always be considered alongside utilization and operational activity.
Calculating Cost Per Mile for Individual Trucks
Fleet-wide averages can hide differences between trucks.
Consider:
Truck | Total Costs | Miles | Cost Per Mile |
|---|---|---|---|
Truck 101 | $48,000 | 30,000 | $1.60 |
Truck 102 | $45,000 | 40,000 | $1.13 |
Truck 103 | $60,000 | 50,000 | $1.20 |
Truck 101 has the highest cost per mile.
That does not necessarily mean it is the least profitable truck. Management should investigate factors such as:
Truck age
Maintenance history
Miles operated
Fuel efficiency
Revenue generated
Driver-related costs
Route characteristics
Downtime
Cost per mile is a starting point for analysis rather than a standalone decision-making metric.
Cost Per Mile vs. Revenue Per Mile
Cost per mile becomes particularly useful when compared with revenue per mile.
Suppose a truck generates:
Revenue: $180,000
Miles: 60,000
Revenue per mile:
$180,000 ÷ 60,000 = $3.00
If operating costs are:
$135,000
Cost per mile:
$135,000 ÷ 60,000 = $2.25
Difference:
$3.00 − $2.25 = $0.75 per mile
At 60,000 miles, the difference between the two metrics is:
$0.75 × 60,000 = $45,000
Again, this is the difference between the revenue and costs included in the analysis, not necessarily the company's final accounting profit.
Tracking Cost Per Mile in Fleet Accounting
Cost-per-mile reporting becomes much more useful when integrated with accounting records.
A practical workflow is:
Record expenses → Categorize expenses → Assign truck → Verify miles → Reconcile transactions → Calculate cost per mile → Compare trends → Review profitability
Accounting systems such as QuickBooks Desktop can support financial expense recording and reporting, while Excel can be used for customized cost-per-mile calculations and truck-level analysis.
Zoho Books may also be used as part of a company's financial reporting workflow.
Monthly Cost Per Mile Analysis
A monthly report can help identify changes in operating efficiency.
For example:
Month | Total Costs | Miles | Cost/Mile |
|---|---|---|---|
January | $110,000 | 50,000 | $2.20 |
February | $115,000 | 55,000 | $2.09 |
March | $130,000 | 52,000 | $2.50 |
March requires additional review because cost per mile increased significantly.
Management could investigate:
Higher fuel prices or usage
Major repairs
Lower mileage
Increased driver costs
Higher insurance or fixed expenses
Unexpected operating expenses
Common Cost Per Mile Calculation Mistakes
Using Incomplete Expenses
Leaving out important operating costs can make the cost per mile appear artificially low.
Using Incorrect Mileage
Mileage should come from reliable and consistently applied records.
Mixing Different Periods
Expenses from one month should not normally be divided by miles from another period without a clear analytical reason.
Ignoring Truck-Level Differences
Fleet averages may hide high-cost trucks.
Changing the Calculation Method
If the company changes which expenses are included, historical comparisons may no longer be directly comparable.
Treating Cost Per Mile as the Only KPI
Cost per mile should be evaluated alongside revenue per mile, utilization, fuel efficiency, maintenance cost, and other relevant fleet metrics.
Best Practices for Cost Per Mile Analysis
A strong trucking accounting process should:
Use consistent mileage records.
Define which expenses are included.
Separate fixed and variable costs where useful.
Track expenses by truck when practical.
Reconcile accounting records before analysis.
Review cost per mile monthly.
Compare current results with historical periods.
Investigate unusual changes.
Compare cost per mile with revenue per mile.
Monitor fuel and maintenance costs separately.
Use truck-level reporting for deeper analysis.
Document the calculation methodology.
Consistency is particularly important. A reliable calculation method produces more meaningful trends than a complicated calculation that changes every month.
Key Takeaways
Cost Per Mile = Total Costs ÷ Total Miles.
Fuel, maintenance, driver-related costs, insurance, truck payments, and other operating expenses can contribute to total cost.
Separate fixed and variable costs when useful.
Track cost per mile at both fleet and truck levels.
Compare cost per mile with revenue per mile.
Accurate mileage and expense records are essential.
Monthly analysis can identify rising costs and operational inefficiencies.
QuickBooks Desktop and Excel can support cost-per-mile reporting and financial analysis.
Cost per mile should be used together with other fleet KPIs rather than as a standalone profitability measure.
Conclusion
Calculating cost per mile for a trucking company provides a practical way to translate accounting data into an operational performance measurement.
The calculation itself is straightforward, but the quality of the result depends on accurate expense records, consistent mileage data, proper expense classification, and regular reconciliation.
By tracking fuel, maintenance, driver-related costs, insurance, truck payments, and other operating expenses, accounting teams can calculate meaningful cost-per-mile figures for individual trucks and the overall fleet.
When combined with revenue per mile and other fleet KPIs, cost-per-mile analysis gives management a stronger understanding of operating efficiency and financial performance.
For a transportation accounting professional, this metric is particularly valuable because it connects day-to-day accounting records with real fleet operating results.
Frequently Asked Questions
What is the formula for trucking cost per mile?
The basic formula is:
Cost Per Mile = Total Operating Costs ÷ Total Miles
What expenses should be included in cost per mile?
Depending on the purpose of the analysis, expenses may include fuel, maintenance, driver-related costs, insurance, truck payments, tires, tolls, permits, and other operating expenses.
What is a good cost per mile for a trucking company?
There is no universal "good" cost per mile. It varies by equipment, freight type, routes, mileage, fuel efficiency, driver compensation, operating model, and other factors.
Should fuel be included in cost per mile?
Yes. Fuel is commonly one of the most significant trucking operating expenses and is generally useful to track separately as well as within total operating cost.
Why calculate cost per mile by truck?
Truck-level cost-per-mile analysis helps identify differences in operating costs and highlights trucks that may require further financial or operational review.
How often should trucking companies calculate cost per mile?
Monthly analysis is a practical starting point. Companies with detailed operational data may also monitor the metric weekly while using monthly results for broader financial analysis.
Is cost per mile the same as profit per mile?
No. Cost per mile measures the expenses included in the calculation. Profitability requires comparing relevant revenue and expenses and considering the company's complete financial reporting structure.
About the Author
Ali Hamza is an accounting professional with experience in fleet accounting, driver settlements, payroll, financial reporting, accounts payable, inventory management, and transportation operations.







