Use this battery runtime calculator to estimate how long a battery can power a device from battery capacity and average current draw.
About this calculator
Use this battery runtime calculator to estimate how long a battery can power a device from battery capacity and average current draw. It is useful for portable electronics, IoT devices, sensors, backup equipment, and other DC loads where capacity is expressed in mAh or Ah. The result is a planning estimate: actual runtime can change with battery chemistry, discharge rate, temperature, age, cutoff voltage, converter losses, and load variation.
Battery runtime is commonly estimated by dividing usable battery capacity by average load current. When capacity and current use the same ampere-hour scale, runtime in hours is approximately capacity divided by current. For example, a 10,000 mAh battery supplying an average 500 mA load has an idealized runtime of about 20 hours. Real batteries often deliver less usable energy than their nominal rating under actual operating conditions.
Treat the calculated runtime as an ideal or preliminary estimate rather than a guaranteed operating time. A device with pulsed loads, startup surges, sleep modes, inverter losses, or changing current draw may need an average-current measurement over a representative duty cycle. Lithium-ion, LiFePO4, lead-acid, and other chemistries also differ in usable depth of discharge and voltage behavior, so energy-based watt-hour analysis may be more appropriate when voltage changes or AC inverters are involved.