Guide

How to Calculate EV Charging Cost Per Mile: Simple Formula + Examples

EV charging cost per mile is one of the most useful numbers in EV ownership because it lets you compare vehicles, charging locations, and EVs versus gas cars on the same basis.

Cost per mile

Cost per mile = Electricity price per kWh ÷ Miles per kWh

kWh per mile

Cost per mile = Electricity price per kWh × kWh per mile

Charging losses

If you are using official label data or wall-based charging receipts instead, skip this extra adjustment so you do not double-count losses.

The math is simple, but the real answer is never one-size-fits-all. Your cost depends on your electricity rate, your EV’s efficiency, where you charge, and whether you are working from battery energy or wall energy. Federal home-charging guidance from the U.S. Department of Energy says EV cost per mile depends on electricity price and vehicle efficiency. U.S. electricity data also shows wide state-to-state variation in residential rates, which is why a single national average can be misleading.

This guide stays focused on the calculation itself. You will learn the simple EV charging cost formula, how to use miles per kWh, kWh per mile, and kWh per 100 miles, when charging losses matter, and how home charging compares with public Level 2 and DC fast charging.

If you want to test the math with your ZIP code and vehicle after reading, use the CostToCharge.com EV Charging Cost Calculator. If you want to understand how sitewide benchmarks and assumptions are built, review CostToCharge.com’s Data Sources & Methodology and About pages.

EV Charging Cost Per Mile Formula

The simplest EV charging cost per mile formula is:

Cost per mile = Electricity price per kWh ÷ Miles per kWh

You can also write it this way:

Cost per mile = Electricity price per kWh × kWh per mile

Both formulas do the same thing. One starts with miles per kWh, which tells you how far the car travels on one kilowatt-hour. The other starts with kWh per mile, which tells you how much electricity the car uses to drive one mile.

If your EV or official efficiency source shows kWh per 100 miles, use this version:

Cost per mile = Electricity price per kWh × (kWh per 100 miles ÷ 100)

Example:

28 kWh per 100 miles ÷ 100 = 0.28 kWh per mile
0.28 × $0.16 = $0.0448 per mile

That equals about 4.5 cents per mile.

What Is EV Charging Cost Per Mile?

EV charging cost per mile is the amount of money you spend on electricity to drive one mile.

It is more useful than simply asking, “How much does it cost to charge an EV?” because a full charge does not mean the same thing for every vehicle. One EV may have a 60 kWh battery and travel 250 miles. Another may have a larger battery but use more energy per mile. The full-charge price alone does not tell you how efficient the vehicle is.

Cost per mile combines two things: what you pay for electricity and how efficiently your EV turns that electricity into miles.

That makes it similar to gasoline cost per mile.

For a gas car, the formula is:

Gas cost per mile = Gas price per gallon ÷ MPG

For an EV, you are doing the same kind of calculation, but with electricity instead of gasoline.

The Basic EV Charging Cost Per Mile Formula

To calculate EV charging cost per mile, you need to understand four terms.

Electricity price per kWh

This is the price you pay for electricity. On a utility bill, it is usually shown in cents per kilowatt-hour, such as $0.16/kWh or 16 cents per kWh.

For public charging, the price may appear in the charging network app or on the charger screen. Some stations charge per kWh, while others may add session fees, idle fees, overstay fees, or membership-based pricing.

Vehicle efficiency

Vehicle efficiency tells you how much electricity the EV uses to travel a certain distance.

EV efficiency may be shown as Miles per kWh, kWh per mile, kWh per 100 miles, or Wh per mile.

All of these can be used for the same calculation once you convert them correctly.

kWh per mile

kWh per mile tells you how much electricity the vehicle uses to drive one mile. Lower is better.

For example:

0.25 kWh per mile is more efficient than 0.40 kWh per mile.

Miles per kWh

Miles per kWh tells you how many miles the vehicle can travel using one kilowatt-hour. Higher is better.

For example:

4.0 miles/kWh is more efficient than 2.5 miles/kWh.

kWh Per Mile vs Miles Per kWh

These two numbers are opposites of each other.

kWh per mileMiles per kWh
0.205.00
0.254.00
0.2863.50
0.333.03
0.402.50

You can convert them like this:

Miles per kWh = 1 ÷ kWh per mile

or:

kWh per mile = 1 ÷ Miles per kWh

If your EV uses 0.286 kWh per mile, then:

1 ÷ 0.286 = about 3.5 miles per kWh

If your EV gets 3.5 miles per kWh, then:

1 ÷ 3.5 = about 0.286 kWh per mile

Step-by-Step Example

Let’s use a realistic example.

Assumptions:

Electricity rate: $0.16/kWh
EV efficiency: 3.5 miles/kWh

