Batteries & storage calculator

Solar battery sizing from an hourly simulation: self-use, savings, payback

Your panels, your home's demand hour by hour and a home battery are run through all 8,760 hours of a real year at your site. The result is the battery capacity that actually earns back what it costs.

Live satellite data Editable share link Branded PDF report Free · no sign-up

Results

Why this tool works hour by hour

There is just one way a home battery earns anything: it takes solar energy from sunny hours with too much and delivers it later when there is too little. To price that, you must see surplus and the demand that follows it in each hour. Monthly averages smear this out, which is why rules of thumb and simple web calculators so often promise more savings than a battery delivers.

The engine downloads hourly NASA POWER satellite weather for a whole year at your site and steps through all 8,760 hours. It has three parts:

  1. Solar output. It uses the same physics as our solar panel calculator: sun position, the Hay–Davies sky model, cell temperature and inverter losses are all modelled.
  2. Household demand. Pick a preset routine: a working family, a home office, a retired couple, nightly EV charging or a heat pump. It is shaped for weekdays, weekends and the season, then scaled to your yearly kWh. The heat-pump pattern tracks that year’s actual hourly outdoor temperature, so a cold spell lifts demand just when sunshine is weakest.
  3. The battery. Solar covers the house first. Any surplus charges the battery within its power limit and usable capacity, and the remainder goes to the grid. If demand beats solar, the battery supplies power until it hits its reserve level, and only then does the home import electricity.

Ten battery sizes between 0 and 30 kWh go through the same run, and the one with the highest net present value is reported.

Equations

Each hour: direct = min(PV, load) charge = min(PV − direct, P_max, (E_usable − SoC) / √η) discharge = min(load − direct, P_max, (SoC − E_reserve) × √η) E_usable = nominal kWh × DoD η = round-trip efficiency

Self-consumption = (PV − export) ÷ PV Self-sufficiency = (load − import) ÷ load Battery savings = Δimport × import price − Δexport × export price Battery life = min(calendar life, rated cycles ÷ cycles per year)

Default case: 6 kWp and 10 kWh near Bucharest

Picture a working family that uses 4,500 kWh yearly and owns 6 kWp of panels facing south at 32°. Using 2024 weather, the array produces about 7,330 kWh (1,221 kWh/kWp). Without storage, a mere 24% of this is consumed directly, as generation peaks while the house is empty; 40% of demand is covered.

Add a 10 kWh battery with 90% usable capacity, 5 kW power and 90% round-trip efficiency. It supplies about 2,110 kWh yearly, grid imports drop from 2,714 to 688 kWh, and self-sufficiency reaches 85%. At roughly 250 full cycles a year, a 6,000-cycle LFP battery would age out through its 15-year calendar life well before cycling wears it.

The financial picture is more sobering. Every shifted kWh avoids the €0.25 import price yet gives up a €0.06 export credit, so savings come to about €363 a year. With €4,500 installed, payback is around 12 years and the NPV at a 5% discount rate is marginally negative. The sweep shows the reason: 5 kWh already earns €233 a year, 7.5 kWh earns €326, and moving from 10 to 15 kWh adds a mere €24, since winter has no surplus to fill more capacity.

Making sense of the results

  • Self-sufficiency speaks to independence. Savings and payback speak to whether buying makes sense.
  • Fewer than about 150 full cycles a year is a sign that the battery is bigger than your surplus or your evening use justifies.
  • Best battery size: the capacity with the highest NPV in the sweep. Cost has a fixed share (hybrid inverter, installation) and a per-kWh share. If every size returns a negative NPV, view the purchase as comfort or backup rather than an investment.
  • Average summer day chart. The battery should fill by late morning and carry the home through the evening and night. If it is full before noon, more capacity or more daytime consumption would be useful.

Benchmarks

Household (Central Europe) PV Battery (usable) Self-sufficiency Cycles/yr
3,000 kWh, out by day 4 kWp none 25–35% —
3,000 kWh, out by day 4 kWp 4–5 kWh 55–65% 250–300
4,500 kWh family 6 kWp 8–10 kWh 65–80% 200–260
8,000 kWh with EV 9 kWp 10–13 kWh 50–65% 250–330
10,000 kWh with heat pump 10 kWp 10–15 kWh 45–55% 180–230

Southern Europe, the US Sun Belt and Australia land at the upper end or higher; in northern Europe results sit lower because winter yield is so small.

