Quick answer
Charging cost = battery capacity × (target − start) ÷ charging efficiency × electricity price. Charging a 60 kWh battery from 10% to 80% draws 46.67 kWh from the grid at 90% efficiency and costs $7.00 at $0.15 per kWh.
Enter usable battery capacity, starting and target charge, efficiency and price per kWh. The calculator returns the cost and the energy drawn. Use this ev charging cost calculator to check your own figures.
Related tools: EV Charge Time Calculator: Time to charge between two battery levels. EV Range Calculator: Driving range from battery capacity and energy consumption. Fuel Cost Calculator: Trip fuel cost from distance, fuel economy and price.
How to use the EV Charging Cost Calculator
- Enter usable battery capacity (kWh) (above 0).
- Enter starting charge (%) (between 0 and 100).
- Enter target charge (%) (between 0 and 100).
- Enter electricity price ($ per kWh) (above 0).
- Enter charging efficiency (%) (between 0 and 100). It starts at 90.
- Press Calculate to see the result, and use Reset to start again.
| Input | What to enter | Allowed values |
|---|---|---|
| Usable battery capacity | A number, in kWh | > 0 |
| Starting charge | A number, in % | ≥ 0, ≤ 100 |
| Target charge | A number, in % | ≥ 0, ≤ 100 |
| Electricity price | A number, in $ per kWh | > 0 |
| Charging efficiency | A number, in % | > 0, ≤ 100, starts at 90 |
Formula and method
Formula
cost = capacity × (target − start) ÷ efficiency × price
IEEE-754 double precision; shown to the decimals indicated.
Electricity prices vary by time and tariff, so enter yours.
Worked examples
These examples are verified: each one is an automated test case that the live calculator must reproduce exactly.
Example 1
Inputs: Usable battery capacity = 60; Starting charge = 10; Target charge = 80; Electricity price = 0.15; Charging efficiency = 90.
| Result | Value |
|---|---|
| Charging cost | $7.00 |
| Energy drawn from the grid | 46.67 kWh |
Example 2
Inputs: Usable battery capacity = 75; Starting charge = 20; Target charge = 100; Electricity price = 0.32; Charging efficiency = 90.
| Result | Value |
|---|---|
| Charging cost | $21.33 |
| Energy drawn from the grid | 66.67 kWh |
The first line is the headline result (charging cost). Below it the eV Charging Cost Calculator lists energy drawn from the grid, which describe the same case from other angles. IEEE-754 double precision; shown to the decimals indicated.
Step by step
The battery gains 60 × 0.70 = 42 kWh. Because some energy is lost as heat in the charger and battery, 42 ÷ 0.90 = 46.67 kWh must be drawn from the wall, and 46.67 × $0.15 = $7.00.
Home versus public charging
Home electricity is usually cheaper per kWh than public fast chargers, which can cost two to four times as much and may add session or idle fees. Time-of-use tariffs can lower the price further at night. Enter the price you actually pay.
How the result changes with usable battery capacity
Holding every other input at the first worked example, this table changes only usable battery capacity. It shows how sensitive the answer is to that one value; each row was produced by running this calculator.
| Usable battery capacity | Charging cost | Energy drawn from the grid |
|---|---|---|
| 30 | $3.50 | 23.33 kWh |
| 60 | $7.00 | 46.67 kWh |
| 120 | $14.00 | 93.33 kWh |
| 240 | $28.00 | 186.67 kWh |
What happens with invalid input
These messages are produced by the calculator itself, so you know what to fix.
- Target charge: entering "40" shows "The target must be above the starting charge." beside that field and no result.
- Electricity price: entering "0" shows "Electricity price must be greater than 0." beside that field and no result.
Choosing between the EV Charging Cost Calculator and similar calculators
Each row shows what a related calculator on this site asks for and what it returns, so you can pick the one that matches your question.
| Calculator | You enter | It returns |
|---|---|---|
| [EV Charge Time Calculator](/automotive/ev-charge-time-calculator/) | usable battery capacity, starting charge and target charge | Charging time |
| [EV Range Calculator](/automotive/ev-range-calculator/) | usable battery capacity, energy consumption and consumption unit | Range |
| [Fuel Cost Calculator](/automotive/fuel-cost-calculator/) | distance, fuel economy and fuel price | Trip cost |
| [Marginal Cost Calculator](/business/marginal-cost/) | total cost before, total cost after and quantity before | Marginal cost |
| [Opportunity Cost Calculator](/business/opportunity-cost/) | return of the option you gave up and return of the option you chose | Opportunity cost |
Background: vehicle sizing and speed
A taller tyre travels farther per revolution, so the speedometer reads low and the effective gear ratio becomes numerically lower; a shorter tyre does the opposite. True speed is roughly the speedometer reading times the new tyre diameter divided by the old one. Verify with GPS over a known distance before changing parts.
Assumptions and limitations
- Public chargers may add session fees
If a required value is empty, not a number, or outside its allowed range, the form marks that field with a message and shows no result instead of a misleading number. The automated checks deliberately try invalid entries for target charge and electricity price to confirm this.
Frequently asked questions
What is charging efficiency?
The share of energy from the wall that ends up in the battery, typically 85 to 93%.
Does it include session fees?
No; add them to the result.
Why charge only to 80%?
Charging slows near full, so many drivers stop at 80% on fast chargers.
What does the EV Charging Cost Calculator calculate?
Cost of charging between two battery levels. It returns Charging cost and Energy drawn from the grid.
What formula does the EV Charging Cost Calculator use?
cost = capacity × (target − start) ÷ efficiency × price. Electricity prices vary by time and tariff, so enter yours.
What do I need to enter in the eV Charging Cost Calculator?
You enter Usable battery capacity (kWh), Starting charge (%), Target charge (%), Electricity price ($ per kWh) and Charging efficiency (%).
How is the result rounded or limited?
IEEE-754 double precision; shown to the decimals indicated. Public chargers may add session fees.
What is an example of a eV Charging Cost result?
With usable battery capacity 60, starting charge 10, target charge 80, electricity price 0.15 and charging efficiency 90, the charging cost is $7.00.
Where does the method come from?
The method follows: OpenStax, University Physics Volume 2 (Rice University): electricity, circuits and thermodynamics: electric power and energy (E = P × t); Electricity price: use the rate on your own utility bill.
Related calculators
- EV Charge Time Calculator — Time to charge between two battery levels.
- EV Range Calculator — Driving range from battery capacity and energy consumption.
- Fuel Cost Calculator — Trip fuel cost from distance, fuel economy and price.
- Marginal Cost Calculator — Extra cost of producing additional units.
- Opportunity Cost Calculator — Value given up by choosing one option over another.
- API Request Cost Calculator — API cost from request volume and a price per million.
- Token Cost Calculator — Language-model cost from token counts and prices you enter.
Sources
- OpenStax, University Physics Volume 2 (Rice University): electricity, circuits and thermodynamics: electric power and energy (E = P × t)
- Electricity price: use the rate on your own utility bill
Content last reviewed 2026-11-04. Formulas and worked examples are checked by automated tests against independently computed values.