Tech

Battery Life Calculator

How long will that battery really last?

Enter a battery's capacity in milliamp-hours and the device's current draw in milliamps to estimate runtime. It shows decimal hours and a readable 'X hr Y min' version. Ideal for sizing power banks, checking how long a gadget lasts, or comparing batteries honestly.

How it's calculated

Runtime in hours = battery capacity (mAh) ÷ current draw (mA). That single division is the whole calculation: the calculator divides the capacity you enter by the draw you enter, shows the result as decimal hours to two decimal places, and also converts it into a readable whole-hours-and-minutes figure.

The two inputs measure different things. Capacity, in milliamp-hours, is the amount of electric charge the battery holds — it is printed on the battery, the device, or the power bank casing, and a bigger number means more stored charge. Current draw, in milliamps, is the rate at which your device uses that charge while it runs. Draw is not a property of the battery: the same device draws more with its screen bright, its speaker loud, or its motor working hard, and less when it sits idle.

The formula works because the milliamp units cancel out. A battery rated at 5,000 mAh can in principle supply 5,000 milliamps for one hour, 500 milliamps for ten hours, or any other pairing that multiplies out to the same total — so dividing the stored charge by the rate of use leaves a time, in hours. Think of capacity as the size of a water tank and draw as how wide the tap is open: the wider the tap, the sooner the tank empties. The result assumes a steady draw and the full rated capacity, so it is the ideal figure for those inputs.

Worked example

Imagine a 5,000 mAh power bank powering a small device that draws a steady 250 mA — a portable fan, a heated glove controller, or a phone topping up slowly. Divide the capacity by the draw: 5,000 ÷ 250 = 20. The calculator therefore reports 20.00 hours, shown in readable form as 20 hr 0 min. Notice what the division tells you about the relationship: if the device drew 500 mA instead, the same bank would last half as long, 10 hours, because doubling the rate of use halves the time the stored charge can cover.

When to use it

Sizing a power bank for a trip. If your phone, camera, or hotspot needs power away from a socket, run the numbers for each device before you buy. A bank that looks generous in milliamp-hours may only cover a power-hungry device for a few hours, and it is better to learn that at home than at an airport.

Checking a runtime claim. Torches, speakers, and camping lights are often sold with headline runtimes. If the product lists its battery capacity and you can find or estimate its draw, this calculator lets you test whether the claim is plausible at the brightness or volume you actually use, rather than at the gentlest setting the maker tested.

Planning backup power. During an outage or a night off-grid, you can estimate how long a battery will keep a router, an LED light, or a medical gadget running, and decide what to charge first and what to switch off to stretch the stored energy further.

Common mistakes

  • Confusing mAh with mA. Capacity (mAh) is how much charge is stored; draw (mA) is how fast it is used — check the unit on the label before entering a number.
  • Using the charger's maximum output as the draw. A charger rated at 2,000 mA does not mean your device draws 2,000 mA — enter the device's own typical draw, not the most its charger could supply.
  • Expecting nameplate capacity at high drain or from an old battery. Heavy loads and ageing both reduce usable capacity, so real runtime falls short — treat this calculator's result as the ideal upper figure, not a guarantee.
  • Forgetting converter losses. A power bank boosts its internal voltage up to USB voltage and loses some energy as heat in the process, so the charge your device actually receives is less than the printed capacity suggests.

Frequently asked questions

What do mAh and mA mean?

mAh (milliamp-hours) is how much charge the battery holds; mA (milliamps) is how fast the device drains it. Divide capacity by draw to get hours of runtime.

How do I find my device's current draw?

Check the charger's label or the device's spec sheet for its input current in mA or A (1 A = 1,000 mA). Power banks usually print the output per port.

What if the draw varies?

Use an average over your typical usage. A phone drawing 500 mA on calls but 150 mA idle needs its real-world average for a useful estimate.

Why is my real runtime shorter than the estimate?

This calculator gives the ideal figure for the numbers you enter: full rated capacity, a steady draw, and no losses. In real use, conversion inside a power bank wastes some energy as heat, batteries lose capacity as they age, and many devices draw more than their headline figure at full brightness or volume. Treat the result as a best case and expect a real session to end somewhat sooner.

Can I use this calculator for a battery rated in watt-hours?

Yes, after one conversion. Watt-hours measure energy rather than charge, and the two are linked by voltage: milliamp-hours = watt-hours ÷ volts × 1,000. Convert your battery's watt-hour rating at its stated voltage into milliamp-hours first, then enter that figure as the capacity here.

What happens if I enter the draw in amps instead of milliamps?

You will get a wildly optimistic answer, because 1 amp equals 1,000 milliamps. A device drawing 0.5 A must be entered as 500 mA; entering 0.5 tells the calculator the device sips charge a thousand times more slowly than it really does. Always convert amps to milliamps by multiplying by 1,000 before you calculate.

A second example, and how to read a very long runtime

Worked example: a bigger bank feeding a hungrier device

Now take a 10,000 mAh power bank powering a portable monitor that draws a steady 800 mA. Enter capacity 10000 and draw 800. The division is 10,000 ÷ 800 = 12.5, so the calculator reports 12.50 hours, shown in readable form as 12 hr 30 min, because the half hour in the decimal result is 30 minutes. Compare that with the first worked example on this page: this bank holds twice the charge of the 5,000 mAh bank, yet it runs out sooner, because the monitor draws more than three times as much current as the 250 mA device used there. Capacity alone never tells the story — the pair of numbers you enter does.

The same division also explains very small draws. A battery-powered sensor with a 2,000 mAh cell drawing 20 mA gives 2,000 ÷ 20 = 100 hours. This calculator stops at hours, so converting further is up to you: 100 ÷ 24 is about 4.17 days, which is 4 full days plus 4 hours, since 0.17 of a day is roughly 4 hours. Writing the result both ways makes a standby claim easier to sanity-check before you rely on it.

Comparing batteries fairly in the two fields

When choosing between two batteries for the same device, keep the draw field fixed and change only the capacity field. Because the draw stays the same, a battery with half as many milliamp-hours lasts half as long in the result, and one with double lasts twice as long. That proportion only holds at the same voltage, though: milliamp-hours count charge, not energy, so if the labels show different voltages, convert each battery through its watt-hour rating first, as described in the watt-hour question above, rather than comparing printed mAh numbers side by side.

How the readable time is rounded

The decimal hours are the exact division, rounded to two decimal places. The readable version keeps the whole hours and rounds the remaining fraction of an hour, multiplied by 60, to the nearest minute. So 7,000 mAh at a 600 mA draw gives 7,000 ÷ 600 = 11.67 hours, displayed as 11 hr 40 min. If a readable result looks a minute different from your own rough multiplication, that rounding step — not a different formula — is the reason.

Related calculators