Ownership costs

How to Calculate Cost per Mile

Cost per mile is the clearest way to see what your car really costs. The formula, which expenses to include, a worked example and how to lower the number.

By CarManager editorial teamUpdated 8 min read
On this page· 9 sections

Your monthly car payment tells you very little about what driving actually costs. Cost per mile does: it takes every dollar the car consumes, from fuel to depreciation, and divides it by the miles you drive. Once you know your number, you can compare cars, price a commute, decide whether a second car is worth keeping, and spot when an old car has started costing more than it should.

The cost-per-mile formula

The math is simple:

Cost per mile = total cost of owning and running the car ÷ miles driven, over the same period.

Use a full year if you can. Shorter windows get distorted by one-off bills (a set of tires, an insurance renewal) landing inside them. If you only have three months of data, annualize carefully and add in the large items you know are coming.

The hard part is not the division. It is deciding what goes into "total cost" and getting honest numbers for it.

Fixed costs vs variable costs

Every car expense falls into one of two buckets. Splitting them matters, because they behave differently when your mileage changes.

TypeWhat it includesHow it changes with miles
Fixed (ownership)Depreciation, insurance, registration and fees, loan interest, parking you pay for regardless of useMostly the same whether you drive 5,000 or 15,000 miles
Variable (operating)Fuel or electricity, oil changes, tires, brakes, wear-related repairs, tolls, per-trip parkingRises roughly in line with miles driven
  • Fixed (ownership)
    What it includes
    Depreciation, insurance, registration and fees, loan interest, parking you pay for regardless of use
    How it changes with miles
    Mostly the same whether you drive 5,000 or 15,000 miles
  • Variable (operating)
    What it includes
    Fuel or electricity, oil changes, tires, brakes, wear-related repairs, tolls, per-trip parking
    How it changes with miles
    Rises roughly in line with miles driven

Two consequences follow from this split:

  • Low-mileage drivers have a high cost per mile, because fixed costs are spread over fewer miles. A car that sits most of the week can easily cost more per mile than one used for a long daily commute.
  • For a single extra trip, only variable costs matter. If you already own the car and pay its insurance, the marginal cost of driving 200 more miles is mostly fuel plus a little wear. This is the number to use when comparing driving against a train ticket or a flight.

What to include, line by line

Fuel or charging

Divide your fuel price by your real-world MPG. At $3.50 per gallon and 30 MPG, fuel costs about 11.7 cents per mile. Use your measured MPG, not the window sticker; our MPG calculator works it out from fill-ups. For an EV, multiply your electricity rate by the car's kWh per mile (the EPA label lists kWh/100 miles; divide by 100) and add a bit for charging losses and any public fast charging you pay for.

Depreciation

For most newer cars this is the largest single cost, and the easiest to forget because no bill arrives. Estimate it as purchase price minus what you expect the car to be worth when you sell it, divided by the years you will own it. Our depreciation calculator lets you set your own rate. Older cars depreciate slowly in dollar terms, which is a big reason a paid-off older car can be cheap per mile even with higher repair bills.

Insurance

Use your actual annual premium. It is mostly fixed, though some insurers price by mileage band, and usage-based programs can change it.

Maintenance and repairs

Add up oil changes, tire rotations, filters, brakes, fluids and repairs over the year. Tires deserve their own line: divide the cost of a set by its expected life in miles. A $900 set that lasts 50,000 miles costs 1.8 cents per mile. See average car maintenance cost for typical service price ranges.

Registration, taxes and fees

Annual registration, any personal property tax on vehicles in your state, inspection fees and, for EVs in many states, an annual EV fee. Check your state's DMV for the exact amounts.

Financing

Count the interest portion of loan payments, not the full payment. The principal is you buying the asset, and that cost is already captured by depreciation. Counting both double-counts the car.

Parking, tolls and washes

Easy to leave out, and in a city they can rival fuel. Include a monthly garage spot or permit if you pay it because you own the car.

A worked example

Here is a sample calculation. Every figure is an illustrative assumption, not an average; plug in your own.

ItemAnnual cost (assumed)Notes
Fuel$1,40012,000 miles, 30 MPG, $3.50/gal
Depreciation$2,500Bought at $22,000, expect $14,500 after 3 years
Insurance$1,600From the policy declarations page
Maintenance and tires$750Oil, rotations, filters, a share of tires and brakes
Registration and fees$200Varies widely by state
Loan interest$600Interest only, from the loan statement
Parking and tolls$300
Total$7,350
  • Fuel
    Annual cost (assumed)
    $1,400
    Notes
    12,000 miles, 30 MPG, $3.50/gal
  • Depreciation
    Annual cost (assumed)
    $2,500
    Notes
    Bought at $22,000, expect $14,500 after 3 years
  • Insurance
    Annual cost (assumed)
    $1,600
    Notes
    From the policy declarations page
  • Maintenance and tires
    Annual cost (assumed)
    $750
    Notes
    Oil, rotations, filters, a share of tires and brakes
  • Registration and fees
    Annual cost (assumed)
    $200
    Notes
    Varies widely by state
  • Loan interest
    Annual cost (assumed)
    $600
    Notes
    Interest only, from the loan statement
  • Parking and tolls
    Annual cost (assumed)
    $300
    Notes
  • Total
    Annual cost (assumed)
    $7,350
    Notes

