CalcOpenly
English

EV charging cost and time calculator

EV charging cost and time between two battery levels at any charger power, with range added and cost per 100 km or miles against petrol.

Drafted with AI writing toolsUpdated Checked examples: 3

kWh
%
%
kW
%
Share of the grid energy that reaches the battery, often 84–93% (fueleconomy.gov). Keep the session's efficiency and enter battery-side consumption; EPA ratings already include charging losses.
$
The trip computer's figure; a mid-size EV uses about 15–20 kWh/100 km (3–4 mi/kWh).
$
Try
Charging cost
$
Charging cost: $8.00
Decimal places: 2; Nearest, ties to even
Charging time
6 h 56 min 40 s
Energy into the battery
45kWh
Energy from the grid
50kWh
Range added
281.2km / 174.8mi
EV cost per 100 km
$2.84
Petrol cost per 100 km
$12.25
EV cost per 100 mi
$4.58
Petrol cost per 100 mi
$19.71
On AC the car's onboard charger caps the power (often 7–11 kW); check that it can take the charger's full rating.

Adding 45 kWh (20% → 80%) draws 50 kWh from the grid: about 6 h 56 min on a 7.2 kW charger for $8.00, good for about 281 km. Per 100 km the EV costs $2.84 against $12.25 for the petrol car.

Energy cost per 100 km

Electric$2.84Petrol$12.25

Battery level while charging

0%25%50%75%100%0246HoursBattery
How it's calculated S
  1. Energy into the battery

    75×(0.8−0.2)=45 kWh75 \times (0.8 - 0.2) = 45\ \text{kWh}
  2. Energy from the grid

    450.9=50 kWh\frac{45}{0.9} = 50\ \text{kWh}
  3. Time

    50 kWh7.2 kW=6.944444 h\frac{50\ \text{kWh}}{7.2\ \text{kW}} = 6.944444\ \text{h}

    6 h 56 min at constant power.

  4. Cost

    50×0.16=8.0050 \times 0.16 = 8.00
  5. Running cost per 100 km

    EV: 160.9×0.16=2.84,petrol: 10014.285714 km/L×1.75=12.25\text{EV: } \frac{16}{0.9} \times 0.16 = 2.84,\quad \text{petrol: } \frac{100}{14.285714\ \text{km/L}} \times 1.75 = 12.25

About the EV charging cost and time calculator

Energy added is the battery's usable capacity times the change in charge level, and dividing by the charging efficiency gives the energy drawn from the grid. Charging time is that grid energy divided by the charger's power, and the cost is grid energy times the price per kWh. The car's energy use turns the same figures into range added and a running cost per 100 km or 100 miles, set against a petrol car.

The defaults take a 75 kWh battery from 20% to 80%: 45 kWh into the battery, 50 kWh from the grid at 90% efficiency, just under 7 hours on a 7.2 kW charger (the output of most home Level 2 units, per the US Department of Energy) and 8.00 at 0.16 per kWh. That adds about 281 km at 16 kWh/100 km.

The time assumes constant power. DC fast chargers slow as the battery fills, and on AC the car's onboard charger can cap the rate below the charger's rating.

How much does it cost to charge an electric car?

Multiply the usable battery capacity by the share you add, divide by the charging efficiency to get the energy from the grid, and multiply by your price per kWh. Taking a 75 kWh battery from 20% to 80% adds 45 kWh, draws 50 kWh at 90% efficiency and costs 8.00 at 0.16 per kWh.

The same energy sets the charging time and the range added, so one set of numbers answers all three questions.

Worked example: 75 kWh battery, 20% to 80%

  1. Energy into the battery: 75 kWh × (80% − 20%) = 45 kWh.
  2. Energy from the grid: 45 ÷ 0.90 = 50 kWh. The 5 kWh difference is lost in charging.
  3. Cost: 50 kWh × 0.16 = 8.00.
  4. Time on a 7.2 kW charger: 50 ÷ 7.2 = 6.94 hours, or 6 h 56 min 40 s.
  5. Range added at 16 kWh/100 km: 45 ÷ 0.16 per km = 281.25 km.

Charging levels work on the change, not the end point: 20% to 80% is 60 percentage points of the battery, not 80% of it.

How long does it take to charge an electric car?

Divide the grid energy by the charger's power. 7.2 kW is the output of most home Level 2 units, according to the US Department of Energy, so the 50 kWh session above takes just under 7 hours.

The Alternative Fuels Data Center puts Level 1 (120 V) at about 5 miles of range per hour, Level 2 at about 25 miles per hour, and DC fast charging at 100 to 200+ miles per 30 minutes.

