Runtime of any battery in hours, days or years, from mAh, Ah or Wh and a load in mA, A or W, with depth of discharge and inverter losses when you need them.
Battery Life Calculator - Runtime From mAh, Ah or Wh
Runtime of any battery in hours, days or years, from mAh, Ah or Wh and a load in mA, A or W, with depth of discharge and inverter losses when you need them.
Parameters
Enter data for calculations
💡 Fill in all required fields to unlock the calculate button
Why a 100 Ah battery rarely gives you 100 amp-hours
This battery life calculator turns a capacity and a load into a runtime you can plan around. A 5,000 mAh phone-size cell at 3.7 V feeding 500 mA runs for 10 h.
What the calculator does about it
Filling it in, from the label to the load
- Battery capacity and its unit - the rating on the battery: mAh, Ah or Wh.
- Battery voltage - the nominal voltage: 1.5 V for an alkaline cell, 3.7 V for lithium-ion, 12 V for lead-acid, 12.8 V for a LiFePO4 pack.
- Load and its unit - the draw in mA or A, or the power in W from the nameplate.
- Usable depth of discharge (optional) - the share of the rating you are willing to use, for example 50% for lead-acid. Left empty, the result gives two runtimes: the full rating for lithium and 50% of it for lead-acid.
- Inverter or converter efficiency (optional) - for a 120 V appliance on an inverter or a device behind a voltage converter. Leave it empty when the current was measured at the battery.
- Read the result - the runtime in hours and minutes, days or years, the energy behind it and the table for other loads.
How much of the rating to count, by battery type
These are common rules of thumb, not one manufacturer's limits; a datasheet figure beats them.
| Battery | Usually used | What to enter |
|---|---|---|
| Lead-acid, flooded or AGM | about 50% | Depth of discharge 50; deeper cycles shorten its life |
| LiFePO4 (lithium iron phosphate) | 80 to 100% | 80 to stay conservative, empty for the full rating |
| Phone, laptop, power tool packs | the rating | Leave empty: the built-in electronics already stop short of empty |
| Alkaline AA, AAA, 9 V | the rating at low drain | Leave empty for small loads; expect much less at a few hundred mA |
| Lithium coin cells (the CR series) | the rating at µA loads | Only for tiny continuous currents |
Five setups, run through the calculator
Hours from a 12 V, 100 Ah battery
The same 1,200 Wh battery at six loads, used three ways: all of the rating, half of it as for lead-acid, and all of it through a 90% inverter.
| Load | 100% used | 50% used | 100%, 90% inverter |
|---|---|---|---|
| 10 W | 5 days | 60 h | 4.5 days |
| 50 W | 24 h | 12 h | 21 h 36 min |
| 100 W | 12 h | 6 h | 10 h 48 min |
| 300 W | 4 h | 2 h | 3 h 36 min |
| 500 W | 2 h 24 min | 1 h 12 min | 2 h 10 min |
| 1,000 W | 1 h 12 min | 36 min | 1 h 5 min |
Treat the bottom rows as a best case. At 1,000 W a 12 V battery supplies over 80 A, close to its full amp-hour rating every hour, and at that rate a lead-acid battery delivers well under its label.
Questions readers send in
Related tools
Capacitor Energy Calculator
Joules and Wh in a capacitor or supercapacitor, for loads that need seconds rather than hours - Open the calculator
Transformer Calculator
Turns ratio and full-load current of the transformer in a charger or power supply - Open the calculator
Electrical Power Calculator
Watts from volts and amps when the device lists only its current - Open the calculator
Amps Calculator
Watts to amps with the fuse and wire size for the battery cable - Open the calculator
Ohm's Law Calculator
Current through a resistor or LED string powered from the battery - Open the calculator