Cost Per Mile Calculator
Calculate Cost Per Mile or km step by step: (fixed + variable costs) ÷ distance driven.
In short
Formula: Cost per mile (or km) = (fixed costs + variable costs) ÷ distance driven.
What this calculator does
Calculate Cost Per Mile or km step by step: (fixed + variable costs) ÷ distance driven. Worked example, questions and limitations included.
Use it to turn Currency (symbol only, never converted), Distance unit, Fixed costs for the period, Variable costs for the period, and the other shown inputs into a checked result you can compare, copy, or rerun with different assumptions.
The page shows the formula, a numeric worked example, and the assumptions that affect this logistics calculation.
Inputs and what they mean
- Currency (symbol only, never converted)
- — choice value.
- Distance unit
- — choice value.
- Fixed costs for the period
- — number value.
- Variable costs for the period
- — number value.
- Distance driven in the period
- — number value.
How to use it
- Enter each value in the unit shown next to the box (use the unit converter first if your numbers are in other units).
- Check the breakdown to see every intermediate step.
- Read the limitations before relying on the result.
Formula
Operating cost per mile, the measure used in ATRI's operational cost of trucking research.
Fixed: truck and trailer payments, insurance, permits. Variable: fuel, maintenance, tyres, tolls, driver pay per mile.
Use the same period for costs and distance.
Cost per mile (or km) = (fixed costs + variable costs) ÷ distance driven.
Inputs used: Currency (symbol only, never converted), Distance unit, Fixed costs for the period, Variable costs for the period, Distance driven in the period.
Worked example
One truck, one month
- 15,000 ÷ 10,000 = $1.50 per mile.
Reading the result
The headline figure is the main answer. Any breakdown underneath shows the parts that make it up, so you can check the working and see what changes when you adjust an input.
Limitations and assumptions
- Average only.
- Empty miles included unless removed.
- One period.
- Results are planning estimates built only from the figures you enter. No prices, rates, demand patterns or service levels are built in, and the results are not supplier quotes or carrier rates.
- The result depends on the values you enter for this cost per mile calculator; it does not supply missing rates, rules, prices, dates, or assumptions for you.
Common questions
Should driver wages be included?
Yes — as variable if paid per mile, fixed if salaried. Check the formula, example, and limitations on this page before using the result for a real logistics decision.
Why does it fall when I drive more?
Fixed costs spread over more distance. Check the formula, example, and limitations on this page before using the result for a real logistics decision.
Is there a typical figure?
Industry surveys exist, but your own costs are what matter. None is assumed here.
How do I use the Cost Per Mile Calculator?
Enter the required values for Currency (symbol only, never converted), Distance unit, Fixed costs for the period, Variable costs for the period, Distance driven in the period. The calculator applies the formula on this page and shows the main result with any supporting breakdown so you can check the arithmetic.
What formula does the Cost Per Mile Calculator use?
Cost per mile (or km) = (fixed costs + variable costs) ÷ distance driven. The visible formula section above lists the calculation path and the edge cases the page handles, so the result can be checked without relying on the form alone.
Can the Cost Per Mile Calculator be used for exact decisions?
Use it as a calculation aid, not as a substitute for checking the underlying rule, contract, policy, or professional advice that applies to your situation. When a result depends on local rules, personal details, prices, or dates, enter those values yourself and confirm them before acting.
Related tools
Calculate Freight Cost step by step: linehaul (with minimum charge) + fuel surcharge + accessorials.
Calculate Cost Per Load step by step: total costs ÷ loads, with optional margin per load.
Calculate Fleet Fuel Cost step by step: distance ÷ fuel economy × fuel price.
Calculate Fuel Surcharge step by step: (current − base fuel price) ÷ fuel economy × distance.
Calculate Driver Cost step by step: pay rate × miles or hours × (1 + burden) + other.
Calculate annual Vehicle Cost step by step: depreciation + insurance + maintenance + licensing + interest.