finance calculator

Electric Car Charging Cost Calculator

Estimate EV charging cost at home versus public rates, plus energy needed and miles of range added.

Results

Energy needed
45.00 kWh
Cost at home rate
$6 USD
Cost at public rate
$16 USD
Miles of range added
144.00

Overview

If you are trying to answer questions like "How much does it cost to charge my electric car from 20% to 80%?" or "How much more expensive is public fast charging than charging at home?" the hard part usually is not the electricity bill itself. It is translating battery size, charge percentage, and efficiency into a dollar figure that actually feels usable. This electric car charging cost calculator turns that battery math into a clearer estimate of kWh added, miles of range gained, and charging cost at home versus public rates.

The route is built around the real search job behind queries like `electric car charging cost calculator`, `ev charging cost calculator`, and `cost to charge electric car calculator`. Instead of forcing users to think in raw kWh alone, it connects the session cost to miles of range and makes it easier to compare routine home charging, pricier public charging, and broader EV operating-cost decisions.

How to use this calculator

  1. Enter your EV’s battery capacity in kWh (for example, 60, 75, or 100). You can usually find this in the spec sheet or manual.
  2. Enter your current battery level as Starting charge (%) and the level you want to reach as Target charge (%).
  3. Enter your home electricity rate ($/kWh) from your utility bill and a representative public or DC fast charging rate from your charging network or app.
  4. Enter your real-world efficiency in miles per kWh based on your driving or the estimate from your car’s trip computer.
  5. Review the energy needed, cost to charge at home, cost to charge at a public charger, and miles of range added for that partial charge.
  6. Adjust SOC, rates, or efficiency to test different scenarios—such as higher public rates on a road trip or improved efficiency at lower speeds.

Inputs explained

Battery capacity (kWh)
The usable battery capacity of your EV in kilowatt-hours. Manufacturers often list both gross and usable capacity; using usable capacity gives a more realistic picture of how much energy you can access between charge stops.
Starting/Target charge (%)
Your current and desired state of charge expressed as percentages. For example, if you are at 20% and want to go to 80%, enter 20 and 80. The calculator uses the difference between these values to compute how much additional energy you need.
Home rate ($/kWh)
Your electricity cost at home in dollars per kilowatt-hour, taken from your utility bill. If you are on a time-of-use plan, you can use your off-peak rate for overnight charging or an average of peak and off-peak for a blended estimate.
Public/DC fast rate ($/kWh)
A representative price per kWh you pay at public Level 2 or DC fast charging stations. Public rates are often higher than home rates and may vary by network and location.
Efficiency (mi/kWh)
How many miles of driving you typically get from each kilowatt-hour of energy. You can estimate this from your EV’s onboard efficiency readout or use an EPA rating as a starting point, then adjust for your actual driving style and climate.

Outputs explained

Energy needed
The amount of battery energy added between the starting and target state of charge, expressed in kilowatt-hours. This is the foundation for both cost and range estimates.
Cost at home rate
The estimated cost of adding that energy if you charge at your entered home electricity rate. This is usually the most useful number for day-to-day budgeting.
Cost at public rate
The estimated cost of adding the same energy at your entered public or DC fast charging rate. This helps show the premium you may pay for convenience on trips or without home charging.
Miles of range added
The approximate miles of driving range associated with the energy added, based on the efficiency value you entered in miles per kWh.

How it works

You enter the battery capacity in kilowatt-hours (kWh) and two state-of-charge (SOC) percentages: where you are starting and where you want to end (for example, 20% → 80%).

The calculator converts those percentages to a usable fraction of the battery and computes the difference: usableDelta = (Target% − Start%) ÷ 100.

Energy needed (kWh) = Battery capacity (kWh) × usableDelta. This is the idealized amount of energy your pack will store between the starting and target SOC.

We then multiply that energy by your home electricity rate and the public/DC fast rate to estimate cost at each location: Cost = Energy needed × Rate.