Power is rarely constant. DC fast chargers slow sharply above about 80%, and on AC the car's onboard charger, often 7 to 11 kW, can cap the rate below the charger's rating. Treat the result as a minimum time.

Charging losses and efficiency

The EPA names the charging cable and the car's onboard charger as where the energy is lost. fueleconomy.gov, citing Idaho National Laboratory data, says charging efficiency is often 84% to 93%, so a 45 kWh top-up draws roughly 48 to 54 kWh.

A lossless session is the lower bound. At 100% the default top-up draws 45 kWh, costs 7.20 and takes 6 h 15 min, against 8.00 and 6 h 57 min at 90%.

EPA ratings vs battery-side energy use

Range and running cost need the car's energy use measured at the battery, such as the trip computer's figure. A mid-size EV uses about 15–20 kWh/100 km, or 3–4 mi/kWh.

EPA ratings include charging losses measured at the wall outlet. Pairing one with a 90% charging efficiency counts the loss twice.

To approximate battery-side energy use, multiply a wall rating in kWh per distance by the efficiency: 30 wall kWh/100 mi at 90% becomes 27 kWh/100 mi. For a distance-per-kWh rating, divide by the efficiency instead.

EV vs petrol cost per 100 km

Cost per 100 km is battery kWh/100 km ÷ efficiency × price: 16 ÷ 0.9 × 0.16 = 2.84. A petrol car using 7 L/100 km at 1.75 a liter costs 7 × 1.75 = 12.25 for the same distance.

In US units, a car doing 3.5 mi/kWh costs 100 ÷ 3.5 ÷ 0.9 × 0.16 = $5.08 per 100 miles at the same tariff. A 30 mpg car with gas at $3.50 a gallon costs 100 ÷ 30 × 3.50 = $11.67.

These are energy costs only. Purchase price, depreciation, insurance and servicing sit in the car ownership cost calculator.

Charging session examples

Lossless 60 kWh charges a 60 kWh battery from 10% to 90% at 11 kW with no losses and power at 0.30 per kWh. DC high charge takes the default 75 kWh battery from 10% to 100% at 150 kW.

Miles per kWh is the default session for a car rated 4 mi/kWh, and converted wall rating is the same session at 27 battery kWh/100 mi. Times are in seconds.

ScenarioGrid energy, kWhTime, secondsRange added, km
Default50.00000025000.000000281.250000
Lossless 60 kWh48.00000015709.090909300.000000
DC high charge75.0000001800.000000421.875000
Miles per kWh50.00000025000.000000289.681920
Converted wall rating50.00000025000.000000268.224000

The lossless session takes 4 h 22 min and the DC session 30 minutes at constant power; in practice the DC charge would slow well before 100%.

Common EV charging mistakes

  • Using gross battery capacity. Advertised gross capacity can include a buffer the driver cannot use, which overstates the energy in each percentage point.
  • Counting losses twice. An EPA rating already includes them; use battery-side consumption with the session's efficiency.
  • Trusting the charger's label for time. Taper near full and the car's AC limit both stretch the session.
  • Ignoring winter. fueleconomy.gov, citing AAA's 2019 tests, reports range about 41% lower at 20 °F than at 75 °F with the cabin heater on, so raise the energy-use figure in cold weather.

For a petrol journey with tolls, use the trip fuel cost calculator. A home charger circuit is sized in the electrical load calculator, and the solar panel calculator shows the array needed to cover the added daily use.

Worked examples

75 kWh battery, 20 → 80% on a 7.2 kW charger

Battery capacity (usable)
75 kWh
Charge from
20%
Charge to
80%
Charger power
7.2 kW
Charging efficiency
90%
Electricity price per kWh
0.16
Car's energy use given as
kWh/100 km
Car's energy use (from the battery)
16
Petrol car to compare
7 L/100 km
Petrol price per
Litre
Petrol price
1.75
Energy into the battery
45 kWh
Energy from the grid
50 kWh
Charging time
6 h 56 min 40 s
Charging cost
8.00
Range added
281.2 km
EV cost per 100 km
2.84
Petrol cost per 100 km
12.25

Checked against: Hand calculation: 75 × 0.6 = 45 kWh ÷ 0.9 = 50 kWh ÷ 7.2 kW = 6.944 h × 0.16 = 8.00; 16 ÷ 0.9 × 0.16 = 2.844 per 100 km; 7 × 1.75 = 12.25

60 kWh, 10 → 90% at 11 kW, lossless, 0.30 per kWh

