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

Free. Unsubscribe any time. Run by Beehiiv.

Electric Car vs Gas or Diesel Car

Compare purchase, finance and equal-payment lease scenarios with your own assumptions. The defaults preserve dated US inputs retrieved on October 2, 2026, not current quotes. Nothing you type leaves this page.

Last updated: 25/11/2026

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

Using the dated defaults, the gas-car proxy costs $5,927 less over five years with cash and $6,862 less with finance. The electric-car proxy costs $4,489 less in the lease calculation only because both cars share the same assumed payment and the modeled running costs differ. These are scenarios, not matched vehicle or lease offers.

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 entered assumptions, before income tax effects. Lease totals use one shared payment, term and amount due for both cars. A new lease starts when each term ends; the comparison does not price mileage penalties, end-of-lease fees or the remaining obligation if the selected horizon ends partway through a lease. Real prices, rates and resale values differ by vehicle, location, 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. The lease scenario assigns both cars a $617 monthly payment and a 36-month term. It counts 60 payments over the five-year comparison and leaves out the last 12 months of the second lease obligation.
  • 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 linked historical gas-price article preserves its dated comparison. This calculator uses a fixed September 28, 2026 default, not an automatically updated pump price. Enter a price you want to compare; changing it can change the result.

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?

This version has one shared monthly lease-payment input for both cars. The default is a broad average, not separate gas and electric quotes. Equal payments cancel in the comparison, so the difference shown comes from running costs. It cannot compare two different lease-payment quotes. Actual offers can differ in payment, amount due, term, mileage allowance and end-of-lease charges.

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.

CFPB lease payments, depreciation and ending a lease

Federal Reserve lease payment components

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?