How to use it
Enter the battery capacity in mAh from its label or datasheet and the current the device draws in mA. The usable share allows for the cut-off voltage, cold and age; 80% is a fair start. For a sensor that wakes, works and sleeps, add the active time, the sleep current and the sleep time and the calculator works out the average current.
The formula
Run time (hours) = capacity (mAh) × usable share ÷ load (mA). A 2,000 mAh pack at 50 mA with 80% usable runs 32 hours.
Typical capacities
| Battery | Typical capacity | Run time at 20 mA (80% usable) |
|---|---|---|
| CR2032 coin cell | 225 mAh | 9 h |
| AAA alkaline | 1,000 mAh | 40 h |
| AA alkaline | 2,500 mAh | 100 h |
| AA NiMH | 2,000 mAh | 80 h |
| 9 V alkaline | 550 mAh | 22 h |
| 18650 Li-ion | 3,000 mAh | 120 h |
| Phone power bank | 10,000 mAh | 400 h |
Coin cells and alkaline cells deliver much less than their rating at high current: a CR2032 is rated at a fraction of a milliamp. Treat any result for a heavy load as optimistic, and check the maker's discharge curve.
These calculators do the arithmetic only. Check every measurement and cut before you make it, and follow the drawings, the code and the engineer of record for anything that carries pressure or load.