/battery — Battery Life Calculator
Estimate how long a battery lasts from its capacity and the current your circuit draws, with a derating factor for real-world losses.
Estimated run time
Run time = capacity × usable% ÷ load current. The derating factor accounts for the fact you rarely get the full rated capacity; 70–90% is typical.