To estimate miles of range added, we multiply the energy needed by your efficiency: Miles added = Energy needed × Miles per kWh.

The calculator assumes a simple model with no separate charging loss input; any real-world inefficiency can be approximated by lowering miles-per-kWh or slightly increasing the $/kWh rates.

Formula

usableDelta = (EndSoc% − StartSoc%) ÷ 100
EnergyNeededKwh = BatteryCapacityKwh × usableDelta
HomeCost = EnergyNeededKwh × HomeRate
PublicCost = EnergyNeededKwh × PublicRate
MilesAdded = EnergyNeededKwh × MilesPerKwh

When to use it

  • Estimating the cost of a typical nightly charge at home, such as going from 30% to 80% before your morning commute.
  • Comparing the cost per mile of driving your EV when charged at home versus primarily using public/DC fast chargers.
  • Planning road-trip charging stops by estimating how much it will cost to top up at public chargers between segments.
  • Checking whether workplace charging at a given $/kWh rate is cheaper or more expensive than home charging.
  • Explaining EV operating costs to someone considering switching from a gas car by translating kWh and $/kWh into approximate cost per full charge and cost per mile.

Tips & cautions

  • Use your actual average efficiency from your car over several weeks instead of a brochure value; cold weather, high speeds, and heavy loads can reduce miles per kWh noticeably.
  • If you often charge only a small portion of the battery (for example, 40% to 70%), run the calculator with those SOC values to get a more realistic per-session cost.
  • To approximate charging losses, you can either increase the $/kWh rates slightly or reduce your miles-per-kWh value to reflect that not all grid energy ends up stored in the battery.
  • If you have a time-of-use electricity plan, consider running separate scenarios for peak and off-peak rates to see how much you save by scheduling overnight charging.
  • For road trips, remember that many public DC fast chargers also include session fees or idle fees; you can add a rough estimate of those costs on top of the output from this calculator.
  • If you want a rough monthly charging budget, estimate the typical kWh you add in one week, multiply by about 4.3 weeks per month, and compare the result at your home and public rates.
  • Does not explicitly model charging losses, station efficiency, or heat losses; it assumes that energy needed equals battery capacity multiplied by the SOC change.
  • Does not include connection fees, idle fees, or demand charges that some public charging networks apply on top of per-kWh pricing.
  • Assumes a constant miles-per-kWh efficiency; real-world efficiency varies with speed, temperature, terrain, HVAC usage, and driving style.
  • Treats home and public rates as flat prices; it does not model complex time-of-use or tiered rate structures beyond what you approximate in the inputs.
  • Provides estimates for planning and comparison purposes only and should not be treated as a precise forecast of your monthly electric bill.

Worked examples

75 kWh pack, 20% → 80%, home vs public charging

  • Battery capacity = 75 kWh; Starting SOC = 20%; Target SOC = 80% → usableDelta = 0.60.
  • Energy needed ≈ 75 × 0.60 = 45 kWh.
  • Home rate = $0.13/kWh → Home cost ≈ 45 × 0.13 = $5.85.
  • Public rate = $0.35/kWh → Public cost ≈ 45 × 0.35 = $15.75.
  • If efficiency = 3.2 mi/kWh, miles added ≈ 45 × 3.2 ≈ 144 miles.

60 kWh pack, 40% → 70% daily top-up at home

  • Battery capacity = 60 kWh; SOC change = 70% − 40% = 30% → usableDelta = 0.30.
  • Energy needed ≈ 60 × 0.30 = 18 kWh.
  • Home rate = $0.15/kWh → Cost ≈ 18 × 0.15 = $2.70 per daily top-up.
  • At 4.0 mi/kWh, miles added ≈ 18 × 4.0 = 72 miles, enough for many commutes.

