Skip to content
DoItJag

Battery Sizing Calculator

Plan a battery bank before you buy. Enter the load and the hours of backup you want, or your daily energy use and the days the battery must last without sun. Add your system voltage, the depth of discharge and inverter efficiency, and optionally the battery you plan to buy, to get the Ah needed and a series and parallel layout.

What should the battery supply?

The battery voltage your inverter or charge controller takes, e.g. 12, 24 or 48 V.

Check your battery maker's advice; deeper discharge usually shortens battery life.

Editable assumption. Use the figure from your inverter or UPS datasheet if you have it.

Battery you plan to buy (optional)

Formula: bank Ah = energy needed ÷ (bank V × depth of discharge × efficiency). Energy needed = load W × hours, or Wh per day × days of autonomy. Batteries in series = bank V ÷ battery V; parallel strings = bank Ah ÷ battery Ah, rounded up. Add a margin for battery ageing and cold weather, and only connect batteries of the same type, age and capacity.

Planning a battery bank

Buying batteries is easier once you know how many ampere-hours you need. Start from the energy your equipment must receive, then allow for the part of the battery you will not use and for inverter losses.

Two ways to state the need

For backup during power cuts, multiply the load in watts by the hours you want it to run. A 300 W load for four hours needs 1,200 Wh at the output. For an off-grid solar system, use your daily energy in watt-hours and the number of days the batteries must carry you through cloudy weather without charging; installers call these days of autonomy.

From energy to ampere-hours

Divide the energy by the usable depth of discharge and by the inverter efficiency to get what the batteries must store. Then divide by the system voltage. With 80% depth and 85% efficiency, the 1,200 Wh example needs 1,765 Wh stored. On a 24 V system that is about 73.5 Ah.

Choosing the system voltage

Inverters and charge controllers accept a fixed battery voltage, commonly 12, 24 or 48 V. Higher voltages carry the same power with less current, so cables can be thinner and losses lower. Use the voltage your inverter specifies.

Series and parallel

Batteries in series add their voltages; parallel strings add their capacity. To make 24 V from 12 V batteries you need two in series. If one string of 100 Ah batteries is not enough, add a second string in parallel. The calculator rounds the number of strings up and tells you the total to buy.

Practical advice

Only combine batteries of the same type, capacity and age, and fuse each parallel string. Capacity drops as batteries age and in the cold, so many people add a margin on top of the result. Depth of discharge varies a lot between chemistries; follow your maker’s recommendation rather than the default. To check how long an existing bank will last, use the UPS runtime calculator; to charge it from the sun, see the solar panel sizing calculator.

How to use Battery Sizing Calculator

  1. Choose a load for a number of hours, or daily energy for a number of days.
  2. Enter the system voltage, depth of discharge and inverter efficiency.
  3. Optionally enter one battery’s voltage and Ah to see how many to buy and how to connect them.

Privacy: how it works

Calculations run in your browser. The figures you enter are not sent anywhere.

Frequently asked questions

What is the battery size formula?

Bank Ah = energy needed in Wh ÷ (bank volts × depth of discharge × efficiency). For 300 W for 4 hours on 24 V at 80% depth and 85% efficiency: 1200 ÷ (24 × 0.8 × 0.85) ≈ 73.5 Ah.

Series or parallel?

Batteries in series add their volts; parallel strings add their Ah. Two 12 V 100 Ah batteries in series give 24 V 100 Ah; in parallel they give 12 V 200 Ah.

Which depth of discharge should I use?

Use the figure your battery maker recommends for a long life. Battery types differ widely, so the 80% default is only a starting point to change.