Mini tools

Battery Life Calculator

Free battery life calculator. Estimate run time from capacity in mAh and load current, including active and sleep currents and duty cycle.

About the Battery Life Calculator

Estimate how long a battery will last from its capacity in mAh and the device's current draw, with an allowance for temperature, ageing and cut-off voltage. Low-power designs can enter separate active and sleep currents and the share of time spent active.

The battery drains in the animation and the chart shows run time against average current.

Frequently asked questions

How do I calculate battery life?

Hours = capacity (mAh) / average current (mA) × a derating factor, often 0.7 to allow for real-world losses.

How long will a 2000 mAh battery last at 50 mA?

About 40 hours in theory, or about 28 hours with a typical 30 % allowance.

How do I include sleep current?

Average current = active current × duty + sleep current × (1 − duty). Sleep current often dominates in devices that are mostly idle.

Related calculators

PCB WorkbenchFree, visual PCB design and electronics calculators.
Designed and built by Ciarán McDermott
© 2026 Ciarán McDermott. All rights reserved.

Results are engineering estimates from published formulas and standards. Check critical designs with your fabricator or a field solver before production.