Battery Life Calculator
A battery never delivers its printed capacity, so dividing milliamp hours by milliamps gives a ceiling rather than a runtime. Enter the capacity, the current the device draws and a derating factor for self discharge, cold and the cutoff voltage, and the tool returns the life in hours and days. The second action is for anything that wakes, does something and sleeps: give it the active current, how long the burst lasts, how often it happens and the sleep current, and it returns the average draw and the life in days and years. Everything is in charge and current, the units small devices are specified in, so no cell voltage is needed.