Formula:

Cost per mile = Electricity price per kWh ÷ Miles per kWh

Calculation:

$0.16 ÷ 3.5 = $0.0457 per mile

That means the EV costs about 4.6 cents per mile to drive.

Now scale that up:

Distance drivenEstimated cost
100 miles$4.57
1,000 miles$45.71
12,000 miles per year$548.57

This is the core calculation behind most EV cost per mile calculators. Once you know your electricity price and your real-world vehicle efficiency, the rest is simple multiplication.

Example Table: EV Cost Per Mile at Different Electricity Rates

The table below shows how EV charging cost per mile changes based on electricity price and vehicle efficiency.

Values are rounded to the nearest tenth of a cent.

Electricity price2.5 mi/kWh3.5 mi/kWh4.5 mi/kWh
$0.12/kWh4.8¢/mile3.4¢/mile2.7¢/mile
$0.16/kWh6.4¢/mile4.6¢/mile3.6¢/mile
$0.22/kWh8.8¢/mile6.3¢/mile4.9¢/mile
$0.35/kWh14.0¢/mile10.0¢/mile7.8¢/mile

This table shows why a single national average is not enough. A less efficient EV charged on expensive electricity can cost more than double what an efficient EV costs on a cheaper rate.

How Charger Efficiency Affects Real Cost

Charging losses matter, but only in the right context.

Not every kWh pulled from the wall becomes usable battery energy. Some energy is lost as heat and through power conversion during charging. The EPA notes that charging a plug-in vehicle is not 100% efficient, and NREL research often uses about 90% AC charging efficiency as a planning assumption.

However, there is an important distinction: official federal EV label data already accounts for typical charging losses. That means you should not add a second charging-loss penalty if your starting point is official EPA or FuelEconomy.gov label data.

A separate charging-efficiency adjustment is most useful when your efficiency number comes from the vehicle’s trip computer or another battery-side estimate, rather than from wall energy or official label data.

If you are using this data sourceAdd a separate charging-loss adjustment?Why
EPA / federal label kWh per 100 miles or MPGeNoFederal label values already account for typical AC charging losses
Vehicle dashboard or trip efficiency in miles per kWhUsually yesThis is often closer to battery or drive efficiency than wall energy
Charging receipts or home EVSE logs showing wall kWh and costNoYou are already working from wall energy and actual cost

Use this formula when you need to adjust a battery-side efficiency number:

Adjusted cost per mile = Electricity price per kWh ÷ Charging efficiency ÷ Miles per kWh

Example:

Electricity rate: $0.16/kWh
Vehicle efficiency: 3.5 miles/kWh
Charging efficiency: 90%

Calculation:

$0.16 ÷ 0.90 ÷ 3.5 = $0.0508 per mile

That works out to about 5.1 cents per mile, or $5.08 per 100 miles.

If you are using official label data or wall-based charging receipts instead, skip this extra adjustment so you do not double-count losses.

Home Charging vs Public Charging Cost Per Mile

Home charging is usually the cheapest part of an EV charging mix, while DC fast charging is usually the most expensive. Federal consumer guidance says drivers should normally expect to pay more at public stations, especially DC fast charging stations, than they do for electricity at home.

The rates below are example planning rates, not U.S. averages, because real public pricing varies by network, location, membership, time of use, and added fees.

Using the same EV efficiency of 3.5 miles/kWh:

Charging scenarioExample rateCost per mileCost per 100 miles
Home charging$0.16/kWh4.6¢$4.57
Public Level 2$0.25/kWh7.1¢$7.14
DC fast charging$0.45/kWh12.9¢$12.86

This is why “cost to charge an electric car” is not a single number. The same EV can be inexpensive to run when it charges overnight at home and much more expensive when most of its energy comes from public DC fast charging.

Public charging also gets more complex once you look at real receipts instead of headline pricing. ChargePoint says station owners can set session, minimum, maximum, overstay, guest, and convenience fees. EVgo shows plan-based pricing and session fees. Electrify America says pricing depends on charger location, plan, and energy delivered, with idle-fee details shown in the app or on the charger. Tesla also applies idle or congestion fees in some Supercharger situations.

If public charging is a meaningful share of your monthly routine, model your cost from actual receipts whenever possible. For a deeper breakdown, see CostToCharge.com’s Public EV Charging Fees Explained guide and DC Fast Charging Cost guide.

EV Cost Per Mile vs Gas Car Cost Per Mile

For a gas car, use this formula:

Gas cost per mile = Gas price per gallon ÷ MPG

Example:

Gas price: $3.50/gallon
Vehicle fuel economy: 30 MPG

Calculation:

$3.50 ÷ 30 = $0.1167 per mile

