Calculator

EV charging cost calculator: cost per charge, per mile and per year

SCBy Sarah Chen, energy analystUpdated November 20267 min read
Electric car charging in a home garage at night with a wall charger, warm light
Quick answer

This EV charging cost calculator shows what it costs to charge an electric car at home, on public chargers or from your own solar panels. Enter the miles you drive, your car's efficiency in kWh per 100 miles and your electricity rate, and it returns your cost per charge, per 100 miles, per month and per year, next to the gasoline cost for the same driving. At the US average home rate of 18.16 cents per kWh, a car using 30 kWh per 100 miles and driven 12,000 miles a year costs about $726 a year to charge, or about 6 cents a mile.

Work out your charging cost

kWh/100 mi
EPA combined figure from fueleconomy.gov.
cents/kWh
On a time of use or EV plan, enter your off peak rate.
%
%
cents/kWh
$
Yearly charging cost
$0
Per mile
Gas for same miles
Versus gas
Gas is cheaper above
One full charge at home

On this page
  1. How the EV charging cost calculator works
  2. The formula behind the cost
  3. How much does it cost to charge an electric car?
  4. Home charging vs public charging costs
  5. Cost per mile: electric vs gasoline
  6. Charging losses and your electricity plan
  7. Charging from your own solar panels
  8. Accuracy and limits
  9. Frequently asked questions
01

How the EV charging cost calculator works

  1. Enter your drivingMonthly or yearly miles. The default is 12,000 miles a year, or 1,000 a month.
  2. Choose your vehicle efficiencyPresets load the official EPA combined figure: 25 kWh per 100 miles for a 2026 Tesla Model Y Long Range RWD, 27 for the Model Y Long Range AWD, and 29 for a 2026 Hyundai Ioniq 5 Standard Range. Any other car's figure is on its window sticker or at fueleconomy.gov. The default is 30, a round planning figure.
  3. Set your electricity ratePick your state to load its average residential rate from the US Energy Information Administration, or type the rate from your own plan. If you are on a time of use or EV rate, enter the off peak price you actually charge at.
  4. Check charging efficiencyThe default is 90 percent, meaning 10 percent of the energy drawn from the wall is lost as heat in the charger and battery. The tool shows this as an input instead of hiding it.
  5. Add a gasoline comparisonEnter a gas price and the miles per gallon of the car you are comparing against. The defaults are $4.00 a gallon, close to the US average of $3.995 that EIA reported for the week of November 9, 2026, and 30 mpg.

The result shows yearly, monthly and per mile charging cost, the cost of a typical full charge, the gasoline cost for the same miles, and the electricity price at which gasoline would become cheaper. The formula prints under the result.

02

The formula behind the cost

Energy at the wall

Miles × kWh per mile ÷ charging efficiency. For 12,000 miles at 30 kWh per 100 miles and 90 percent efficiency: 12,000 × 0.30 ÷ 0.9 = 4,000 kWh a year.

Cost

Energy × rate. At 18.16 cents: 4,000 × $0.1816 = $726 a year, or $60.50 a month.

Cost per mile

$726 ÷ 12,000 = about 6.1 cents a mile, or $6.05 per 100 miles.

Gasoline comparison

12,000 miles ÷ 30 mpg = 400 gallons × $4.00 = $1,600 a year, or 13.3 cents a mile. Charging at home at the average rate saves about $874 a year on fuel.

Break even electricity price

Gasoline cost per mile ÷ wall kWh per mile = $0.1333 ÷ 0.333 = about 40 cents per kWh. Below that price, charging is cheaper than gas for this pair of vehicles; above it, gas is cheaper.

Electric car parked at a public fast charging station seen from far away, evening
03

How much does it cost to charge an electric car?

At home, a full charge for a typical EV with a 75 kWh battery, going from 10 to 90 percent, puts 60 kWh into the battery and draws about 66.7 kWh from the wall. At the US average rate of 18.16 cents, that costs about $12.

Your state changes that figure more than your car does. Using the same 12,000 miles and 30 kWh per 100 miles, yearly home charging costs, at August 2026 EIA residential average rates, are:

StateAverage residential rateYearly charging costCost per mile
Nevada12.72 cents$5094.2 cents
Washington14.63 cents$5854.9 cents
Florida14.99 cents$6005.0 cents
Texas15.91 cents$6365.3 cents
US average18.16 cents$7266.1 cents
New York28.65 cents$1,1469.6 cents
California29.75 cents$1,1909.9 cents
Massachusetts30.48 cents$1,21910.2 cents
Hawaii47.18 cents$1,88715.7 cents

Even in Hawaii, at the highest rate in the country, home charging costs only a little more per mile than a 30 mpg car at $4 gas, and Hawaii's gas prices are well above the national average. In most states, charging at home costs well under half as much as gasoline for the same driving. To compare rates and solar value across states, use our state comparison tool.

04

Home charging vs public charging costs

Most EV drivers do most of their charging at home, and home charging is almost always the cheapest option. Public charging comes in two kinds, priced very differently:

  • Public Level 2 chargers at workplaces, shops and parking garages often charge around 30 cents per kWh, and some are free. That works out to about 10 cents a mile for our example car.
  • DC fast charging networks on highways commonly charge about 45 to 60 cents per kWh for drivers without a membership, varying by network, station and state. At those prices the example car costs 15 to 20 cents a mile, more than the 13.3 cents for a 30 mpg gas car at $4 a gallon.

