How it works
A battery stores energy. Multiply its amp-hours by its voltage and you get watt-hours. A 12 V 100 Ah battery holds 1,200 Wh. A load of 200 W would drain that in 6 hours if you could use every watt-hour, but you cannot.
First, you should not empty the battery. Lead-acid batteries last much longer if you use only about half of the rating, and lithium iron phosphate batteries are commonly used down to about 80%. Pick the battery type and the calculator uses that share. Choose Other to enter your own figure from the maker.
Second, an inverter wastes some power as heat. If your load is on AC, the battery has to supply more than the load takes. The default 85% is a cautious figure for a small inverter. A good one is above 90%, a poor one below 80%. A load that runs from the battery directly, such as 12 V lights, has no inverter loss, so enter 100.
Backup time is then the usable watt-hours, times the efficiency, divided by the load in watts. For a bank of several batteries, parallel connection adds the amp-hours and keeps the voltage. Series connection adds the voltage and keeps the amp-hours. Either way the energy is the same: the number of batteries times volts times amp-hours.
The second panel turns it around. Say how many watts and for how many hours, pick 12, 24 or 48 V, and it gives the amp-hours you need at that voltage and how many batteries that is. The third panel converts Ah to Wh and back.
Check it by hand: watt-hours are amp-hours times volts, so 100 Ah × 12 V = 1,200 Wh. A lead-acid bank is only used down to 50%, which leaves 600 Wh, and an inverter at 85% efficiency delivers 600 × 0.85 = 510 Wh. Divide by the 200 W load: 510 ÷ 200 = 2.55 hours, which is 2 h 33 min.
Wh = Ah × V Ah = Wh ÷ V Backup time (h) = battery Wh × usable share × inverter efficiency ÷ load W Battery Ah needed = load W × hours ÷ (efficiency × usable share × system V) Battery current (A) = load W ÷ (efficiency × system V)
Worked example
One 12 V 100 Ah lead-acid battery runs a 200 W load through an inverter with 85% efficiency, using 50% of the capacity. Stored energy is 100 × 12 = 1,200 Wh. Usable energy is 1,200 × 0.5 = 600 Wh, and 600 × 0.85 = 510 Wh reaches the load. 510 ÷ 200 = 2.55 hours, which is 2 hours 33 minutes.
To run 300 W for 5 hours on a 12 V lead-acid system at 85% efficiency, you need 300 × 5 ÷ (0.85 × 0.5 × 12) = 294.1 Ah. That is three 100 Ah batteries in parallel.
Good to know
- This is a steady-load estimate. It does not model the Peukert effect (lead-acid batteries give less than their rated Ah when drained fast, and the rating is usually for a 20 hour discharge), cold weather, battery age or the inverter's own idle draw, which can be 10 to 40 W. Real runtime is often shorter, especially for lead-acid at high load.
- The 50% and 80% figures are common rules of thumb, not a guarantee. Some lithium batteries allow 90% or more and some deep-cycle lead batteries are rated differently. Use the maker's datasheet when you have it.
- Loads that cycle, such as a fridge or pump, use less than their label watts on average, but also start with a surge. Use a measured average for runtime and the label watts for inverter size.
- Never join batteries of different age, size or type in one bank. Fuses, cable size and the battery management system need proper design. Ask a qualified installer for anything beyond a small system.
Questions people ask
How do I convert Ah to Wh?
Multiply amp-hours by volts. A 100 Ah battery at 12 V is 1,200 Wh, or 1.2 kWh. Use the third panel and enter your own voltage.
How do I convert Wh to Ah?
Divide watt-hours by volts. 1,200 Wh at 12 V is 100 Ah, and the same 1,200 Wh at 24 V is 50 Ah. The Ah figure only makes sense with a voltage next to it.
How long will a 100Ah battery last?
It depends on the load. A 12 V 100 Ah lead-acid battery used to 50% with an 85% efficient inverter runs about 510 Wh, so a 100 W load lasts about 5 hours and a 500 W load about 1 hour, less in practice at high draw. A lithium battery used to 80% lasts about 60% longer.
What is the battery backup time formula?
Backup time in hours = battery volts × amp-hours × usable share × inverter efficiency ÷ load in watts. The usable share is about 0.5 for lead-acid and 0.8 for lithium iron phosphate.
What size inverter battery do I need?
Add up the watts you want to run, decide the hours, then use the Battery size panel. For example 300 W for 5 hours needs about 295 Ah at 12 V, which is about 147 Ah at 24 V. A higher system voltage means thinner cables and less current for the same power.
Should I connect batteries in series or parallel?
Match the voltage your inverter needs. A 12 V inverter needs 12 V, so batteries go in parallel to add capacity. A 24 V inverter needs two 12 V batteries in series per string. Both layouts store the same energy for the same batteries.
How long will a 220Ah battery run a 500W load?
With the default settings (12 V, lead-acid used to 50%, inverter efficiency 85%): 220 Ah × 12 V = 2,640 Wh stored, 1,320 Wh usable, and 1,122 Wh reaches the load. Divide by 500 W and you get 2.24 hours, about 2 h 15 min. A 500 W load is a heavy draw for lead-acid, so the real figure will be lower than this. The calculator says so in the result.
Part of the guide: Electrical, power and solar calculators: amps, wire size, generators and batteries