FuelAndFix Open cost toolsCost tools

EV vs Gas Cost Calculator: Annual Energy Spending

Compare annual electricity and gasoline costs using billed kWh per 100 miles, local energy prices and MPG, with signed savings and a break-even electricity rate.

Your numbers

Reset

Result

Your result — Fill in the fields and press Calculate: the result appears here, with the formula below.

Use energy at the meter

EV cost = miles × kWh per 100 mi ÷ 100 × $/kWh; gas cost = miles ÷ MPG × $/gal; savings = gas cost − EV cost

Enter the electricity purchased to drive 100 miles, including charging losses. EPA label kWh/100 mi is an appropriate starting point; a charger or utility record measured over a known distance can be more personal. A dashboard number that counts only energy leaving the battery may omit losses. Do not add losses again to a figure that already measures wall or billed electricity.

Defaults are scenario inputs, not current tariffs or model ratings
Illustrative annual comparisonEVGasoline vehicle
Miles 12,000 12,000
Consumption 30 kWh/100 mi 30 MPG
Price $0.18/kWh $3.60/US gal
Energy bought 3,600 kWh 400 US gal
Annual energy cost $648.00 $1,440.00

The example saves $792 a year in energy. At $0.60 per kWh with the same consumption, electricity costs $2,160 and savings becomes negative $720. A negative result means the EV costs more for energy under those inputs. Zero annual miles makes both annual costs zero; it does not erase fixed ownership or charging-account fees.

What the break-even rate means

Equal-cost electricity rate = ($/gal ÷ gasoline MPG) ÷ (kWh per 100 mi ÷ 100)

In the default example, energy costs are equal at $0.40 per kWh. Below that rate the EV energy costs less; above it, more, holding all other inputs fixed. This is a per-mile energy-price threshold, not a vehicle-purchase payback period. It remains mathematically defined even when you enter zero miles for the annual totals.

Use a rate that includes variable delivery charges and taxes you actually pay per kWh. Fixed subscriptions, session or time fees, charger installation, maintenance, insurance, financing and vehicle prices are outside the tool. If you charge at several rates, use a kWh-weighted price rather than an average of the number of charging visits.

Can I enter MPGe as gas MPG?

No. MPGe compares energy content, not the price of gasoline bought by the EV. Use kWh/100 mi and an electricity price for the EV side.

Can electricity be free?

The tool accepts a zero electricity price. Any subscription, parking or session fee still needs to be counted separately.

Does this decide which car to buy?

No. It compares energy spending only and does not include acquisition or other ownership costs.

Source: EPA/DOE: understanding the electric vehicle label. Fuel Consumption Rate and Estimated Annual Fuel Cost sections: kWh/100 mi and personalized price inputs. Checked October 22, 2026.

Source: US EPA: fuel economy and EV range testing. EPA explains wall-based accounting and charging losses. The tool performs arithmetic on your inputs. Checked October 22, 2026.

Related tools & guides