Skip to content

Calculating battery capacity for an inverter and solar panels

✍️ Oleksandr Specled
Inverter battery sizing cover: a solar panel, an inverter and four batteries wired in series on a dark green background
Solar battery bank calculator
Battery capacity, bank layout and service life for an off-grid or hybrid PV system
Typical cases
Load
10.0 kWh
5.00 kW
Largest power drawn at once: pump, kettle, motor start
1.5 days
How long the bank alone carries the full load
50%
Part of the daily consumption used in the evening and at night
Battery
Chemistry
System voltage
80%
A deeper discharge needs a smaller bank but costs cycles
Battery module
Conditions
12 °C
Coldest expected, used for capacity; above 20 °C service life shortens
93%
18 W
Datasheet line “zero load power”; typically 10–20 W for 3–5 kVA
End of life at 80 % of capacity, factor 1.25 (IEEE 485)
Required capacity
546 Ah
28.0 kWh nominal at 51.2 V, rated at 0.5C
Recommended bank
2 modules
51.2 V 280 Ah: 1 in series × 2 in parallel
−+
Usable shareUnused reserveLost to cold and ageing
Installed capacity
560 Ah / 28.7 kWh
Usable energy at the inverter output
15.4 kWhend of life, coldest temperature
Actual autonomy
1.5 daysend of life, coldest temperature
Discharge current, average / peak
9.3 / 115 A
Peak C-rate
0.20C, limit 0.50C
Daily depth of discharge
21%
Cycle life at this depth
≥ 6,000 cycles
Expected service life
≈ 15 yearslimited by calendar ageing
Recharge per sunny day
6.01 kWhinto the battery terminals, charge controller losses not included
Bank mass, approx.
≈ 270 kg
From nominal to usable energy
Nominal energy of the bank28.7 kWh
Discharge rate×1.0028.7 kWh
Temperature×0.9627.4 kWh
Ageing reserve×0.8021.9 kWh
Depth of discharge limit×0.8017.6 kWh
Inverter (efficiency and idle draw) and DC wiring×0.8815.4 kWh
Available at the inverter output: 15.4 kWh. Needed for 1.5 days: 15.0 kWh.
Checks
  • All checks passed.
Method: C = N·(E/η + 24·P₀)·1.25 / (0.98·V·DoD·kT·kr), following IEEE 1013-2019 for stand-alone PV with the ageing factor of IEEE 485; η is the inverter efficiency, P₀ its idle power, 0.98 the DC wiring. Rate factor kr from datasheets: Victron AGM/GEL table (C20) and OPzS Solar C10…C72; AGM and GEL get no extra capacity for discharges slower than C20. Temperature factor kT: OPzS – Rolls table for flooded batteries, AGM/GEL – VRLA datasheet table, LiFePO4 – 85 % at 0 °C and 55 % at −20 °C (cell datasheets guarantee ≥ 70 % only down to 2.0 V per cell, below the usual BMS cut-off); no credit above 25 °C. Cycle life from datasheet points (Victron, Hoppecke OPzS, LiFePO4 6000 cycles at 80 %); cycles shallower than the documented range are shown as a lower bound (≥). Service life is the lesser of cycle life and calendar life (as in NREL HOMER) and halves with every +10 °C above 20 °C for lead-acid and every +16 °C above 25 °C for LiFePO4. On an ordinary day the inverter idle power falls on the battery for 12 dark hours. This is a design estimate: the datasheet of your battery takes precedence.

Rate this calculator

Login to rate
5.0 (5)

Battery capacity for an inverter and solar panels is calculated based on energy, or in other words, power over time. You need to know how many kilowatt-hours to draw from the battery bank, for how many days, at what temperature, and down to what depth of discharge. Simply dividing consumption watt-hours by capacity significantly underestimates the result because it does not account for inverter efficiency, cold temperatures, discharge rate, and aging.

Below is a description of the methodology used by the "battery capacity calculator" on this page, complete with formulas and worked examples. Calculating a battery bank for a backup power inverter and an off-grid solar power station works the same way; the difference lies in the number of days the battery supports the load on its own. The methodology is based on IEEE 1013-2019 recommendations for standalone photovoltaic systems and the aging margin from IEEE 485.

Input Data

