About This Tool
"How long will my battery last?" is the first question in every portable project โ from Arduino sensors to power banks to IoT devices. The basic formula is simple: hours = mAh รท mA. But real-world runtime depends on regulator efficiency, discharge cutoff voltage, and whether you have multiple power modes.
This calculator handles all of it. Enter your battery capacity, add one or more power modes (active, sleep, transmit), set efficiency and discharge depth, and get accurate runtime in hours and days. It also includes presets for common batteries (AA, AAA, CR2032, 18650, LiPo) and typical loads (Arduino, ESP32, Raspberry Pi).
Whether you're sizing a battery for a solar sensor node, estimating power bank charges, or figuring out how often to replace CR2032s in a BLE beacon โ this gives you the answer in seconds.
How to Use
1. Select a battery preset or enter custom capacity in mAh
2. Enter current draw in mA (or add multiple power modes with duty cycles)
3. Optionally adjust efficiency (default 90%) and discharge depth (default 80%)
4. See estimated battery life in hours and days
5. Click "Copy Link" to share your calculation