Auto Decision CalculatorBy Calcision Editorial · Defaults last reviewed: Nov 2026

Should I buy an electric car or a gas car?

Enter the two prices, your miles and your local fuel and electricity prices. The calculator compares what each car costs to own after resale and shows the year an EV pays back its higher price.

How this EV vs. gas calculator works

The two cars are compared on net cost: what you pay to buy and run the car for the years you pick, minus what you could sell it for at the end. For the EV that is its price, less incentives, plus a home charger. Both cars add yearly fuel, maintenance and insurance. Fuel is computed from your miles, the car's efficiency and your local prices.

The EV usually costs more to buy and less to run. The chart shows where the lines cross. If they never cross in the years you plan to keep the car, the gas car is cheaper to own.

What swings the answer

  • The price gap. Incentives and the cars you are actually comparing matter more than anything else.
  • Electricity vs. gas prices. Home charging at a low rate saves the most. Mostly using public fast chargers can erase the saving. The table shows other prices.
  • Miles driven. The more you drive, the more fuel savings add up.
  • Resale value. Used values are uncertain for both cars. Try different values for the first-year and later loss.

Tax credits

The IRS says the new clean vehicle credit under section 30D and the previously owned credit under section 25E are not allowed for vehicles acquired after September 30, 2025. A vehicle counts as acquired when you have a binding written contract and have made a payment. The default incentive here is therefore $0. If you have a confirmed state or utility incentive, enter it.

Use the EPA's numbers for your exact models at fueleconomy.gov. Efficiency varies a lot between trims, and your real-world mileage will vary with weather and driving style.

Frequently asked questions

Is an EV cheaper than a gas car?

Often over several years of driving, because electricity per mile usually costs less than gas and maintenance is lower. The higher purchase price can offset that if you drive few miles or pay high electricity rates. The break-even year tile shows your case.

Is there still a federal EV tax credit?

Not for new, used or commercial clean vehicles acquired after September 30, 2025, according to the IRS. The calculator defaults to no incentive.

How do I find a car's kWh per 100 miles?

The EPA lists it for each electric model at fueleconomy.gov, along with MPGe. Lower is more efficient. Typical figures run from the high 20s to the high 30s.

What if I charge away from home?

Raise the electricity price to the blend you would pay. Public fast charging is often much more expensive per kWh than home charging.

Does this include the cost of a long road trip or cold weather?

Only if you adjust the energy use. Cold weather and highway speeds raise an EV's kWh per 100 miles.

Assumptions & methodology

Every default and modeling choice behind these results. Sources and dates are noted where a figure comes from published data.

ItemWhat we assume
FuelEV fuel is miles times kWh per 100 miles times the electricity price. Gas fuel is miles divided by mpg times the gas price. Charging losses are included in the EPA's kWh per 100 miles. Prices stay flat for the whole period.
Default numbersWith no state chosen, electricity is 18.2¢/kWh, the U.S. residential average for January to September 2026 in the EIA's Electric Power Monthly (preliminary), and gas is $3.64 a gallon, the EIA weekly U.S. regular price for November 23, 2026. Choosing a state fills that state's residential electricity average (EIA, same period) and the EIA weekly regular gasoline price for the state, or for its region where EIA does not publish the state. Gas prices move weekly, so replace it with what you pay. The 30 kWh/100 mi and 30 mpg figures are typical, not specific to any model.
IncentivesThe federal credits under IRC sections 30D and 25E ended for vehicles acquired after September 30, 2025 (IRS). The default is $0.
ResaleEach car loses the first-year percentage, then the later yearly percentage. Real values depend on the model, mileage and condition.
Not modeledFinancing cost, taxes and fees at purchase, battery replacement, electricity rate plans, public charging mix, rising or falling fuel prices, and the value of the cash you do not spend.
Not financial adviceFor education and estimates only.

What this calculator does not model

  • Estimates use only the inputs shown. Real situations can differ.
  • Tax effects are simplified: AMT, income phase-outs, credits and local exemptions are not modeled.

For a large decision, check the numbers with a licensed tax or financial professional.

About these numbers

Calcision is an independent publisher, not a financial adviser, lender or broker. The calculators run entirely in your browser: nothing you enter is sent to us. Defaults come from public sources listed on the methodology page and were last reviewed in November 2026. Read how we work in our editorial policy. These tools are for education, not financial, tax or legal advice. Spot an error? Tell us and we will check it.

Rent or buy a home?Compare owning with renting and investing the difference, with break-even year and a sensitivity table.How much house can I afford?Find the price you can carry on your income, debts and down payment, then test a specific home against it.Should I refinance my mortgage?Find your break-even point on closing costs and see whether a new rate and term really saves money.Pay off debt or invest?Put extra cash on a loan or into investments, and see the return you'd need for investing to win.Should I consolidate my debt?Compare keeping several debts with one consolidation loan, including fees and the effect of a longer term.Roth or traditional 401(k)/IRA?Compare Roth and traditional contributions based on your tax rate today versus in retirement.When should I claim Social Security?Compare claiming at 62, your full retirement age or 70, and see the break-even ages.Lease or finance a car?Compare the real cost of leasing against financing and keeping the car, including resale value.New or used car?Compare the true cost of a new car against a used one, with depreciation, repairs, interest and tax.Pay off my mortgage early or invest?Put extra money on the mortgage or invest it, and see the return investing needs to come out ahead.Should I refinance student loans?See whether a new student loan rate and term saves money, and be reminded what federal loans offer that private ones don't.15-year or 30-year mortgage?Compare a short loan with a long one when you invest the payment difference, and see the return where they tie.Should I pay mortgage points?See whether paying up front for a lower rate beats keeping the cash, and the year it pays off.Pay off my car loan early?Put extra cash on a car loan or invest it instead, and see the return investing needs to win.FHA or conventional loan?Compare the true cost of an FHA loan and a conventional loan, including mortgage insurance that lasts for different lengths of time.Pay down to remove PMI?Decide whether to pay your mortgage down to 80% to drop PMI, or keep PMI and invest the cash.HELOC or cash-out refinance?Compare borrowing against your home with a HELOC or a cash-out refinance, including the value of keeping a low mortgage rate.Credit card balance transfer?See whether moving a credit card balance to a 0% card beats paying down your current card.Move to a lower-tax state?Compare state income, property and sales taxes between where you live now and a state you might move to.Pay off student loans early?Put extra cash toward student loans or invest it instead, and see the return investing needs to win.How much car can I afford?Find the most car you can afford from your income, down payment, loan rate and term, and see how the loan length changes it.Should I accept a workers' comp settlement offer?Compare a lump-sum workers' comp offer with the weekly checks still owed, after attorney fee, liens and a medical set-aside.

EV vs. gas car cost by state

Local electricity and gasoline prices, fuel cost per mile and break-even year in every state.