Six values are required to calculate a battery bank for an inverter — all of them are included in the calculator.

  • Daily consumption, kWh. The most reliable way is to take meter readings over a week and divide by seven. By appliances — multiply the power rating of each appliance by its daily operating hours and sum them up.
  • Peak power, kW: the largest load switched on simultaneously. Maximum load is usually reached during evening hours.
  • Days without sun. For a home with grid power or a generator, 1–2 days are usually enough. Calculating battery capacity for solar panels in an off-grid home is done for 3–5 days of cloudy winter weather. Our solar panel calculator↗ will help determine the climatic norms for your region.
  • Battery temperature — the lowest possible temperature in the room where they are installed.
  • Inverter efficiency (90–95%) and no-load self-consumption. For the 3 and 5 kVA Victron MultiPlus-II↗, self-consumption is 11 W and 18 W; for some budget models, it is noticeably higher. Even 15 W over 24 hours adds up to 0.36 kWh.
  • Battery share on a sunny day — what portion of consumption falls on the evening and night. It is not included in the capacity calculation, but it defines the depth of the daily cycle, and therefore the service life.

Battery Capacity Calculation Formula

Calculating battery capacity for an inverter is done in two steps. First, find the energy W that the inverter draws from the battery per day:

W = (E / η + 24 × P₀) / 0.98

Then — the required capacity in ampere-hours:

C = N × W × 1.25 / (V × DoD × kT × kr)

  • E — daily load consumption, Wh; η — inverter efficiency; P₀ — inverter self-consumption, W; 0.98 — DC wiring losses.
  • N — days without sun; V — nominal battery voltage, V.
  • 1.25 — aging margin: according to IEEE 485, a battery has reached the end of its service life when its capacity drops to 80%.
  • DoD — allowable depth of discharge: about 80% for LiFePO4, 50% for AGM and GEL, 50–60% for OPzS.
  • kT — capacity fraction at the lowest temperature: 0.75–0.85 at 0 °C and 0.45–0.55 at −20 °C.
  • kr — discharge rate correction factor. AGM capacity is rated for a 20-hour discharge (C20); over 5 hours, such a battery delivers about 85%. OPzS capacity is rated for 10 hours (C10), and over two days it delivers 20–25% more.

Peak current is checked separately. The calculator sets limits of 0.5C for LiFePO4 and AGM, 0.4C for OPzS, and 0.35C for GEL; if the peak current is higher, the capacity is increased.

Example: Battery Bank Calculation for a Private Home

A house consumes 10 kWh per day, and the battery must power the house for one and a half days without sun. A 48 V LiFePO4 bank (nominal 51.2 V), 80% depth of discharge, and a 5 kW inverter with 93% efficiency and 18 W self-consumption are selected. In winter, the average temperature in the utility room with the batteries is +12 °C.

  1. Energy drawn from the battery per day: (10,000 / 0.93 + 24 × 18) / 0.98 ≈ 11,410 Wh.
  2. For one and a half days: 11,410 × 1.5 ≈ 17,120 Wh, or 17,120 / 51.2 ≈ 334 Ah.
  3. Corrections: aging margin 1.25, depth of discharge 0.8, at +12 °C kT ≈ 0.957, for slow discharge kr = 1.
  4. C = 334 × 1.25 / (0.8 × 0.957 × 1) ≈ 546 Ah.

The closest bank configuration is two 51.2 V 280 Ah modules in parallel: 560 Ah, or 28.7 kWh. A 5 kW peak draws about 115 A, which is 0.2C — well within normal limits. A naive calculation (10,000 × 1.5 / 51.2 ≈ 293 Ah) would have yielded almost half as much.

On a typical sunny day, when the battery covers half of the consumption, it discharges by approximately 21%. At this depth, LiFePO4 is limited not by cycle life, but by calendar aging: the calculator assumes a 15-year service life for it.

Inverter Runtime Calculation from a Battery

Runtime is calculated using the inverse formula: the capacity is already known, and you need to find out how many hours a load P will last.

t = 0.98 × V × C × DoD × kT × kr / (P / η + P₀)

Example: 12 V 100 Ah AGM battery, 300 W load, inverter with 90% efficiency and 10 W self-consumption, warm room. Power drawn from the battery is 300 / 0.9 + 10 ≈ 343 W, current is about 29 A. At this current, an AGM battery discharges in less than three hours and delivers about 77% of its C20 capacity, and it is best not to discharge it deeper than 50%:

t = 0.98 × 12 × 100 × 0.5 × 1 × 0.77 / 343 ≈ 1.3 h

That is about 1 hour and 20 minutes — three times less than what "1200 Wh / 300 W = 4 hours" suggests. A 12.8 V 100 Ah LiFePO4 battery under the same load will last about 3 hours: it can be discharged by 80%, and its capacity is almost independent of the current.