Getting a battery to pay off

  • Match your evening, not your roof. Consumption after sunset (typically 40–60% of the day’s use) caps what a battery can offset daily.
  • Move flexible loads to midday first. Appliances like the dishwasher, washer, water heater and EV charger then store energy for free, which often outperforms buying another battery module.
  • Read your tariff. Time-of-use or dynamic pricing, or no payment for exports, widens the price gap and speeds payback; the time-of-use option lets you test it.
  • Pick LFP. Lithium iron phosphate handles 4,000–8,000 cycles and 90–100% depth of discharge. Lead-acid loses about half its capacity to the 50% DoD limit and lasts 500–1,500 cycles (see the lead-acid preset).
  • Know what you are paid today. Where classic net metering applies, a battery adds next to no savings. The net metering calculator lets you compare schemes.

Limitations

The dispatch rule is basic self-consumption. It never charges from the grid, does not follow dynamic prices and keeps no reserve for forecast bad weather. Because the model steps by the hour, self-consumption comes out a bit high: a kettle or oven can exceed the battery’s power limit for minutes inside an hour. Actual systems usually land a few percentage points lower. Load profiles are generic, not taken from your smart meter. A single day may look quite different even when the yearly totals match. Battery ageing appears as a steady annual decline in savings. Costs leave out financing and any later swap of the hybrid inverter.

Method & assumptions

A NASA weather year supplies the hours, all of them. In each hour the calculator estimates PV output (the model behind our solar panel calculator) and the home's demand. Demand begins with a typical daily pattern, then bends for weekdays, weekends and season; where heat pumps are involved it follows each hour's actual outdoor temperature (heat demand ∝ (15 °C − T) ÷ COP(T)).

The battery logic is the same every hour. The house uses solar first. Extra solar goes to the battery, within its power limit and usable capacity (capacity × DoD); if there is still more, it is exported. In a shortfall, the battery covers demand until it reaches its reserve, and the grid supplies what remains. Losses are √RTE in each direction, plus standby consumption.

Results: Self-consumption = solar used on site ÷ solar produced. Self-sufficiency = demand met without the grid ÷ demand. Battery savings = avoided import cost − lost export revenue. Payback and NPV take in your price growth and capacity fade across the battery's life = min(calendar life, rated cycles ÷ cycles per year).

Frequently asked questions

How large a battery should a solar home have?
A starting point is about 1 kWh of usable capacity for every 1,000 kWh used per year, or 1–1.5 kWh per kWp of panels. With 4,500 kWh of use and 6 kWp, 5–10 kWh generally does the job. After the battery can carry a normal evening, extra capacity adds very little. The sweep chart above shows where that happens for your house.
Is a home battery a good investment?
Look at the gap between what you pay for imports and what you get for exports. A shifted kWh is worth about (import price − export price), less round-trip losses. With €0.25 versus €0.06 that is near €0.17 per kWh, so a 10 kWh battery running ~250 cycles a year saves roughly €350–400. At €450–600 per kWh installed, payback takes 10–15 years; time-of-use pricing or no export payment can bring it under 8 years.
How often does a household battery cycle in a year?
In a solar home a battery of sensible size usually clocks 200–300 full-equivalent cycles per year, nearly daily from spring to autumn and rarely in winter because there is little surplus. When the battery is too large it cycles less, often under 150 times, and some of the capacity is hardly used.
Self-consumption versus self-sufficiency?
Self-consumption means how much of your solar output you use yourself instead of exporting it. Self-sufficiency (autarky) means how much of all your electricity needs are met without the grid. A big array can show low self-consumption and high self-sufficiency; a battery lifts both.
Can a battery cut me off from the grid entirely?
Usually not at a sensible price. Even with a large battery, grid-connected homes typically get to 70–90% self-sufficiency, because the panels make too little in winter to fill it. Living fully off-grid takes a much larger array, several days of storage or a generator. See the off-grid solar calculator.
Will a battery power my EV charging overnight?
Only partly. A battery that makes financial sense seldom holds more than a single evening of household use, so charging a car overnight still relies mainly on the grid. Plugging in at midday on surplus solar is normally a far cheaper way to store energy than adding a stationary battery.

Sources & references

  1. Weniger, J., Tjaden, T., Quaschning, V. (2014). Sizing of residential PV battery systems. Energy Procedia 46
  2. HTW Berlin — Independence calculator and PV storage inspection (Stromspeicher-Inspektion)
  3. NREL — Battery Energy Storage System cost benchmarks (ATB, residential storage)
  4. NASA POWER — hourly solar and meteorological data

Embed this calculator

Free for bloggers, installers, schools and NGOs. Copy the snippet below and it stays current by itself.