EV vs gas cost per mile and payback calculator

Compare EV and gasoline energy costs, annual fuel savings, the payback period, and 5- and 10-year ownership costs.

Inputs

Unit system
Enter 0 if your efficiency already includes wall-to-battery losses.
Use a negative amount if the EV costs less up front.
Use a negative amount if EV maintenance costs more.

Results

EV energy cost
$0.051/mi
Gas energy cost
$0.113/mi
Simple EV payback
5.77 yr
Cumulative ownership cost
EV and gasoline ownership costsTwo cumulative cost lines cover years zero to ten.Total cost (USD)Years of ownership$0k0$13k2.5$26k5$39k7.5$52k10
EVGasCost crossover
EV cost per 100 mi
$5.08
Gas cost per 100 mi
$11.25
Annual fuel savings
$740.48
Annual savings with maintenance
$1,040.48
Net EV price premium
$6,000.00
5-year cost · EV
$39,298
5-year cost · gas
$38,500
10-year cost · EV
$44,595
10-year cost · gas
$49,000

The cost lines meet in 5.77 years.

Calculation notes

EV energy cost uses battery consumption, charging losses, and the price per metered kWh. Gasoline cost per mile is the price per US gallon divided by US mpg.

Simple payback divides the net EV purchase premium by annual fuel and maintenance savings. Ownership totals include the entered purchase price, credits, energy, and maintenance at constant prices and mileage.

Enter your own eligible rebate if it applies. Financing, depreciation, insurance, taxes, and resale can change a full ownership comparison.

Frequently asked questions

Should I apply a charging loss to EPA label kWh per 100 miles?

Use zero extra loss when your source already measures wall electricity. Apply a loss factor to battery-only readings such as many dashboard trip meters.

How does the tool handle a higher running cost for the EV?

A positive net EV premium with zero or negative annual savings has no payback. The cost curves still show how the total difference grows over time.

What is included in five- and ten-year vehicle cost?

The totals use purchase price after any entered credit, plus the energy and maintenance you project for each year.