Planning a solar battery, a UPS or an off-grid setup? Enter the battery's voltage and amp-hour capacity, the load in watts, how deeply you are willing to discharge it and the inverter efficiency — and get the usable energy and the runtime to expect.
Because the load is usually in watts on the AC side, and two real-world factors intervene: the depth of discharge you should limit yourself to, and the inverter's losses. Ignoring both overstates runtime by 40% or more on a lead-acid system.
Lead-acid (including AGM and gel): 50% for a reasonable service life. LiFePO4 lithium: 80–90% is routinely used. Check your battery maker's datasheet — cycle life is quoted at a stated DoD, and deeper cycling shortens life sharply.
In series, voltages add and Ah stays the same (two 12 V 100 Ah in series = 24 V 100 Ah). In parallel, Ah adds and voltage stays (two in parallel = 12 V 200 Ah). Either way the total watt-hours are the same — enter the bank's combined volts and Ah.
Stored energy (Wh) = Volts × Amp-hours
Usable energy (Wh) = Stored × Depth of discharge × Efficiency
Runtime (hours) = Usable Wh ÷ Load (W)
Average battery current (A) = Load ÷ (Volts × Efficiency)
Two honest adjustments separate this from the naive 'Ah ÷ amps' sums: you should not empty most batteries (a lead-acid battery regularly discharged past 50% wears out fast, while LiFePO4 tolerates 80–90%), and an inverter wastes 10–20% of the energy it converts. Both are in the formula above.
Common reasons: the battery's Ah rating is measured at a slow 20-hour discharge — draw faster and lead-acid delivers less (Peukert effect); cold batteries hold less; old batteries fade; and inverter standby draw adds to the load. Treat the result as a best case.
If the load accepts the battery voltage (lights, many 12 V appliances), set efficiency to 100% — actually 95–98% to allow for wiring — and the runtime rises accordingly. Never connect an AC-only appliance directly to a battery.
Size the array with the Solar Panel Calculator to replace the energy you use each day, and use this tool to check the battery bank covers the hours you need it for — the two halves of an off-grid design.
Add this calculator to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the calculator to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.