Skip to content
Omnikalc

EV vs gas car calculator: how much does an electric car save?

Enter the miles, fuel and electricity prices, maintenance and the EV's extra price to see the yearly saving, the payback time and the net result.

Updated on
Your inputs
miles

Value out of range

$

Value out of range

mpg

Value out of range

kWh

Value out of range

$

Value out of range

$

Value out of range

$

Value out of range

$

Value out of range

years

Value out of range

Results

Yearly saving with the EV (fuel and maintenance)

$1,268

The savings repay the higher price within your ownership period
Gas car: yearly fuel and maintenance
$2,480
EV: yearly energy and maintenance
$1,212
Years to repay the extra price
4.7 years
Net result over the years you keep the car
$4,144
Gas car cost per mile
$0.207
EV cost per mile
$0.101

Whether an electric car saves money depends on one comparison: what you spend per year to run it against a gasoline car, and how long those savings take to repay the higher purchase price. This calculator compares the fuel or electricity and the maintenance of the two cars, then shows the yearly saving, the payback in years and the net result over the time you keep the car.

How the calculation works

  • Gas car fuel = miles ÷ miles per gallon × price per gallon
  • EV electricity = miles ÷ 100 × kWh per 100 miles × price per kWh
  • Maintenance = miles × cost per mile, for each car
  • Yearly saving = gas car cost − EV cost
  • Payback = extra purchase price ÷ yearly saving
  • Net result = yearly saving × years − extra purchase price

Example

You drive 12,000 miles a year. The gas car gets 30 mpg at $3.50: $1,400 of fuel. The EV uses 30 kWh per 100 miles at $0.17: $612 of electricity. Maintenance is $0.09 a mile for the gas car and $0.05 for the EV: $1,080 against $600. The yearly totals are $2,480 and $1,212, a saving of $1,268. An EV that costs $6,000 more pays back in about 4.7 years, and over 8 years it leaves you $4,144 ahead.

Why it matters

The sticker price of an EV is often higher while the running cost is lower, so the right comparison is over the years you will own the car. A calculation using your own rates and distance shows whether the premium pays back, and how sensitive the answer is to the price of electricity at home against public fast charging.

Good to know

Insurance, depreciation, registration fees and a home charger are not included. Winter cold reduces EV range and raises the energy per mile. Public fast charging costs much more than home charging. A used EV or a hybrid may sit between the two. This tool is for estimation.

The EV charging cost calculator prices a charge, the EV range calculator estimates how far you can go, and the car cost per mile calculator adds fuel, insurance and upkeep.

Frequently asked questions

Is an EV cheaper to run than a gas car?

In most cases yes. Electricity per mile is usually well below gasoline per mile, and EVs have no oil changes and fewer moving parts. The savings depend on local electricity and gasoline prices and on how much of the charging is done at home.

How long does it take to repay the higher price?

Divide the extra purchase price by the yearly saving. With a gap of $6,000 and savings of $1,300 a year, it takes about 4.7 years. Incentives and a high mileage shorten that time, while a low mileage lengthens it.

What does this leave out?

Insurance, registration fees, depreciation, the cost of a home charger, public fast-charging prices and battery wear are not included. Fast charging in public can cost close to gasoline per mile, so a car charged mostly in public saves less.

Which numbers matter most?

The price of electricity, the price of gasoline and the yearly distance drive the result. Try your own rates, in particular the home rate at night if your utility offers one.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.