EV vs gas car: compare total ownership costs

A practical guide to comparing purchase price, energy, insurance, repairs and resale—not just fuel economy.

Start with the same ownership period and distance

Use the same number of years and miles per year for each vehicle. That keeps the comparison fair. Choose realistic purchase prices and expected selling prices for the end of your ownership period.

Calculate gasoline and electricity spending

For a gasoline car, annual fuel cost = annual miles ÷ US miles per gallon × price per US gallon.

For an electric car, annual energy cost = annual miles × kWh per 100 miles ÷ 100 × price per kWh. Enter an efficiency figure that reflects charging losses if you want the calculator to include them.

A simple break-even example

These numbers are illustrations, not live vehicle prices or forecasts. Imagine you drive 12,000 miles per year for 8 years. A gasoline vehicle uses 30 US MPG at $3.50/gal, while an EV uses 28 kWh/100 miles at $0.18/kWh.

ItemGasEV
Annual energy$1,400.00$604.80
Energy over 8 years$11,200.00$4,838.40
Energy differenceEV saves $6,361.60 in this example

An EV could cost more to buy, insure or repair, and its resale value may differ. Those differences can offset the energy savings. Use the full calculator rather than deciding from energy costs alone.

What else to include?

Check local taxes and registration fees, request insurance quotes, consider tires and expected repairs, include a home charger in upfront costs if needed, and test several resale values. Parking may be excluded when every car uses the same space.

What this calculator cannot predict

It does not predict future gas prices, charging rates, used-car market values, insurance changes or battery failure probability. It also does not automatically add charging losses or financing interest. These uncertainties matter more over long ownership periods.

Compare your cars →   See every calculation formula