The break even figure from the tool makes this clear: once you pay more than about 40 cents per kWh, a 30 mpg gas car is cheaper to fuel. Fast charging makes sense on road trips, but a driver who relies on it every day loses most of the fuel savings. The calculator lets you set a public share, so a driver who fast charges 20 percent of the time sees the blended cost.

Installing a home charger is the step that makes the low cost possible. Our guide to EV charger installation cost covers Level 2 hardware, wiring and permits.

05

Cost per mile: electric vs gasoline

At the US average electricity rate, an efficient EV costs around 5 to 6 cents a mile at home. A gasoline car costs:

Gas car efficiencyCost per mile at $4.00 a gallonCost per mile at $3.50 a gallon
20 mpg20.0 cents17.5 cents
25 mpg16.0 cents14.0 cents
30 mpg13.3 cents11.7 cents
40 mpg10.0 cents8.8 cents
50 mpg (hybrid)8.0 cents7.0 cents
Electric car on a suburban driveway with rooftop solar panels on the home

A 50 mpg hybrid at $3.50 gas costs about 7 cents a mile, still more than home charging at the national average rate but close enough that in high rate states such as California or Massachusetts the hybrid can be cheaper to fuel. Fuel is only part of the picture, though: EVs also skip oil changes and most brake wear, which the calculator does not count.

06

Charging losses and your electricity plan

Two assumptions decide whether a charging cost estimate is right, and many calculators hide both.

Charging losses

Not all the electricity drawn from the wall reaches the battery. Some is lost as heat in the charger, the car's onboard charger and the battery itself, and the car may run its battery heater or cooling during a session. Losses of about 10 percent are typical on Level 2, and slow Level 1 charging from a standard outlet tends to lose more. Our default of 90 percent efficiency is shown on screen so you can change it.

Your actual rate

A state average is a weak default if you are on a time of use plan. Many utilities offer EV plans with cheap overnight prices. In California, for example, PG&E's EV plan charges about 22.6 cents off peak against a residential average of about 33.7 cents, a cut of about a third. Charging overnight on that plan costs the example car about $904 a year instead of $1,348. Entering the rate you actually charge at matters more than which car you drive.

07

Charging from your own solar panels

If you have solar, charging from your panels is not free: it costs whatever you would otherwise have been paid for exporting that energy. Under full retail net metering, that is your retail rate, so solar charging saves nothing compared with grid charging at the same hour. Under export rates that pay far less than retail, such as California's net billing, every kWh you put into the car instead of the grid is worth much more. Our explainers on how solar net metering works and on California's NEM 3.0 rules show how export credits are set.

As an example, if your utility credits exports at 5 cents per kWh, 4,000 kWh of daytime solar charging costs $200 a year in forgone credits, far below grid charging at any state's average rate. The catch is timing: the car has to be home and plugged in while the sun shines. Our guide to pairing solar with an EV charger covers smart chargers that follow solar output.

An EV adds about 4,000 kWh a year to your use in this example, which is roughly 6 or 7 more panels in an average US location. If you are sizing a new system, add the EV load first; see our guide on how many solar panels you need.

08

Accuracy and limits

The calculator is accurate to within your inputs. The main sources of error are:

Real efficiency differs from the EPA figure

Cold weather, highway speed and cabin heating raise energy use, sometimes sharply in winter. Use your car's trip computer average if you have one.

Rates change

State averages here are from EIA's August 2026 data and include taxes and fixed charges spread over usage, so your marginal rate may be lower or higher.

Fixed charges are not counted

Some EV plans add a monthly fee; include it if your plan has one.

No charger credit is assumed

The federal credit for home charging equipment ended for property placed in service after June 30, 2026.

For other home energy tools, see our full list of GreenCalcs calculators.

Run your own numbers

Free calculators for this topic

FAQ

Frequently asked questions

How much does it cost to charge an electric car at home?
At the US average residential rate of 18.16 cents per kWh, charging a car that uses 30 kWh per 100 miles costs about $6 per 100 miles, or about $60 a month for 1,000 miles. That includes 10 percent charging losses. In low rate states such as Nevada it is about $42 a month.
How do you calculate EV charging cost?
Multiply the miles you drive by your car's kWh per mile, divide by charging efficiency of about 0.9, then multiply by your electricity rate. For 1,000 miles at 0.30 kWh per mile and 18.16 cents: 1,000 × 0.30 ÷ 0.9 × $0.1816 = about $60.50.
How much does a full charge cost for a typical EV?
Charging a 75 kWh battery from 10 to 90 percent puts 60 kWh into the battery and draws about 67 kWh from the wall. At the US average home rate of 18.16 cents, that costs about $12. At a DC fast charger charging 55 cents per kWh, the same charge costs about $33 to $37.
Is public charging more expensive than gasoline?
Public Level 2 charging around 30 cents per kWh is still cheaper than gas for most cars. DC fast charging at about 45 to 60 cents per kWh can cost 15 to 20 cents a mile, more than a 30 mpg gas car at $4 a gallon, which costs about 13 cents a mile.
How much does charging cost per mile?
At home at the US average rate, a car using 30 kWh per 100 miles costs about 6 cents a mile. Efficient models using 25 kWh per 100 miles cost about 5 cents. In California at 29.75 cents per kWh, the 30 kWh car costs about 10 cents a mile; in Hawaii, about 16 cents.
Does charging speed change the cost of the electricity?
Speed itself does not change the price of a kWh at home, but losses vary: slow Level 1 charging usually wastes more energy than Level 2. The bigger difference is where you charge. Public DC fast chargers often charge two to three times the home rate for the same energy.