Battery Life Calculator
Calculate how long a battery will last from its capacity (mAh) and the load current, with battery voltage, usable capacity and energy in watt-hours.
Battery Life
17 h 0 min
Hours
17 h
Usable Capacity
2550 mAh
Battery Energy
11.1 Wh
Load Power
0.555 W
Days
0.71 days
Battery Life (Runtime) Calculation
Battery runtime depends on how much charge the battery can really deliver and how much current the device draws. Enter the capacity in mAh (1 Ah = 1,000 mAh), the load current and the battery voltage; the usable-capacity setting allows for real-world losses and safe discharge limits.
Formulas
- Runtime (h) = capacity (mAh) × usable % ÷ load (mA)
- Energy (Wh) = mAh × V ÷ 1,000
- Load current from power: mA = W ÷ V × 1,000
- Capacity needed = load mA × hours ÷ usable %
Typical battery capacities
| Battery | Voltage | Capacity |
|---|---|---|
| CR2032 coin cell | 3 V | 220 mAh |
| AA alkaline | 1.5 V | 2,000 to 2,800 mAh |
| 18650 Li-ion cell | 3.6 to 3.7 V | 2,500 to 3,500 mAh |
| Smartphone battery | 3.85 V | 4,000 to 5,000 mAh |
| Small sealed lead-acid | 12 V | 7,000 mAh (7 Ah) |
| Inverter battery | 12 V | 150,000 mAh (150 Ah) |
Worked examples
1. 3,000 mAh at 150 mA, 85% usable (the defaults). 2,550 ÷ 150 = 17 hours; the battery stores 11.1 Wh at 3.7 V.
2. 10,000 mAh power bank at 500 mA. 8,500 ÷ 500 = 17 hours, 37 Wh.
3. Two AA cells (3 V, 2,500 mAh) at 20 mA, 90% usable. 2,250 ÷ 20 = 112.5 h, about 4.7 days.
4. 12 V 7 Ah battery running a 12 W load (1 A), 80% usable. 5,600 ÷ 1,000 = 5 h 36 min.
5. Coin cell 220 mAh at 50 µA average. About 165 days.
High currents, cold weather and ageing reduce runtime. Lead-acid batteries lose capacity at high discharge rates (Peukert effect).
Related tools
- Home inverter backup: Inverter & UPS Sizing Calculator. Large battery banks: Energy Storage Calculator.
- LED projects: LED Resistor Calculator. Charging from solar: Solar Panel Calculator.
Frequently Asked Questions
How do I calculate battery life?
Runtime (hours) = battery capacity (mAh) × usable fraction ÷ load current (mA). A 3,000 mAh battery at 150 mA with 85% usable capacity lasts 3,000 × 0.85 ÷ 150 = 17 hours.
Why not use the full rated capacity?
Real batteries deliver less than their label, especially at high current, low temperature and as they age. Lithium cells are often limited to 80% to 90% to protect them; lead-acid batteries should not be discharged below about 50%.
How do I convert mAh to Wh?
Wh = mAh × voltage ÷ 1,000. A 10,000 mAh power bank at 3.7 V holds 37 Wh.
How long will a 10,000 mAh power bank charge my phone?
A power bank delivers about 60% to 70% of its rated capacity to the phone after conversion losses. 10,000 mAh at 3.7 V gives about 6,000 to 7,000 mAh at the phone's cell voltage, roughly 1.5 to 2 charges of a 4,000 mAh phone.
How long will AA batteries last?
Alkaline AA cells hold about 2,000 to 2,800 mAh at low current. Two in series (3 V) powering a 20 mA device last about 4 to 5 days.
How do I calculate runtime from watts?
Convert watts to current: I = P ÷ V. A 12 W load on a 12 V battery draws 1 A (1,000 mA). A 7 Ah battery at 80% usable then lasts about 5.6 hours.
Do batteries in series add capacity?
No. Series adds voltage with the same mAh; parallel adds mAh at the same voltage. Energy (Wh) adds either way.
What is the Peukert effect?
Lead-acid batteries deliver noticeably less capacity at high discharge currents. For loads above about 0.2C (one-fifth of the Ah rating per hour) expect shorter runtime than this simple estimate.
How long does a coin cell last?
A CR2032 (about 220 mAh, 3 V) at 50 µA average lasts several months. Sleep currents of microcontrollers dominate battery life in low-power devices.
How do I size a battery for a target runtime?
Required mAh = load mA × hours ÷ usable fraction. For 200 mA for 10 hours at 85%: about 2,350 mAh.
Related Calculators
UPS Sizing Calculator
Calculate UPS capacity for your load requirements. Enter total load, backup time, and power factor to find the required UPS VA rating and battery capacity.
Energy Storage Calculator
Calculate energy stored in capacitors and inductors. Enter capacitance, voltage, inductance, and current to find stored energy.
LED Resistor Calculator
Calculate the correct current-limiting resistor value for LEDs. Supports single and series LED configurations.
Solar Panel Calculator
Calculate the number of solar panels and system size required to meet your daily electricity consumption.
Power Consumption Calculator
Calculate power consumption in watts and kW, and energy usage in kWh per day, month, and year.
Ohm's Law Calculator
Calculate voltage, current, resistance, and power using Ohm's Law (V = IR). Enter any two values to find the remaining quantities.
More in Electrical · Engineering calculators · All calculators A–Z