Battery Life Calculator: Runtime, Capacity and Power Bank Charges
By FindMySum · Last reviewed
Whether it's a cabin lighting system, an RV, a sump-pump backup or a small sensor, the question is the same: how long will this battery last on this load? The quick answer, capacity divided by current, is usually too optimistic. This calculator adds the three things that matter most: how much of the battery you can actually use, how heavier loads drain it faster, and how cold reduces capacity.
Step 1: the load current
Batteries are rated in amp-hours, so start with the current the load draws:
current (A) = load (W) ÷ (battery voltage × inverter efficiency)
If you run a 120 V appliance through an inverter, the inverter wastes some energy, typically 10%. A 100 W load on a 12 V battery through a 90% inverter draws 100 ÷ (12 × 0.9) = 9.26 A. For electronics that sleep most of the time, use the average current: active current × share of time active + sleep current × the rest.
Step 2: usable capacity
Using a battery's full rated capacity shortens its life. Lead-acid batteries, flooded or AGM, are usually discharged to about 50%; lithium iron phosphate (LiFePO4) to about 90%; lithium-ion cells in tools and electronics to about 80%.
Cold reduces the capacity a battery can deliver. Lead-acid batteries give roughly 80% at 0 °C and 60% at −20 °C; lithium batteries hold up better. In a Canadian winter, a battery in an unheated shed or cabin may deliver much less than its label says.
Step 3: Peukert's law
Lead-acid batteries deliver less total energy when discharged quickly. Battery capacity is rated at a set discharge time, usually 20 hours (C20), and Peukert's law adjusts for other rates:
time to empty t = H × (C ÷ (I × H))^k
where C is the rated capacity, H the rating period and k the Peukert exponent: about 1.25 for flooded lead-acid, 1.15 for AGM and close to 1.05 for lithium. Then:
runtime = t × depth of discharge × cold factor
Worked example (the default). A 100 Ah, 12 V AGM battery running 100 W through an inverter: 9.26 A. t = 20 × (100 ÷ 185.2)^1.15 = 9.85 hours to empty. Using 50% at 20 °C (a cold factor of 0.96): about 4.7 hours. Simple division would have said 100 ÷ 9.26 × 0.5 = 5.4 hours.
Sizing a battery
Turn the formula around to find the capacity you need for a runtime. To run a 5 A load for 24 hours on AGM at 20 °C, the battery must last 24 ÷ (0.5 × 0.96) = 50 hours to empty, which takes about 222 Ah: in practice, two 12 V 100 Ah or 120 Ah batteries in parallel, or a single lithium battery of about 130 Ah, because you can use more of it.
Power banks
Power banks are rated in mAh at their internal cell voltage of 3.6–3.7 V, while phones charge at about 3.85 V, and voltage conversion loses roughly 15%. A 10,000 mAh bank stores 37 Wh and delivers about 31 Wh; a 4,500 mAh phone battery holds about 17 Wh, so you get roughly 1.8 full charges.
Safety
Charge batteries with a charger made for their chemistry, ventilate flooded lead-acid batteries (they release hydrogen when charging), and never charge LiFePO4 below 0 °C unless it has a heater. Use fuses rated for the wiring, and replace swollen or damaged lithium batteries.
What the calculator leaves out
Battery ageing, self-discharge, voltage cut-offs, motor start-up surges, inverter standby draw, and recharging from solar panels or an alternator. The solar panel calculator sizes the panels to recharge a system.
More questions
Is a bigger battery always better?
For runtime, yes, but weight, space and cost grow with it, and lead-acid batteries that sit partly charged for long periods sulphate and lose capacity. Size the battery for the runtime you need with some margin, and make sure you can recharge it fully: a battery that never gets a full charge wears out early.
Can I connect batteries together?
In parallel (positive to positive), capacity adds at the same voltage: two 12 V 100 Ah batteries make 12 V 200 Ah. In series (positive to negative), voltage adds: two 12 V batteries make 24 V at 100 Ah. Use identical batteries of the same age and charge, and fuse the connections.
Why does my battery run out sooner than calculated?
Common reasons are an older battery that has lost capacity, a load that draws more than its label says (especially motors and compressors when they start), inverter standby draw, cold, and a battery that wasn't fully charged. Measure the real current with a clamp meter or battery monitor and update the calculation.
What does mAh mean on a battery?
Milliamp-hours: a 3,000 mAh battery can in principle supply 3,000 mA for one hour, or 300 mA for ten hours. Because the voltage matters too, compare batteries in watt-hours (mAh × volts ÷ 1,000).
How long do deep-cycle batteries last?
Lead-acid deep-cycle batteries typically last a few hundred cycles at 50% depth of discharge, more when discharged less deeply; lithium iron phosphate batteries are usually rated for 2,000 to 6,000 cycles. Heat, deep discharges and leaving batteries discharged shorten life. Check the cycle rating on the data sheet.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.