The Third Pocket logoThe Third Pocket

Get the first rule

One money rule the rich follow, one true story, 2 minutes. Free.

Box blank on your phone? Tap here

Box not showing? Open the signup page

Free. Unsubscribe any time. Run by Beehiiv.

Electric Car vs Gas or Diesel Car

What does each car really cost to buy, finance or lease, and to run? Starting numbers are current US figures with sources below. Change any of them. Nothing you type leaves this page.

Last updated: October 8, 2026

Is an electric car cheaper than a gas car over 5 years?

It depends on how you pay. With the starting numbers on this page, the gas car costs $5,927 less over 5 years if you buy with cash, and $6,862 less if you finance. The electric car costs $4,489 less if you lease. Fuel is the electric car's advantage: about $1,135 a year versus $2,616 for gas.

Your assumptions

Years and miles apply to both cars. The default 15,000 miles a year is the figure AAA uses.

Gas car

Electric car

Where the money goes (financed purchase)

Item, whole periodGas carElectric car

Totals are estimates from the numbers above, before any income tax effects. Lease totals count the lease payments and the amount due at signing, with a new lease started when one ends, and do not model mileage limits or end-of-lease fees. Resale value is the price times the share of value kept, adjusted for years owned. Real prices, rates and resale values vary by model, state, credit and mileage. Not financial advice.

Worked example

  • Drive 15,000 miles a year, keep the car 5 years. Gas car: $50,089, 25.6 mpg, $4.465 a gallon. Electric car: $54,813, 30 kWh per 100 miles, no federal credit.
  • Electricity: $0.196 per kWh at home for 80% of charging, $0.4775 per kWh at public fast chargers for 20%. Finance: 7.0% APR, 72 months, 10% down. Lease: $617 a month for 36 months.
  • Fuel for 15,000 miles: gas 15,000 / 25.6 x $4.465 = $2,616 a year. Electric 15,000 x 30 / 100 = 4,500 kWh at a blended $0.252 = $1,135 a year.
  • Cash totals for 5 years (price, minus resale value, plus fuel, maintenance, insurance, fees): gas $54,718, electric $60,645. The electric car loses more value in the resale assumption (it keeps 42.8% of its price after 5 years, versus 58.2% for gas), and costs more to insure.
  • Change any number above and the answer can flip. Diesel uses the gas car's upkeep and resale because no sourced diesel figures were found.

Gas prices moved your budget? See your own inflation rate by category: Inflation By Your Own Basket.

One money rule in the newsletter.

How this is calculated

Fuel cost = miles a year divided by miles per gallon times the fuel price. For the electric car it is miles a year times kWh per 100 miles divided by 100, times a blended electricity price (home price for most charging, public fast-charging price for the share you enter). Buy with cash = price minus any rebate, minus what the car is worth when sold, plus running costs. Finance adds the interest paid on a standard loan over the years you keep the car and pays off any balance when you sell. Lease adds the payments and the amount due at signing. Running costs are fuel, maintenance, insurance and registration and taxes for each year.

Sources

All figures retrieved October 2, 2026. Fuel prices change weekly, so check the EIA link for the latest.

Related questions, answered

How have gas prices moved since 2019?

The BLS average ranged from $1.88 (Apr 2020) to $5.06 (Jun 2022) a gallon, and was $4.20 in Aug 2026. The tool uses current pump prices, so a different price changes the result. See how much gas prices have gone up since 2019.

Sources: BLS average price, gasoline, all types, per gallon, series APU000074714, via FRED, retrieved October 6, 2026

Common questions

Is an electric car cheaper than a gas car over time?

It depends on what you pay for the car, the fuel and the electricity, how far you drive, and what the car is worth when you sell. This calculator adds those up for the years you choose. Change any number and the answer updates.

Where do the fuel prices come from?

Gas and diesel use the U.S. average pump price from the U.S. Energy Information Administration (EIA) weekly survey, week of September 28, 2026. Home electricity uses the BLS U.S. average price per kWh for August 2026.

Why is the diesel car using gas-car costs for upkeep and resale?

We could not find a sourced diesel-specific figure for maintenance, insurance or resale value, so we left them the same as the gas car and say so. Replace them if you have better numbers.

What about the federal EV tax credit?

The federal new-clean-vehicle credit does not apply to vehicles acquired after September 30, 2025, according to the IRS, so the rebate box starts at $0. State or utility incentives may exist. Enter yours in the rebate box.

Why is the lease payment the same for both cars?

We only found an average U.S. lease payment, not one split by gas, diesel and electric. Type a real quote for each car. The average is only a starting point.

How is resale value worked out?

Each car's value is its price times the share of value it keeps after 5 years, adjusted for the number of years you keep it. The defaults come from an iSeeCars study of used-car values. Real resale value depends on the model, mileage and condition.

Is this financial advice?

No. It is a calculator for education. It does not tell you which car to buy.

Watch: how to use this calculator

Watch on YouTube

More guides and tools

Is an EV cheaper than a gas car over 5 years?
How much is $100 from 2019 worth today?