About the Battery Life Calculator
How long a battery lasts from its capacity and the load current, with a usable-capacity allowance.
Also known as: battery runtime, how long will battery last, mah to hours, battery duration.
How to use this calculator
- Enter battery capacity, load current, usable capacity.
- The result updates instantly as you type — press Calculate (or Enter) at any time.
- Review the breakdown shown under the main result.
- Use Copy result or Share to save the answer or send a link with your inputs.
Formula
Runtime = capacity × usable fraction ÷ load current
Worked example
Using the values pre-filled in the calculator above:
- Battery capacity = 2,000 mAh
- Load current = 150 mA
- Usable capacity = 85 %
the calculator returns:
- Runtime: 11 h 20 min
- Decimal hours: 11.333
- Days (continuous): 0.47
- Usable capacity: 1,700 mAh