Battery Life Calculator
Estimate how long a battery lasts from its capacity, active and sleep current, duty cycle and self-discharge. Free, and it runs in your browser.
How battery life is estimated
Most battery devices wake up, do some work and sleep again. The average current is the time-weighted mix of the two:
Iavg = ( Iactive · tactive + Isleep · tsleep ) / TLife is the usable capacity divided by the average current plus self-discharge. Usable capacity is lower than the label because of the cut-off voltage of your regulator, cold temperatures, high peak currents and ageing. 70 to 85 % is a realistic figure for most designs.
The "energy used in sleep" result shows where to optimise: if sleep dominates, cut the sleep current; if active dominates, shorten wake-ups or lower the active current.
Questions
How long will a CR2032 last?
A CR2032 holds about 220 mAh. A sensor that averages 10 µA lasts roughly 1.5 to 2 years after derating and self-discharge. At 100 µA average, expect about 2 to 3 months.
Why does my battery die faster than calculated?
Common causes are higher sleep current than the datasheet (leaky pull-ups, LEDs, regulators), radio retries, cold temperatures and the regulator cutting off before the battery is empty.
What sleep current is good?
Modern microcontrollers sleep at 1 to 5 µA. The whole board, including regulator and sensors, at under 10 µA is a good target for multi-year coin-cell life.
Should I include self-discharge?
Yes for long-life designs. Lithium primary cells lose about 1 % per year, alkaline about 2 to 3 %, and Li-ion about 2 to 3 % per month.
Stop doing this by hand.
Yksi sizes traces, checks impedance and picks real parts as it designs the whole device: housing, PCB, firmware and simulation, in one model. Free.