How to calculate battery runtime in hours
A battery's rated energy is not necessarily the energy available to the connected device.
What is the problem?
A battery's rated energy is not necessarily the energy available to the connected device.
Step-by-step solution
Find usable watt-hours
Distinguish rated capacity from manufacturer-stated usable energy and account for applicable conversion losses.
Measure the device load
Use operating power in watts and add the loads of devices running simultaneously from the same battery.
Divide energy by power
Divide usable watt-hours by watts for runtime in hours; variable loads require an energy budget over time.
Alternative method
Measure standby and active power separately when a device cycles between operating states.
Known limitations
Temperature, battery aging and protection cutoffs can change real runtime.
Frequently asked questions
Multiply amp-hours by nominal voltage to get rated watt-hours. Check the usable output separately before entering it.