Battery Life & Runtime Calculator

Work out how long a battery runs a load, with converter or inverter losses, depth of discharge and the Peukert effect, or size a UPS, find a Peukert exponent from two datasheet ratings, and turn DoD into state of charge and cycle life.

Calculator Electronics Updated Oct 5, 2026
How to Use
  1. Pick a mode: Runtime for a battery and a load, Discharge for the quick energy ÷ load figure, UPS for a battery bank behind an inverter, Peukert for a lead-acid battery at a current other than its rating, or DoD / SoC for charge used, charge left and cycle life.
  2. Enter the battery: capacity in mAh, Ah, Wh or kWh and its nominal voltage. A capacity in Wh is turned into amp-hours with the voltage.
  3. Enter the load as a current or a power, and the efficiency of the converter or inverter between the battery and the load.
  4. Set the depth of discharge you will stop at, and a Peukert exponent with the hours the capacity is rated at (k = 1 switches it off; Victron uses 1.25 for unknown lead-acid and 1.05 for lithium).
  5. Read the runtime and the battery current, then check Show Work for every step and the note under the buttons for C-rate and extrapolation warnings.
Input
V (nominal)
rated
e.g. 20 h for lead-acid
watts, not VA
%
% of capacity used
% of rated capacity left
from the datasheet
1 = off; 1.25 lead-acid, 1.05 lithium if unknown
Presets
Battery and Load
Runtime
—
Stored energy
—
Charge delivered
—
Battery current
—

Worked Example

A cell behind a regulator. A 2,500 mAh, 3.7 V cell feeds a 250 mA load through a 90 % efficient converter. The load takes 3.7 × 0.25 = 0.925 W, so the cell supplies 0.925 ÷ (0.9 × 3.7) = 277.8 mA, and 2.5 Ah ÷ 0.2778 A = 9 h 0 min.

Peukert against a real datasheet. The Trojan T-105 is rated 225 Ah at 20 hours and 185 Ah at 5 hours, which gives k = ln(5 ÷ 20) ÷ ln(11.25 ÷ 37) = 1.164. At 25 A, t = 20 × (225 ÷ (25 × 20))^1.164 = 7 h 54 min (197 Ah). Trojan’s own reserve-capacity figure at 25 A is 447 minutes, 7 h 27 min, so Peukert is about 6 % optimistic here; at 75 A it gives 132 minutes against Trojan’s 115.

The common mistake: volts × amp-hours ÷ watts. A 12 V, 7 Ah UPS battery holds 84 Wh, and 84 ÷ 150 W looks like 33.6 minutes. But the inverter is only 90 % efficient and a lead-acid UPS battery should stop at about 50 % depth of discharge: 84 × 0.5 × 0.9 = 37.8 Wh, so the runtime is 15.1 minutes. With the battery at 70 % of its rated capacity it drops to 10.6 minutes.

Show Work

Enter the battery and the load to see the working.

Formulas

Battery current
I = Pload ÷ (η × V)
The battery also supplies the converter’s loss
Runtime (no Peukert)
t = C × DoD ÷ I
C in Ah; the same as usable Wh ÷ load W
Peukert runtime
t = H × (C ÷ (I × H))k
C rated at H hours; time to empty, then × DoD
Peukert exponent
k = ln(t2 ÷ t1) ÷ ln(I1 ÷ I2)
From two datasheet ratings, I = C ÷ t (Victron)
UPS runtime
t = V × Ah × DoD × η ÷ W
Real power in watts, not VA
State of charge
SoC = 100 % − DoD
Used = C × DoD; left = C × SoC
Energy
Wh = Ah × V
2,500 mAh at 3.7 V is 9.25 Wh

Battery Data and Where It Comes From

Wilhelm Peukert described in 1897 how a lead-acid battery’s capacity falls as the discharge current rises, and his power law is still what battery monitors use. Victron Energy’s BMV and SmartShunt manual gives the working form used here, shows how to get the exponent from two ratings (its example: 75 Ah at 5 h and 100 Ah at 20 h give 1.26), uses 1.25 when the exponent of a lead-acid battery is unknown and 1.05 for lithium, and warns that the law is “no more than a rough approximation of reality”.

The rate effect is easy to see in Victron’s Gel and AGM datasheet: a deep-cycle AGM battery gives 85 % of its 20-hour capacity at the 5-hour rate, 65 % at 1 hour and 42 % at 15 minutes (gel: 80 %, 61 % and 38 %). Those figures give an exponent of 1.13 to 1.17 for AGM between the 5-hour and 1-hour rates, rising to 1.25 at 15 minutes, which is why a fixed exponent is optimistic for a fast UPS discharge. The Trojan T-105 data sheet (185, 207, 225 and 250 Ah at the 5, 10, 20 and 100-hour rates) gives 1.164 from its 20 and 5-hour ratings.

