Home / Cost per Mile Calculator

Cost per Mile Calculator

Fuel is only part of what a car costs. Enter your yearly costs and the calculator shows what every mile you drive really costs.

Driving and fuel

mi
mpg
$/gal

Yearly costs

$
$
$
$
$
$
Cost per mile
$0
Per month
$0
Per year
$0
Fuel per year
$0
Fuel per mile
$0
Fixed costs per year
$0
Not sure about depreciation? Estimate it with the car depreciation calculator.

Estimates for planning only, not financial, tax or mechanical advice. Check with a professional before you decide. Terms

Question about this calculator? Ask us.

What does a car really cost per mile?

Most drivers think of fuel as the cost of driving, but for a typical newer car, fuel is often well under a quarter of the total. Depreciation, insurance, maintenance and financing usually cost more, and they are paid whether or not you drive. That is why the cost per mile falls the more you drive, and why a cheap-to-fuel car can still be expensive to own.

Cost per mile formula

Fuel per year = miles ÷ MPG × price per gallon
Total per year = fuel + insurance + maintenance + registration + depreciation + interest + parking
Cost per mile = total per year ÷ miles per year

Worked example

You drive 12,000 miles a year in a 28 mpg car with gas at $3.25. Fuel costs about $1,392.86. Add $1,800 of insurance, $1,200 of maintenance, $150 of registration, $4,000 of depreciation and $900 of loan interest, and the car costs $9,442.86 a year: about 78.7 cents per mile, or $786.90 a month. Fuel is only 11.6 cents of each mile.

Where to find each number

How to lower your cost per mile

Driving for work? Compare your cost per mile with the IRS rate in the mileage reimbursement calculator.

How to read the result

Read the cost per mile next to the fuel cost per mile. In the default setup the car costs 78.7 cents a mile and fuel is 11.6 cents of that, so 85% of the cost does not change with a trip. That split decides which decisions matter. If you drive 12,000 miles, saving 10% on fuel is worth about $139 a year, while shaving 10% off insurance, depreciation or interest is worth much more.

Sensitivity: how many miles you drive

Default costs: 28 mpg, gas at $3.25, $1,800 insurance, $1,200 maintenance, $150 registration, $4,000 depreciation, $900 interest. Only the miles change:

Miles per yearTotal per yearPer monthCost per mile
6,000$8,746$729$1.458
9,000$9,095$758$1.011
12,000$9,443$787$0.787
15,000$9,791$816$0.653
20,000$10,371$864$0.519

Doubling the mileage from 6,000 to 12,000 raises the yearly bill by only $696 while the cost per mile drops by 67 cents. This is why a rare-use car feels so costly per mile.

Sensitivity: gas price and fuel economy

ChangeFuel per yearCost per mile
Gas $2.50$1,071$0.760
Gas $4.00$1,714$0.814
Gas $5.00$2,143$0.849
20 mpg$1,950$0.833
40 mpg$975$0.752

Going from 20 to 40 mpg saves 8.1 cents a mile. Paying off the loan (interest to $0) saves 7.5 cents a mile, nearly as much as doubling fuel economy.

Common mistakes

What the calculator leaves out

It uses yearly averages, so a big repair year or a new tire set is smoothed away. It does not count the cost of money (what the car's value would earn in savings), your time, or insurance changes after a claim. It also cannot compare cars of different ages fairly without different depreciation inputs for each. Related reading: the cost per mile to own a car guide and the auto refinance calculator if interest is your biggest line.

Frequently asked questions

How do I calculate my car's cost per mile?

Add up everything the car costs in a year, including fuel, insurance, maintenance, registration, depreciation and loan interest, and divide by the miles you drive in a year. $9,443 over 12,000 miles is about 79 cents per mile.

What is the biggest cost of owning a car?

For newer cars it is usually depreciation, followed by insurance and fuel. For older paid-off cars, maintenance and repairs become a larger share.

Does driving more lower the cost per mile?

Yes. Fixed costs such as insurance and registration are spread over more miles, so each mile costs less, even though the total yearly cost goes up.

Is the IRS mileage rate the real cost of driving?

It is an average estimate of the full cost of operating a car for business. Your own cost can be higher or lower depending on your car, insurance and how much you drive.

Add this calculator to your website

Free for car blogs, auto shops, tire shops and dealers: paste this code into your page (WordPress: Custom HTML block). No ads inside the widget. More options on the free calculator widgets page.

Guides for this calculator

More car calculators

Last updated November 2026.