Battery Life Calculator: Duty Cycle and Sleep Current

Enter the battery's rated capacity, the current and time while active, the sleep current and how often the device wakes.

Calculator

Average current
22 µA
Battery life
10230 hours
Same, in days
426.2 days
Same, in years
1.167 years

Type numbers like 4.7, 0.002 or 2e-3. Results are rounded to 4 significant figures.

The formulas

Iavg=Ionton+Isleep(T−ton)TI_{\text{avg}} = \dfrac{I_{\text{on}} t_{\text{on}} + I_{\text{sleep}} (T - t_{\text{on}})}{T}

The average current over one wake period T.

tlife=C×uIavgt_{\text{life}} = \dfrac{C \times u}{I_{\text{avg}}}

C is the rated capacity, u the share of it you expect to use (100% by default).

  • A rated capacity is measured at a stated drain and cutoff voltage (IEC 60086-1 sets the test methods for primary batteries). Coin cells deliver less than their rating at high pulse currents, so lower u for radio bursts.
  • Common mistake: using the active current alone. A device that sleeps 99.8% of the time is usually limited by the average, not the peak.
  • Common mistake: forgetting the sleep current. At 2 µA it is tiny, but over a whole day it can be a large share of the charge.
  • Common mistake: forgetting self-discharge and temperature, which shorten real life over years.

Why the average current is what matters

  1. Capacity in mAh is charge: 1 mAh is 1 mA for one hour, or 3.6 coulombs.
  2. Over one period T the device uses Ion × ton of charge while active and Isleep × (T - ton) while asleep.
  3. Dividing that charge by T gives the steady current that would use the same charge: the average current.
  4. The battery lasts its usable charge divided by that average: t = C u / Iavg.

Worked example: a sensor on a 225 mAh coin cell

  1. It wakes every 10 s, draws 10 mA for 20 ms, and sleeps at 2 µA.
  2. Iavg = (10 mA × 0.02 s + 0.002 mA × 9.98 s) / 10 s = 0.022 mA, about 22.0 µA.
  3. Life = 225 mAh / 0.021996 mA = 10,229 h, about 426 days or 1.17 years at 100% of the rating.
  4. Waking every 60 s instead cuts the average to about 5.3 µA and stretches it past four years, before self-discharge.

Learn the topic

Sources