Cost per Mile Calculator

Cost per Mile Calculator results come from dividing a year of fuel, insurance, maintenance, and depreciation by the miles driven, then comparing that figure with IRS mileage rates.

How Do You Know Your Fuel Cost?
Miles
$ / Yr
MPG
×
$ / Gal
$ / Yr
$ / Yr
$ / Yr
$ / Mi
TOTAL COST OF OWNERSHIP
$0.47 / Mile
The comprehensive true cost of operating the vehicle for every single unit driven.
$6,300.00 / Yr Total Cost
Monthly Equivalent $525.00
Daily Equivalent $17.26
The absolute out-of-pocket financial burden required to maintain and drive the vehicle over 12 months.
$2,600.00 Operating Cost
Variable Cost / Mi $0.19
Fixed Cost / Yr $3,700.00
Operating costs change with distance (fuel, maintenance) while fixed costs apply regardless of usage (insurance, depreciation).
28.6 % Fuel Share
Fuel Cost / Mi $0.13
Non-Fuel Cost / Mi $0.33
The exact financial weight of fuel consumption relative to the overall cost of vehicle ownership.
$46.67 per 100 Miles
500 Miles $233.33
1,000 Miles $466.67
Pre-calculated financial impact for standard trip lengths and long-distance travel budgeting.
$0.29/Mi Under Rate
Annual Reimbursement $10,260.00
Reimbursement Surplus $3,960.00
The reimbursement rate is built to cover a broad range of vehicles; yours costs less to run than it assumes, so a reimbursement at this rate would more than cover your actual expenses.
Average Cost Profile
This represents a standard automotive ownership profile. Both fixed and operational expenses are within national averages.

Cost Per Mile Calculator Formula

The math behind a cost per mile calculator is simple. You total a full year of car costs, then divide by the miles you drove that year.

$$\text{Cost per mile} = \frac{\text{Fuel} + \text{Insurance} + \text{Maintenance} + \text{Depreciation and fees}}{\text{Annual miles}}$$

AAA uses the same structure in its Your Driving Costs study. It adds operating costs to ownership costs and divides the total by miles driven.

Your annual miles matter as much as your costs. If you don’t track them, the miles per year calculator builds a yearly total from your commute, errands and trips.

If you don’t know your yearly fuel spend, switch the cost per mile calculator to MPG mode. It works out fuel cost from your mileage, fuel economy and fuel price.

$$\text{Annual fuel} = \frac{\text{Annual miles}}{\text{MPG}} \times \text{Price per gallon}$$

At 13,500 miles, 28 MPG and $3.50 a gallon, you burn about 482 gallons. That comes to $1,687.50 for the year. To see that fuel bill broken down by month, week and day, try the gas cost per month calculator.

In metric mode, fuel economy is entered in km per liter. If you only know liters used and distance driven, the liter to km calculator gives you that rating first.

Now take the default inputs: $1,800 fuel, $1,200 insurance, $800 maintenance and $2,500 in depreciation and fees. The total is $6,300. Divide by 13,500 miles and you get about $0.47 per mile.

Fixed vs. Variable Costs

Not every cost grows with the miles you drive. The cost per mile calculator splits them apart in the second result card, and that split changes how you should use your number.

Fuel and maintenance are variable. They rise with every mile. The tool calls this your operating cost. With the defaults, that is $2,600 a year, or about $0.19 per mile.

Insurance, depreciation and fees are mostly fixed. You pay them even if the car sits in the driveway. With the defaults, that is $3,700 a year.

This matters for trip planning. Say you want to price a 300-mile weekend drive. Your full cost per mile says about $140. But your insurance and registration are already paid. The extra money that trip actually costs you is closer to the variable rate, about $58.

Some fuel cost never shows up as miles at all. Time spent idling in traffic or drive-thru lines burns gas at zero miles per gallon, which quietly raises your cost per mile. The idling fuel consumption calculator shows how much that adds up to.

The IRS draws the same line. Its business rate is built from both fixed and variable costs. The medical and moving rate uses only the variable costs, according to the IRS 2026 mileage announcement.

How to Estimate Depreciation

Depreciation is the input most people skip or guess. It is also usually the biggest one. In AAA’s 2026 study, new cars lost an average of $4,422 in value per year.

To estimate your own, start with what you paid. Then check what your car is worth today on a pricing guide or with a trade-in quote. Divide the drop by the years you have owned it.

$$\text{Annual depreciation} = \frac{\text{Purchase price} – \text{Current value}}{\text{Years owned}}$$

Say you paid $24,000 and the car is worth $14,000 four years later. That is $2,500 of value lost per year.

The depreciation field in the cost per mile calculator also holds fees. Add your yearly registration and any loan interest to the depreciation figure. Leave out the loan principal, since that money is already counted through depreciation.

Older cars lose value slowly. A paid-off car worth $4,000 may only drop a few hundred dollars a year. That is why an older car can post a low cost per mile even when repairs climb.

Cost Per Mile Calculator vs. IRS Rate

The last result card compares your cost per mile with a reimbursement rate. The IRS business rate for July 1 through December 31, 2026 is 76 cents per mile. It started the year at 72.5 cents. The IRS raised it mid-year because of fuel prices.

