Battery Life Calculator
Enter a battery's capacity and the current or power your device draws, and the calculator estimates how many hours it will run. A derating factor accounts for real-world losses, and a second calculator estimates charging time.
Estimate battery life
Battery Runtime & Power Budget Workbook
Build a full power budget for a device, camper or off-grid setup: every load, its duty cycle and the battery size you need.
- Power budget workbook (XLSX, PDF)
- Battery reference & formula sheet (PDF, DOCX)
Formats: XLSX, PDF, DOCX. Instant download after payment (link valid 72 hours, up to 5 downloads). AI-assisted: the templates were drafted with AI help and reviewed and laid out by Kedop.
$5.00 USD, one-time
Secure card checkout by Stripe. Full refund within 7 days — see the refund policy and license.
How battery life is calculated
At its simplest, battery life is capacity divided by load. A battery rated at 3,000 mAh can in theory supply 300 mA for 10 hours or 100 mA for 30 hours. Real batteries deliver less than their label, so the calculator multiplies by a usable-capacity factor, typically 70–90%.
- Runtime (hours) = capacity (mAh) ÷ load (mA) × efficiency.
- If you know watts instead: battery energy (Wh) = mAh × voltage ÷ 1,000, and runtime = Wh ÷ load (W) × efficiency.
- For devices that are only on part of the time, multiply the load by the duty cycle to get the average current.
Working in watt-hours is more accurate whenever a voltage converter sits between the battery and the device — for example, a 3.7 V power bank charging a 5 V phone — because mAh figures at different voltages cannot be compared directly.
Choosing the efficiency factor
| Situation | Suggested factor | Why |
|---|---|---|
| Device runs directly from the battery, gentle load | 90–95% | Few losses |
| Typical electronics with a regulator | 80–90% | Regulator and wiring losses |
| Power bank charging a phone (3.7 V → 5 V) | 60–75% | Boost converter and phone charging losses |
| Inverter running AC appliances from 12 V | 80–90% | Inverter efficiency; less at very light loads |
| Lead-acid battery you want to last | 50% | Deep discharge shortens lead-acid life |
| Cold weather (below 0 °C / 32 °F) | Reduce further | Chemistry slows, usable capacity drops |
Duty cycle for sensors and gadgets
Many battery devices sleep most of the time. A sensor that draws 20 mA for 2 seconds every minute and 0.05 mA while asleep has an average current of about (20 × 2 + 0.05 × 58) ÷ 60 ≈ 0.72 mA. Enter the active current and the percentage of time it is active, or work out the average yourself and enter it with a 100% duty cycle. For very low average currents, the battery's self-discharge — a few percent per month for lithium, more for NiMH — may limit life more than the device does.
Worked example
A 3,000 mAh, 3.7 V lithium-ion cell powers a device that draws 250 mA continuously. The battery holds 3,000 × 3.7 ÷ 1,000 = 11.1 Wh. The load is 250 mA × 3.7 V = 0.925 W. At 85% usable capacity, runtime is 11.1 × 0.85 ÷ 0.925 ≈ 10.2 hours, or about 10 hours 12 minutes. Two identical cells in parallel double the capacity and the runtime; two in series double the voltage but keep the same mAh.
Typical battery capacities
| Battery | Nominal voltage | Typical capacity |
|---|---|---|
| AA alkaline | 1.5 V | About 1,800–2,800 mAh; much less at high current |
| AA NiMH rechargeable | 1.2 V | About 1,900–2,500 mAh |
| AAA alkaline | 1.5 V | About 800–1,200 mAh |
| CR2032 coin cell | 3 V | About 220–240 mAh, for low currents |
| 18650 lithium-ion cell | 3.6–3.7 V | About 2,500–3,500 mAh |
| 9 V alkaline | 9 V | About 400–600 mAh |
| 12 V 100 Ah deep-cycle | 12 V | 100 Ah (1,200 Wh nominal) |
Alkaline cells in particular deliver far less capacity at high current than at low current, which is why a flash-heavy camera empties AA batteries quickly while a wall clock runs for a year.
Reading a battery datasheet
Datasheets usually state a nominal capacity measured at a low discharge rate, such as 0.2C, and a nominal voltage. Look for the discharge curves: they show how much capacity the cell delivers at higher currents and at low temperatures, and the voltage at which the manufacturer considers it empty (the cut-off voltage). If your device stops working at a higher voltage than that cut-off — some electronics need at least 3.3 V from a lithium cell — you will get less than the rated capacity. Use the usable-capacity factor in the calculator to reflect this, and prefer the datasheet figure for your actual load over the headline number printed on the wrapper.
Series and parallel packs
Batteries in series add their voltages while the capacity in mAh stays the same; in parallel the voltage stays the same and the capacities add. Energy in watt-hours adds either way. Only combine identical cells of the same age and charge level, and use a battery management system with lithium cells.
Charging time
The second calculator divides the capacity you need to replace by the charger current, adjusted for charging efficiency. A 3,000 mAh battery at 20% charged with a 1 A charger needs about 2,400 mAh, which at 85% efficiency takes about 2.8 hours. Lithium-ion charging switches to a slower constant-voltage phase near the end, so full charges take longer than the estimate, while charging to 80% is comparatively quick.
Frequently asked questions
How long will a 10,000 mAh power bank charge my phone?
A 10,000 mAh bank at 3.7 V holds 37 Wh. At about 65% overall efficiency it delivers roughly 24 Wh, enough for about two charges of a phone with a 12 Wh battery.
Why is my battery life shorter than the calculation?
High current peaks, cold temperatures, battery age, a screen or radio that draws more than expected, or a low usable-capacity setting.
Should I use mAh or Wh?
Use Wh whenever voltages differ between the battery and the device; mAh comparisons only work at the same voltage.
What is a C-rate?
It expresses current relative to capacity: 1C for a 3,000 mAh battery is 3,000 mA. Lower C-rates usually deliver more of the rated capacity.
Does the calculator work for car or solar batteries?
Yes. Enter capacity in Wh (Ah × volts), the load in watts, and use about 50% usable capacity for lead-acid or 80–90% for lithium iron phosphate.