Cycle life in DoD mode uses only published maker figures: Victron AGM 400 cycles at 80 % DoD, 600 at 50 % and 1,500 at 30 %; Victron gel 500, 750 and 1,800; Victron LiFePO4 2,500 at 80 %, 3,000 at 70 % and 5,000 at 50 % (to 80 % of nominal capacity). Between those points the page interpolates on a log scale and says so; outside them it does not guess. Lithium-ion cell makers rate capacity down to a 2.5 V cut-off (E-One Moli INR-18650-P28A: 3.6 V nominal, 4.2 V charge) and publish no cycle-life-against-DoD curve, so for Li-ion the page gives no cycle estimate.

About This Calculator

This calculator brings five battery jobs together. Runtime takes capacity, voltage, load, converter efficiency, depth of discharge and an optional Peukert exponent. Discharge is the quick usable-energy ÷ load figure. UPS sizes a battery bank behind an inverter, with a health setting for an aged battery. Peukert gives the runtime and effective capacity at any current, from a typed exponent or from two datasheet ratings. DoD / SoC converts between depth of discharge and state of charge and gives cycle life from maker data.

The figures are estimates for a steady load at room temperature; cold, age and pulsed loads all shorten real runtime. Measure with your own load before you rely on a number. Everything runs in your browser and nothing you enter is sent anywhere.

Related calculators: Battery C-Rate Calculator, Solar System Sizing, and Boost Converter Calculator.

Frequently Asked Questions

Why is the runtime not just capacity divided by current?

Three things shorten it. A converter or inverter loses energy, so the battery supplies more current than the load draws: 925 mW through a 90 % converter takes 277.8 mA from a 3.7 V cell, not 250 mA. You usually stop before empty (the depth of discharge). And lead-acid gives less capacity at high current, which the Peukert exponent models.

What is the Peukert exponent and where do I get it?

It is the n in t = H × (C ÷ (I × H))^n, where C is the capacity rated at H hours. Work it out from two capacities in the datasheet: n = ln(t2 ÷ t1) ÷ ln(I1 ÷ I2). The Trojan T-105 is rated 225 Ah at 20 hours and 185 Ah at 5 hours, so n = ln(5 ÷ 20) ÷ ln(11.25 ÷ 37) = 1.164. Victron’s battery monitors use 1.25 when the value is unknown for lead-acid and 1.05 for lithium.

How accurate is Peukert’s law?

It is an approximation. For the T-105 at 25 A it predicts 7 h 54 min, against the 447 minutes (7 h 27 min) reserve capacity on the datasheet, about 6 % optimistic. At 75 A it predicts 132 minutes against 115. Victron’s manual says the same: at very high currents a battery gives even less than a fixed exponent predicts. Below the rated current it over-predicts too.

What depth of discharge should I plan for?

Victron’s battery-monitor manual sets a 50 % discharge floor by default for lead-acid and 10–20 % for lithium, so 50 % DoD and 80–90 % DoD. Cycle life shows why: a Victron AGM battery is rated 600 cycles at 50 % DoD but 400 at 80 %, and their LiFePO4 battery 5,000 cycles at 50 % and 2,500 at 80 %.

How long will a UPS run my equipment?

Multiply battery voltage, amp-hours, usable depth of discharge and inverter efficiency, then divide by the load in watts. A 12 V 7 Ah battery at 50 % DoD through a 90 % inverter gives 37.8 Wh, so 150 W runs for 15.1 minutes. A battery at 70 % of its rated capacity gives 10.6 minutes. Use watts, not VA, for the load.

How do I use the Battery Life & Runtime Calculator?

Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.

Do I need to install or sign up for anything?

Not at all — it runs in the browser with nothing to install and no account. After it loads once, it even works without an internet connection.

Is my information private?

Yes. Everything happens in your browser. Nothing you type is sent to a server or saved anywhere.

Common Use Cases

A device on a single cell

A 2,500 mAh, 3.7 V cell feeding a 250 mA load through a 90 % efficient regulator runs 9 h 0 min; the cell supplies 277.8 mA.

Laptop battery

A 56 Wh pack at 10.8 V and a steady 15 W draw lasts 3 h 44 min, with 1.389 A from the battery.

Deep-cycle lead-acid

A Trojan T-105 (225 Ah at 20 h, 185 Ah at 5 h) has k = 1.164; at 25 A Peukert gives 7 h 54 min and 197 Ah, not the naive 9 h.

Desktop UPS

A 12 V 7 Ah UPS battery, 150 W load, 90 % inverter and 50 % DoD gives 15.1 minutes, with 13.89 A (1.98C) from the battery.

Server-rack lithium bank

A 48 V 100 Ah LiFePO4 bank, 600 W load, 90 % inverter, 80 % DoD and k = 1.05 runs for 5 h 28 min.

Solar storage planning

Using 80 % of a 2.56 kWh LiFePO4 battery leaves 512 Wh and, on Victron’s figures, gives about 2,500 cycles.

Last updated: