BuildMetricLab

Solar Sizing

Battery Bank Capacity Calculator

Size a battery bank in kWh, Ah and unit count

Updated July 12, 2026 · Live

What this tool does

Sizes a battery bank from your daily energy use, the days of autonomy you want and the usable depth of discharge, returning total kWh, amp-hours and battery count.

Enter daily energy use, days of autonomy, depth of discharge, system voltage and battery amp-hours; the calculator returns the total bank size and how many batteries it needs.

Inputs
kWh
days
%
V
Ah
Result

Total Bank Capacity

12.50 kWh

Usable Energy Target
10.00 kWh (2 days)
Capacity at System Voltage
260 Ah @ 48 V
Batteries Needed
3 × 100 Ah @ 48 V
Bank as Bought
14.40 kWh
Depth of Discharge
80%

Diagram

3 × 100 Ah · 12.5 kWh
Plain Estimate
From BrightScale Labs
Invoice maker
Quote at the door. Signed on the spot.
Estimates and invoices for trades, built while you are still in the room.
Scan to get
Get it onGoogle Play

People also use

Formula Used
CkWh=Eday⋅DDoD,Ah=CkWh⋅1000V,N=⌈AhAhbat⌉C_{kWh} = \dfrac{E_{day}\cdot D}{DoD}, \quad Ah = \dfrac{C_{kWh}\cdot 1000}{V}, \quad N = \left\lceil \dfrac{Ah}{Ah_{bat}} \right\rceil
EdayE_{day}
Daily energy use (kWh)
DD
Days of autonomy
DoDDoD
Depth of discharge fraction
VV
System voltage
AhbatAh_{bat}
Battery amp-hours

How the battery bank capacity works

A battery bank has to store the energy you will draw during the days the sun does not help, and it has to be bigger than that figure, because you do not drain a battery to zero. The calculator multiplies daily energy use by the days of autonomy to get the usable energy target. It divides by the depth of discharge to get the total capacity to buy, converts that to amp-hours at the system voltage, and divides by the amp-hours of one battery, rounding up: C = E × D ÷ DoD, Ah = C × 1,000 ÷ V and N = ⌈Ah ÷ Ahbattery⌉.

The default is 5 kWh a day for 2 days at 80% depth of discharge on a 48 V bank of 100 Ah batteries. The usable target is 5 × 2 = 10 kWh. Divided by 0.8 that is 12.5 kWh of nominal capacity. At 48 V, 12,500 Wh is 260 Ah, and 260 ÷ 100 = 2.6 rounds up to 3 batteries. Three 100 Ah batteries at 48 V hold 14.4 kWh, which is the "bank as bought" row. The extra 1.9 kWh over 12.5 kWh is the rounding up.

What you enter

Daily energy use is the energy your loads take from the battery in a day, in kWh. You can read it from an electricity bill or add up the appliances (watts × hours ÷ 1,000). Count the energy the battery supplies, not just the energy the appliances use. An inverter wastes some power as heat, so divide the appliance energy by the inverter efficiency. Days of autonomy is how long the bank must carry the load with no charging, and every extra day adds the same amount again: 3 days at the default makes 15 ÷ 0.8 = 18.75 kWh.

Depth of discharge is the share of the nameplate capacity you allow yourself to use. Lithium iron phosphate (LFP) batteries are commonly rated for 80 to 90%, and lead-acid batteries are usually held to about 50% to protect their life. Take the figure from the data sheet. It matters a great deal: at 50%, the same 10 kWh target needs 20 kWh of lead-acid, while at 90% it needs 11.1 kWh of lithium. System voltage is the voltage of the whole bank, commonly 12, 24 or 48 V, and it is set by the inverter you choose.

Battery capacity is the amp-hour rating of one battery at the system voltage. If you use 12 V batteries in a 48 V bank, four of them in series make one 48 V string. Each string then counts as one 100 Ah battery. For the default, three strings of four are 12 batteries, and they hold the same 14.4 kWh. Check each battery's real nominal voltage as well. Many "48 V" LFP batteries are rated 51.2 V, so use the watt-hour rating on the label if you have it.

