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.
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
- Enter how far you drive in a year, in miles or kilometers.
- Enter your yearly fuel or charging cost — or work it out from MPG and gas price, or from EV efficiency and electricity rate.
- Add the ownership costs you know: maintenance, insurance, registration, depreciation, financing interest, and other costs.
- 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.
| Yearly distance | Costs entered | Operating per mile | Total per mile |
|---|---|---|---|
| 12,000 miles | Fuel $1,800, maintenance $900, insurance $1,500, fees $150, depreciation $3,000, interest $600 | $0.23 | $0.66 |
| 12,000 miles | Fuel $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 miles | EV 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
- EV Charging Cost Per 100 Miles CalculatorEstimate EV charging cost for 100 miles from the numbers you enter.
- EV vs Gas Cost Per Mile CalculatorCompare EV and gas cost per mile from the prices you enter.
- EV vs Gas Annual Cost CalculatorCompare EV and gas cost over a year from the figures you enter.
- Commute Fuel Cost CalculatorEstimate fuel cost for a commute from the price and mpg you enter.
Guides
- The Cost of Driving to WorkWhat a commute costs in fuel for typical distances and fuel economy, what the fuel figure leaves out, and how to see the wider cost of the miles.
- True Cost Per MileAdd a year of running and ownership costs, divide by the miles driven, and see why fixed costs make a lightly used car expensive per mile.
- Expenses in Cost Per MileWhich costs belong in a vehicle’s cost per mile, which ones double-count — purchase price, loan payments, fuel twice — and how to handle unknowns.
- Fuel vs Ownership CostHow fuel compares with insurance, depreciation, and the other ownership costs per mile, and why an EV’s lower energy cost is only part of the picture.
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.


