True cost per session and per mile for any EV - accounts for time-of-use rates, solar offset, and DC fast-charging premium
Session cost
$0.00
0 kWh from grid
Per kWh (effective)
$0.00
after solar offset
Per mile
$0.00
0 mi this session
Gas equivalent
$0.00
@ 30 mpg
Compare against gasoline
Verdict
EV is cheaper by $0.00
As-is, no warranty. These apps are free under their listed license and run entirely in your browser. Use at your own risk — don't blame me if your PC catches fire, your dog runs away, or the math turns out wrong. Verify anything that actually matters. None of this is professional financial, medical, legal, or engineering advice.
EV Charging Cost Calculator computes the true cost of an EV charging session - not the simplified kWh × rate figure, but the actual cost accounting for solar offset, charger efficiency loss, and time-of-use rate variation. It outputs cost per session, cost per mile, and a gasoline-equivalent breakeven price for direct comparison against ICE vehicles.
Default vehicle profiles
| Vehicle | kWh/mile | Source |
|---|---|---|
| Tesla Model Y RWD | 0.245 | EPA combined |
| Tesla Model 3 LR | 0.236 | EPA |
| Tesla Model S Plaid | 0.305 | EPA |
| Ford Mustang Mach-E | 0.32 | EPA |
| Hyundai Ioniq 5 | 0.30 | EPA |
| Rivian R1T | 0.50 | EPA |
| Polestar 2 | 0.31 | EPA |
kWh_from_grid = session_kWh / charger_efficiency × (1 − solar_offset_fraction)
total_cost = kWh_from_grid × electricity_rate
cost_per_mile = total_cost / (session_kWh × vehicle_efficiency_mi_per_kWh)
At what pump price does an ICE doing the same trip cost the same?
gas_breakeven = total_cost / (trip_miles / ice_mpg)
Default charging contexts
| Context | Typical rate | Charger efficiency |
|---|---|---|
| Home (off-peak) | $0.08–0.14/kWh | 88% (AC, 240V L2) |
| Home (peak) | $0.20–0.40/kWh | 88% |
| Tesla Supercharger | $0.30–0.50/kWh | 95% (DC fast) |
| EVgo / Electrify America | $0.40–0.60/kWh | 95% (DC fast) |
| Public L2 (paid) | $0.20–0.30/kWh | 88% |
| Workplace (free) | $0.00 | 88% |
A solar-equipped home changes EV economics significantly. If your panels generate excess power during the day and you charge directly from that excess (via a timed charge schedule), the marginal cost of the solar-sourced kWh is effectively $0 after the panels’ upfront cost is sunk. This tool treats solar-sourced kWh as free for marginal cost purposes - a valid assumption once panels are paid off (typically 6–8 years).
The real-world impact: a Model Y that costs $0.048/mile on pure solar home charging costs $0.12–0.18/mile on Supercharger-only charging. If 75% of your charging is solar home and 25% is Supercharger, your blended rate is roughly $0.06/mile - still far below the $0.15–0.18/mile typical of a 30 MPG gasoline car at $4.50/gallon.
AC home chargers (Level 2) are not 100% efficient. About 10–15% of the electricity you pull from the grid is lost as heat in the onboard charger and wiring. You pay for 1 kWh at the meter, but only 0.88 kWh enters the battery. DC fast chargers are more efficient (~95%) because they bypass the onboard AC→DC converter.
This means the cost calculation isn’t kWh_to_battery × rate. It’s kWh_from_grid × rate, and kWh_from_grid = kWh_to_battery / charger_efficiency. Ignoring this understates your cost by ~12% for home charging.
Many utilities offer TOU pricing: cheaper electricity during off-peak hours (midnight–6 AM) and more expensive electricity during peak demand (4–9 PM). The ratio can be 3:1 or more. A Model Y charged entirely during off-peak at $0.09/kWh costs $0.022/mile. The same car charged during peak at $0.30/kWh costs $0.073/mile - 3.3× more expensive, same car, same electricity, different time.
Setting up timed charging (Tesla’s “Schedule Charging” feature, or a smart outlet timer) to avoid peak hours is one of the highest-ROI optimizations for EV ownership. The TOU rate on your utility bill determines whether this optimization matters for you.
Model Y, home charging, $0.12/kWh off-peak, 50% solar:
Model Y, Tesla Supercharger, $0.38/kWh:
The gap between these two scenarios is why “how much does it cost to charge an EV?” is not a meaningful question without the context of where you charge.
Solar + EV is a system, not two separate products. The math for a solar-equipped household is different in kind from a grid-only EV owner:
This calculator handles the marginal-cost view (solar kWh is free). For a full TCO analysis including panel amortization, installation cost, and battery storage ROI, you’d need a longer-horizon model.
For informational purposes only. Not financial, medical, or legal advice. You are solely responsible for how you use these tools.