How the optimal home battery size calculation works
Each extra kWh of battery saves less than the one before: a small battery fills and empties almost every day, a large one sits partly unused in winter (too little solar) and in summer (the evening need is already covered). The best size balances this falling benefit against the cost.
For every size tested, the calculator simulates 8,760 hours of a typical year and computes the first-year saving against no battery. It then discounts the savings over the battery life, allowing for capacity fade, and subtracts the cost to get the net present value.
Formula
- C
- battery capacity (kWh)
- r
- discount rate
Worked example
- Example: 4,500 kWh/yr, 5 kWp, example monthly sun hours, import 0.30, export 0.06, battery 350 per kWh plus 500 fixed, 12-year life at 4 %.
- Savings grow from 72 per year (1 kWh) to 293 (5 kWh), then level off at about 352 above 8 kWh.
- The best size tested is 5 kWh, with an NPV of about 244; self-sufficiency rises from 44.9 % to 72.9 %.
Assumptions and limitations
Assumptions
- Typical-year model: solar follows monthly sun hours with a smooth daily curve, consumption repeats a daily pattern, and temperatures are interpolated from monthly means. No weather is invented, so day-to-day variability is absent unless you add the stress test.
- Battery power scales with capacity (C-rate input); no grid charging.
Limitations
- Real day-to-day weather spreads results; treat neighbouring sizes as similar.
- Savings are assumed to fade with capacity, which slightly overstates the loss.
Frequently asked questions
Why does the saving level off?
Once the battery covers your typical evening and night use, more capacity is rarely filled or emptied.
What if “No battery” is best?
Then at your prices the savings never repay the cost — a lower price, higher import price or larger price spread would change that.
Related calculators
Home Battery ROI Calculator
Return, payback and lifetime savings of a home battery.
Solar Battery Size Calculator
Battery capacity needed to cover evening and night use from stored solar energy.
Hourly Battery Charging Simulator
Hour-by-hour solar, battery and grid flows for a day you enter.
References and data sources
- Annual Technology Baseline (ATB) — National Renewable Energy Laboratory
- Net present value — Wikipedia
- System Advisor Model (SAM) — National Renewable Energy Laboratory
Last reviewed: · Formula version 1.0.0 · Methodology