Reading the result

The total kWh is the headline figure. The amp-hour row is the same capacity at the system voltage, and the battery count shows how many of your chosen battery it takes, which is always rounded up. Compare the "bank as bought" figure with the total to see how much spare you are getting. A deeper discharge shrinks the bank and its cost, but it shortens battery life, so the depth-of-discharge input is the main lever. Capacity is only part of the picture, because the inverter and charge controller still have to cope with the power you draw at any moment.

Safe by design

This calculator does the arithmetic of sizing and nothing that needs a certified person's sign-off. It never gives a cable or fuse size, an earthing arrangement, a charge voltage, or any other protection setting, because a wrong number in those can cause fire or electric shock. Battery installations are regulated and the rules vary by region. In the US, NFPA 855 covers stationary energy storage (see the NFPA 855 page) and the National Electrical Code has a dedicated article for it. In England, Approved Document P covers electrical safety in dwellings, and installations follow BS 7671. All electrical work must be carried out by a qualified, certified installer, and this page is not an installation guide.

Assumptions and limits

This sizes capacity only. It assumes a constant daily load and does not model a seasonal swing, the charging side, the inverter's own losses, ageing or the fall in capacity as a battery gets older. Storage is never 100% efficient, as the US Department of Energy's overview of solar and storage points out, because some energy is lost in each conversion. If you allow 10% for those losses, divide the result by 0.9: the default 12.5 kWh becomes 13.89 kWh. Cold weather also cuts usable capacity below the rating, and some lithium batteries cannot charge below freezing. It does not set charge voltages, balance currents or battery management system parameters. Charging lithium outside its specification is a fire risk, and those settings belong to the manufacturer's data sheet and a certified installer. For the cell and pack safety tests that lithium batteries are built to, see the UL 1973 standard.

Using it with the rest of BuildMetricLab

Battery capacity is one step in sizing a solar system. The solar array sizing calculator turns the same daily energy figure into a panel count, the battery cost per kWh calculator puts a price on the bank, and the inverter sizing calculator checks that the inverter can handle the power. Every BuildMetricLab tool runs in your browser with no sign-up and nothing sent to a server, and each one shows its formula so you can check the maths.

Sources & methodology

Usable energy = daily energy × days of autonomy. Nominal capacity (kWh) = usable energy ÷ depth of discharge (as a fraction). Capacity in Ah = kWh × 1,000 ÷ system voltage. Batteries = ⌈Ah ÷ Ah per battery⌉, where each battery is rated at the system voltage; lower-voltage batteries are wired in series strings and each string counts as one battery. The bank as bought = batteries × Ah × system voltage. Inverter and round-trip losses, ageing, temperature derating and the charging side are not modelled. A blank field is refused and a depth of discharge above 100% is refused. Every result is calculated from the values you enter, all inputs are editable, and no time-sensitive prices or tariffs are embedded.

Frequently asked questions

What depth of discharge should I use?

Lithium iron phosphate (LFP) batteries are commonly rated for 80-90% usable, and lead-acid is usually held to about 50% to protect its life. Use the figure from your battery's data sheet. The choice has a big effect: the same 10 kWh target needs 20 kWh of lead-acid at 50% but only 11.1 kWh of lithium at 90%.

How many days of autonomy do I need?

Two to three days covers a typical cloudy spell for a grid-backed system, and remote off-grid sites often plan for more. Every extra day adds the same amount again, so 3 days at the default 5 kWh and 80% depth of discharge needs 18.75 kWh instead of 12.5 kWh.

Why divide by depth of discharge?

Because only part of a battery's nameplate capacity is usable. Dividing the energy you need by the usable fraction (80% is 0.8) grosses it up to the nominal capacity to buy: 10 kWh ÷ 0.8 = 12.5 kWh.

Does this tell me the charge voltage?

No, and deliberately so. Charge voltages and battery management settings come from the manufacturer and a certified installer. Getting them wrong is a fire hazard.

Spotted something off?

Calculations or display — let us know.