Gas vs. Electric Cost Calculator

See how much you'd really spend fueling a gas car versus charging an electric one — for your mileage and your local prices.

⛽ Gas car

⚡ Electric car

You'd save with electric
$0
per year on fuel
Gas: per year
$0
Electric: per year
$0
Gas: per mile
$0
Electric: per mile
$0

Estimates compare fuel and charging costs only — not purchase price, incentives, insurance, or maintenance. Public fast-charging costs more than home charging. This is general education, not financial advice.

How gas and electric fuel costs compare

The two are measured differently — gallons and MPG versus kilowatt-hours and miles per kWh — which makes them hard to compare in your head. The fair way is cost per mile. For a gas car, your annual miles divided by MPG gives gallons used, times the price per gallon. For an EV, annual miles divided by miles-per-kWh gives the electricity used, times your price per kWh.

This calculator runs both and shows the yearly cost, the per-mile cost, and what the difference adds up to over five years — so you can see the real running-cost gap for your driving, not a national average.

Why charging usually wins on cost

Electric motors are far more efficient at turning energy into motion than gasoline engines, and electricity is generally cheaper per unit of energy than gas. For a typical EV charged at home, the cost often lands at just a few cents per mile — frequently a third or less of what gasoline costs per mile.

The big variables are your local prices and where you charge. Home charging is cheapest; public fast-charging can cost several times more and narrows the gap. If you can plug in at home overnight, the EV fuel advantage is usually at its largest.

What this calculator does (and doesn't) include

This tool compares fuel and charging costs only — the running cost of energy. It deliberately leaves out the things that vary most from buyer to buyer:

  • Purchase price & incentives — EVs can cost more up front but may qualify for rebates or tax credits.
  • Maintenance — EVs skip oil changes and wear brakes less, which usually lowers upkeep.
  • Insurance & depreciation — these depend on the specific models you're comparing.

To weigh the whole picture, pair these fuel savings with the True Cost to Own calculator.

Tips for an accurate comparison

  • Use real local prices. Check your latest electric bill for your true per-kWh rate and a recent gas receipt.
  • Use the EV's rated efficiency. Find miles per kWh on the window sticker or fueleconomy.gov; cold weather and highway speeds lower it.
  • Match the cars you're actually considering. A thirsty truck vs. an efficient EV exaggerates the gap; compare like for like.
  • Factor your charging mix. If you rely on public fast-charging, raise your per-kWh price to reflect it.

Frequently asked questions

Is it cheaper to drive an electric car or a gas car?
For most drivers, electricity costs less per mile than gasoline, so an EV is usually cheaper to fuel — especially charging at home. The exact savings depend on local prices, the vehicle's efficiency, and your mileage. Enter your numbers to see your difference.
How do I compare gas and electricity costs?
For gas: annual miles ÷ MPG = gallons, × price per gallon. For an EV: annual miles ÷ miles-per-kWh = kWh, × price per kWh. The calculator does both and shows the yearly and per-mile difference.
How much does it cost to charge an EV at home?
It depends on your rate and the car's efficiency. A typical EV does about 3-4 miles per kWh, so at an average home rate it often costs just a few cents per mile — usually below the per-mile cost of gas. Public fast-charging costs more.
What is miles per kWh?
It's the EV version of MPG: how far the car goes on one kilowatt-hour. Most EVs are roughly 2.5–4.5 miles per kWh; higher means more efficient and cheaper to charge. Find it on the window sticker or fueleconomy.gov.
Does this include the price difference of the cars?
No — it compares fuel and charging costs only. EVs can cost more up front but may earn incentives and usually have lower maintenance. Pair these savings with our True Cost to Own calculator for the full picture.
Do gas prices and electricity rates change the result a lot?
Yes. Gas is more volatile than electricity, so the EV advantage grows when fuel is expensive. Try a few realistic prices for your area — the per-mile figures make it easy to see.