calculate-loan

01 Loan payments

Vehicle Cost Per Mile Calculator and Formula

Calculator No. 01-15403 · Updated · Formula and assumptions shown below

Vehicle cost per mile 0.520 $/mile
Estimated total cost over ownership
$31,200.00
= Vehicle cost per mile × years of ownership × miles driven per year
Estimated cost per year
$6,240.00
= Vehicle cost per mile × miles driven per year
Vehicle purchase price
$30,000
Input
You enter
Vehicle purchase price ($), Estimated resale value ($), Years of ownership (years), Miles driven per year (miles), Fuel cost per mile ($/mile), Other operating cost per mile ($/mile)
You get
Vehicle cost per mile ($/mile), Estimated total cost over ownership ($), Estimated cost per year ($)
Rounding
3 dp · 2 dp

Estimate for education, not financial advice. The result follows from the numbers you enter and the formula shown. It is not a quote or an offer, and it does not include fees, taxes or insurance unless the calculator asks for them. Ask your lender for the exact figures.

This calculator estimates vehicle cost per mile from your vehicle’s purchase price, expected resale value, miles driven, and operating costs. Enter annual distance and costs to see a per-mile estimate alongside the annual total; the result is only as complete as the costs you include.

Formula

The estimate adds depreciation per mile to the fuel and other operating costs per mile:

Cost per mile = (purchase price − estimated resale value) ÷ (years owned × miles driven per year) + fuel cost per mile + other operating cost per mile

  • Purchase price and estimated resale value are dollar amounts. The difference approximates depreciation over the ownership period.
  • Years of ownership is the period over which depreciation is spread.
  • Miles driven per year converts the ownership period into total miles.
  • Fuel cost per mile is fuel spending divided by miles driven.
  • Other operating cost per mile can include maintenance, repairs, tires, insurance, registration, and other costs, provided they are converted to a per-mile amount.

The formula assumes purchase price is at least as high as resale value and that ownership time and mileage are positive. The inputs permit zero where a cost may genuinely be absent; however, years and annual miles must be above zero for the calculation to work.

Worked Example

Using the calculator’s default inputs:

  • Purchase price: $30,000; estimated resale value: $12,000.
  • Ownership: 5 years; driving: 12,000 miles per year, or 60,000 miles total.
  • Fuel: $0.12 per mile; other operating costs: $0.10 per mile.

First, estimated depreciation is $30,000 − $12,000 = $18,000. Spread across 60,000 miles, depreciation is $18,000 ÷ 60,000 = $0.30 per mile. Add fuel and other operating costs: $0.30 + $0.12 + $0.10 = $0.520 per mile when rounded to three decimals.

The estimated total over the ownership period is the unrounded per-mile amount ($0.52) × 60,000 miles = $31,200.00. The estimated annual cost is $0.52 × 12,000 = $6,240.00. These totals use the same inputs and do not add expenses omitted from the per-mile assumptions.

Assumptions

  • Depreciation is represented by purchase price minus estimated resale value, spread evenly across the ownership period’s miles.
  • Annual mileage and per-mile operating costs stay constant over the period.
  • Fuel and other costs are entered as dollars per mile; no inflation or discounting is applied.
  • The estimate excludes any cost not included in the inputs, such as financing interest, taxes, insurance, maintenance, repairs, parking, tolls, or registration. Add these to “other operating cost per mile” if you want them reflected.

What Vehicle Cost Per Mile Includes

There is no single universal vehicle-cost figure. A narrow estimate might count fuel alone. A fuller ownership estimate can combine costs that vary with mileage—such as fuel, tires, and some maintenance—with costs that occur over time, such as insurance or registration. Depreciation is often a major part of the calculation, but it is not a cash payment made every time the vehicle travels a mile.

This calculator uses a simple ownership-period method: it subtracts expected resale value from purchase price and spreads the difference over estimated miles. It does not forecast resale value or determine the vehicle’s market value. Those figures depend on factors such as age, condition, mileage, model, location, and market conditions, so use a reasonable estimate for your situation rather than treating the default as a prediction.