Cost per mile: $7,350 ÷ 12,000 = about 61 cents per mile.

Variable cost only (fuel + maintenance and tires + tolls share): roughly $2,300 ÷ 12,000 = about 19 cents per mile. That is the number to use when deciding whether to drive to a city three hours away.

Now see what mileage does. Drive the same car only 6,000 miles a year: fuel and wear roughly halve, but depreciation, insurance, fees and interest barely move. Total cost only drops to around $6,300, and cost per mile jumps to about $1.05.

Free tool
Cost per mile calculator

Every car cost divided by the miles you drive.

Where to find your real numbers

Guesses produce a confident-looking but wrong answer. Pull the actual figures:

  • Fuel: card statements or fuel receipts, plus odometer readings at each fill-up.
  • Insurance: your policy declarations page.
  • Maintenance: shop invoices. If you have none, start keeping them now; see how to keep car maintenance records.
  • Depreciation: your purchase price from the bill of sale, and a conservative guess at future value. Be realistic rather than optimistic.
  • Miles: odometer at the start and end of the period. Our mileage checker shows how your annual miles compare with typical driving.

The easiest way to keep this current is to log fuel and service as it happens. A free CarManager garage records fill-ups, services and costs against each vehicle, so the number builds itself.

Comparing against the IRS mileage rate

The IRS publishes a standard mileage rate (opens in a new tab) every year for business driving. It is designed to approximate the full cost of operating an average vehicle, including depreciation, so it is a reasonable sanity check for your full cost per mile.

If your number is far above the IRS rate, look at depreciation (a new or expensive car), low annual mileage, or high insurance. If it is far below, you probably have an older paid-off car, or you have left something out. This is a comparison only; for tax or reimbursement questions, ask a tax professional.

How to lower your cost per mile

The levers differ by bucket:

Fixed costs

  • Keep a reliable car longer. Depreciation slows sharply after the first several years.
  • Shop insurance at renewal and review deductibles; see what affects car insurance rates.
  • Pay down or refinance high-interest loans; our car loan calculator shows the interest at stake.
  • If a second car rarely moves, its fixed costs per mile may be very high. Run the numbers on selling it.

Variable costs

  • Improve real MPG with smoother driving and correct tire pressure; see how to improve your gas mileage.
  • Do not over-service. Follow the interval in your owner's manual rather than a generic quick-lube sticker; see oil change interval.
  • Do not under-service either. Skipped fluid changes and worn tires create far larger bills later.
  • If you are choosing a next car, compare fuel and electricity costs with the EV vs gas calculator.

Checklist: calculate yours in 15 minutes

  • Note your odometer today and 12 months ago (or use service invoices for old readings).
  • Add fuel or charging spend for the year.
  • Add insurance, registration and fees.
  • Add maintenance, repairs and a per-mile share of tires.
  • Estimate depreciation for the year.
  • Add loan interest (not principal), parking and tolls.
  • Divide the total by miles driven, then repeat with variable costs only.
  • Or skip the arithmetic and use the cost-per-mile calculator.

Frequently asked questions

What is a good cost per mile for a car?

There is no single good number, because it depends heavily on how much you drive and how much the car cost. A paid-off older economy car driven a lot can be well under the IRS standard rate; a new luxury car driven little can be several times it. Use your own number to compare options, not to hit a benchmark.

Should I include my car payment in cost per mile?

Include the interest, not the full payment. The principal portion pays for the car itself, which you already count as depreciation. Adding both counts the purchase twice.

How do I calculate fuel cost per mile?

Divide the price per gallon by your MPG. At $3.80 per gallon and 25 MPG, fuel costs about 15.2 cents per mile. For an EV, multiply your price per kWh by kWh per mile; at $0.16 per kWh and 30 kWh/100 miles, that is about 4.8 cents per mile before charging losses.

Does cost per mile go down as I drive more?

Full cost per mile usually does, because fixed costs like insurance and depreciation are spread over more miles. Variable cost per mile stays roughly flat, and total spending still rises. Driving more is cheaper per mile, not cheaper overall.

Is cost per mile different for an electric car?

The formula is identical. EVs usually have lower energy and maintenance costs per mile, while insurance, depreciation and some state EV fees can be higher. Run both sides with the EV vs gas calculator using your own electricity rate.

Key takeaways

  • Cost per mile is total cost divided by miles driven over the same period, ideally a full year.
  • Split fixed costs (depreciation, insurance, fees) from variable costs (fuel, maintenance, tires).
  • Use full cost per mile to judge a car, and variable cost per mile to judge a single trip.
  • Count loan interest, not the full payment, or you double-count the car.
  • Low annual mileage raises cost per mile because fixed costs are spread thinner.

Related tools

General guidance, not professional advice. Intervals, specifications and legal requirements vary by vehicle, manufacturer and state: your owner’s manual, a qualified mechanic and your state agency come first. Costs mentioned are estimates. Our data sources.

Keep reading

Related guides