ROI Checkup

Home energy

EV vs Gas Cost Calculator

Compare annual fuel costs, charger payback, and multi-year savings versus gasoline driving.

Short answer: compare cost per mile. Gas at $3.50 a gallon in a 28 mpg car is 12.5¢ a mile; an EV using 30 kWh per 100 miles at $0.16 per kWh is 4.8¢ a mile. Over 12,000 miles that saves about $924 a year, and a $1,200 home charger pays back in about 1.3 years.

Last reviewed December 2, 2026 by Talha Amjad · How we calculate

Enter your numbers

Results and money fields use USD. Changing country rescales money inputs.

Your EV vs gas savings

Live
Annual fuel cost (gas)$1,500
Annual energy cost (EV)$576
Annual savings$924
Charger payback1.3 years
Multi-year savings$4,620
Net benefit after charger$3,420
Charger ROI285.0%

How are EV vs gas savings calculated?

Annual gas cost = miles ÷ MPG × fuel price. Annual EV cost = miles ÷ 100 × kWh/100mi × electricity rate. Charger payback = charger cost ÷ annual savings.

How do you calculate EV vs gas cost per mile?

  • Gas cost per mile = gas price per gallon ÷ mpg
  • EV cost per mile = (kWh per 100 miles ÷ 100) × electricity price per kWh
  • Annual savings = (gas cost per mile − EV cost per mile) × miles per year
  • Charger payback = home charger cost ÷ annual savings

Use the official efficiency ratings for the exact models you are comparing. FuelEconomy.gov lists combined MPG for gas cars and kWh per 100 miles for EVs. Real-world efficiency is often worse in cold weather and at highway speeds, so a conservative figure is safer.

Worked example with the calculator defaults

At 12,000 miles a year, the gas car burns 12,000 ÷ 28 ≈ 429 gallons, or $1,500 at $3.50. The EV uses 12,000 ÷ 100 × 30 = 3,600 kWh, or $576 at $0.16. Annual fuel savings are $924. A $1,200 home charger pays back in $1,200 ÷ $924 ≈ 1.3 years, and over 5 years you save $4,620 in fuel, $3,420 after the charger.

How much does the electricity price change the savings?

Charging cost is the biggest swing factor. Keeping everything else at the defaults:

Electricity priceEV cost per mileAnnual EV energy costAnnual savings vs gas
$0.10 / kWh3.0¢$360$1,140
$0.16 / kWh4.8¢$576$924
$0.30 / kWh9.0¢$1,080$420
$0.45 / kWh13.5¢$1,620−$120

In this example the EV stops saving money above about $0.42 per kWh, which is the price where 3,600 kWh costs the same $1,500 as the gasoline. Public fast charging can cost far more than home electricity, so drivers without home charging should enter the price they actually pay.

Is there still a federal EV tax credit?

Not for new purchases. The IRS says the new clean vehicle credit is not allowed for vehicles acquired after September 30, 2025, and the home charger (refueling property) credit is not allowed for property placed in service after June 30, 2026. This calculator does not include either one.

What this comparison leaves out

This tool compares fuel and charger costs only. Purchase price, financing, insurance, registration fees, maintenance, and resale value can matter as much or more. If you are pairing an EV with rooftop panels, the solar payback calculator shows how much your own generation could be worth.

Frequently asked questions

How much does an EV save per year compared with a gas car?

With this calculator's defaults (12,000 miles a year, 28 mpg at $3.50 a gallon, versus 30 kWh per 100 miles at $0.16 per kWh) fuel savings are about $924 a year. Your savings depend mostly on your gas price, electricity rate, and how efficient each vehicle is.

How do you calculate EV cost per mile?

EV cost per mile = (kWh per 100 miles ÷ 100) × electricity rate. At 30 kWh per 100 miles and $0.16 per kWh that is about 4.8 cents a mile. Gas cost per mile = gas price ÷ mpg, so $3.50 at 28 mpg is 12.5 cents a mile.

Is there still a federal EV tax credit in 2026?

No for new vehicles: the IRS says the new clean vehicle credit (section 30D) is not allowed for vehicles acquired after September 30, 2025. The home charger credit (section 30C) is not allowed for property placed in service after June 30, 2026. This calculator does not include either credit.

Miles or kilometers?

Defaults use miles and gallons for US drivers. Convert local distance and fuel units before entering them, or approximate.

What does charger payback mean?

It is how long fuel savings take to cover the cost of installing a home charger. It does not compare vehicle purchase prices, insurance, or depreciation.

What if I mostly use public fast charging?

Enter the average price per kWh you actually pay. Public fast charging often costs more than home electricity, which raises EV cost per mile and lowers the savings.

Related calculators

Results are educational estimates only and are not financial, tax, or investment advice. Review the disclaimer before relying on any figure.