How to Estimate the Inputs

  1. Set the ownership period. Choose a period you can estimate consistently. Use years and annual miles that represent your expected use over that same period.
  2. Estimate total miles. Multiply annual miles by ownership years. If your mileage changes substantially, calculate a better average or use a separate spreadsheet for year-by-year costs.
  3. Estimate depreciation. Enter the amount paid for the vehicle and an expected resale value at the end of the period. If you have an existing vehicle, use a consistent current-value and future-value approach rather than mixing its original purchase price with costs from a different period.
  4. Calculate fuel per mile. Divide fuel spending by miles driven. For example, if fuel costs $600 over 5,000 miles, the fuel cost is $0.12 per mile.
  5. Add other costs carefully. Divide annual or period costs by the matching mileage, then add the resulting per-mile amounts. Avoid counting the same expense both in the per-mile input and elsewhere.

Interpreting the Result and Its Limits

The headline answer is an estimated average cost for each mile under the assumptions entered, not the price of an additional trip or a guaranteed future cost. Some expenses barely change with one extra mile, while fuel and mileage-related wear generally do. For a trip-cost estimate, multiplying the average by trip miles is a useful approximation, but it can overstate the trip’s immediate extra cash cost if fixed costs are included.

Check units before comparing results. Fuel cost must be dollars per mile—not dollars per gallon—and the “other” input must also be a per-mile figure. If you know only a total annual expense, divide it by annual miles first. Use the same currency throughout, and do not enter a percentage or a monthly amount as though it were a per-mile cost.

Rounding can create small differences. The displayed per-mile amount is rounded to three decimal places, while the total is calculated from the underlying formula, so multiplying the displayed figure by total miles may differ slightly from the displayed total on other input values. The worked example happens to produce an exact three-decimal per-mile figure.

Frequently Asked Questions

How do I calculate the cost per mile for my car?
Subtract expected resale value from purchase price, divide by total miles over ownership, then add fuel and other operating costs per mile. Include only costs you have converted to a per-mile amount.

What is a typical vehicle cost per mile?
There is no figure that applies to every vehicle or driver. Purchase price, resale value, fuel use, local expenses, repairs, insurance, and annual mileage can all change the result. Use your own estimates for a meaningful calculation.

Should depreciation be included in cost per mile?
Include it when estimating the broader cost of owning and using a vehicle. For a narrower estimate of the cash cost of an additional trip, you may want to separate depreciation and other fixed or time-based costs.

How do I find fuel cost per mile?
Divide the amount spent on fuel over a period by the miles driven during that same period. For instance, $600 in fuel over 5,000 miles equals $0.12 per mile.

Why is my vehicle cost per mile high?
A high estimate can result from substantial depreciation or operating costs spread across relatively few miles. Review resale value, total mileage, and whether expenses were entered in matching units; do not count a cost twice.

Does this estimate include loan payments?
No. It does not model loan payments or interest. If you want a broader ownership-cost estimate, account for financing separately and avoid adding the principal portion of payments on top of the full purchase price, which would double-count the vehicle’s cost.

This result is an estimate based on the figures and assumptions entered, not financial advice.

Related

Formula used
in price | Vehicle purchase price | $ | 30000 | 0 | 10000000
in resale | Estimated resale value | $ | 12000 | 0 | 10000000
in years | Years of ownership | years | 5 | 0.1 | 100
in miles | Miles driven per year | miles | 12000 | 0.1 | 1000000
in fuel | Fuel cost per mile | $/mile | 0.12 | 0 | 100
in other | Other operating cost per mile | $/mile | 0.10 | 0 | 100
out cpm | Vehicle cost per mile | $/mile | ((price - resale) / (years * miles) + fuel + other) | 3
out total | Estimated total cost over ownership | $ | cpm * years * miles | 2
out annual | Estimated cost per year | $ | cpm * miles | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard loan formula for this calculation, fixed rate and monthly compounding unless stated, rounded as each result states. Not financial advice; no lender, rate or product is recommended. See formulas and assumptions, the disclaimer or report an error.

More in this section

The whole Loan payments section →