Battery Life Calculator
- Convert capacity to energy: 20,000 mAh × 5 V ÷ 1,000 = 100.00 Wh stored.
- No battery delivers all of it: at 85% efficiency (conversion losses, cut-off voltage, ageing) the usable energy is 85.00 Wh.
- Runtime = usable energy ÷ load = 85.00 Wh ÷ 10 W = 8.50 hours, about 510 minutes.
- Treat this as a best-case estimate: cold temperatures, high discharge rates (Peukert's law) and an ageing pack all shave real runtime below the nameplate maths.
This battery life calculator estimates how long a battery will power a device before it needs recharging. Enter your battery capacity in mAh, the battery voltage, the load in watts, and an efficiency percentage, and the calculator returns the expected runtime in hours and minutes. The underlying formula is straightforward: runtime equals usable energy divided by load. First, convert mAh to watt-hours using the battery voltage (mAh x V / 1000), then apply the efficiency share, and finally divide by the wattage of your load. For example, a 20,000 mAh power bank at 5 V stores 100.00 Wh; at 85% efficiency it runs a 10 W load for 8.50 hours (510 minutes). Similarly, a 5,000 mAh phone battery at 3.7 V stores 18.50 Wh and runs a 2.5 W draw for 6.66 hours at 90% efficiency.
This method is the accepted standard because it accounts for real-world factors that raw mAh ratings ignore. Power banks advertise mAh at the internal cell voltage (3.7 V), not the 5 V output, so the Wh figure is the honest comparison, which is why this calculator converts first. It also factors in efficiency losses and, for lead-acid batteries, Peukert's law, which means capacity drops at high discharge rates. Lithium chemistries are far less affected but not immune. A verified example: a 100 Wh pack at 80% efficiency runs a 25 W load for 3.20 hours (192 minutes). This page shows the formula, step-by-step workings, worked examples, and sources so you can trust every result.
Worked examples
A power bank running a router
Primary result: 8.50 hours — 100 Wh stored, 85 Wh usable, at a 10 W draw. (20000 · mAh · 5 V · 10 · Watts · 85 %)
| Estimated runtime | 8.50 hours |
| Stored energy | 100.00 Wh |
| Usable energy after losses | 85.00 Wh |
| Runtime in minutes | 510 |
A phone battery under load
Primary result: 6.66 hours — 18.50 Wh at 3.7 V, 90% of it usable. (5000 · mAh · 3.7 V · 2.5 · Watts · 90 %)
| Estimated runtime | 6.66 hours |
| Stored energy | 18.50 Wh |
| Usable energy after losses | 16.65 Wh |
| Runtime in minutes | 400 |
A 100 Wh pack at 25 W
Primary result: 3.20 hours — 80 usable watt-hours divided by the load. (100 · Wh · 12 V · 25 · Watts · 80 %)
| Estimated runtime | 3.20 hours |
| Stored energy | 100.00 Wh |
| Usable energy after losses | 80.00 Wh |
| Runtime in minutes | 192 |
The runtime formula
The runtime formula is straightforward: runtime equals usable energy divided by load. To get there, the battery life calculator walks through three steps. First, convert milliamp-hours to watt-hours using the battery voltage: mAh x V / 1000. Second, apply the efficiency share, because no battery delivers its full stored energy to the device. Third, divide the resulting usable watt-hours by the load in watts. The answer is your runtime in hours.
A verified example makes this concrete. A 20,000 mAh power bank at 5 V stores 100.00 Wh. At 85% efficiency, that leaves 85.00 Wh of usable energy. Divide by a 10 W load and you get 8.50 hours, or 510 minutes, of runtime. The same math works for smaller batteries: a 5,000 mAh phone battery at 3.7 V stores 18.50 Wh and runs a 2.5 W draw for 6.66 hours at 90% efficiency. A 100 Wh pack at 80% efficiency runs a 25 W load for 3.20 hours, or 192 minutes.
One detail trips up many users: power banks advertise mAh at the internal cell voltage of 3.7 V, not the 5 V output. That means a 20,000 mAh rating does not mean 20,000 mAh at the voltage your phone receives. The watt-hour figure is the honest comparison, which is why this calculator converts to Wh first before doing anything else. Two packs with the same mAh label can hold different amounts of energy if their internal voltages differ.
Efficiency losses matter because they are real and predictable. A battery rated at 100 Wh never delivers all 100 Wh to your device; some is lost as heat in the conversion circuitry and during voltage regulation. That is why the formula applies an efficiency share rather than using the raw stored energy. Most quality lithium power banks sit around 80% to 90% efficiency under typical loads.
Peukert's law means lead-acid batteries deliver less capacity at high discharge rates. Lithium chemistries are far less affected but not immune, so expect slight runtime reductions when drawing heavy loads relative to the battery's capacity. The calculator accounts for this by letting you adjust the efficiency percentage to match your real-world conditions.
Worked examples
The table below shows three verified battery packs so you can see exactly how the battery life calculator handles each step. In every case the method is the same: convert mAh to Wh using the battery voltage, apply the efficiency share, and then divide by the load in watts. A 20,000 mAh power bank at 5 V stores 100.00 Wh, which is the honest figure for comparing packs. At 85% efficiency it runs a 10 W load for 8.50 hours, or 510 minutes.
The second example is a 5,000 mAh phone battery at 3.7 V. It stores 18.50 Wh and runs a 2.5 W draw for 6.66 hours at 90% efficiency. Note that power banks advertise mAh at the internal cell voltage of 3.7 V, not the 5 V output, which is why this calculator converts to Wh first before doing anything else. The third pack is rated directly at 100 Wh with 80% efficiency, and it runs a 25 W load for 3.20 hours, or 192 minutes.
One caveat: Peukert's law means lead-acid batteries deliver less capacity at high discharge rates, while lithium chemistries are far less affected but not immune. The figures in the table assume a steady load and a single discharge cycle, so real world results may vary if the draw fluctuates or the battery ages.
| Pack | Stored energy | Efficiency | Load | Runtime (hours) | Runtime (minutes) |
|---|---|---|---|---|---|
| 20,000 mAh power bank at 5 V | 100.00 Wh | 85% | 10 W | 8.50 | 510 |
| 5,000 mAh phone battery at 3.7 V | 18.50 Wh | 90% | 2.5 W | 6.66 | 400 |
| 100 Wh pack | 100.00 Wh | 80% | 25 W | 3.20 | 192 |
Why mAh misleads
Power banks almost always advertise capacity in mAh, but that number hides a critical mismatch. The advertised mAh reflects the internal cell voltage of 3.7 V, not the 5 V output your phone actually receives. A 20,000 mAh power bank sounds like it should deliver 20,000 mAh at 5 V, but it does not. The honest comparison is watt-hours, which is why this battery life calculator converts mAh to Wh before estimating runtime.
The math is straightforward. You convert mAh to Wh using the battery voltage: mAh x V / 1000. A 20,000 mAh power bank at 3.7 V stores 74 Wh, not 100 Wh. However, when marketed at 5 V, the same pack is rated as 100.00 Wh. At 85% efficiency, that 100.00 Wh pack runs a 10 W load for 8.50 hours, or 510 minutes. The gap between the advertised mAh and the usable energy at 5 V is where consumers lose out, and it is why Wh is the figure that matters.
The same principle applies to smaller devices. A 5,000 mAh phone battery at 3.7 V stores 18.50 Wh and runs a 2.5 W draw for 6.66 hours at 90% efficiency. Compare that to a 100 Wh pack at 80% efficiency, which runs a 25 W load for 3.20 hours, or 192 minutes. Without converting to Wh, you are comparing apples to oranges, and the mAh number flatters the larger power bank more than the smaller phone battery.
One more factor worth noting: Peukert's law. Lead-acid batteries deliver less capacity at high discharge rates, while lithium chemistries are far less affected but not immune. This means runtime estimates can shift depending on how hard you pull power from the pack. The conversion from mAh to Wh gets you to an honest baseline, but efficiency losses and discharge behavior still shape the real-world result.
Efficiency and usable capacity
No battery delivers its full rated energy to your device. A battery life calculator that ignores real-world losses will overstate runtime every time, so this tool builds those losses into the math from the start. The formula is straightforward: runtime equals usable energy divided by load. First you convert milliamp-hours to watt-hours using the battery voltage (mAh x V / 1000), then you apply an efficiency share to account for conversion and protection losses, and finally you divide by the watts your device actually draws. That middle step — the efficiency share — is where most estimates go wrong, and it is the reason 80 to 90 percent is the realistic planning band for most situations.
Several factors eat into the total capacity before it ever reaches your device. Voltage conversion from a battery's internal cell to the output your device expects is never perfectly efficient, and some energy departs as heat. Battery protection circuits also impose cut-offs that stop discharge before the cell is fully drained, which extends cycle life but leaves a margin of energy unused. Ageing compounds the effect: as a battery accumulates charge cycles, its actual storage capacity falls below the label rating. Power banks illustrate the conversion problem clearly. They advertise milliamp-hours at the internal cell voltage of 3.7 V, not the 5 V output that most devices require. The watt-hour figure is the honest comparison, which is why this calculator converts first and never compares milliamp-hours across different voltages.
The verified examples show how the planning band works in practice. A 20,000 mAh power bank at 5 V stores 100.00 Wh; at 85 percent efficiency it runs a 10 W load for 8.50 hours, or 510 minutes. A 5,000 mAh phone battery at 3.7 V stores 18.50 Wh and runs a 2.5 W draw for 6.66 hours at 90 percent efficiency. A 100 Wh pack at 80 percent efficiency runs a 25 W load for 3.20 hours, or 192 minutes. Each result reflects the same chain of calculations, with only the efficiency share and the load changing.
Discharge rate also affects usable capacity. Peukert's law means lead-acid batteries deliver less capacity at high discharge rates, so a fast draw can shorten runtime beyond what the label suggests. Lithium chemistries are far less affected by this phenomenon, but they are not completely immune. For lithium-ion and lithium-polymer packs, staying within the 80 to 90 percent planning band covers the combined impact of conversion losses, protection cut-offs, and moderate ageing without requiring you to model each factor separately.
Loads in watts versus milliamps
A battery life calculator needs to handle two different ways of stating a load. Some devices list their draw in milliamps (mA) at a specific voltage, while others state it directly in watts (W). Both paths lead to the same runtime formula: runtime equals usable energy divided by load. The key step is making sure your units match before you divide.
When a device lists its draw in milliamps at a known voltage, convert that current into watts first. Multiply the milliamp draw by the voltage, then divide by 1000 to get watts. For example, a device drawing 500 mA at 5 V uses 2.5 W. Once you have the load in watts, the calculator can compare it directly to the battery's watt-hour rating.
On the battery side, the same conversion applies. Power banks advertise mAh at the internal cell voltage of 3.7 V, not the 5 V output you see at the USB port. The Wh figure is the honest comparison, which is why this calculator converts first. To convert mAh to Wh, multiply mAh by the battery voltage and divide by 1000. A 20,000 mAh power bank at 5 V stores 100.00 Wh; at 85% efficiency it runs a 10 W load for 8.50 hours (510 minutes). A 5,000 mAh phone battery at 3.7 V stores 18.50 Wh and runs a 2.5 W draw for 6.66 hours at 90% efficiency. A 100 Wh pack at 80% efficiency runs a 25 W load for 3.20 hours (192 minutes).
One more factor affects real-world results. Peukert's law means lead-acid batteries deliver less capacity at high discharge rates. Lithium chemistries are far less affected but not immune. The efficiency percentage in the calculator accounts for conversion losses and chemistry behavior, giving you a realistic runtime estimate rather than a theoretical maximum.
- Convert mAh to Wh: mAh x V / 1000
- Convert mA draw to watts: mA x V / 1000
- Apply the efficiency share, then divide by watts to get runtime
Peukert and high drains
Lead-acid batteries have a frustrating habit that every battery life calculator must account for: they deliver less usable capacity when you draw power quickly. This behavior is described by Peukert's law, which means a lead-acid pack rated for 100 amp-hours might give you only 60 or 70 amp-hours if you discharge it rapidly. The faster you pull current, the more capacity you lose. A battery that runs a small load for ten hours might run a heavy load for far less time than simple division would predict.
This happens because of internal resistance and chemical limits inside lead-acid cells. High discharge rates cause voltage sag and waste energy as heat, so less of the stored charge actually reaches your device. The effect is most noticeable with lead-acid chemistry, which is why Peukert's law matters for car batteries, backup power systems, and solar setups using flooded or sealed lead-acid packs. If you are sizing one of those systems, a basic capacity calculation will overstate your real runtime.
Lithium-ion and lithium iron phosphate chemistries handle high drains far better. The Peukert effect is much smaller, so a lithium pack delivers close to its rated capacity even under heavy loads. However, lithium batteries are not completely immune. At very high discharge rates you still lose some usable energy, but the correction is gentler than what lead-acid requires. For most consumer devices like phones, power banks, and laptops, the Peukert penalty is small enough that the standard runtime formula works well.
The runtime formula itself stays the same regardless of chemistry: runtime equals usable energy divided by load. You convert milliamp-hours to watt-hours using the battery voltage (mAh times V divided by 1000), apply the efficiency share, then divide by watts. Efficiency accounts for converter losses and internal resistance together. A 20,000 mAh power bank at 5 V stores 100.00 Wh; at 85% efficiency it runs a 10 W load for 8.50 hours, which is 510 minutes. A 5,000 mAh phone battery at 3.7 V stores 18.50 Wh and runs a 2.5 W draw for 6.66 hours at 90% efficiency. A 100 Wh pack at 80% efficiency runs a 25 W load for 3.20 hours, or 192 minutes.
- Peukert's law: lead-acid batteries lose capacity at high discharge rates, so heavy loads drain them faster than rated capacity suggests.
- Lithium chemistries are far less affected by Peukert losses but still see small reductions at very high drains.
- Power banks advertise mAh at the internal cell voltage (3.7 V), not the 5 V output — the Wh figure is the honest comparison, which is why this calculator converts first.
FAQs
How long will a 20,000 mAh power bank last?
At 5 V it stores 100 Wh; with 85% usable, a 10 W load runs 8.50 hours. Your actual runtime depends on the device's power draw and the power bank's efficiency. Use the calculator above to plug in your specific battery capacity, voltage, and load for a quick estimate.
How do I convert mAh to watt-hours?
Use the formula Wh = mAh x voltage / 1000. For example, 20,000 mAh at 5 V is 100.00 Wh; at the 3.7 V cell voltage it would be 74 Wh. You need the voltage to make the conversion, since milliamp-hours alone do not account for the energy stored.
Why is my real runtime shorter than the maths?
Conversion and protection losses: planning on 80-90% efficiency, as in the verified cases, closes most of the gap. Batteries lose energy through voltage conversion, heat, and internal protection circuits. The calculator lets you adjust the efficiency percentage so your estimate reflects real-world conditions.
How long will a 100 Wh battery run a 25 W device?
3.20 hours at 80% efficiency — 80 usable Wh divided by 25 W. The battery's rated capacity is reduced by the efficiency factor to account for conversion losses. Enter your own values above to get a runtime estimate for your specific setup.
Can I enter the load in milliamps instead?
Yes — with the voltage the calculator converts mA to watts first; the two paths agree. Whether you enter the load in watts directly or in milliamps, the calculator uses the voltage to convert between the two, so you get the same runtime result either way.
What is Peukert's law?
The observation that a battery's effective capacity shrinks as discharge current rises — strong in lead-acid, mild in lithium. Drawing a high load from a battery reduces the total energy you can actually use compared to a low load. The effect matters most for lead-acid batteries and is much less pronounced in modern lithium-ion packs.