Ad
Ad unit reserved — ca-pub-2582995408460804 · header

Car cost per mile calculator

The sticker price is the down payment on the real cost.

Gas or electricity is only part of driving cost. Add insurance and maintenance to see your true all-in cost per mile — the number that matters for delivery gigs, reimbursement, and buy-vs-keep decisions.

Your car

$
mpg
$
$

Results

All-in cost per mile

$0.00

Fuel + insurance + maintenance

  • Fuel cost per mile$0.00
  • Fuel per year$0.00
  • Insurance + maintenance / yr$0.00
  • All-in per year$0.00
  • All-in per mile$0.00
  • Miles per year$0.00

Delivery and rideshare drivers: compare your all-in per mile against what the gig actually pays per mile.
Ad
Ad unit reserved — ca-pub-2582995408460804 · in-content

Fuel is often the minority

On a typical 12,000-mile year, a 28-mpg car at $3.50/gallon burns $1,500 in fuel — exactly matched by $1,500 insurance plus $600 maintenance in our example. Depreciation and financing (not modeled here) usually exceed all three. The per-mile number is what turns “my car is paid off so it's cheap” into a real comparison.

When per-mile cost decides things

Gig work, the IRS standard mileage rate, lease mileage limits, and keep-vs-replace decisions all run on cost per mile. If your all-in number is above the IRS rate (~70¢/mile in recent years), driving for work is costing you more than the tax code assumes.

EV vs gas on this page

Toggle the powertrain to compare: EVs usually win on fuel per mile (especially home-charged) and maintenance, while insurance can run higher. For a full ownership comparison including purchase price, pair this with the gas vs EV calculator.

Frequently asked questions

What does it cost per mile to drive?

A typical gas car runs 50–75¢/mile all-in including fuel, insurance, and maintenance — before depreciation. Enter your numbers above for your exact figure.

How do I calculate cost per mile?

Add annual fuel, insurance, and maintenance, then divide by annual miles. ($1,500 fuel + $2,100 fixed) ÷ 12,000 miles = $0.30/mile.

Is the IRS mileage rate my actual cost?

Not necessarily — it's a national average for deduction purposes. Your real number may be higher or lower; this calculator finds yours.

Are EVs cheaper per mile?

Usually yes on fuel and maintenance — often 3–5¢/mile for home-charged electricity vs 10–15¢/mile for gas. Insurance can partially offset it.

Your true cost per mile, in one number

People quote fuel economy at parties and insurance premiums at renewal time, but almost nobody knows their all-in cost per mile — the single number that decides whether a gig job pays, whether a lease's mileage cap is a trap, and whether keeping the old car beats buying the new one. This calculator builds that number from your annual miles, your fuel or electricity inputs, and your yearly insurance and maintenance. It is for rideshare and delivery drivers checking that each mile earns more than it costs, for commuters comparing two cars head to head, and for EV shoppers who want the fuel math without the marketing. Toggle the powertrain at the top: gas mode asks for pump price and MPG, EV mode asks for your electricity rate and the car's efficiency in miles per kWh.

Worked example: EV at 14,000 miles a year

Take an EV driven 14,000 miles a year, charged at 15¢ per kWh, rated at 3.6 miles per kWh, with $1,650 a year in insurance and $400 in maintenance. The engine computes fuel cost per mile as $0.15 ÷ 3.6 = $0.0417 — about 4.2 cents a mile — for $583.33 in annual fuel. Fixed costs total $2,050, so the all-in annual cost is $2,633.33, or $0.1881 per mile: just under 19 cents. Notice the structure: fuel is barely a fifth of the total, and the fixed costs dominate. Drive the same car 20,000 miles instead and the per-mile figure falls to about 14.4 cents ($2,883.33 a year), because the $2,050 in insurance and maintenance spreads thinner while fuel scales linearly — the exact reason high-mileage drivers should care about this number most.

Common questions

Why aren't depreciation and loan payments included?

They are usually the biggest costs and also the most personal: depreciation depends on the exact car and the market, financing on your rate and term. The page models the running costs you can compare cleanly across vehicles; add your own depreciation estimate on top for a full ownership figure.

What does miles per kWh mean?

It is the EV equivalent of MPG: how far the car travels on one kilowatt-hour of electricity. Around 3.6 mi/kWh is typical for an efficient EV; a bigger, heavier one might manage 2.8. Your car's dashboard or spec sheet lists the figure — use your real-world number, not the brochure's.

Why does my per-mile cost drop when I drive more?

Insurance and maintenance are annual fixed costs, so each extra mile dilutes them across a bigger denominator. Fuel cost per mile stays flat no matter how far you drive — which is why the all-in number always falls with mileage but can never fall below the fuel-per-mile floor.

How does this compare to the IRS mileage rate?

The IRS rate is a national-average deduction, not a measurement of your car. If your all-in number here sits below it, driving for work is profitable on a marginal basis; if it sits above, the deduction does not fully cover your real expense and you are subsidizing the miles.

How this is calculated

In gas mode, fuel cost per mile is the pump price divided by MPG; in EV mode it is the electricity price per kWh divided by miles per kWh. Multiplying by annual miles gives the annual fuel cost. Annual insurance plus annual maintenance form the fixed yearly cost. The all-in annual cost is fuel plus fixed, and dividing by annual miles yields the all-in cost per mile. Depreciation, financing, and registration are not modeled. Switching the powertrain toggle swaps which fuel formula runs; the insurance and maintenance fields are untouched by it.

Ad
Ad unit reserved — ca-pub-2582995408460804 · sticky mobile