Battery capacity (usable)
60 kWh
Charge from
10%
Charge to
90%
Charger power
11 kW
Charging efficiency
100%
Electricity price per kWh
0.3
Car's energy use given as
kWh/100 km
Car's energy use (from the battery)
16
Petrol car to compare
7 L/100 km
Petrol price per
Litre
Petrol price
1.75
Energy into the battery
48 kWh
Charging time
4 h 21 min 49 s
Charging cost
14.40
Range added
300.0 km

Checked against: Hand calculation: 60 × 0.8 = 48 kWh ÷ 11 kW = 4.3636 h = 15,709 s; 48 × 0.30 = 14.40; 48 ÷ 0.16 kWh/km = 300 km

Edge: empty to full, 82 kWh, 3.5 mi/kWh against a 30 mpg car

Battery capacity (usable)
82 kWh
Charge from
0%
Charge to
100%
Charger power
11.5 kW
Charging efficiency
90%
Electricity price per kWh
0.16
Car's energy use given as
mi/kWh
Car's energy use (from the battery)
3.5
Petrol car to compare
30 mpg (US)
Petrol price per
US gallon
Petrol price
3.5
Charging cost
14.58
Charging time
7 h 55 min 21 s
Range added
287.0 mi
EV cost per 100 mi
5.08
Petrol cost per 100 mi
11.67

Checked against: 82 ÷ 0.9 = 91.11 kWh × 0.16 = 14.58; ÷ 11.5 kW = 7.92 h; 82 × 3.5 = 287 mi; 100/3.5 ÷ 0.9 × 0.16 = 5.08; 100/30 × 3.50 = 11.67

Questions

How long does it take to charge an electric car?

Divide the energy needed by the charger's power. Taking a 75 kWh battery from 20% to 80% draws 50 kWh from the grid, which is 6.9 hours at 7.2 kW. The US Department of Energy's Alternative Fuels Data Center puts Level 1 (120 V) at about 5 miles of range per hour, Level 2 at about 25 miles per hour, and DC fast charging at 100 to 200+ miles per 30 minutes.

How much does it cost to charge an electric car?

Multiply the energy drawn from the grid, including charging losses, by your price per kWh. The default session puts 45 kWh into the battery, draws 50 kWh at 90% efficiency and costs 8.00 at 0.16 per kWh. At 16 kWh/100 km that is 2.84 per 100 km, against 12.25 for a petrol car using 7 L/100 km at 1.75 a litre.

How much energy is lost when charging an EV?

Typically 7% to 16%. fueleconomy.gov, citing Idaho National Laboratory data, says battery charging efficiency is often 84% to 93%, so a 45 kWh top-up draws roughly 48 to 54 kWh from the meter. The 90% default sits in that range. The EPA names the charging cable and the car's onboard charger as the places where the energy is lost.

Should I enter the EPA rating or my car's own energy figure?

Use battery-side consumption with the charging efficiency for the session. EPA ratings include charging losses measured at the wall. To approximate battery-side kWh per distance from a wall rating, multiply by the efficiency; for distance per kWh, divide by it. For example, 30 wall kWh/100 mi at 90% becomes 27 battery kWh/100 mi, retaining 90% efficiency. Setting efficiency to 100% makes the whole charging session lossless and changes its energy, cost and time.

Does cold weather reduce EV range?

Yes, mostly through cabin heating. fueleconomy.gov, citing AAA's 2019 tests, reports that at 20 °F (−7 °C), compared with 75 °F (24 °C), EV range fell about 41% with the cabin heater in use and about 12% without it. Raise the energy-use figure in winter to see the effect on range and cost.

About this calculator

E=C×(b−a),Egrid=Eη,t=EgridP,cost=Egrid×pE = C \times (b - a),\quad E_{\text{grid}} = \frac{E}{\eta},\quad t = \frac{E_{\text{grid}}}{P},\quad \text{cost} = E_{\text{grid}} \times p

Sources

  1. US DOE Alternative Fuels Data Center — charging electric vehicles at home (levels and power)
  2. fueleconomy.gov — electric vehicle energy use and cost comparison
  3. US DOE Alternative Fuels Data Center — charging levels and range added per hour
  4. US EPA — fuel economy and EV range testing (MPGe measured at the wall outlet)

Checked against references

This calculator includes 3 worked examples with independently sourced answers. They run in the test suite, and you can run them here too.

Put this calculator on your site

Paste this where you want the calculator to appear. It is free to use, it stays in step with corrections made here, and the credit line below it links back so your readers can find the full version.

Height
Preview the embed

Keep the credit line. It is the only condition, and it is what keeps these calculators free.