Home Work & Income IoT Battery Life Calculator

IoT Battery Life Calculator

How long a sensor really runs on a battery once deep sleep and radio bursts are both counted.

Advertisement

How it works

Battery life dies in the wake-ups, not the sleep. Enter the sleep current in microamps, then the current the device draws while awake and transmitting, how long each wake lasts, and how often it happens per hour. The average current combines both, and capacity divided by average current is the honest lifetime, before temperature and battery aging take their share.

Advertisement

Formula

Average current (mA) = sleep microamps / 1000 + wake mA x wake seconds x wakes per hour / 3600.
Life (hours) = capacity (mAh) / average current.

Example

Example in plain words. A 2000 mAh cell, 10 microamps in deep sleep, waking to 80 mA for 2 seconds, 6 times an hour.

Average current: 0.276667 mA.

Life: 7,228.915663 hours, that is 301.204819 days.

Frequently asked questions

Why is the real life shorter than this?

Batteries lose capacity in the cold, radio spikes exceed the average, and self-discharge takes a few percent a month. Treat this number as the ceiling and plan around 70 percent of it.

How do I make it longer?

Wake less often and transmit faster: the radio is the most expensive millisecond on the board. A wake-up budget usually beats a bigger battery.

Advertisement

Related calculators

Salary Calculator

Convert a salary between hourly, weekly, every two weeks, monthly and yearly pay.

Time Card Calculator

Add up your clock-in and clock-out times for the week, take off breaks, and get total hours and pay.

Prorated Salary Calculator

Pay for part of a month, for example when you start or leave in the middle of it.

IP Subnet Calculator

Network address, broadcast address, subnet mask and usable host range for any IPv4 address and prefix length.