Skip to content
Housenergy Calculator

Electric Car vs Gas Car: Cost per Mile by State

Cost per mile is the easiest way to compare them. Enter your car and your gasoline price below, then see how much the price of electricity in each state changes the answer.

Last reviewed November 3, 2026. Written by the Team of Housenergy Calculator.

Sample numbers only, to show how it works. Replace them with yours.

Where you charge and your price

Average residential price, 2024 annual average (EIA).

Filled from the state average. Replace it with the rate on your bill.

Your car and how much you drive

On the EPA label as kWh per 100 miles. It is measured at the plug, so it already includes charging losses.

If you know this instead, it fills the field on the left.

Starts at the 15,000 miles EPA uses for its cost estimates. Replace it with yours.

Compare with a gasoline car (optional)

The price where you fill up. No gasoline price is filled in for you.

Combined mpg of the car you would compare with.

Enter a value for kWh per 100 miles (the EPA label of the car shows it), or fill in miles per kWh.

This is an estimate, not a professional calculation. See the disclaimer and the methodology.

How to work out cost per mile

  • Electric car. kWh per 100 miles × price per kWh ÷ 100. The kWh per 100 miles is on the EPA label and is measured at the plug.
  • Gasoline car. Price per gallon ÷ miles per gallon.
  • Over a year. Multiply by the miles you drive. EPA uses 15,000 miles a year on its labels.

An example at U.S. average prices

An electric car using 30 kWh per 100 miles (assumed) at the 2024 U.S. average of 16.5 cents per kWh costs 4.9 cents a mile, or $742 over 15,000 miles. A gasoline car at 30 miles per gallon (assumed) with gasoline at $3.50 a gallon (assumed) costs 11.7 cents a mile, or $1,750. The gasoline price you enter is your own: we have no gasoline price to start from.

The gasoline price at which they cost the same

For an electric car using 30 kWh per 100 miles, the break-even gasoline price for a 30 mpg car is the electric cost per mile times 30. If gasoline costs more than that where you live, the electric car costs less per mile. The table shows the five states with the lowest and the five with the highest 2024 average electricity price. The efficiency and mpg are assumed; change them in the calculator.

Electric cost per mile and break-even gasoline price for a 30 mpg car, 2024 electricity prices (assumed 30 kWh per 100 miles)
StateElectricity priceElectric cost per mileBreak-even gasoline price
North Dakota11.51 cents3.5 cents$1.04
Idaho11.52 cents3.5 cents$1.04
Nebraska11.53 cents3.5 cents$1.04
Louisiana11.73 cents3.5 cents$1.06
Washington11.9 cents3.6 cents$1.07
U.S. average16.48 cents4.9 cents$1.48
Hawaii42.86 cents12.9 cents$3.86
California31.97 cents9.6 cents$2.88
Massachusetts29.35 cents8.8 cents$2.64
Connecticut28.75 cents8.6 cents$2.59
Rhode Island28.65 cents8.6 cents$2.58

What cost per mile leaves out

  • Public fast charging, which sets its own prices.
  • The price of the car, financing and insurance.
  • Maintenance and repairs.
  • Rebates and tax credits.
  • How the electric range and the cost per mile change with temperature and speed.

Frequently asked questions

Is it cheaper to drive an electric car than a gas car?

Per mile, often yes where electricity is cheap relative to gasoline, but it depends on the car, the electricity price and the gasoline price. The calculator compares them for your numbers.

Where do I find the kWh per 100 miles of an electric car?

On the EPA fuel economy label and on fueleconomy.gov. It is measured at the plug, so it already includes charging losses.

What gasoline price makes an electric car cheaper?

Multiply the electric cost per mile by the miles per gallon of the gasoline car. If gasoline costs more than that, the electric car costs less per mile.

Does the comparison include public charging?

No. Public chargers set their own prices. If you charge away from home, estimate the share and the price separately.

Related calculators

Sources and last update

Last updated: November 3, 2026. See methodology and sources.