Two questions come up with batteries: how big a bank do I need, and how long will the one I have last. The calculator answers either one. Both use the same four quantities: energy, voltage, usable depth of discharge and inverter efficiency.
Formulas
Runtime (h) = capacity (Ah) × V × DoD × efficiency / load (W)
Depth of discharge (DoD) is the fraction of the capacity you are willing to use. Repeatedly draining a lead-acid battery deeply shortens its life, so about 50 % is a common design limit. Lithium iron phosphate (LiFePO4) batteries are commonly specified for 80 to 90 % or more. Use the figure in the battery’s datasheet, not a rule of thumb, because warranty terms often depend on it.
Efficiency accounts for the loss in the inverter between the battery and an AC load. Typical inverters convert at 85 to 95 %, and the default here is 0.9. If your load is DC and connects directly, set it to 1.
Worked example: sizing
A home uses 5,000 Wh per day and wants 2 days of autonomy on a 48 V lead-acid bank limited to 50 % DoD:
Capacity = 5,000 × 2 / (0.5 × 48 × 0.9) = 463 Ah.
That is a nominal 22.2 kWh bank, of which 10 kWh is usable. With a 48 V LiFePO4 bank at 80 % DoD the same autonomy needs 5,000 × 2 / (0.8 × 48 × 0.9) = 289 Ah, which is why lithium banks are much smaller for the same duty.
Worked example: runtime
A 200 Ah, 48 V battery with 80 % usable depth and a 0.9 inverter runs a 1,000 W load for 200 × 48 × 0.8 × 0.9 / 1,000 = 6.9 hours.
Choosing system voltage
The same energy at a higher voltage means less current. A 5 kW load draws about 420 A from a 12 V bank but about 104 A from a 48 V bank, so cable sizes, fuses and connector losses shrink considerably. For anything above about 2 kW, 48 V is a standard choice. Batteries are then wired in series to reach the voltage and in parallel to reach the amp-hours: four 12 V batteries in series make 48 V, and a second string in parallel doubles the Ah.
What the calculator leaves out
- Temperature. Batteries deliver less capacity in the cold, and lead-acid more so than lithium. Size for the coldest conditions the bank will see.
- Discharge rate. A lead-acid battery gives less than its rated capacity at fast discharge, a behaviour described by Peukert’s law. The rated Ah is normally quoted at the 20-hour rate.
- Ageing. Capacity falls over the years. Some designers add 10 to 20 % to cover it.
- Charging. The bank needs a source that can recharge it between uses. See the off-grid calculator.
Common mistakes
- Comparing Ah across voltages. 100 Ah at 12 V is 1.2 kWh, while 100 Ah at 48 V is 4.8 kWh.
- Counting the full capacity as usable.
- Ignoring inverter loss.
Questions
How many batteries do I need?
Divide the required Ah by one battery’s Ah for parallel strings, and divide the bank voltage by one battery’s voltage for series count.
How many kWh is a 100 Ah battery?
At 12 V, 1.2 kWh nominal. At 24 V, 2.4 kWh. At 48 V, 4.8 kWh.
How many days of autonomy should I choose?
One to three days is common for homes. More days cost more, and a generator can be cheaper than the extra batteries.
Battery sizing reference table
Minimum Ah at 48 V for common off-grid scenarios (LiFePO4, 80% DoD, 90% efficiency):
| Daily energy | 1 day autonomy | 2 days autonomy | 3 days autonomy |
|---|---|---|---|
| 1,000 Wh | 29 Ah | 58 Ah | 87 Ah |
| 2,500 Wh | 72 Ah | 145 Ah | 217 Ah |
| 5,000 Wh | 145 Ah | 289 Ah | 434 Ah |
| 10,000 Wh | 289 Ah | 578 Ah | 868 Ah |
| 20,000 Wh | 578 Ah | 1,157 Ah | 1,736 Ah |
For lead-acid at 50% DoD, multiply all values by 1.6. For 24 V, double all Ah values. For 12 V, multiply by 4.
Worked example: lead-acid vs LiFePO4
A cabin with 5,000 Wh/day needs 2 days of backup at 48 V.
Lead-acid (50% DoD, 85% efficiency): Ah = (5,000 × 2) / (0.5 × 48 × 0.85) = 490 Ah. Eight 6V, 250 Ah batteries in series-parallel (48 V, 500 Ah) → 24,000 Wh nominal, 12,000 Wh usable at 50% DoD.
LiFePO4 (80% DoD, 95% efficiency): Ah = (5,000 × 2) / (0.8 × 48 × 0.95) = 275 Ah. Two 48 V, 150 Ah lithium packs in parallel = 48 V, 300 Ah → 11,520 Wh usable at 80% DoD.
The lithium bank weighs roughly 60 kg vs ~180 kg for lead-acid, occupies half the space, and will outlast the lead-acid bank by 4–8× in cycle life.
Series vs parallel wiring
| Wiring | Effect | Use when |
|---|---|---|
| Series | Doubles voltage, same Ah | Need higher battery voltage |
| Parallel | Same voltage, doubles Ah | Need more capacity at same voltage |
| Series-parallel | Increases both | Need both higher voltage and more Ah |
For a 48 V system using 12 V batteries: wire 4 in series. For 300 Ah using 100 Ah batteries: wire 3 in parallel. For 48 V, 300 Ah: wire 4 strings of 3 × 12 V in series, the 3 strings in parallel (4S3P).
State of charge and battery health
Depth of discharge is cumulative — a lead-acid bank cycled to 70% DoD every day degrades faster than one cycled to 50%. The 50% DoD limit for lead-acid is a lifetime cost optimisation, not a hard cutoff. LiFePO4 handles 80% DoD daily with minimal degradation because lithium intercalation chemistry does not cause sulfation.
A battery management system (BMS) is essential for lithium banks. It prevents over-discharge, overcharge, cell imbalance, and over-temperature. For lead-acid, a temperature-compensated charge controller achieves the same goal.
More Q&As
Can I add more batteries to my existing bank later?
For lead-acid: only add new batteries in a full set, all the same age and type. Mixing old and new batteries causes the old ones to drag down the new ones’ capacity. For LiFePO4: check that the BMS supports the new capacity and that all batteries are the same cell chemistry and voltage.
What is C-rate, and why does it matter for battery sizing?
C-rate is the discharge current as a multiple of the battery’s capacity. A 100 Ah battery at 1C discharges at 100 A. Lead-acid batteries lose capacity at high discharge rates (Peukert effect) — a 100 Ah battery at 2C may deliver only 70 Ah. LiFePO4 is much less affected. If your load draws high current, size the bank for the C-rate, not just the Wh.
How do I wire a 48 V lithium pack from 3.2 V cells?
LiFePO4 cells have a nominal voltage of 3.2 V. 48 V nominal = 15 cells in series (actual voltage: 15 × 3.2 = 48 V; fully charged 15 × 3.65 = 54.75 V). Wire multiple 15S modules in parallel for more amp-hours.
Related calculators
Found a wrong value or formula? Report an error. Confirmed fixes are listed on the corrections log.