That equals about 11.7 cents per mile.

Now compare that with the EV example:

Vehicle / charging scenarioCost per mile
EV at $0.16/kWh and 3.5 mi/kWh4.6¢
EV at $0.16/kWh, 3.5 mi/kWh, 90% charging efficiency5.1¢
Gas car at $3.50/gallon and 30 MPG11.7¢

This is why home-charged EVs are often cheaper to drive per mile than gas cars.

But it is not automatic. The gap can narrow if electricity is expensive, if the EV is inefficient, if gas prices are low, or if a large share of charging happens at public DC fast chargers.

Factors That Change Your EV Cost Per Mile

Electricity rate and time-of-use pricing

Your electricity rate is the biggest variable in EV cost per mile. Even before you compare home and public charging, residential rates vary widely across the U.S.

Many utilities also price electricity differently by time of day. Some EV-focused plans heavily reward overnight charging. If most of your charging happens overnight, your real cost per mile may be much lower than your blended household rate suggests.

For a practical workflow, see CostToCharge.com’s Home Charging Cost by Time-of-Use Plan guide.

Vehicle efficiency, weather, and speed

The same electricity price can produce very different results depending on the vehicle.

A more efficient EV uses fewer kWh to travel the same distance, so its cost per mile is lower at the same electricity rate.

Weather also matters. FuelEconomy.gov says EV fuel economy can drop significantly in cold weather, with much of the extra energy going to cabin heat. Federal EV testing guidance also says official range values are adjusted for real-world factors such as HVAC use, cold temperatures, and aggressive or high-speed driving.

If you live in a cold-climate market, it is better to run separate mild-weather and winter calculations instead of relying on one annual average. For seasonal planning, see CostToCharge.com’s Winter EV Charging Cost Guide.

Tires, accessories, and preconditioning

Daily habits can move efficiency more than many drivers expect.

Speeding, hard acceleration, high accessory use, and low tire pressure can reduce efficiency. Pre-heating or pre-cooling the cabin while the vehicle is still plugged in can also help preserve EV range because some climate-control energy comes from the charger instead of the battery.

These are not tiny details if your commute is repetitive. Over a full month or year, they can materially change your charging cost.

Charger type, charging losses, and public fees

Charger type changes both price and predictability.

Home AC charging usually tracks your utility tariff. Public Level 2 and DC fast charging can layer on session fees, overstay penalties, member-versus-guest pricing, or congestion fees.

If you rely on public charging, calculate public cost separately from home cost instead of using one blended number for everything.

How to Find Your Own Numbers

Most drivers only need four inputs to build a credible EV charging cost per mile estimate:

1Your electricity price.
2Your vehicle efficiency.
3The type of efficiency data you are using.
4How many miles you actually drive.

The key is to match the right source to the right formula instead of mixing label data, dashboard data, and charging receipts together.

InputBest place to find itWhat to use in the formula
Electricity price per kWhUtility bill or utility portalUse the rate that actually applies to EV charging. If you are on a time-of-use plan, keep off-peak and peak rates separate.
Vehicle efficiencyIn-car trip screen, vehicle app, or FuelEconomy.govUse miles/kWh, kWh/mile, or kWh/100 miles.
Charging-loss contextFederal label, dashboard, or wall-energy receiptDecide whether a separate charging-efficiency adjustment is needed.
Miles drivenOdometer, maintenance records, or annual estimateUse your real mileage for annual cost, not a generic assumption.

If your source gives you kWh per 100 miles, the conversion is simple:

kWh per mile = kWh per 100 miles ÷ 100

Example:

28 kWh per 100 miles ÷ 100 = 0.28 kWh per mile

At $0.16/kWh, the cost is:

0.28 × $0.16 = $0.0448 per mile

That equals about 4.5 cents per mile.

For public charging, do not guess. Pull the actual price from the charging-network app or the session receipt, because pricing can depend on location, plan, delivered energy, and extra fees.

For home charging, start with a recent utility bill and confirm whether your EV is really charging during off-peak hours.

If you want a faster estimate after collecting those inputs, use the CostToCharge.com EV Charging Cost Calculator and then cross-check the assumptions in Data Sources & Methodology.

Common Mistakes When Calculating EV Cost Per Mile

Ignoring charging losses

Charging losses can matter, but you need to know whether your starting data already includes them.

If you are using EPA or FuelEconomy.gov label data, typical charging losses are already reflected. If you are using battery-side vehicle efficiency from the dashboard, a charging-efficiency adjustment may make the estimate more realistic.

Using battery size instead of actual energy used

Battery size is not the same as energy consumption.

A 75 kWh battery tells you how much energy the pack can store. It does not tell you how much energy the vehicle uses per mile.