Road-trip fast charge: 15% → 65% at $0.45/kWh

  • Battery capacity = 77 kWh; SOC change = 65% − 15% = 50% → usableDelta = 0.50.
  • Energy needed ≈ 77 × 0.50 = 38.5 kWh.
  • Public/DC fast rate = $0.45/kWh → Session cost ≈ 38.5 × 0.45 ≈ $17.33.
  • If efficiency at highway speeds is 3.0 mi/kWh, miles added ≈ 38.5 × 3.0 ≈ 115.5 miles.

Deep dive

This electric car charging cost calculator estimates how many kilowatt-hours you need to add between two states of charge, what that energy will cost at home and at public chargers, and how many miles of range you will gain. Enter your battery size, starting and target charge, electricity rates, and efficiency in miles per kWh to translate charging math into everyday dollars and miles.

Use it to compare home charging against public fast charging, budget monthly EV charging costs, or explain EV operating costs to someone who still thinks mainly in gas prices and miles per gallon.

It also works well for users searching `ev charging cost calculator` and `cost to charge electric car calculator`, because the route keeps the underlying kWh math visible and explains how efficiency and electricity rates change the answer.

Methodology & assumptions

  • The route reads battery capacity in kWh, starting and target state of charge, home and public electricity rates in dollars per kWh, and vehicle efficiency in miles per kWh.
  • State-of-charge inputs are clamped between `0` and `100`, and the target percentage is not allowed to drop below the starting percentage.
  • It converts the charge window into a battery fraction using `(endSoc - startSoc) / 100`.
  • Energy needed in kWh is calculated as `batteryCapacityKwh * usableDelta`.
  • Home charging cost is calculated as `energyNeededKwh * homeRate`, and public charging cost is calculated as `energyNeededKwh * publicRate`.
  • Miles of range added are calculated as `energyNeededKwh * milesPerKwh`.
  • The route intentionally keeps charging losses outside the computation so the math stays transparent and consistent with the live calculator. If you want a more conservative estimate, increase the rates slightly or lower the efficiency input.
  • Copy, examples, and formulas on the route are kept aligned with the `evChargingCostCalculator` implementation in `src/lib/calculators/calculations.ts`.

Sources

FAQs

Why doesn’t the calculator ask for a charging loss percentage?
In practice, some energy is lost as heat and overhead while charging. This tool focuses on the energy stored in the battery between two state-of-charge points. You can approximate losses by slightly increasing your $/kWh rate or reducing your miles-per-kWh input to reflect real-world conditions.
Can I use this to estimate cost per mile?
Yes. Divide the cost of a charge (home or public) by the miles of range added to get an approximate cost per mile. You can then compare that to your gas car by computing its cost per mile from fuel economy and gas prices.
Why is public charging usually more expensive than charging at home?
Public charging providers have to recover equipment, installation, maintenance, and sometimes demand-charge costs, so per-kWh prices are often meaningfully higher than typical residential electricity rates. DC fast charging is especially convenient, but that convenience often comes at a premium.
How do time-of-use rates affect the results?
The calculator uses a single home $/kWh rate. If your utility charges more during peak hours and less off-peak, you can run separate scenarios for each rate or use a weighted average based on how often you charge at each time.
Can this tool help me compare different EVs?
Yes. You can plug in the battery size and efficiency for different EV models along with your electricity rates to see how their charging costs and cost per mile compare under the same conditions.
Does this calculator consider battery health or degradation?
No. It assumes your usable battery capacity and efficiency are constant. Over many years, battery degradation and changing efficiency may slightly alter your real-world energy needs and costs per charge.
How can I turn this into a monthly EV charging budget?
Estimate a typical week's charging pattern first, then multiply the weekly total by about 4.3 to approximate a month. If most charging happens at home but some happens on public chargers, run both scenarios separately and combine them based on your actual mix.

Related calculators

This EV charging cost calculator provides approximate energy and cost estimates based on user-entered battery size, state-of-charge change, electricity rates, and efficiency. Actual costs depend on charging losses, station fees, rate plans, driving conditions, and battery behavior. Use these results for planning and comparison only, and always refer to your EV’s displays, charging network apps, and utility bills for precise billing information.