Battery Life Calculator

Enter the battery capacity, the active and sleep currents, the share of time the device is active and the usable fraction of the capacity. Add the self-discharge rate of the battery type, or pick it from the list. The calculator returns the average current and the expected life with and without self-discharge, and a table gives typical self-discharge by chemistry.

Formulas used

Equations

  • I(avg) = D · I(active) + (1 − D) · I(sleep)
  • I(self-discharge) = capacity · (rate per month / 100) / 730.5 h
  • Life (h) = capacity · usable fraction / (I(avg) + I(self-discharge))

Assumptions and limits

Read before you rely on the result

  • Usable capacity is lower than the label value. Cold, high current and a cut-off voltage all reduce it, and 80 % is a common planning figure.
  • Self-discharge is a constant drain equal to a share of the label capacity each month. Typical values by battery type are in the table, and the real rate depends on temperature, age and the cell design.
  • Check the cell datasheet or storage specification for the self-discharge rate of your battery.
  • Current is treated as constant while active. Radio bursts and start-up peaks need an averaged value.

Typical self-discharge by battery type

Typical figures only. Self-discharge rises with temperature, age and state of charge, and differs between makers and cell designs. Check the cell datasheet or the manufacturer's storage specification.

Alkaline (primary)

  • Typical self-discharge at about 20 °C: 2 to 3 % per year
  • Note: Long shelf life

Lithium coin cell (CR2032)

  • Typical self-discharge at about 20 °C: about 1 % per year
  • Note: Primary lithium manganese dioxide

Lithium thionyl chloride (primary)

  • Typical self-discharge at about 20 °C: below 1 % per year
  • Note: Used for long-life meters and sensors

Lithium-ion / LiPo

  • Typical self-discharge at about 20 °C: 1 to 3 % per month
  • Note: Plus protection-circuit drain

LiFePO4

  • Typical self-discharge at about 20 °C: 1 to 3 % per month
  • Note: Varies with cell quality

NiMH (standard)

  • Typical self-discharge at about 20 °C: 20 to 30 % in the first month
  • Note: Falls to a lower rate afterwards

NiMH (low self-discharge)

  • Typical self-discharge at about 20 °C: about 15 % per year
  • Note: Pre-charged types

NiCd

  • Typical self-discharge at about 20 °C: 10 to 20 % per month
  • Note: Higher when warm

Lead-acid (sealed)

  • Typical self-discharge at about 20 °C: 3 to 5 % per month
  • Note: Faster when warm

Frequently asked questions

How do I get the average current?

Weight the active and sleep currents by how long the device spends in each state. The calculator does this from the duty cycle.

Why is my real battery life shorter?

Temperature, peak current, regulator losses and self-discharge all reduce the usable capacity. Measure the real current to confirm.

Related calculators

Profile your design before you build it

NevilLabs lets you simulate a circuit in the browser and observe its currents, which helps you estimate the load before hardware exists.