Battery Life Calculator

Estimated runtime from capacity, average current and a real-world derating factor.

Derating accounts for self-discharge, converter efficiency, cut-off voltage and temperature — 80–90% is typical.

Estimated runtime

Estimating runtime

To first order, runtime is the usable charge divided by the average current draw:

where is the rated capacity (mAh), the average current (mA) and a derating factor. A datasheet capacity is measured under ideal conditions; in practice you rarely get all of it, so of 0.8–0.9 keeps the estimate honest.

This assumes a roughly constant average current. For duty-cycled or sleepy MCU designs, compute the time-weighted average first: , then feed that in. Peukert effects and temperature shift real life further — treat this as a planning figure, not a guarantee.