Article — EV vs Gas Total Cost Calculator
For a 2026 buyer paying $44,000 for an electric vehicle versus $38,500 for a comparable gas car, driving 12,000 miles a year with home charging at the U.S. residential rate, the gas car is roughly $8,000 cheaper across five years. Restore the now-expired federal $7,500 credit and the EV wins by about $1,700. Drive 25,000 miles a year and the EV wins by $12,000. The total-cost-of-ownership answer is never just "EV is cheaper" or "gas is cheaper" — it pivots on mileage, charging access, and whether any credit is in play.
This guide walks through the six cost lines that decide the comparison, how to read the per-mile numbers, where EVs lose ground despite cheaper electricity, and the mistakes that make online "EV savings" claims overstated.
What total cost of ownership actually measures
Total cost of ownership (TCO) sums every dollar a vehicle takes out of your account across a fixed window — typically 5 years, sometimes 7 or 10. The standard line items are: purchase price (less residual value, captured as depreciation), fuel or electricity, insurance, maintenance, registration and taxes, and any one-off items like battery replacement. Federal and state incentives subtract from the EV side.
The U.S. Department of Energy's Alternative Fuels Data Center publishes a free Vehicle Cost Calculator that follows this same framework. The framework is industry-standard; the variables are not. A study comparing a Tesla Model 3 owner in California (cheap electricity, expensive gas, state EV rebate) to one in Mississippi (cheaper gas, average electricity, no rebate) will produce opposite conclusions from identical math.
The International Energy Agency's Global EV Outlook 2025 reported that EVs reached 25% of global new-car sales in 2025, with sales hitting 20.7 million units. Forecasts for 2026 push that figure to 22.7 million. The 5-year TCO math has been the central buyer concern through every step of that growth curve.
Fuel versus electricity per mile
An EV at 3.8 mi/kWh, charged at $0.16 per kWh, costs about $0.042 per mile to drive. A gas car at 28 mpg, fueled at $3.10 per gallon, costs about $0.111 per mile. The EV is roughly 60% cheaper to fuel — about $0.07 per mile saved, or roughly $1,680 per year at 24,000 miles, $840 at 12,000.
That gap collapses on public charging. At a $0.40/kWh DC fast-charging session, the per-mile cost rises to ~$0.107 — within a cent of the gas figure. EVs without home charging access lose most of the running-cost advantage and often end up the more expensive option once depreciation and insurance are added. The Idaho National Laboratory's AFLEET tool documents per-mile fuel costs across both fuel types in detail.
- EV home charging — $0.042/mi at $0.16/kWh, 3.8 mi/kWh
- EV public DC — $0.107/mi at $0.40/kWh
- Gas (28 mpg) — $0.111/mi at $3.10/gal
- Gas (20 mpg pickup) — $0.155/mi at $3.10/gal
- Hybrid (45 mpg) — $0.069/mi at $3.10/gal
Most online EV vs gas comparisons assume home charging. If you rely on public DC fast charging — apartment dwellers, on-street parkers, condo residents without dedicated outlets — the per-mile energy advantage shrinks to near zero. Combined with higher EV insurance and faster depreciation, gas usually wins this scenario by $5,000–$15,000 over 5 years.
Depreciation: where EVs lose ground
A new EV in 2026 typically keeps about 45–50% of its purchase value after 5 years. A new gas car keeps about 50–56%. The 5–8 percentage-point gap translates into an extra $2,000–$5,000 of depreciation cost on a $44,000 EV compared with a similarly priced gas car — roughly half a year's fuel savings, gone before you even start driving.
The depreciation pattern is also non-linear. EVs lose value fastest in years 1–3, then stabilize; gas vehicles depreciate more evenly. That makes ownership length matter: a 3-year EV lease often costs more in depreciation than a 7-year EV ownership amortizes per year. Consumer Reports has tracked this gap shrinking each year as the used-EV market matures.
By March 2026 the average used EV sold for $34,653 — only $1,102 more than the average used gas car ($33,641). Price parity already exists in the used market. For buyers comfortable with a 1–3-year-old EV, the TCO comparison flips decisively toward electric.
Insurance, maintenance, and registration
EVs cost more to insure: about $200–$400 more per year on average, driven by higher repair costs (battery packs, sensors, complex bodies), longer parts lead times, and fewer specialist repair shops. Across 5 years that adds $1,000–$2,000 to the EV side of the ledger.
EVs claw most of that back on maintenance. No oil changes, no spark plugs, no exhaust system, regenerative braking that extends pad life — annual EV maintenance averages $100–$200 versus $200–$400 for gas, per the Natural Resources Defense Council. Over 5 years, the EV saves roughly $500–$1,000 here.
Registration is mixed. Many U.S. states offer reduced registration fees or tax-exemptions for EVs (saving $100–$300/year), but several have introduced annual "EV road-use fees" of $100–$200 to replace lost gas-tax revenue. Net effect: roughly a wash, varying heavily by state.
The 2026 tax-credit cliff
The federal Clean Vehicle Credit of up to $7,500 for new EVs expired on September 30, 2025. For new vehicles purchased on or after that date the credit is $0. That single change shifts roughly 18% of the typical $44,000 EV's purchase math against the EV — and is the main reason a calc that "worked" in 2024 may show gas winning in 2026.
Some credits survive. The federal Used Clean Vehicle Credit (up to $4,000 on qualifying used EVs under $25,000) remains active. Several states — California, Colorado, New York, New Jersey, Massachusetts among them — run their own rebate or tax-credit programs ranging from $1,000 to $7,500. Check your state department of energy or revenue site for current eligibility.
Calculators and articles published before October 2025 typically default the tax credit to $7,500. If you copy those assumptions into your 2026 purchase math, you'll overstate EV savings by $5,000–$7,500. Always set the federal credit to $0 unless you're buying used or have confirmed a state-level program.
Common mistakes in EV vs gas total cost math
Online EV calculators often display fuel savings alone — "save $9,000 over 5 years!" — without subtracting the $2,000–$5,000 of extra depreciation an EV typically eats versus a gas car. Real net savings are 30–50% lower than the fuel line implies. Always run a full TCO comparison.
- Mileage threshold — below ~8,000 mi/yr, gas usually wins; above ~15,000 mi/yr, EV usually wins
- Charging type matters more than EV efficiency — home vs public is the single biggest variable
- Insurance gap — EV runs $200–$400/yr more
- Battery replacement — only relevant past 8 years; warranty covers most owners
- State incentives — can move the needle by $1,000–$7,500 either direction
Vehicles lose value fastest in the first 2–3 years. Using "vehicle drops 10% per year" rather than an exponential curve typically undercounts the early loss and overcounts the late loss, making short ownership windows look misleadingly favorable for EVs.
National averages move 10–20% year-to-year. A 2024 calc using $0.13/kWh electricity and $3.65/gal gas produces meaningfully different numbers than 2026's $0.16/kWh and $3.10/gal. Always check the current EIA averages before relying on a TCO result.
Sources
- U.S. Department of Energy: Alternative Fuels Data Center Vehicle Cost Calculator
- International Energy Agency: Global EV Outlook 2025 — Trends in Electric Car Markets
- Consumer Reports: EVs Offer Big Savings Over Traditional Gas-Powered Cars
- Natural Resources Defense Council: Electric vs Gas Cars — Is It Cheaper to Drive an EV?
- Idaho National Laboratory: Comparing Energy Costs per Mile (PDF)