Maintained by BuildSolver · Updated
Calculator · Electrical
Battery run time calculator
Enter the battery voltage and amp-hours, the depth of discharge, the inverter efficiency and the load in watts, and this page gives the run time in hours. Switch the mode to find the amp-hours a load needs for a wanted run time. The default 9.50-hour example is the Victron lithium battery, 26.4 V and 180 Ah at 80% DoD, which holds 3,801.6 Wh of usable energy, on a 400 W load. To size the generator that covers the loads, use the generator size calculator; to size the array that recharges the battery, the solar panel system size calculator.
- The voltage and the amp-hour rating of the whole bank, as on the nameplate. Batteries in series add voltage; batteries in parallel add amp-hours.
- Victron calls 50% the most economic depth for an AGM battery and uses 80% for lithium iron phosphate; Battery University gives 50% for flooded lead-acid, 80% for AGM, and rates lithium at 80%. The page starts at 80, the Victron lithium example.
- The inverter efficiency from its data sheet in percent, 100 for a DC load, and the load in watts.
- The result gives the run time in hours, rounded down. To size a battery instead, switch to the capacity mode, type the wanted hours and read the amp-hours, rounded up.
Example result for the default inputs
26.4 V, 180 Ah battery, 80% DoD, 100% inverter efficiency, 400 W load.
Run time
9.50 hours, rounded down
Run time in hours and minutes
9 h 30 min
Energy to the load
3,801.6 Wh
Usable battery energy
3,801.6 Wh
| Energy stored | 26.4 V x 180 Ah = 4,752.0 Wh |
|---|---|
| Usable energy | 4,752.0 Wh x 80% DoD = 3,801.6 Wh |
| Energy to the load | 3,801.6 Wh x 100% inverter efficiency = 3,801.6 Wh |
| Run time | 3,801.6 Wh / 400 W = 9.50 h, shown rounded down as 9.50 h |
| DoD to use | Victron calls 50% the most economic depth for an AGM battery and uses 80% for lithium iron phosphate; Battery University gives 50% for flooded lead-acid, 80% for AGM and 80% as the rating depth of lithium. 100% is a rating point of LiFePO4, with a shorter life than 80%. |
- 80% DoD is more than the 50% Victron gives for an AGM battery and Battery University for a flooded one (Battery University lists 80% for AGM). It is within the 80% that lithium iron phosphate is rated at.
- This is a planning estimate, and the amp-hour rating is taken as is. The Peukert effect is not modeled, so a lead-acid battery under a heavy load gives less than the run time shown (Victron: higher loads have a greater effect than on lithium). Temperature, battery age, the inverter's own idle draw and the low-voltage cut-off are not included either.
For estimation purposes only. Consult a licensed engineer for final designs.
Sign up with your email. Back on this page in the same browser, your inputs are filled in. No card.
Free without signup
How the run time and the capacity are found
The page turns the nameplate of a battery into the energy it can give, takes off the inverter loss and divides by the load. The depth of discharge and the inverter efficiency are yours to choose; the sources give figures for the DoD, and the inverter's data sheet gives its efficiency.
- Energy stored
stored Wh = rated Ah x battery voltage26.4 V x 180 Ah = 4,752.0 Wh. Amp-hours alone say nothing about energy until the voltage is in the product.- Usable energy
usable Wh = stored Wh x DoDAt 80% DoD that is 3,801.6 Wh. Victron's lithium example is 26.4 x 180 x 0.80 = 3.8 kWh, and its AGM example 24 x 220 x 0.50 = 2,640.0 Wh.- Energy to the load
load Wh = usable Wh x inverter efficiencyWith no inverter the efficiency is 100% and the load gets 3,801.6 Wh. At 90% it gets 3,421.4 Wh.- Run time
hours = load Wh / load W3,801.6 Wh / 400 W = 9.50 h, shown rounded down. With a 90% inverter it is 8.55 h.- Capacity for a run time
Ah = load W x hours / (V x DoD x inverter efficiency)The same equation solved for Ah. 400 W for 8 h at 26.4 V and 80% DoD is 151.52 Ah, shown rounded up so that the figure typed back is enough.
Five batteries on a 400 W load
Each row is a battery on a 400 W load with no inverter loss, worked with the same function as the form. The first two rows are the Victron worked examples, 24 x 220 x 0.50 = 2,640.0 Wh for AGM and 26.4 x 180 x 0.80 = 3,801.6 Wh for lithium. The other three are 100 Ah batteries chosen for this page.
| Battery | Basis | Stored, Wh | Usable, Wh | Run time, h |
|---|---|---|---|---|
| Victron AGM example | 24 V, 220 Ah, 50% DoD | 5,280.0 | 2,640.0 | 6.60 |
| Victron lithium example | 26.4 V, 180 Ah, 80% DoD | 4,752.0 | 3,801.6 | 9.50 |
| 12 V lead-acid, 100 Ah | 50% DoD | 1,200.0 | 600.0 | 1.50 |
| 12.8 V LiFePO4, 100 Ah | 80% DoD | 1,280.0 | 1,024.0 | 2.56 |
| 12.8 V LiFePO4, 100 Ah | 100% DoD | 1,280.0 | 1,280.0 | 3.20 |
Run times are rounded down. The same 100 Ah gives 1.50 h as a 12 V lead-acid battery at 50% DoD and 2.56 h as a 12.8 V LiFePO4 battery at 80%. Pick the depth of discharge with the battery maker's data sheet or the installer.
Standards and data sources
- Victron Energy blog, J. Rushworth, Batteries: Lithium-ion vs AGM, March 30, 2015 - Read as a web page. States that the most economic and practical depth of discharge for an AGM battery is 50% and that 80% DoD is used for lithium iron phosphate. Its worked examples, 26.4 x 180 x 0.80 = 3.8 kWh for lithium and 24 x 220 x 0.50 = 2.64 kWh for AGM, are the golden values of this page's test. It notes that higher loads have a greater effect on a lead-acid battery than on lithium, which this page does not model.
- Victron Energy, R. Vader, Energy Unlimited: Electricity on Board, Revision 9, June 2011 - Read as text. Recommends never leaving a battery more than 50% discharged and says the useful capacity of a house battery is at most 50% of its rated capacity. It gives the rated discharge time of a battery as in general 20 hours. A second Victron document for the 50% lead-acid figure.
- Battery University, BU-808, How to Prolong Lithium-based Batteries (last updated October 11, 2023), with BU-501: Basics about Discharging - Read as web pages. Both say manufacturers often rate a battery at 80 percent DoD. BU-808 Table 2 gives LiFePO4 about 600 cycles at 100% DoD and about 900 at 80%, to 70 percent of capacity. It is the source of the page's 100% ceiling for lithium.
- Battery University, BU-201a, Absorbent Glass Mat (AGM) (last updated June 3, 2022) - Read as a web page. States that AGM offers a depth of discharge of 80 percent and that the flooded battery is specified at 50 percent DoD to attain the same cycle life. This differs from Victron's 50% for AGM, and the page shows both. Battery University's Advancements in Lead Acid, Table 3, lists a deep-cycle lead-acid battery at 400 to 500 cycles at 50% DoD and 150 to 200 at 100%.
- Victron Energy, datasheet 12,8 and 25,6 Volt Lithium-Iron-Phosphate Batteries Smart - Read as text. Cycle life to 80 percent of nominal capacity is 2500 cycles at 80% DoD, 3000 at 70% and 5000 at 50%, and its capacity and energy loss figures are stated at 100% DoD, so 100% is a rated operating point of the lithium battery. Its round-trip battery efficiency figures are not an inverter efficiency and are not used.
Limitations of this calculator
- This page estimates how long a battery runs a load, or the amp-hours a load needs, from the nameplate. It is a planning aid for a quote or a conversation with an installer, not a design. The battery maker's data sheet and the installer set the model, the cut-off voltage and the real run time.
- The depth of discharge is your choice. Victron calls 50% the most economic depth for an AGM battery and uses 80% for lithium iron phosphate; Battery University gives 50% for flooded lead-acid, 80% for AGM and 80% as the rating depth of lithium, and its Table 2 lists LiFePO4 at 100% DoD with a shorter life than at 80%. The sources differ on AGM, and the page does not pick for you.
- The Peukert effect is not calculated. The amp-hour rating of a lead-acid battery is for a slow discharge, about 20 hours according to Victron, and a heavier load gives less than the rating; Victron notes that higher loads have a greater effect on lead-acid than on lithium. The run time of a lead-acid battery under a heavy load is therefore shorter than the page shows.
- The inverter efficiency is a number you type from the inverter's data sheet. It can change with the load, so use the figure for your load. The inverter's own idle draw is not added. For a DC load with no inverter type 100.
- Temperature, battery age and the charge level at the start are not modeled. Victron's own sizing example in Energy Unlimited applies a further factor of 0.8 for the aging of the battery, which this page does not. Cold lowers the capacity of every battery.
- The voltage and the amp-hours are those of the whole bank as you type them. Batteries in series add their voltage and keep their Ah; batteries in parallel add their Ah and keep their voltage. Typing both sums doubles the energy by mistake.
- The page does not size a generator, a solar array or a charger. Charging time, charge losses and the round-trip efficiency of the battery are not computed. The nominal voltage is used as the voltage for the whole discharge, which is an approximation.
- Values outside the field ranges are not accepted: voltage 1 to 1,000 V, capacity 0.1 to 100,000 Ah, DoD and inverter efficiency 10 to 100 percent, load 0.1 to 1,000,000 W, wanted time 0.01 to 10,000 hours. These bounds are this page's own, not a standard's.
Common mistakes when sizing a battery run time
- Using the whole rated capacity of a lead-acid battery. A 12 V, 100 Ah lead-acid battery stores 1,200.0 Wh, which would run 400 W for 3.00 h. At the 50% DoD Victron and Battery University give for lead-acid the usable energy is 600.0 Wh and the run time 1.50 h, half as long.
- Forgetting the inverter loss. The default 26.4 V, 180 Ah battery at 80% DoD runs 400 W for 9.50 h with no inverter. Through a 90% inverter it runs 8.55 h, about 0.95 h less. The load in watts is what the inverter delivers; the battery supplies more.
- Using one DoD for every battery. Victron gives 50% for AGM and 80% for lithium, and Battery University gives 80% for AGM. On the 24 V, 220 Ah AGM example at 400 W the two give 6.60 h and 10.56 h. Lithium at 80% and 100% is 2.56 h and 3.20 h on a 12.8 V, 100 Ah battery, but Battery University's Table 2 gives about 600 cycles at 100% DoD against about 900 at 80%.
- Comparing batteries by amp-hours alone. Ah is not energy. At 80% DoD and 400 W a 12 V, 100 Ah battery runs 2.40 h and a 48 V, 100 Ah battery 9.60 h, four times longer, because the energy is volts times amp-hours: 1,200.0 Wh against 4,800.0 Wh.
- Adding both voltage and capacity for two batteries. Two 12 V, 100 Ah batteries in series are 24 V and 100 Ah, in parallel 12 V and 200 Ah. Both banks run 400 W for 4.80 h at 80% DoD (4.80 h). Typing 24 V and 200 Ah gives 9.60 h, twice the real run time.
- Trusting a nameplate run time under a heavy load. The page takes the Ah rating as is. A 400 W load on a 12 V battery is about 33 A, and on a 100 Ah lead-acid battery the page shows 1.50 h. The rating is for about a 20 hour discharge, so a lead-acid battery under that current gives less, and the Peukert effect that explains it is not modeled. Lithium holds its capacity better at heavy loads.
Common questions about battery run time
How do you calculate how long a battery will run?
Multiply the amp-hours by the voltage for the stored energy in watt-hours, multiply by the depth of discharge and by the inverter efficiency, and divide by the load in watts. A 26.4 V, 180 Ah battery at 80% DoD is 3,801.6 Wh, and 400 W runs for 9.50 hours with no inverter loss. At 90% inverter efficiency it is 8.55 hours.
What depth of discharge should I use?
Victron calls 50% the most economic depth for an AGM battery and uses 80% for lithium iron phosphate. Battery University gives 50% for flooded lead-acid, 80% for AGM and says manufacturers rate lithium at 80%. LiFePO4 is also rated at 100% DoD, with about 600 cycles in Battery University's Table 2 against about 900 at 80%. The page starts at 80 for the Victron lithium example; type 50 for a lead-acid battery.
How many amp-hours do I need to run a 400 W load for 8 hours?
It depends on the battery. With a 90% inverter and 8 hours, a 12.8 V lithium battery at 80% DoD needs 347.23 Ah and a 12 V lead-acid battery at 50% DoD needs 592.60 Ah, about 171 percent of the lithium figure. With no inverter and 26.4 V at 80% DoD it is 151.52 Ah. Choose the capacity mode of the page for your own numbers.
How long will a 100 Ah 12 V battery run a 400 W load?
A 12 V, 100 Ah lead-acid battery at 50% DoD gives 600.0 Wh, so 1.50 hours at 400 W before any inverter loss. A 12.8 V, 100 Ah LiFePO4 battery gives 1,024.0 Wh at 80% DoD (2.56 hours) and 1,280.0 Wh at 100% (3.20 hours). Take off the inverter loss for an AC load.
How do I convert amp-hours to watt-hours?
Multiply the amp-hours by the battery voltage. 180 Ah at 26.4 V is 4,752.0 Wh, and at 80% DoD 3,801.6 Wh of it is usable. The same 100 Ah is 1,200.0 Wh at 12 V and 4,800.0 Wh at 48 V.
Does this calculator include the Peukert effect?
No. It takes the amp-hour rating as given. A lead-acid battery rated for a discharge of about 20 hours gives less than its rating under a heavy load, so its real run time is shorter than the page shows, and Victron notes that higher loads have a greater effect on lead-acid than on lithium. Temperature and battery age are not included either. Use the maker's discharge curves for a final figure.
What is the difference between this and the generator size or solar panel calculators?
This page finds how long a battery lasts, or what battery a load needs, for one discharge. The generator size calculator finds the generator that covers a list of loads, and the solar panel system size calculator finds the array that recharges a battery from the sun. For the default battery, 3,801.6 Wh is what a solar array or a generator then has to put back.
Does this tell me which battery or inverter to buy?
No. It gives the run time or the amp-hours that follow from the voltage, depth of discharge, inverter efficiency and load you enter. The battery model, its cut-off voltage, the inverter and the wiring come from the data sheets and the installer.