A 500 mAh battery at 2.4 mA average draw lasts about 167 hours if 80% of its charge is usable. Use measured battery-side current for a practical estimate.
How it works
Estimated runtime in hours equals capacity in mAh × usable percentage ÷ 100 ÷ average battery-side current in mA. The result is a charge-budget estimate. Age, temperature, voltage cutoffs, and discharge rate affect usable capacity.
- Enter the rated battery capacity in mAh.
- Enter average current measured at the battery over a representative operating cycle.
- Adjust the usable capacity percentage to reflect your measured or expected usable charge.
Worked example
With battery capacity 2,000 mAh, average battery-side current 12.5 mA, usable capacity 90 % (all other inputs at their defaults), the Battery Life Calculator returns Estimated runtime: 144 hr; Runtime in days: 6 days; Usable capacity: 1,800 mAh.
When should I size a battery with this calculator?
Use this calculator early in a design, before you choose a cell. Enter the capacity you are considering and the average current your device draws, and the output shows whether the target runtime is realistic. It also helps compare two capacities on the same load, such as a larger cell that adds weight against a smaller one that runs for less time. Running the numbers before prototyping keeps a sizing problem from surfacing after the enclosure is built.
How do I interpret hours and days?
The hours figure assumes a steady average draw. Days are the hours divided by 24, so a result of several days still means continuous operation at the same average. For a device that cycles between sleep and active modes, the value you enter must be the time-weighted average over a full cycle, not the peak draw. Treat the result as a planning figure. Real runtime is often shorter in cold conditions or as a battery ages, so build margin into the design.
What input errors skew the runtime?
Entering rated capacity without adjusting the usable percentage overstates runtime, because the calculation assumes only part of the charge can be drawn. Using a peak current figure instead of the average understates runtime and can lead to an unnecessarily large battery. Current measured after a regulator may not match the battery side once conversion losses are counted. Keep units consistent as well, since a value entered as Ah instead of mAh is off by a factor of a thousand.
Sample results for the Battery Life Calculator
These scenarios were produced by this page’s own formula, changing one input at a time. They are illustrations, not advice or a quote.
| Battery capacity | Estimated runtime | Runtime in days |
|---|---|---|
| 425 mAh | 141.6667 hr | 5.9028 days |
| 460 mAh | 153.3333 hr | 6.3889 days |
| 500 mAh (default) | 166.6667 hr | 6.9444 days |
| 540 mAh | 180 hr | 7.5 days |
| 575 mAh | 191.6667 hr | 7.9861 days |
| Average battery-side current | Estimated runtime | Runtime in days |
|---|---|---|
| 2.04 mA | 196.0784 hr | 8.1699 days |
| 2.21 mA | 180.9955 hr | 7.5415 days |
| 2.4 mA (default) | 166.6667 hr | 6.9444 days |
| 2.59 mA | 154.4402 hr | 6.435 days |
| 2.76 mA | 144.9275 hr | 6.0386 days |
Frequently asked questions
How do I calculate average current for a device that sleeps?
Multiply each mode current by the fraction of time spent in that mode, then sum the results. Include wake-up, transmission, and idle periods where relevant.
Can I use current measured after a voltage regulator?
Use battery-side current. A switching regulator can draw a different current than the load because input voltage, output voltage, and efficiency differ.
Does this show whether a battery can handle peak current?
No. This calculator estimates runtime from average current. Check peak current and discharge limits separately against the cell and protection specifications.
Do I enter capacity in mAh or Ah?
Enter it in mAh. A battery labeled in Ah needs multiplying by 1000 first, so 2.2 Ah becomes 2200 mAh. Current also needs to be in mA, so a 0.5 A draw becomes 500 mA. Mixing units produces results off by a factor of a thousand.
Why does the result differ from the rated life on a datasheet?
Datasheet ratings are measured under specific conditions, such as a fixed temperature and discharge rate. Your device may draw at a different rate or run in cooler or warmer conditions, which changes usable capacity. Treat the calculator result as a planning figure and test the real device to confirm.
Does this work for rechargeable cells?
Yes. The formula does not depend on chemistry. For a rechargeable cell, enter the capacity you expect after aging, and lower the usable percentage if the cell has lost capacity over many cycles. The output is still a charge-budget estimate for one discharge.
How is the Battery Life Calculator calculated?
Estimated runtime in hours equals capacity in mAh × usable percentage ÷ 100 ÷ average battery-side current in mA. The result is a charge-budget estimate. Age, temperature, voltage cutoffs, and discharge rate affect usable capacity.
What do I need to enter in the Battery Life Calculator?
Inputs: Battery capacity (mAh), Average battery-side current (mA), Usable capacity (%). Change any value and the result updates immediately. Optional inputs can be left at their defaults.
What results does the Battery Life Calculator show?
It shows Estimated runtime, Runtime in days and Usable capacity, computed from the inputs above.
Is Battery Life Calculator free and private?
Yes. It is free, needs no account and runs in your browser, so the values you enter are not sent to a server.