EV vs Gas Cost Calculator
Compare the total cost of owning an EV vs a gas car over 5–15 years. Includes purchase price, fuel, maintenance, insurance, and resale value — plus your break-even year.
Enter your details to see your results
Rate data updated: May 2026(may be outdated)
How This Calculator Works
Enter your gas car specs
Input the vehicle price, fuel efficiency (MPG), and estimated annual insurance. These form the baseline for your gas car total cost of ownership over the comparison period.
Enter EV specs and your electricity rate
Set the EV purchase price, efficiency (kWh per 100 miles), and your local electricity rate. The US average is $0.16/kWh, but rates range from $0.10/kWh in Louisiana to $0.38/kWh in Hawaii. Your actual electricity cost is the single largest variable in the EV side of the TCO.
Set annual mileage and comparison years
Enter how many miles you drive per year (default 12,000) and the ownership duration (5 or 10 years). Higher mileage favors the EV — fuel and maintenance savings compound with every mile driven. Longer comparison windows also tend to favor EVs as fuel savings accumulate.
Compare the stacked TCO breakdown
The stacked bar chart shows purchase price, fuel, maintenance, and insurance as separate layers — minus resale value — for both vehicles. The break-even year marker tells you exactly when the EV becomes cheaper on a cumulative basis, accounting for all five cost categories using the DOE TCO methodology.
Key Factors in EV vs Gas TCO
Federal EV Credit Expired
The federal Section 30D EV tax credit expired on September 30, 2025. New EV purchases no longer receive the $7,500 federal credit that previously narrowed the upfront price gap with gas vehicles. This calculator applies $0 federal credit — the honest baseline for purchases made today. Some state-level EV incentives remain; check your state's DMV or DSIRE database for current programs.
Fuel Cost is the Biggest Lever
Fuel and energy costs typically account for 60–70% of the total TCO difference between an EV and a comparable gas vehicle over 10 years. At $3.50/gal with a 30 MPG gas car vs. $0.16/kWh with a 3.5 mi/kWh EV, the EV saves roughly $1,100/year in fuel alone. The lower your local electricity rate and the higher gas prices climb, the faster the EV reaches break-even.
Maintenance Savings
EVs have significantly fewer moving parts than internal combustion vehicles — no oil changes, fewer brake jobs (regenerative braking extends pad life), and no transmission service. National averages: Gas vehicles cost roughly $1,200/year in maintenance; EVs average $600/year. Over 10 years, that $6,000 difference is a meaningful component of the EV's total cost advantage.
Insurance Tradeoff
EVs typically cost 15–25% more to insure than comparable gas vehicles. Higher repair costs (specialized parts, high-voltage battery systems) and repair shop availability drive up premiums. This calculator uses national averages of $1,500/year for gas and $1,800/year for EV insurance. Your actual quotes may vary — shop multiple carriers, as some now offer EV-specific discounts.
Resale Value Retention
Resale is modeled as a piecewise linear depreciation: gas vehicles retain ~40% of purchase price at 5 years and ~20% at 10 years; EVs retain ~45% at 5 years and ~25% at 10 years. The EV's slightly better retention partially offsets its higher upfront cost. Note that EV resale values are evolving rapidly — the used EV market is newer and more volatile than the used ICE market.
Frequently Asked Questions
Why doesn't this calculator include the federal EV tax credit?
The federal Section 30D EV tax credit — which previously provided up to $7,500 toward new EV purchases — expired on September 30, 2025. Because the credit is no longer available for new purchases, this calculator applies $0 federal credit to keep results accurate for buyers today. Some state-level incentive programs remain active. If your state offers an EV rebate or tax credit, you can subtract it from the EV purchase price field to see its effect on your break-even timeline.
How accurate are these TCO numbers?
This calculator uses the DOE Total Cost of Ownership methodology, which models five cost categories: purchase price, fuel, maintenance, insurance, and resale value. Under typical conditions the DOE TCO model is accurate to within ±10% of real-world outcomes. Your actual results will vary based on local gas prices (which can swing $1+/gallon), your electricity rate, how many miles you actually drive, which insurance carrier you use, and regional resale market conditions. Treat the output as an informed estimate, not a guarantee. Maintenance and insurance figures are national averages — get real quotes before making a purchase decision.
What if I drive much more than 12,000 miles per year?
EV economics improve significantly with higher mileage. Fuel and maintenance savings are per-mile advantages, so driving 20,000 miles/year roughly doubles those savings compared to 10,000 miles/year. If you drive 18,000–25,000 miles annually — as many commuters, rideshare drivers, or rural drivers do — the EV's break-even year moves noticeably earlier and the 10-year savings are substantially higher. Adjust the annual mileage slider to see exactly how your driving pattern changes the calculation.
Will my EV battery die in 5 years and ruin the TCO math?
Modern EV batteries are warranted for at least 8 years or 100,000 miles to retain 70% of original capacity (federal regulation for all EVs sold in the US). Real-world data from Tesla, Nissan, and Hyundai fleets shows typical degradation of 8–12% over the first 5 years and 15–25% over 10 years — far from a catastrophic failure. The TCO calculation assumes the battery lasts the full ownership period, which is consistent with manufacturer data. If your EV is approaching 150,000+ miles or you live in a hot climate (Phoenix, Las Vegas) where degradation runs higher, factor in a one-time pack-condition check at year 8.
Does the federal Clean Vehicle Credit apply when I buy an EV today?
No — the federal Section 30D Clean Vehicle Credit ($7,500 for new EVs) and the Section 25E Used Clean Vehicle Credit ($4,000) both expired on September 30, 2025. New and used EV purchases made today receive $0 federal credit. State-level rebates and utility incentives may still be available — check your state DMV, energy office, or the DSIRE database for current programs. This calculator applies $0 federal credit to keep the TCO output accurate. Consult a licensed tax professional before relying on any credit assumption for a major purchase.
How does EV insurance compare to insurance for a comparable gas car?
EV insurance averages 15–25% higher than comparable gas vehicles — typically $1,500–$1,800/year for an EV vs $1,200–$1,500 for a similar gas car. The gap comes from higher repair costs (specialized parts, high-voltage battery packs, fewer certified shops) and higher replacement values. Some carriers (State Farm, Geico, Progressive) now offer EV-specific discounts of 5–10%. Always get 3+ quotes before buying — premium differences across carriers can swing $300–$600/year for the exact same EV. Consult a licensed insurance agent for state-specific options.
Do EVs really cost less to maintain over 10 years?
Yes — the maintenance gap is one of the most consistent EV advantages. National averages from AAA and Consumer Reports: gas vehicles average $1,200/year ($12,000 over 10 years) in maintenance and repairs (oil changes, transmission service, brake pad replacements, exhaust, spark plugs, fuel system); EVs average $600/year ($6,000 over 10 years) because they have no engine oil, no transmission fluid, no spark plugs, no exhaust system, and regenerative braking extends pad life 2–3×. Tire wear runs slightly higher on EVs due to weight and instant torque — that is the main item that does not save.
What is the resale value of a used EV vs a used gas car?
Resale is one of the most volatile parts of EV TCO. This calculator models gas vehicles retaining ~40% of purchase price at 5 years and ~20% at 10 years; EVs retain ~45% at 5 years and ~25% at 10 years (slightly better, per Edmunds and KBB long-term data). However, the used EV market is newer and shifts faster — Tesla price cuts in 2023–2024 dragged used EV values down 20–30% in some segments, while Model 3 and Model Y resale remained relatively strong. If you plan to sell within 3–5 years, treat the resale estimate as a wide range, not a fixed number.
Get Free EV Updates
Monthly EV insights — charging tips, TCO comparisons, and new model analysis. Real data, no spam.