LiFePO4, AGM, GEL, or OPzS

For daily cycling with solar panels, LiFePO4 is most often chosen: at 80% depth of discharge, it withstands 6,000+ cycles, while AGM lasts about 400.

TechnologyWorking Depth of DischargeCycle Life at 80% DoDMain Limitation
LiFePO480–90%from 6000 cyclesstandard batteries of this type cannot be charged below 0 °C
OPzS50–60%1500 cyclesrequires ventilation and water topping up
GEL50%500 cyclesdoes not tolerate elevated charging voltage
AGM50%400 cyclesservice life drops sharply with deep cycles

Lead-acid batteries are justified in two cases. AGM is suitable for backup power with rare outages, when the battery remains fully charged almost all the time. OPzS batteries last up to 20 years and are good for off-grid sites where space and a ventilated room are available.

OPzS lead-acid battery for solar power plants

System Voltage and Wiring Configuration

Voltage is selected based on peak power so that the current does not exceed approximately 150 A: 12 V for consumption up to 1.5 kW, 24 V up to 3 kW, and 48 V for higher loads. A 5 kW load at 12 V would require over 400 A, meaning cables with a cross-section greater than 100 mm² and heavy-duty fuses. A 48-volt system is virtually always considered the industry standard. For an accurate cable cross-section calculation, use the wire size calculator by power and current↗.

Series connection increases voltage; parallel connection increases capacity. Four 12 V blocks in series yield 48 V; two such strings in parallel yield twice the ampere-hours.

  • Lead-acid batteries are assembled in no more than three parallel strings. Current is divided unevenly between them, causing some batteries to wear out faster. If capacity is insufficient, larger cells are used, such as 2-volt OPzS cells.
  • LiFePO4 modules with a built-in BMS are connected in parallel within the limits permitted by the manufacturer.
  • Terminals are connected to busbars diagonally: positive from one end of the bank, negative from the other. This ensures all strings are loaded equally.

Cold, Aging, and Service Life

In the cold, a battery delivers less energy: at 0 °C — 75–85% of capacity, at −20 °C — about half. Therefore, the lowest temperature in the room is used in the calculation, rather than the annual average.

For lead-acid batteries, frost also poses the danger of electrolyte freezing, and the deeper the discharge, the sooner this happens. A fully charged battery withstands temperatures below −50 °C, at 40% state of charge it freezes at around −15 °C, and at 20% — at around −7 °C. LiFePO4 can be discharged in freezing temperatures, but cannot be charged below 0 °C, so an insulated cabinet or heated modules are required in winter. There are also LiFePO4 batteries with improved electrolyte that allow charging at temperatures down to −20 °C, but the price of this type of battery is significantly higher. 

Service life is the lesser of two factors: cycle life and calendar aging. Cycle life depends heavily on the depth of daily discharge: AGM withstands about 1,500 cycles at 30% DoD and only 600 at 50%. If such a battery is discharged halfway every day, it will last less than two years.

Heat also shortens battery service life. For lead-acid batteries, service life drops by roughly half for every 10 °C above 20 °C, while for EVE LF280K LiFePO4 cells, cycle life at 45 °C is 2,500 cycles compared to 6,000 at 25 °C.

Given these temperature factors, batteries should be installed in a heated, dry room. 

Do not forget about safety! Choose your protective circuit breakers properly. For this purpose, we created a widget called "how to choose a circuit breaker↗". The article below the widget explains in detail the principles behind the calculation. 

Common Mistakes When Calculating a Battery Bank for an Inverter

  • Failing to account for inverter efficiency and self-consumption. These consume 7–12% of energy plus hundreds of watt-hours per day.
  • Assuming the entire capacity is usable. For lead-acid batteries, the working depth of discharge is around 50%.
  • Taking the label capacity without checking the rating: C20 for AGM and C10 for OPzS represent different conditions, and under fast discharge, a battery delivers less.
  • Using the average annual temperature in calculations instead of the lowest temperature.
  • Assembling many parallel strings of lead-acid batteries instead of a single string of larger cells.
  • Omitting the aging margin and ending up a few years later with a battery that cannot last through the night.
Advertisement
👤

Expert author

I have been working in grow light engineering since 2011, specializing in everything from custom aluminum-core PCB design to full-spectrum LED cultivation systems. Over the years, I have progressed f…

Your Cart