Electric vs. gasoline energy cost

Compare annual gasoline expenses with metered charging costs for the same distance.

Your inputs

Start with the example values or enter your own numbers.

mi
mpg
$/US gal
kWh/100 mi
$/kWh

Estimate

—

How to use this calculator

Use a wall-energy figure such as the electric consumption on a U.S. fuel economy label. Weight your electricity rate by the kWh bought at home and public chargers.

Formula

Gas cost = annual miles ÷ mpg × gasoline price. EV cost = miles × kWh per 100 miles ÷ 100 × electricity price. Savings = gas cost − EV cost.

Worked example

At 12,000 miles, 30 mpg and $3.50 per gallon, gasoline costs $1,400. An EV using 30 kWh/100 mi at $0.18 per kWh costs $648, a $752 energy difference.

Do I add charging losses to a wall-energy figure?

The wall figure already includes charging losses. Including them a second time would overstate electricity costs. Add session fees separately if they apply.

U.S. Department of Energy · Charging at home

How do kW and kWh differ?

Kilowatts measure power. Kilowatt-hours measure energy. A steady 7 kW for two hours delivers 14 kWh before charging losses.