For cost per mile, use:

kWh per mile
kWh per 100 miles
miles per kWh
Wh per mile

Assuming public charging costs the same as home charging

Public charging, especially DC fast charging, usually costs more than home charging. It may also include session, idle, overstay, or congestion fees.

If you use public charging often, calculate it separately.

Confusing kW and kWh

kW and kWh are not the same thing.

kW measures power. It tells you how fast a charger can deliver electricity.

kWh measures energy. It tells you how much electricity you used or bought.

For cost calculations, the billable unit is usually kWh.

Using ideal efficiency instead of real-world efficiency

EPA and FuelEconomy.gov data are useful, but your actual cost may differ.

Cold weather, highway speed, tire pressure, HVAC use, hills, cargo weight, and driving style can all change your real efficiency.

Forgetting time-of-use electricity rates

If you are on a time-of-use plan, your cost depends on when you charge.

Charging at 2 a.m. may cost much less than charging at 6 p.m. Always check whether your rate changes by hour, season, or weekday.

Conclusion

The basic EV charging cost per mile formula is simple:

Cost per mile = Electricity price per kWh ÷ Miles per kWh

or:

Cost per mile = Electricity price per kWh × kWh per mile

Once you know those inputs, you can estimate your cost per mile, cost per 100 miles, monthly charging cost, and annual charging cost.

The main variables are your electricity cost per kWh, your EV’s efficiency, time-of-use pricing, charging losses, weather, driving behavior, and how much charging happens at home versus public stations.

For the most useful estimate, use your own utility rate and your own real-world efficiency instead of relying only on national averages.

To estimate your own charging cost, use the CostToCharge.com EV Charging Cost Calculator.

Frequently Asked Questions About EV Charging Cost Per Mile

What is a good EV cost per mile?

For a home-charged EV, something in the range of 3 to 6 cents per mile is a reasonable ballpark when electricity is around $0.12 to $0.18 per kWh and the vehicle delivers roughly 3 to 4 miles per kWh.

That is a planning range, not a rule. Bigger vehicles, expensive electricity, winter driving, or frequent DC fast charging can push the number much higher.

How much does it cost to drive an EV 100 miles?

Multiply your cost per mile by 100.

Or, if you know your EV’s kWh per 100 miles, multiply that number directly by your electricity price.

Example:

28 kWh/100 miles × $0.16/kWh = $4.48 per 100 miles

Example on expensive public fast charging:

28 kWh/100 miles × $0.45/kWh = $12.60 per 100 miles

That public charging number is before session, idle, overstay, or congestion fees.

Is EV charging cheaper than gas?

Often, yes, especially when most charging happens at home.

But it is not automatic.

A 30 MPG gas car at $3.50 per gallon costs:

$3.50 ÷ 30 = $0.1167 per mile

That equals about 11.7 cents per mile.

An EV at $0.16/kWh and 3.5 miles/kWh costs:

$0.16 ÷ 3.5 = $0.0457 per mile

That equals about 4.6 cents per mile.

The same EV at $0.45/kWh public fast charging costs about 12.9 cents per mile before extra fees. That is why charging location matters so much.

How do I calculate cost per mile for a Tesla?

Use the same formula as any other EV.

If the Tesla app or vehicle screen gives you efficiency in Wh per mile, divide by 1,000 to convert it to kWh per mile, then multiply by your electricity price.

Example:

260 Wh/mile ÷ 1,000 = 0.26 kWh/mile
0.26 × $0.16 = $0.0416 per mile

That equals about 4.2 cents per mile.

If you want a standardized baseline instead of your own real-world data, use the official federal efficiency figure from FuelEconomy.gov.

Does fast charging increase cost per mile?

Usually yes.

Public DC fast charging often costs more per kWh than residential electricity. Some networks may also add session, overstay, idle, or congestion fees.

Fast charging does not automatically make the vehicle less efficient in every situation, but it usually increases your cost per mile because the electricity price is higher.

What is the difference between kW and kWh?

kW measures power, or charging speed.

kWh measures energy, or how much electricity you used or bought.

A simple example:

A 7.2 kW Level 2 charger running for one hour can deliver roughly 7.2 kWh before taper and real-world losses.

For EV cost calculations, the number that matters most is kWh, not kW.

How accurate are EV cost per mile estimates?

They can be very accurate if you use your real electricity price and your own driving efficiency.

They become less accurate when:

  • You assume public charging costs the same as home charging.
  • You use mild-weather efficiency in winter.
  • You ignore charging-loss context.
  • You rely only on ideal label values.
  • You forget time-of-use rates.
  • You do not include public charging fees.

For the best estimate, use your own utility rate, your own EV efficiency, and your real charging mix.

Source notes