Solar Battery Size Calculator

Find the battery bank in Ah and kWh, the series and parallel battery count and the solar panels you need from your daily energy use.

kWh

Units (kWh) per day from your bill divided by the days, or from the appliance calculator.

days

Days the battery must carry the load with no sun at all. 1 to 3 is common for home systems.

Use what your inverter or charge controller requires. Larger systems use 48 V.

Usable depth of discharge is typically about 50% for lead-acid, and 80 to 90% for LiFePO4. Your battery data sheet gives the figure that keeps the rated life.

%

Typical: 85 to 95% for the inverter plus battery and wiring losses. The inverter data sheet shows its own figure.

Ah

V

12 for a 12 V battery (12.8 for LiFePO4 is fine), 6 for a golf cart battery, 2 for a cell.

h

Your own site value. Use a solar map for your location or your installer's figure. Winter is lower than the yearly average.

Heat, dust, wiring and charge-controller losses. 0.7 to 0.8 is typical.

W

W

Fills the inverter size. Motors and compressors need extra for starting.

Battery bank needed

11.11 kWh

463 Ah at 24 V, or 6 batteries of 200 Ah

Energy to cover
5 kWh (5 kWh a day × 1 days)
Battery energy needed
11.11 kWh
Battery capacity needed at 24 V
463 Ah
Batteries in series
2
Strings in parallel
3
Total batteries
6 of 200 Ah, 12 V
Installed battery bank
14.4 kWh, 600 Ah at 24 V
Panel power needed
1,481 W
Panels of 400 W
4 panels, 1.6 kW

To run 5 kWh a day for 1 day(s) of autonomy with 50% depth of discharge, you need about 11.11 kWh of battery: 6 batteries of 200 Ah and 12 V, and about 4 panels of 400 W.

Add this calculator to your website

Free to use on any site or blog. Paste this code where you want the calculator to appear. It stays up to date, needs no account, and keeps your visitors' numbers in their own browser.

Preview

How it works

Start with the energy you use in a day. The battery has to supply that energy for as many days as you want to run without sun (days of autonomy), plus the energy the inverter and wiring lose on the way, and it must not be drained below its safe depth of discharge. So the nominal battery energy is daily kWh × days ÷ (system efficiency × depth of discharge). Dividing by the bank voltage gives amp-hours.

Depth of discharge is how much of the rated capacity you may use without shortening the battery life. For lead-acid a typical planning value is 50 percent. LiFePO4 batteries are typically used down to 80 to 90 percent. These are typical ranges, so check the data sheet of the battery you plan to buy.

The number of batteries comes from your own battery. Batteries in series add voltage, so a 24 V bank from 12 V batteries is 2 in series. Strings in parallel add capacity, so the number of parallel strings is the bank energy divided by the energy of one string, rounded up. Total batteries = series × parallel.

Panels are sized from the same daily energy. Panel watts = daily energy ÷ (system efficiency × peak sun hours × derate). Enter the peak sun hours for your location, since it varies a lot by place and season. The tool does not choose them for you. For a panel-only estimate based on a monthly bill, use the solar panel calculator.

Check it by hand: a home using 5 kWh a day with 1 day of backup, lead-acid batteries at 50% depth of discharge and 90% efficiency needs 5,000 ÷ (0.9 × 0.5) = 11,111 Wh. At 24 V that is 11,111 ÷ 24 = 463 Ah. With 12 V 200 Ah batteries you need 2 in series and 11,111 ÷ (2 × 12 × 200) = 2.3, so 3 strings, 6 batteries in all. Panels: 5,000 ÷ (0.9 × 5 sun hours × 0.75) = 1,481 W, which is 4 panels of 400 W.

