How it works
Multiply the load by the hours it must run to get the energy your equipment uses. Divide by the inverter efficiency, because the inverter wastes some of what the battery gives. Then divide by the depth of discharge you allow: a battery used to 50% needs twice the energy it delivers. Divide watt-hours by the system voltage to get amp-hours. Real capacity falls with age and with cold, so a margin above the calculated figure is sensible.
Formula
energy from the battery = energy used ÷ (efficiency ÷ 100)
battery energy = that ÷ (depth of discharge ÷ 100)
amp-hours = battery energy ÷ system voltage
Sources
Example
300 W for 5 hours uses 1,500 Wh. At 90% inverter efficiency the battery gives 1,666.7 Wh. At 50% depth of discharge it needs 3,333.3 Wh. At 12 V that is 277.8 Ah. Check: 277.8 × 12 × 0.5 × 0.9 = 1,500 Wh delivered.
Frequently asked questions
Which depth of discharge should I use?
Take it from your battery maker data sheet. Lead-acid is often kept near 50%, lithium can go deeper.
Why divide by the efficiency?
The inverter loses some power on the way to your load, so the battery has to give more.
Series or parallel?
Series adds voltage, parallel adds amp-hours. Total watt-hours stay the same.
Does temperature matter?
Yes. Cold lowers usable capacity, and this page does not model it.