Skip to content
100% local

Battery life calculator

Estimate runtime from battery capacity and appliance load, or work backwards to the capacity you need.

Input
90
80
Output

Battery life calculator

Paste one appliance per line as "label;power" (for example "Fridge;60") or a plain wattage or amperage, and this calculator adds up the load and works out how long your battery will run it. It is built for off-grid setups, UPS sizing, camper vans, solar systems and backup power planning, where "how long will this last" is the question that actually matters.

Set the battery capacity in amp-hours or watt-hours, the system voltage, and whether each appliance line is in watts or amps — the tool converts between them using that voltage. Inverter efficiency accounts for the conversion loss between DC battery power and AC output, and depth of discharge caps how much of the rated capacity is safe to draw before the battery is considered empty, which matters most for lead-acid batteries that should not be fully drained.

Turn on the desired runtime option to run the calculation in reverse: enter how long you need the battery to last and the tool reports the capacity, in both amp-hours and watt-hours, required to reach it. Add a charging current and it also estimates how long a full recharge of the used capacity will take. Lines that are not a plain number or a valid "label;power" pair are skipped and counted, so a stray note in your list never breaks the total.

Everything runs in your browser — no appliance list, battery spec or capacity figure is ever uploaded. When you are done, copy the result, download it as a .txt file, or send the output back into the input to try another scenario.

FAQ

How is runtime calculated?
Usable capacity (rated capacity × depth of discharge) is converted to watt-hours, reduced by inverter efficiency, then divided by the total appliance load in watts.
What does depth of discharge do?
It limits how much of the battery is treated as usable — for example, an 80% depth of discharge on a 100 Ah battery only counts 80 Ah toward runtime, which matches how lead-acid and lithium batteries are typically sized.
How do I calculate the capacity I need instead of the runtime?
Set "Desired runtime" to the hours you need and the result adds the required capacity, in both amp-hours and watt-hours, for your current load and settings.
Can I list several appliances at once?
Yes. Put one appliance per line as "label;power" or a plain wattage or amperage — the tool sums every line into the total load.
Is my battery or appliance data uploaded anywhere?
No. The calculation runs entirely in your browser — nothing you enter is sent to a server.