How the ev smart charging optimizer calculation works
Most cars are plugged in for far longer than they need to charge. With hourly prices, charging can be moved into the cheapest hours of the window without the car being any less full at departure.
Because the cost of each kWh only depends on the hour, and every hour has the same power limit, filling the cheapest hours first gives the lowest possible cost for the prices entered.
Formula
Worked example
- 30 kWh needed at 90 % efficiency = 33.3 kWh from the grid; at 7.4 kW that takes 4.5 hours.
- Plugged in 18:00–07:00 with the example prices, the cheapest hours are 01:00–05:00, costing 6.30 (0.189 per kWh).
- Charging immediately from 18:00 costs 11.33, so smart charging saves 5.03 per session, about 755 a year at 150 sessions.
Assumptions and limitations
Assumptions
- The default hourly profiles and prices are illustrative example inputs, not data for a real home, market or location.
- Prices known for the whole window (e.g. day-ahead).
Limitations
- Battery pre-conditioning and charging taper near full are not modelled.
Frequently asked questions
Do I need a smart charger?
A charger or car app that can schedule by time or price; many tariffs offer automatic scheduling.
Can I combine this with solar?
Yes — see the solar EV charging calculator for how much a daytime solar charge can cover.
Related calculators
EV Charging Cost Calculator
Cost of a charging session and cost per 100 km / 100 miles.
Dynamic Electricity Tariff Calculator
Your daily cost on hourly prices vs a fixed price, and the value of shifting.
EV Home Charger Size Calculator
Home charger power for your daily mileage and overnight window.
References and data sources
- Smart charging — Wikipedia
- Charging Electric Vehicles at Home — U.S. DOE Alternative Fuels Data Center
Last reviewed: · Formula version 1.0.0 · Methodology