InfyCalculator
🚗

Gas vs Electric Car Savings Calculator

Estimate what switching from a gas car to an EV saves: fuel versus home and public charging, per mile and per year, over the years you keep the car with price rises, plus maintenance, insurance, the price gap, payback year, break-even prices and CO₂.

Miles per year
Gas car mpg
Gas price
EV efficiency is given in
EV efficiency
EV energy use
EV rating
Electricity price
Years to compare
Share of charging at public chargers
Public charging price
Charging losses to add
Gas price change per year
Electricity price change per year
Grid CO₂ per kWh
Include price gap, maintenance and insurance
Extra price of the EV after incentives
Home charger and installation
Gas car maintenance, repairs and tires
EV maintenance, repairs and tires
Gas car insurance per year
EV insurance per year
Loading calculator…

How it works

Gas cost = miles ÷ mpg × gas price · EV cost = miles ÷ (mi/kWh) × (1 + charging loss) × electricity price · blended electricity = home share × home rate + public share × public rate · yearly saving = gas cost − EV cost · mi/kWh = 100 ÷ kWh/100 mi = MPGe ÷ 33.7 · break-even electricity price = gas cost ÷ kWh used · net saving = Σ yearly (fuel + maintenance + insurance) differences − price gap − charger

The fuel saving is the gap between what the gas car spends at the pump and what the EV spends on electricity for the same miles, projected over the years you keep the car. Enter the EV’s efficiency the way you have it — miles per kWh, kWh per 100 miles from the window sticker, or MPGe — and the calculator converts between them (one gallon counts as 33.7 kWh). Electricity can be a blend of your home rate and public charging, which often costs two to three times as much; EPA ratings already include charging losses, so only add a loss for the car’s own dashboard figure. Optional yearly price changes show how rising gas or power prices move the multi-year total. Turn on the price-gap option to see the fuller picture: maintenance and insurance per year (AAA 2025 national averages are pre-filled), the extra purchase price after incentives and a home charger, the payback year, and the net saving after the years you choose. Break-even prices tell you how far gas would have to fall, or electricity rise, before the EV stops being cheaper to fuel, and the CO₂ line compares tailpipe emissions with power-plant emissions on your grid.

Worked example

12,000 miles a year in a 28 mpg car at $3.50 a gallon uses 428.6 gallons, or $1,500. An EV at 3.5 mi/kWh uses 3,429 kWh; at $0.15 per kWh that is $514. The saving is $986 a year — $4,929 over five years, or $82 a month. The EV stays cheaper to fuel until electricity passes $0.438 per kWh. With the price-gap option on, AAA’s maintenance and insurance averages save another $116 and cost $301 a year, so running costs fall by $801 a year; a $5,000 price gap plus a $1,500 charger pays back in about 8.1 years.

Sources: AAA — Your Driving Costs 2025 (maintenance, insurance and fuel by vehicle type) · US DOE Alternative Fuels Data Center — Vehicle Cost Calculator · US EPA — Greenhouse gas emissions from a typical passenger vehicle (8,887 g CO₂ per gallon)

Frequently asked questions

Does this include the price difference?

Turn on “Include price gap, maintenance and insurance” to add the extra purchase price after incentives, a home charger, maintenance and insurance. The calculator then shows the running-cost saving, the payback year and the net saving after the years you choose. Resale value is not included.

What if I charge on the road?

Open More options and set the share of charging at public chargers and their price. Public charging averaged about $0.37 per kWh in late 2025 and DC fast charging often costs more — roughly two to three times a typical home rate, so heavy public charging can wipe out much of the saving.

How do I convert MPGe or kWh/100 miles to miles per kWh?

Miles per kWh = 100 ÷ kWh per 100 miles, or MPGe ÷ 33.7. Pick the unit you have and the calculator shows the others, including kWh per 100 km.

Should I add charging losses?

Not for EPA figures — they are measured from the wall socket, so losses are already in them. If you use the efficiency your car’s dashboard reports, add 10–15% for the energy lost while charging.

Is an EV always cheaper to run?

Usually, at home electricity rates. It can flip if you rely on expensive fast charging, live where electricity is very costly, or compare with an efficient hybrid. The break-even prices show exactly where that happens for your numbers.

Related calculators

This calculator is for educational purposes. Double-check important results before acting on them.