How the cost per mile calculator works
Enter how far you drive in a year and whatever costs you know; every box except the distance is optional. The page opens with the example car below filled in (fuel at the latest official average price), so you see a result at once; replace the numbers with yours, or press Clear to start from empty boxes. The calculator turns each cost into a yearly amount, adds them up and divides by your yearly miles or km.
Running costs = fuel + maintenance and repairs + tires
Ownership costs = insurance + registration + parking and tolls + loan interest + loss of value
Loss of value = (price paid − resale value) ÷ years kept
Cost per mile = (running + ownership) ÷ miles a year
Example: 12,000 miles a year
Example numbers (use your own): 30 mpg with fuel at $3.50 a gallon; $900 a year of maintenance; $800 tires that last 50,000 miles; $1,800 insurance; $150 registration; $40 a month of parking and tolls; $900 of loan interest a year; a $30,000 car expected to sell for $15,000 after 5 years.
- Fuel: 12,000 ÷ 30 × 3.50 = $1,400 a year.
- Tires: 800 ÷ 50,000 × 12,000 = $192 a year.
- Running costs: 1,400 + 900 + 192 = $2,492 a year, or $0.208 a mile.
- Loss of value: (30,000 − 15,000) ÷ 5 = $3,000 a year. Parking and tolls: 40 × 12 = $480.
- Ownership costs: 1,800 + 150 + 480 + 900 + 3,000 = $6,330 a year, or $0.528 a mile.
- Total: $8,822 a year, $735.17 a month, or $0.735 a mile.
Fuel is only 16% of this car’s cost. Driving 6,000 miles a year would raise the cost to $1.263 a mile; 24,000 miles would lower it to $0.471 a mile.
Example: 20,000 km a year
7.5 L/100 km at 1.65 a litre (2,475 a year of fuel), 1,000 of maintenance, 900 tires lasting 60,000 km (300 a year), 1,500 insurance, 300 registration, 60 a month of parking (720), 800 of interest, and a 35,000 car worth 17,000 after 6 years (3,000 a year): 10,095 a year, 841.25 a month, 0.505 a km, of which 0.189 is running costs.
Good to know
- Interest, not payments. The car’s price is already counted in its loss of value, so count only the loan interest. The auto loan calculator shows the total interest of a loan.
- Loss of value is spread evenly over the years. Cars lose more in the first years, so a short ownership costs more than this.
- More miles share the fixed costs, but also wear the car and lower its resale value. The table at other distances keeps the loss of value fixed, so it shows the lowest likely cost at high mileage.
- Parking and tolls are counted as a fixed monthly amount; if yours grow with your driving, add them to maintenance instead.
- Tax. For business driving, US taxpayers can deduct either actual expenses like these or a standard mileage rate. This page is not tax advice.
For the fuel of one drive, use the fuel cost calculator. Driving for a ride-hailing or delivery app? Carry your cost into the driver profit calculator with the links under the result.
Wondering whether a ride would be cheaper for one trip? Use your running cost per mile in the rider trip cost calculator, which compares the fare with driving and parking.
Frequently asked questions
How do I work out what my car costs per mile?
Add up everything the car costs in a year (fuel, maintenance, tires, insurance, registration, parking and tolls, loan interest and the car’s loss of value) and divide by the miles you drive in a year. $8,822 a year over 12,000 miles is 8,822 ÷ 12,000 = $0.735 a mile.
What is the difference between running and ownership costs?
Running costs grow with every mile: fuel, maintenance and repairs, tires. Ownership costs are paid even when the car stays parked: insurance, registration, parking, loan interest and most of the loss of value. The calculator shows both, because a trip only adds running costs, while the cost of owning the car is spread over all your miles.
Why does the cost per mile fall when I drive more?
Ownership costs stay about the same each year, so more miles share them. In the example, 6,000 miles a year cost $1.263 a mile and 24,000 miles $0.471 a mile. Driving a lot also wears the car and lowers its resale value faster, so the real saving is smaller than the table suggests.
Should I count my car loan payments?
Count the interest, not the full payments. The payments repay the car’s price, and the price is already counted as the loss of value (price paid minus resale value). Counting the payments as well would count the car twice. The auto loan calculator shows the total interest; divide it by the years of the loan.
How is the loss of value worked out?
Straight line: (price paid − expected resale value) ÷ years you keep the car. $30,000 now and $15,000 in 5 years is $3,000 a year. Cars usually lose more in the first years, so a car sold after 2 or 3 years costs more per mile than this.
How do I use this for ride-hailing or delivery driving?
Under the result, two links open the driver profit calculator with your cost per mile (without fuel, which that page counts from your fuel economy and price) already filled in. Use the running costs to see what each extra trip costs you, or all costs to see whether driving pays for the whole car.
Sources
- AAA: Your Driving Costs (2025)
- IRS Topic no. 510, Business use of car (actual car expenses)
- NIST Handbook 44 (2024), Appendix C (US gallon, mile)
- UK Weights and Measures Act 1985, Schedule 1 (imperial gallon)
- U.S. Energy Information Administration: Gasoline and Diesel Fuel Update (example fuel price, US units)
- Statistics Canada, table 18-10-0001-01: Monthly average retail prices for gasoline (example fuel price, metric)
Results are exact for the numbers you enter. Your real costs change with prices, repairs, the car’s condition and how much it sells for. Read the full disclaimer and how we check our formulas.