Skip to content
SolarSystemCalc

Solar Battery Bank Calculator

Size a battery bank for backup or off-grid use. Enter how much energy you use, how many hours you need to cover, your system voltage and battery type; the calculator returns the amp-hours, kilowatt-hours and the number of batteries in series and parallel.

Your inputs

kWh/day

Monthly kWh ÷ 30. Typical homes: 5–30 kWh/day.

hours

How long the battery must carry the load without sun or grid (e.g. overnight = 12 h).

Ah

Capacity printed on one battery, e.g. 100 Ah, 200 Ah.

Advanced options
%

Energy lost converting DC to AC. 88–95% is typical.

Results update instantly. Nothing is sent to a server.

Results

Battery capacity

145 Ah

at 48 V

Energy capacity

6.94 kWh

nominal, required

Batteries needed

8

4 in series × 2 parallel

To run an average load of 0.42 kW for 12 hours you must draw 5 kWh from the bank. With lithium (LiFePO4) batteries at 80% depth of discharge and 90% inverter efficiency, that means a 145 Ah bank at 48 V (6.9 kWh). Using 100 Ah / 12 V batteries: 4 in series × 2 in parallel = 8 batteries, giving 9.6 kWh nominal (7.7 kWh usable).

Result breakdown
Average load0.42 kW
Energy drawn during backup5 kWh
Depth of dischargeDefault for lithium (LiFePO4)80%
Required nominal capacity6.94 kWh
Required capacity in Ah145 Ah @ 48 V
Batteries in series48 V ÷ 12 V4
Parallel strings145 Ah ÷ 100 Ah2
Total batteries8
Bank size (nominal)9.6 kWh
Bank size (usable)7.68 kWh
How this is calculated

Formulas

Average load
Average load (kW) = Daily kWh ÷ 24
Backup energy
Backup Wh = Average load × backup hours × 1000
Required capacity
Required Wh = Backup Wh ÷ depth of discharge ÷ inverter efficiency
Amp-hours
Required Ah = Required Wh ÷ system voltage
Batteries in series
Series = System voltage ÷ single battery voltage
Parallel strings
Parallel = round up (Required Ah ÷ single battery Ah)
Total batteries
Total = Series × Parallel

Assumptions & limitations

  • Load is assumed to be spread evenly across the day. If most of your usage is in the evening, add a margin.
  • Default depth of discharge: 80% for lithium (LiFePO4), 50% for lead-acid to protect cycle life.
  • Inverter efficiency default 90%; battery internal (round-trip) losses are not separately modelled.
  • Cold temperatures reduce usable capacity, especially for lead-acid. Size up in cold climates.

How the solar battery calculator works

This tool estimates how much battery storage you need to back up your loads for a set number of hours, then converts that into a real-world battery count based on your chosen battery model and system voltage.

You enter:

  • Daily energy usage in kWh per day (from a utility bill or your appliance list)
  • Backup hours — how long the battery bank must carry that load
  • System voltage — 12 V, 24 V, or 48 V
  • Battery type — lithium (LiFePO4) or lead-acid/AGM/gel, which sets a sensible default depth of discharge
  • Depth of discharge (DoD) — editable if your battery datasheet differs from the default
  • Inverter efficiency — defaults to 90 percent, tucked under advanced options
  • Single battery capacity and voltage — used to work out how many physical batteries you need

The math, in plain terms

The calculation runs in five steps:

  1. Average load: Average load (kW) = daily kWh ÷ 24
  2. Backup energy: Backup energy (Wh) = average load × backup hours × 1000
  3. Required nominal capacity: Required Wh = backup energy ÷ depth of discharge ÷ inverter efficiency
  4. Required amp-hours: Capacity (Ah) = Wh ÷ voltage
  5. Battery count: batteries in series = system voltage ÷ battery voltage; parallel strings = required Ah ÷ battery Ah, rounded up; total batteries = series × parallel

