EV charging · Solar

Solar-to-EV Charging Calculator

How much of your car’s charging can rooftop solar cover? Enter one period’s solar, what the home uses while the sun shines, how much of the surplus happens while the car is plugged in, what the car needs and how fast it can charge. The calculator shares the surplus out honestly and compares the cost with charging from the grid.

Energy balance for one periodSee the formula and limitations

One period: solar, home and car

Illustrative example values. 30 kWh of solar, 10 kWh used by the home and 60% of the surplus while the car is plugged in are assumptions, not a measured home.
Solar, household use, the car and prices for one period
Solar and home

For the period you plan, e.g. one day, from the inverter app or meter.

What the home uses during the solar hours of the same period. It gets the solar first.

Your assumption: the part of the surplus that happens while the car is plugged in. 100% only if it is always home.

The car

At the battery, for the same period.

Your assumption, e.g. 85–95%.

With the hours below, caps the solar the car can take.

Both or neither: power × hours is the most the car can take.

Prices

What you pay per kWh from the grid, in the main currency unit (0.30, not 30 cents).

What you are paid per exported kWh, if anything. Empty = 0.

Changes the currency shown. It does not convert prices.

Your solar · Your car · Energy balance

Your result

Estimate

Example result · illustrative values · USD

72%

of the car’s energy from solar

From solar
12 kWh
From the grid
4.67 kWh
Still exported
8 kWh
Difference vs all from the grid
$3.00

An energy balance over one period from your own figures. It does not know when the sun shines or when the car is home within the period; your share of the surplus stands for that.

Step-by-step breakdown

Example values · illustrative · USD
StepValue
Solar surplus after the home’s own use20 kWh
Surplus while the car can charge12 kWh
Energy the car draws from the supply16.67 kWh
Charging cap (power × hours)18.5 kWh (3.7 kW × 5 h)
What decided the solar shareThe surplus while the car can charge
Solar into the car12 kWh
Car’s energy from the grid4.67 kWh
Surplus still exported8 kWh
Cost if all from the grid$5.00
Cost with solar (grid part + export not earned)$2.00
Export payment not earned$0.60
Difference$3.00

Not every solar kWh can go into the car

Solar the home uses itself, solar produced while the car is away and solar beyond what the charger can take in the hours available all stay out of the car. The result depends on the share you enter for when the car is home.

Before you start

What you need.

Solar production and home use come from your inverter app or meter, for the same period. The car’s energy comes from its app or from distance times consumption. Your prices come from your bill. Nothing is looked up.

  • Solar produced and the home’s use while the sun shines, in kWh.
  • Share of the surplus that happens while the car is plugged in.
  • Energy for the car at the battery, and your efficiency assumption.
  • Charging power and hours, if the charger limits what the car can take.
  • Import price and any export rate.

Behind the number

A formula you can check.

The home first, then the car, then the export.

The surplus is what is left after the home’s own use during the solar hours. Only the part of it that happens while the car can charge is available, and the car takes no more than it needs or than its charging power allows in the hours you give. The cost comparison counts the export payment the car’s solar no longer earns.

The guide to charging an EV from rooftop solar explains timing, seasons and export rates; the self-consumption and exports guide explains used and exported solar; the solar panel output calculator estimates production, and the self-consumption calculator splits measured solar. The EV charging and garage hub lists the other charging tools, and the solar and batteries hub the solar and battery tools.

Surplus = max(0, solar − home use during solar hours)

Available = surplus × share while the car can charge

Car need = kWh to add ÷ (efficiency % ÷ 100)

Cap = charging kW × hours (optional)

Solar to car = min(available, car need, cap)

From grid = car need − solar to car; exported = surplus − solar to car

Difference = solar to car × (import price − export rate)

Power without hours, or hours without power, is rejected. Shares and efficiency are percentages.

Worked example

30 kWh of solar, 10 kWh for the home, 15 kWh for the car

Illustrative values, the same ones the calculator starts with. Not a specific home, car or tariff.

Show the 7 steps
  1. Solar surplus after the home

    max(0, 30 − 10) = 20 kWh

  2. Surplus while the car can charge

    20 kWh × 60% = 12 kWh

  3. Energy the car draws from the supply

    15 kWh ÷ 0.9 = 16.6667 kWh

  4. Charging cap

    3.7 kW × 5 h = 18.5 kWh

  5. Solar into the car

    min(12, 16.6667, 18.5) = 12 kWh

    Shown as 72% of the car’s energy

  6. From the grid and still exported

    16.6667 − 12 = 4.6667 kWh from the grid · 20 − 12 = 8 kWh exported

  7. Comparison

    12 kWh × (0.3 − 0.05) = 3 in your currency

In this example, the surplus while the car is home is the limit: the charger could take more, and the car needs more. With the car home for the whole surplus, the same day would cover 100% of its energy.

Assumptions and limitations

What this balance does not model.

Show all 6 assumptions and limitations
  • Timing within the periodSolar, home use and charging are totals for the period. Your share of the surplus while the car is plugged in stands for when things happen.
  • Weather and seasonThe solar figure is yours. A cloudy day or a winter week gives far less; use the period you actually plan for.
  • A home batteryIf a battery also takes the surplus, less is left for the car. The battery energy shift calculator covers that case.
  • Equipment and settingsHow a charger or energy manager follows the surplus, any export limit and inverter limits are not modeled.
  • Tariff periodsOne import price and one export rate are used. Time-of-use prices are a separate calculation.
  • Value, not a billThe comparison is the energy cost of the car’s charging, not a forecast of your bill or a payback.

Connecting solar and chargers is professional work

How a solar system, a home battery and a charger are connected, and how they are set to work together, belong to qualified installers following local rules and the manufacturers’ instructions. This page gives no installation advice.

Questions

Frequently asked questions

Why does the home get the solar first?

Solar that a home uses as it is produced is not available for anything else. The calculator therefore takes the home’s use during the solar hours away first and only shares out what is left.

What is the share of the surplus while the car can charge?

Your estimate of how much of the surplus happens while the car is plugged in and able to take it. A car that is away at work during the sunny hours may see little of it; a car that is home most of the day can see most of it. It is never assumed to be 100%.

Why does the comparison subtract the export rate?

Solar that goes into the car is not exported, so any payment for exporting it is not earned. Charging the same energy from the grid instead would cost the import price. The difference per kWh is the import price minus the export rate.

Can the difference be negative?

Yes, if you are paid more for exporting than you pay for importing. Then charging the car from solar costs more, in this accounting, than exporting the solar and charging from the grid.

What period should I use?

Any period for which you know the totals: a typical day, a week or a month. Use the same period for solar, home use and the car’s energy.

How does this differ from the self-consumption calculator?

The self-consumption calculator splits solar you have already measured into used and exported. This tool asks how much of the surplus a car could take, given when it can charge and how fast.