EV vs Gas Cost Calculator

Compare a five-year total cost of ownership, not a single fill-up: fuel, maintenance, tax credit, resale value and the payback on the price gap.

An electric car usually costs more to buy and less to run. Which one wins depends on how long you keep it, how far you drive and what the electricity costs. This page builds the full N-year bill: depreciation, fuel and maintenance, side by side.

Driving, prices and the two cars

Everything is annual unless it says N years. Use the price you actually paid or were quoted, including destination charges.

EV minus gas–
EV total cost–
Gas total cost–
Payback on the price gap–
EV fuel per year–
Gas fuel per year–
EV maintenance per year–
Gas maintenance per year–
EV depreciation–
Gas depreciation–
EV total per mile–
Gas total per mile–
How this was worked out

–

N-year difference by electricity and gas price

Electricity$3.00/gal$3.45/gal$4.00/gal$4.50/gal
$0.12/kWh-$6,979-$7,879-$8,979-$9,979
$0.16/kWh-$6,376-$7,276-$8,376-$9,376
$0.20/kWh-$5,773-$6,673-$7,773-$8,773
$0.24/kWh-$5,169-$6,069-$7,169-$8,169

Five-year cost at the default inputs

Cost itemEVGas carEV minus gas
Depreciation$13,400$15,000-$1,600
Fuel, 5 years$4,224$6,900-$2,676
Maintenance, 5 years$3,000$6,000-$3,000
Total, 5 years$20,624$27,900-$7,276

Payback by the price gap after the credit

EV price premiumYears to break evenAnnual operating saving
$00.0 years$1,135
$2,5002.2 years$1,135
$5,0004.4 years$1,135
$7,5006.6 years$1,135

Four rules for a fair comparison

  • Compare the same number of years. A five-year window captures most of the depreciation and avoids crediting the EV with a decade of fuel savings it may never deliver.
  • Net the tax credit out of the purchase price before anything else. A $7,500 credit on a $38,000 car is a 20% discount, not a rounding error.
  • Do not set maintenance to zero for an EV. Tires wear faster on the extra weight, and cabin filters, brake fluid and alignment still cost money.
  • Use resale percentages you can defend. Luxury EVs have lost value faster than the segment average, while some mainstream models hold close to it.

Practical notes

  • Electricity price matters less than the price gap. At 12,000 miles with 80% home charging, moving from $0.16 to $0.24 per kWh adds about $241 a year, while a $5,000 price gap takes more than four years to repay.
  • Home charging is the whole business case. Without a garage or a dedicated parking spot, the fast-charge share rises and the running-cost advantage shrinks by half or more.
  • Insurance often costs 10% to 25% more for an EV because of battery repair costs. This model leaves insurance out, so check a quote before deciding.
  • State incentives, registration fees and home charger installation (often $500 to $1,500) are not in the totals. Add them if they apply where you live.

Three common mistakes

  • Comparing a $38,000 EV with a $30,000 gas car and ignoring that the EV buyer may also save $7,500 in tax, which turns an $8,000 gap into $500.
  • Using the EV sticker range as annual mileage. Range anxiety usually means the EV becomes the second car and absorbs fewer miles than planned.
  • Forgetting that a gas car also depreciates. The EV loses more dollars in absolute terms here, but the gas car still loses $15,000 over five years.

Total cost of ownership is an estimate built from the inputs above. It excludes insurance, tires, registration, home charger installation, financing interest and repairs outside the maintenance rate.

Everything is calculated in your browser. Inputs are never uploaded.

Want the complete solution?

EV vs Gas Decision Pack

Five-year total cost for both cars, including the credit, fuel and resale value.

Get it for $6.90

Secure checkout. You will receive the download link right after payment.

How to read the result

Calculation notes

Rates below are the local figures this calculator is checked against. Always confirm with your own bill or the official source.

RoundingResults are rounded to 2 decimals
Unit conversion1 in = 2.54 cm · 1 lb = 0.4536 kg · 1 US gal = 3.785 L
AssumptionsTaxes and fees are excluded unless stated on the page

Reference values, not tax, legal or financial advice. Methodology & data sources

Cite this page

Use this citation in reports, assignments or articles so readers can come back and verify the result.

EV vs Gas Desk · “EV vs Gas Cost Calculator”. https://evvsgas.mytoolmasters.com/ev-vs-gas (accessed )

Last updated 2026-11-15 · How we calculate & data sources

More tools on this site

Guides and reference tables

Related tools

Embed this tool on your site

Copy the code below. Please keep the credit link — it keeps the tool free.