Battery energy (Wh) = daily Wh × days of autonomy ÷ (system efficiency × depth of discharge)
Battery capacity (Ah) = battery energy ÷ bank voltage
Series count = bank voltage ÷ battery voltage
Parallel strings = bank energy ÷ (series × battery V × battery Ah), rounded up
Panel watts = daily Wh ÷ (system efficiency × peak sun hours × derate)
Inverter = largest load × 1.25 (rule-of-thumb margin)
Source: standard battery sizing practice (energy balance); the peak sun hour definition is from NREL. Depth of discharge values are typical manufacturer figures.

Worked example

5 kWh a day, 1 day of autonomy, a 24 V bank of lead-acid batteries (50% depth of discharge) and 90% efficiency: battery energy = 5,000 ÷ (0.9 × 0.5) = 11,111 Wh = 11.1 kWh, which is 463 Ah at 24 V. With 200 Ah 12 V batteries: 2 in series per string, each string stores 2 × 12 × 200 = 4,800 Wh, so 3 strings are needed: 6 batteries.

With LiFePO4 at 90% depth of discharge the same job needs 5,000 ÷ (0.9 × 0.9) = 6,173 Wh, 257 Ah at 24 V. Panels at 5 peak sun hours and a derate of 0.75: 5,000 ÷ (0.9 × 5 × 0.75) = 1,481 W, so 4 panels of 400 W (1.6 kW).

Good to know

  • This is a sizing estimate. A designer or installer must check the charge current limits, the inverter and charge controller voltage range, the cable and fuse sizes and local code.
  • Battery capacity falls in the cold and at high discharge rates, and lead-acid capacity depends on the rate (Peukert effect). The depth of discharge you pick should leave room for that.
  • The panel result depends on the peak sun hours you enter. Winter and cloudy weeks need more panels or a generator. Panels sized for the yearly average will not fill the battery in winter.
  • The inverter size is the largest load plus a typical margin. Motors, pumps and compressors need a much higher starting surge, and the ups and inverter size calculator covers that.

Questions people ask

How do I calculate the solar battery size I need?

Multiply your daily energy use by the days of autonomy, divide by the usable depth of discharge and the system efficiency, then divide by the system voltage to get amp-hours. 5 kWh a day with lead-acid at 50% depth of discharge and 90% efficiency needs about 11.1 kWh, or 463 Ah at 24 V.

How many batteries do I need for solar?

Divide the required bank energy by the energy of one battery, arranged so the series count gives your system voltage. The tool does this from the Ah and voltage of the battery you choose, and gives the series and parallel counts.

What depth of discharge should I use?

Typically about 50 percent for lead-acid and 80 to 90 percent for LiFePO4. The data sheet gives the figure for the rated cycle life. Using more of the capacity is possible, but it shortens the life.

Should I choose a 12 V, 24 V or 48 V battery bank?

Higher voltage means lower current for the same power, so thinner cable and smaller losses. Small systems up to about 1 kW often use 12 V, 1 to 3 kW 24 V, and larger systems 48 V. The inverter and charge controller fix the options.

How many solar panels do I need to charge the battery?

Divide the daily energy by the system efficiency, the peak sun hours and the panel derate, which gives the panel watts. With 5 kWh a day, 5 sun hours and a 0.75 derate, that is about 1.5 kW, or 4 panels of 400 W.

What size solar inverter do I need?

At least the largest load that runs at one time, plus a margin (the tool uses 1.25 times it). Motors and compressors need extra for starting. The UPS and inverter size calculator handles starting loads in detail.

How is this different from the battery backup time calculator?

The backup time calculator goes the other way: you give it a battery and a load, and it returns how long it lasts. This tool starts from the load and the days of autonomy you need and returns the battery bank and panels.

How big a battery bank do I need for 2 kWh a day with lithium at 90% depth of discharge?

For 1 day of backup and 90% efficiency, 2,000 ÷ (0.9 × 0.9) = 2,469 Wh, about 2.5 kWh.

Part of the guide: Electrical, power and solar calculators: amps, wire size, generators and batteries

Formulas and text last checked on 7 October 2026. Everything is calculated in your browser, so nothing you enter is sent or stored. Spotted a mistake? Tell us and we will fix it.