Battery Life Calculator
Battery life is set by the average current, not the peak. Enter the capacity, the sleep current and how often the device wakes up to get the average current and the runtime.
Usable capacity: the label value is measured at a light load down to a set cutoff voltage. Pulses, cold and the device's own minimum voltage take part of it, so 60–80% is a common planning number for a coin cell. For an always-on load, set the active time equal to the period.
How the battery life calculator works
- Duty cycle D = tactive / period.
- Average current = Isleep·(1 − D) + Iactive·D, plus self-discharge written as an equivalent current: capacity × (%/year) / 8,760 h.
- Battery life = usable capacity / average current. mAh divided by mA gives hours.
Worked example
A CR2032 coin cell, 220 mAh, planned at 70% usable = 154 mAh. The device sleeps at 5 µA and wakes once a second for 3 ms at 8 mA (D = 0.3%). Average load current = 5 × 0.997 + 8,000 × 0.003 ≈ 29.0 µA; 1%/year of self-discharge adds 0.25 µA. Life ≈ 154 mAh / 29.2 µA ≈ 5,270 h: about 7.2 months. Notice that the 3 ms bursts take 82% of the budget: shorter or rarer wake-ups matter more than a lower sleep current.
Assumptions
- Currents are measured at the battery terminals. If you only know the load current behind a regulator, divide by the converter's efficiency at that load (a buck at a few µA can be far less efficient than its datasheet headline).
- Currents are constant in each state. If the device has several active states (radio TX, sensor read, LED), add their charge per wake-up and enter the average as one active current.
- Self-discharge is treated as a constant current; in reality it slows as the cell empties, so long-life results are slightly pessimistic.
- Results are for planning and first checks: confirm by measuring the real average current with a power profiler or source-measure unit; a normal multimeter can't follow µA sleep with mA pulses.
Sources
- Capacity, cutoff voltage, pulse capability and self-discharge: your cell's datasheet (capacity is quoted at a specific load and temperature).
- The average-current method is standard practice for low-power design; see the low-power application notes of your MCU or radio vendor for typical state currents.
Tool v1.0 · 17 Nov 2026 · formulas checked by automated tests.
The interview questions behind this tool
SD-04: Smart pet-collar tag on a coin cell · SD-01: Wireless game controller · PW-07: LDO vs switching regulator · PW-08: Battery power tree