Skip to content
Free tools

EV vs gas cost calculator

Your state's electricity and gas prices decide whether an EV saves you a little or a lot. Pick your state and cars, set how much you charge at home, and see the cost per mile side by side. The federal EV credit ended for vehicles acquired after September 30, 2025, so fuel savings now carry the case.

Fills in your home electricity rate and gas price. Edit them to match your bill or pump.

Electric car

Check the price per kWh in your charging network's app; fast charging usually costs well above home rates.

Gas car

Fuel cost comparison

The EV is cheaper to fuel
EV cost per mile
6.4¢
Gas cost per mile
16.7¢
EV fuel cost per year
$772
Gas fuel cost per year
$2,009
Fuel saving per year
$1,237
Fuel saving over 5 years
$6,186
EV cost to drive as far as one gallon (break-even gas price)
$1.64

Fuel only, at today's prices held flat. Insurance, maintenance, purchase price and resale are not included.

Defaults and sources

Residential electricity price
State average when you pick a state; US average 18.19 cents/kWhEIA Electric Power Monthly, Table 5.6.B (year-to-date through August 2026, preliminary) · checked Oct 27, 2026
Gasoline price
State or regional average; US average $4.27/gallonEIA Gasoline and Diesel Fuel Update, regular grade, week of October 26, 2026 (state where reported, otherwise PADD region) · checked Oct 27, 2026
Vehicle efficiency presets
EPA combined ratings; EV kWh/100 mi includes losses during chargingfueleconomy.gov (U.S. DOE and EPA) · checked Oct 27, 2026
Average new gas vehicle
25.5 mpg real-world: model year 2024 average of 27.2 mpg, which is 1.7 mpg lower without plug-in vehiclesEPA Automotive Trends Report 2025 (EPA-420-R-26-001) · checked Oct 27, 2026
Federal credit for a new or used EV (30D / 25E)
None for vehicles acquired after September 30, 2025IRS FAQs on Public Law 119-21 · checked Oct 27, 2026
Federal credit for a home EV charger (30C)
None for chargers placed in service after June 30, 2026IRS FAQs on Public Law 119-21 · checked Oct 27, 2026

How the calculator works

EV cost per mile is the EPA kWh per 100 miles divided by 100, times your blended electricity price: home rate for the share you charge at home, public price for the rest. EPA's rating is measured at the wall, so charging losses are already included.

Gas cost per mile is the gas price divided by the car's mpg. Annual cost multiplies each by your miles per year.

EV vs gas: common questions

Is it cheaper to charge an EV than buy gas in 2026?

Usually, if you charge at home. At the EIA US averages of about 18 cents per kWh and $4.27 a gallon, a Model Y at 27.5 kWh/100 mi costs about 5 cents a mile against about 17 cents for a 25.5 mpg gas car. Relying mostly on public fast charging narrows or erases the gap.

How much does it cost to charge an EV per month?

Miles per month times kWh per 100 miles, divided by 100, times your rate. 1,000 miles in a 27.5 kWh/100 mi EV at 18 cents is about $50.

Does EPA's kWh per 100 miles include charging losses?

Yes. fueleconomy.gov states that its kWh/100 mile estimates for plug-in vehicles include losses during charging, so you do not need to add a separate loss factor.

Is there still a federal tax credit for buying an EV?

No. The IRS says the new and used clean vehicle credits are not allowed for vehicles acquired after September 30, 2025, and the home charger credit ended for chargers placed in service after June 30, 2026.

Related

Newsletter

The weekly brief

Every Tuesday: the 5 stories that matter, India tender awards roundup, one chart we made. Free.

No spam. Unsubscribe in one click.