HW Interview
Free tool

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.

Where the average current goes: sleep, active bursts and self-discharge.

The bar redraws with your inputs.

How the battery life calculator works

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
Sources

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