Money topics Budget tool
Everyday Costs

Cost Per Mile Calculator: Fuel, Running Costs and Ownership

Estimate your consumer vehicle cost per mile with fuel, insurance, maintenance, registration and optional depreciation. Keep financing and cash flow separate.

Your fuel cost per mile is the price per gallon divided by your miles per gallon. Your broader vehicle cost is higher: add annual insurance, maintenance and registration, then divide by annual miles. Add estimated depreciation separately to see a modeled ownership total rather than treating a loss of vehicle value as a cash bill.

Cost per mile calculator

This calculator runs in your browser. This calculator’s code does not send, save, or track your entries. All dollar amounts are USD.

Optional example: Inputs start blank. Load example fills hypothetical figures without calculating. Examples are not current rates, quotes, or recommendations.

Loading calculator. No entries are submitted.

The defaults are hypothetical US-dollar inputs, not national averages or quotes. This calculator is for a consumer gasoline or diesel vehicle, including a non-plug-in hybrid using measured gasoline MPG. It is not a trucking-rate calculator, an EV calculator or a tax deduction tool.

Which cost per mile answers your question?

Choose the measure that matches the question
Measure Included What it does not tell you
Fuel only per mile Fuel price ÷ MPG Repairs, insurance or the cost of owning the vehicle
Cash running costs per mile Fuel, insurance, maintenance, tires, registration and entered recurring vehicle taxes Total cash flow when there is a car loan, parking or tolls
Modeled ownership total per mile Running costs plus annual depreciation Complete ownership cost: financing and other omitted expenses still matter

FuelEconomy.gov’s fuel cost calculator lets drivers personalize mileage and fuel prices and shows fuel costs per mile as well as over longer periods. The Department of Energy’s vehicle-cost methodology also separates fuel from insurance, registration and maintenance. That methodology contains older numerical assumptions; this calculator does not copy its historic prices or averages.

How does a hypothetical 12,000-mile year work out?

Inputs. Suppose you drive 12,000 miles in one year at 30 MPG and pay $3.60 per US gallon. Annual insurance is $1,500, maintenance and tires $900, registration $180, and the vehicle loses an estimated $2,400 in value.

Formula and result.

  • Fuel used: 12,000 ÷ 30 = 400 gallons.
  • Fuel cost: 400 × $3.60 = $1,440, or $0.1200 per mile.
  • Cash running costs: $1,440 + $1,500 + $900 + $180 = $4,020, or $0.3350 per mile.
  • Modeled ownership total: $4,020 + $2,400 = $6,420, or $0.5350 per mile.

What to check. The $2,400 depreciation is not a check you write that year. It represents estimated value consumed while owning the car. Use a beginning-to-end value decline for the same year as the costs and mileage, not the original purchase price every year.

Enter zero if you want to omit depreciation, but do not call that result a complete ownership figure.

How do you collect inputs on a consistent basis?

  1. Use your odometer difference or a realistic full-year mileage plan. Include errands and weekend trips, not just work.
  2. Use representative MPG. Across several fill-ups, divide total miles by total gallons rather than averaging unequal tank MPG readings. Driving conditions can change the estimate.
  3. Match fuel price to the grade you actually buy. This model uses US gallons, not imperial gallons.
  4. Enter annual insurance and recurring registration costs. Include tires and repairs in maintenance, but do not count the same repair both as a reserve and an actual expense.
  5. For a forecast, use a realistic maintenance allowance and label it as such. One unusually quiet repair year is not evidence of future zero maintenance.

Why do car loans and trip decisions need a separate check?

Loan principal, interest, finance fees, down payments, lease payments, parking and tolls are all excluded here. For a cash-flow budget, add actual loan payments and other bills separately.

For an economic ownership analysis, financing interest can be an additional cost, but adding full loan principal on top of depreciation can count the vehicle’s acquisition cost twice. This simple tool does not reconcile those two accounting views.

Annual insurance divided by miles is an allocation, not a charge triggered by each mile. Driving fewer miles can raise average cost per mile while lowering fuel spending. Skipping a 20-mile trip in the example avoids an estimated $2.40 in fuel, not automatically $10.70 of ownership expense. Maintenance, depreciation and insurance need their own change-in-use assumptions.

The IRS standard mileage rates concern eligible mileage deductions. An IRS rate, sometimes used as a reimbursement benchmark, is not a measurement of your car’s actual costs. This calculator neither chooses a tax method nor determines reimbursement eligibility.

Our rent versus commute comparison answers a different question: whether two addresses change housing and travel cash each month. Use costs that actually change between addresses there, rather than importing the full ownership average as a claimed commute saving.

Use a sinking fund to plan for irregular repairs without confusing a savings transfer with a second expense. If a job offer changes how far you drive, the job-offer living-cost comparison looks at commute and living costs together.

When does this cost per mile calculator not fit?

  • Trucking or delivery rates. It is not a trucking-rate calculator and does not set a price to charge per mile.
  • Electric vehicles. Fuel is modeled as gasoline or diesel priced per US gallon, so an EV needs a different energy calculation.
  • Tax deductions or reimbursement. It does not choose a tax method or decide eligibility; an IRS rate is a separate benchmark.
  • Monthly car-payment budgeting. Loan and lease payments, parking and tolls are excluded, so add them separately for cash flow.

Quick decision checklist

  • Decide whether you need fuel only, cash running costs or a modeled ownership total.
  • Use a full year of miles and a total-miles ÷ total-gallons MPG from several fill-ups.
  • Enter annual insurance, maintenance and registration once, without double-counting repairs.
  • Add depreciation as a same-year value decline, or enter zero and label the result as incomplete.
  • Budget loan payments, parking and tolls separately before judging whether the car fits your cash flow.

Sources and review notes

Sources and hypothetical arithmetic checked September 24, 2026 (UTC). Prepared with AI-assisted research, drafting, and calculation checks. Not independently reviewed by a human financial professional. Read our editorial policy or report a correction.

This article is general educational information, not individualized financial advice.