The result is shown as both usable kWh (what you can actually draw) and nominal kWh (the battery's rated capacity), because those two numbers are not the same once depth of discharge and inverter losses are factored in.

Why depth of discharge matters

Depth of discharge is the percentage of a battery's rated capacity you are allowed to use before recharging. Push a battery past its safe DoD too often and you shorten its life dramatically.

  • Lithium (LiFePO4): typically safe at 80 to 100 percent DoD, with 3,000 to 6,000+ cycles at 80 percent DoD depending on the cell quality
  • Lead-acid, AGM, gel: usually limited to 50 percent DoD, with 300 to 700 cycles at that depth before capacity fades significantly

A shallower DoD means you need more nominal (rated) capacity to deliver the same usable energy, which is why lead-acid banks end up physically much larger than an equivalent lithium bank.

Series vs parallel wiring

Batteries are combined two ways:

  • Series — connects batteries end to end to raise voltage (for example, four 12 V batteries in series make 48 V). Capacity in Ah stays the same as a single battery.
  • Parallel — connects batteries side by side to raise capacity while voltage stays the same. Ah values add together.

Most home systems use a mix: a series "string" to reach the target system voltage, then multiple strings in parallel to reach the target capacity.

Sizing for one night vs multi-day autonomy

A battery sized for a single overnight cycle is the cheapest option and works well in sunny climates where the panels reliably refill the bank the next day. If your location has long overcast stretches, or you're backing up something critical like refrigeration or medical equipment, add a autonomy buffer of one to three extra days of storage. Just remember that oversizing a lead-acid bank for rarely-used deep backup wastes money on cycle life you'll never spend, whereas lithium tolerates being lightly cycled far better.

Temperature and C-rate notes

  • Cold weather: Lead-acid capacity drops as temperature falls. Most lithium batteries refuse to charge below freezing without an internal heater, so batteries in unheated sheds or garages need either a heated enclosure or a bigger margin.
  • C-rate: This is the battery's maximum safe charge or discharge rate relative to its capacity. A 100 Ah battery rated at 1C can safely discharge 100 A continuously; a 0.5C battery can only manage 50 A. Check your battery's peak discharge rating against your inverter's peak draw, especially for motor-starting loads.

Typical battery module sizes worldwide

Module typeVoltageCapacityCommon region
Flooded/AGM lead-acid12 V100 Ah (~1.2 kWh nominal)Global, especially budget off-grid
LiFePO4 "drop-in"12.8 V100 Ah (~1.28 kWh nominal)US, Europe, Australia RV/off-grid
LiFePO4 rack module48 V5 kWh nominalCommercial and larger residential
LiFePO4 wall unit48 V (internal)10–13.5 kWh nominalGrid-tied home backup, most regions

Lithium vs lead-acid comparison

FactorLithium (LiFePO4)Lead-acid / AGM / gel
Usable DoD80–100%50%
Cycle life at rated DoD3,000–6,000+300–700
Round-trip efficiency95–98%80–85%
Weight per usable kWhLow3–4× heavier
MaintenanceNone to minimalPeriodic watering (flooded), terminal checks
Cost per usable kWh over lifeLower long-termLower upfront, higher long-term

Upfront lithium pricing is higher, but because you can use more of the rated capacity and get many more cycles, the effective cost per usable kWh over the battery's lifetime is often lower. Exact pricing varies a lot by region and supplier — treat any number as a rough guide, not a quote.

Limitations to keep in mind

This calculator gives a sizing estimate, not an engineering design. It does not account for charge controller current limits, inverter surge ratings, battery management system (BMS) settings, or local fire and electrical codes. Always check the manufacturer's datasheet for your specific battery and consult a qualified installer before wiring a bank together, especially for anything above 48 V or with parallel strings.

Related calculators

Frequently asked questions

How many batteries do I need to run a house overnight?

Most homes use 8 to 15 kWh overnight. With 48 V lithium batteries at 80 percent depth of discharge you need roughly 10 to 19 kWh of nominal capacity, which is two to four 5 kWh battery modules.

What depth of discharge should I use for lithium versus lead-acid?

Lithium LiFePO4 batteries are typically rated for 80 to 100 percent depth of discharge without major cycle life loss, while flooded or AGM lead-acid batteries should generally be limited to 50 percent to get a reasonable service life.

Why do off-grid systems use 48 volts instead of 12 or 24 volts?

At a higher system voltage the same power flows at a lower current, so cables, fuses, and connectors can be smaller and cheaper. Systems above about 3 kW are usually wired at 48 V for this reason.

Should I size my battery for one night or several days of autonomy?

Sizing for one night keeps cost lower and works fine where sunny days are reliable. If you live somewhere with long cloudy stretches or need backup for medical equipment, plan for two to three days of autonomy instead.

Does cold weather reduce usable battery capacity?

Yes. Lead-acid capacity can drop noticeably below freezing, and most lithium batteries stop charging below 0 degrees Celsius (32 degrees Fahrenheit) unless they have a built-in heater, so batteries installed outdoors need extra sizing margin or climate control.

What does inverter efficiency have to do with battery sizing?

Every watt-hour drawn from the battery loses a small amount as heat in the inverter before it reaches your appliances, typically 5 to 10 percent. The calculator divides by this efficiency so the battery is sized for what you actually use, not just what it stores.

Can I mix old and new batteries or different brands in one bank?

It is not recommended. Mixing ages, capacities, or brands causes uneven charging and discharging, which shortens the life of the whole bank and can create a safety risk, so keep each parallel string identical.