Planning figures for the run time of a battery from its nameplate, with depth of discharge figures from Victron Energy and Battery University. It does not model the Peukert effect, temperature or battery age, and it does not choose a battery or an inverter: the battery data sheet and the installer set those.

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.

  1. 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.
  2. 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.
  3. The inverter efficiency from its data sheet in percent, 100 for a DC load, and the load in watts.
  4. 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.

Run time of a battery, or the amp-hours a load needs, from voltage, amp-hours, depth of discharge, inverter efficiency and load. No Peukert effect, no battery or inverter choice, no charging.

Run time: you know the battery and the load. Battery capacity: you know the load and how long it must run, and want the amp-hours.

The nominal voltage of the whole bank, in volts: 12, 24 or 48 for lead-acid, 12.8 or 25.6 for LiFePO4. Batteries in series add their voltage. The page accepts 1 to 1,000 V.

The rated amp-hours of the whole bank. Batteries in parallel add their Ah. The page accepts 0.1 to 100,000 Ah.

The share of the rated capacity you let the battery give, in percent. 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. 100 is a rating point of LiFePO4 with a shorter life. 80 is the Victron lithium example. The page accepts 10 to 100.

The efficiency of the inverter at your load, from its data sheet, in percent. Type 100 for a DC load with no inverter. The page accepts 10 to 100.

The power the load draws, in watts (AC watts when an inverter is used). Watts, not amps: amps times volts is watts. 400 W is a round number chosen for the page, not a source value. The page accepts 0.1 to 1,000,000 W.

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

Calculation details
Energy stored26.4 V x 180 Ah = 4,752.0 Wh
Usable energy4,752.0 Wh x 80% DoD = 3,801.6 Wh
Energy to the load3,801.6 Wh x 100% inverter efficiency = 3,801.6 Wh
Run time3,801.6 Wh / 400 W = 9.50 h, shown rounded down as 9.50 h
DoD to useVictron 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.

Get this result as a PDF, free account

Sign up with your email. Back on this page in the same browser, your inputs are filled in. No card.

Size a generator

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.

Stored energy, usable energy and run time at 400 W for five batteries
BatteryBasisStored, WhUsable, WhRun time, h
Victron AGM example24 V, 220 Ah, 50% DoD5,280.02,640.06.60
Victron lithium example26.4 V, 180 Ah, 80% DoD4,752.03,801.69.50
12 V lead-acid, 100 Ah50% DoD1,200.0600.01.50
12.8 V LiFePO4, 100 Ah80% DoD1,280.01,024.02.56
12.8 V LiFePO4, 100 Ah100% DoD1,280.01,280.03.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

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

  1. 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.
  2. 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.
  3. 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%.
  4. 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.
  5. 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.
  6. 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.

Used on the same job