Battery runtime and capacity calculator

Estimate how long a battery will last, how much nameplate capacity you need for a desired runtime, or how long a charge will take. You enter the load, depth of discharge and efficiency.

Mode
Battery voltage

Type depth of discharge and efficiency as fractions (for example 0.50 and 0.90). The estimate is linear, not Peukert’s law.

Enter values to see the result.

Results are estimates. Check ratings with the manufacturer, and use a qualified electrician for installation.

Battery capacity needed for a target runtime

Runtime uses a linear model: hours = (Wh × DoD × η) ÷ load watts. Working backwards, the nameplate energy you need is Wh = (hours × load watts) ÷ (DoD × η).

Example: a 12 V, 100 Ah battery is 1,200 Wh. At 80% depth of discharge, 90% efficiency and a 200 W load, usable energy is 1,200 × 0.80 × 0.90 = 864 Wh, so runtime is 864 ÷ 200 = 4.32 hours.

The table uses the same 80% depth of discharge and 90% efficiency as that example.

Estimated hours at 80% depth of discharge and 90% efficiency
Nameplate energy50 W100 W200 W
100 Wh1.44 h0.72 h0.36 h
500 Wh7.20 h3.60 h1.80 h
1,000 Wh14.40 h7.20 h3.60 h

How long will a 100 Ah battery last?

It depends on voltage, depth of discharge, efficiency and load. At 12 V the pack is 1,200 Wh; with the 80%, 90% and 200 W figures above, the estimate is 4.32 hours. A 24 V 100 Ah pack is 2,400 Wh and would last twice as long at the same load and factors.

What is depth of discharge?

It is the fraction of nameplate energy you plan to use in a cycle (0.80 means you use 80% and leave 20%). The manufacturer’s recommended figure belongs in the DoD field. The how a battery works guide explains usable energy in more detail.

Battery charge time

Charge time is the energy you still need to add, divided by charge power and charge efficiency: hours = energy to add ÷ (charge watts × η). Enter those three values in the charge-time mode. This is a linear estimate, not a cell-level charge curve.

How depth of discharge changes runtime

Halving the depth of discharge halves usable energy, so it halves the linear runtime. In the 1,200 Wh example, 80% DoD gave 4.32 hours at 200 W and 90% efficiency; 40% DoD would give 2.16 hours, all else equal. Efficiency works the same way: 80% efficiency instead of 90% would cut the 4.32 hours to 3.84 hours.

Methodology and sources

Linear runtime from usable energy and load:

t_h = (E_Wh × DoD × η) / P_W

Energy may be entered as Wh, or as Ah at a voltage: E_Wh = Q_Ah × V. Capacity needed for a desired runtime is the same equation solved for nameplate energy: E_Wh = (t_h × P_W) / (DoD × η). Optional Ah at voltage: Q_Ah = E_Wh / V.

Charge time: t_h = E_Wh,to add / (P_chg,W × η_chg).

Runtime is a linear energy balance: usable watt-hours = nameplate Wh × depth of discharge × efficiency, then hours = usable Wh ÷ load watts. Depth of discharge and efficiency are values you enter, usually from manufacturer or off-grid practice. This is not Peukert’s law; real runtime varies with discharge rate, temperature and chemistry.

For capacity unit conversion (mAh ↔ Wh), use the mAh to Wh calculator.