← Back to Vehicle, EV & Driving Tools

Vehicle Cost Per Mile Calculator

Enter how far you drive in a year and what you spend — fuel or electricity, plus any ownership costs you know — to see what each mile costs.

Checking tool availability…

Vehicle Cost Per Mile Calculator calculates in your browser.

What a mile of driving costs you

Fuel is the cost you notice, but it is often not the biggest one. Insurance, depreciation, and financing are paid whether you drive or not, so the more miles you drive, the less each of them costs per mile. Add up a year of costs and divide by a year of miles.

The calculator keeps two figures apart: the operating cost per mile (fuel or electricity and maintenance — the costs that grow with driving) and the estimated cost per mile of everything you entered. Any category left blank is shown as “Not entered”, so the total never claims to be more complete than your figures.

How to use the Vehicle Cost Per Mile Calculator

  1. Enter how far you drive in a year, in miles or kilometers.
  2. Enter your yearly fuel or charging cost — or work it out from MPG and gas price, or from EV efficiency and electricity rate.
  3. Add the ownership costs you know: maintenance, insurance, registration, depreciation, financing interest, and other costs.
  4. Read the operating and total cost per mile, and the breakdown by category.

How the calculation works

Cost per mile = total yearly costs ÷ yearly miles

Operating cost per mile = (fuel or energy + maintenance) ÷ yearly miles

Gas per mile = gas price ÷ MPG

Depreciation replaces purchase price; financing counts interest only

The EV example uses a battery-side efficiency with 90% charging efficiency, so charging losses are added once.

Vehicle Cost Per Mile Calculator examples
Yearly distanceCosts enteredOperating per mileTotal per mile
12,000 milesFuel $1,800, maintenance $900, insurance $1,500, fees $150, depreciation $3,000, interest $600$0.23$0.66
12,000 milesFuel $1,800, maintenance $900, insurance $1,500 (others not entered)$0.23$0.35
25,000 miles (rideshare)Gas at 40 MPG and $3.40/gal, maintenance $2,000, insurance $2,200, depreciation $4,000$0.17$0.41
10,000 milesEV at 3.5 mi/kWh and $0.15/kWh, insurance $1,600, depreciation $3,500$0.0476 (maintenance not entered)$0.56

Calculated on your device

  • The calculation runs in your browser as you type; nothing is sent to a server.
  • Your mileage, costs, and results are not sent to Looty Tools or stored.
  • The calculator area is masked from session-recording analytics.

Limitations

  • Uses only the costs you enter — blank categories are shown as “Not entered”, not estimated.
  • No built-in insurance, depreciation, or maintenance figures: they vary too much by vehicle, driver, and place.
  • One year at a time; costs that change from year to year, depreciation especially, need entering again.
  • Not tax or reimbursement advice — standard mileage rates are set separately.

Related calculators

Vehicle Cost Per Mile Calculator FAQ

How do I calculate cost per mile for my car?
Add up a year of costs and divide by the miles you drove. With $7,950 of fuel, maintenance, insurance, fees, depreciation, and interest over 12,000 miles, the car costs about $0.66 a mile — of which $0.23 is fuel and maintenance.
What is the difference between operating cost and total cost per mile?
Operating cost covers what grows with driving — fuel or electricity, and maintenance. The total adds ownership costs you pay regardless of mileage, such as insurance, registration, depreciation, and financing interest.
Should I include my car payment?
Not the whole payment. Part of each payment repays the price of the car, which depreciation already counts; enter only the interest, under financing. Adding both would count the car’s cost twice.
What if I don’t know my depreciation or insurance?
Leave it blank. The calculator shows it as “Not entered” and says the total covers only the costs you entered — it never fills in an assumed figure.
Does it work for rideshare and delivery driving?
Yes, for working out what each mile costs you — enter the miles and costs for the year. It isn’t tax advice: deductible mileage rates and reimbursement rules are set separately.
Are the tire sizes, distances, and prices I enter sent anywhere?
No. The calculation runs in your browser as you type. The sizes, distances, fuel economy, prices, costs, and results you enter are not sent to Looty Tools or stored, and the calculator area is masked from session-recording analytics. Refreshing the page clears it.

More from Looty

Explore Looty’s Ecosystem

Discover more ways Looty can help you learn, organize, create, and make an impact.