This IoT battery life calculator divides the usable capacity by the average current, (active current × active time + sleep current × sleep time) ÷ 3,600 s. A 2,400 mAh cell at a 24 µA average lasts about 11 years.
- Battery life
- – years
- In days
- – days
- Average current
- – µA
- Usable capacity
- – mAh
- Active time per hour
- – s
The device is active the whole hour: shorten the active time or report less often.
Enter a capacity above zero, a loss under 100 %, and currents, times and reports of 0 or more.
How it works
How do you calculate the battery life of an IoT sensor?
Over an hour the device is active for active time × reports per hour seconds and asleep for the rest. The average current is (active current × active seconds + sleep current × sleep seconds) ÷ 3,600.
Battery life in hours is the usable capacity in mAh divided by the average current in mA. The usable capacity is the rated capacity minus the share you expect to lose to self-discharge, cold and the device’s cut-off voltage.
This is an estimate for planning. Battery chemistry, temperature and peak currents during transmission change real life; check against measurements on your device.
In Hermetry A low-battery alarm with hysteresis, so it does not flap as the battery recovers, is one of the ready rules in the alarm rule cookbook.
Glossary LPWAN (low-power wide-area network), PSM (power saving mode), Sampling rate
Questions
Questions about the IoT battery life calculator
Why allow for lost capacity?
Self-discharge, low temperatures and the voltage at which the device stops working mean the rated capacity is rarely all usable. 20 % is a common allowance; use more for cold sites.
What drains a sensor’s battery most?
Usually transmitting. Reporting less often, shortening the time on air (a lower spreading factor) or sending fewer bytes makes the biggest difference; the sleep current matters most for devices that report rarely.