The medical and military moving rate rose to 23.5 cents on the same date. The charity rate stays at 14 cents because it is fixed by law. You can check the current figures on the IRS standard mileage rates page.

With the default inputs, your cost is about $0.29 per mile under the 76-cent rate. Over 13,500 miles, a reimbursement at that rate would pay $10,260. That is $3,960 more than your actual $6,300 cost.

If your cost runs above the rate, the card flips to show a shortfall. That often happens with newer, pricier vehicles or low annual mileage.

Pick Custom Rate if your employer pays its own rate, or if you drive for a platform that pays per mile. The cost per mile calculator then shows your margin on every mile. In metric mode, the IRS rates convert to a per-kilometer figure automatically.

A tip for medical driving: compare the medical rate against your operating cost per mile in the second card, not your full cost. Both are built from variable costs only.

Reading the Other Results

The first card of the cost per mile calculator shows your total yearly cost. It breaks that into a monthly and a daily figure. The defaults come to $525 a month and $17.26 a day. That monthly number is handy for budgeting next to a car payment.

The third card shows how much of your total goes to fuel. With the defaults, fuel is about 28.6% of the cost. The other 71% is insurance, maintenance and depreciation. Many drivers think of gas as the main cost of driving, but it is usually the smaller share.

Fuel share also moves with pump prices. When crude oil climbs, your fuel slice grows even if you drive the same miles. The oil to gas price calculator shows how a crude price change can carry through to the pump.

The fourth card turns your rate into trip costs at 100, 500 and 1,000 miles. At $0.47 a mile, 1,000 miles costs about $467 in full ownership terms.

The alert box flags cost bands. Above 80 cents a mile it shows a high-cost warning, and under 40 cents it marks the car as economical. For context, AAA’s 2026 average for a new car driven 15,000 miles a year is 86 cents. So a new car still losing value fast will often land in the high band.

How You Compare to AAA

AAA’s 2026 Your Driving Costs study priced five top-selling models in each of seven vehicle types. Each figure covers five years and 75,000 miles of ownership.

Vehicle typeCost per mile
Small sedan61.73¢
Medium sedan70.37¢
Subcompact SUV71.68¢
Compact SUV77.80¢
Midsize pickup87.26¢
Medium SUV96.32¢
Half-ton pickup$1.10

The same study priced fuel at 17.3 cents per mile, with regular gas averaging $4.152 a gallon. Maintenance, repair and tires came to 11.7 cents per mile. Full-coverage insurance averaged $2,098 a year. You can read the numbers in the AAA 2026 fact sheet.

These are new-car numbers. If your car is a few years old, your depreciation is lower. Run it through the cost per mile calculator and your number will likely come in well under these figures.

Cost Per Mile FAQ

Does a cost per mile calculator include only gas?

No. A fuel-only figure is your gas cost per mile, and it misses most of what driving costs. A full cost per mile calculator adds insurance, maintenance, depreciation and fees too. With the default inputs, gas is about $0.13 per mile, but the full cost is $0.47. Leaving out the non-fuel costs would understate your real cost by more than 70%.

Does my cost per mile drop if I drive more?

Yes, because fixed costs get spread over more miles. Take $3,700 in fixed costs and a variable rate of about $0.19. At 8,000 miles a year, you pay around $0.66 per mile. At 13,500 miles, it falls to $0.47. At 20,000 miles, it drops to about $0.38. AAA’s 2026 average shows the same pattern, falling from $1.10 at 10,000 miles to 74 cents at 20,000. Keep in mind that more miles also speed up depreciation, so the drop is a bit smaller in real life.

What is a good cost per mile for a car?

It depends on the car’s age and type. AAA’s 2026 average for a new car at 15,000 miles a year is 86 cents. A new small sedan averages about 62 cents. An older, paid-off economy car can run well under 40 cents, since depreciation has mostly leveled off. The best test is your own number against the vehicle you might replace it with. Run both through the calculator with the same annual miles.

Can I use it for an electric car?

Yes. Keep the fuel mode on “I Know the Total” and enter your yearly charging cost in the fuel field. Everything else works the same way. If you don’t know your charging cost, the miles per kWh calculator estimates it from your EV’s efficiency and your electricity rate. AAA’s 2026 study found charging costs ran about 66% to 70% lower than fuel for comparable gas models. But higher depreciation and purchase prices can offset those savings, so the full cost per mile is the fairer comparison.

Should I claim actual costs or the standard mileage rate?

The calculator gives you the numbers for that choice, but the tax rules decide it. If your real cost per mile is lower than 76 cents, the standard rate gives you a larger figure to work with. If it is higher, actual expenses may come out ahead. The IRS has rules on when you can use each method, and leased vehicles must stick with the standard rate for the whole lease if they start with it. A tax professional can confirm which method fits your situation.

How do rideshare drivers use a cost per mile calculator?

They use it to see what each mile truly costs before counting pay. Enter your full year of costs and total miles, including miles driven without a passenger or order. Then set a custom rate equal to what you earn per mile. The last card shows your margin per mile and for the year. Count every mile, because deadhead miles still burn fuel and add wear.

Should I include my car payment?

Include the interest, not the whole payment. The principal part of your payment is buying the car, and that cost already shows up as depreciation. Counting both would count the same money twice. Put your yearly loan interest in the depreciation and fees field alongside registration.