Technology calculators

Battery Life Calculator

Updated Nov 17, 2026 By Infinity Calculator Formulas Sources
Rate
Solve For
Ready to calculate Battery Life — click Calculate or press Enter.
Primary Inputs
Usable capacity factor: 95%
Load Profile
Real-World Condition Adjustments
No derating applied (0%) · System efficiency: 100% (not applied)
Result
Estimated Battery Life
19.00 hours
19 hours · 1,140 minutes
~19.00 hours of runtime (of a 24-hour reference)
Adjustments Applied
    Capacity Breakdown
    StageValue
    Step-by-Step Solution

    Introduction

    This Battery Life Calculator tells you how long a battery will run your device. Just enter the battery capacity (in mAh or Ah) and how much current your device uses. The tool does the math and shows the answer in hours or minutes.

    You can also flip it around. Pick "Battery Capacity" to find out what size battery you need for a job. Pick "Load Current" to see how much current your device can use and still last as long as you want.

    Real batteries do not give you every drop of their power. So this calculator lets you choose your battery type, like lithium, AGM, gel, flooded lead acid, or NiMH. Each type has its own safe discharge limit built in. You can also adjust for a cold lead acid battery, add a buffer for an older battery, and allow for losses from an inverter or DC-DC converter. That gives you a runtime number closer to real life.

    If your device draws different amounts of power at different times, turn on Multi-Mode Load. Add each mode, like active and sleep, with its current draw and how much of the time it runs. The tool finds the average current for you.

    Every answer comes with a full step-by-step solution, a chart of where your capacity goes, and a list of the changes applied. It works for phone power banks, solar panel setups, RVs, drones, IoT sensors, and any other DC project.

    How to use our Battery Life Calculator

    Enter your battery size, how much current your device draws, and your battery type. The calculator shows how long your battery will last, how big a battery you need, or how much current you can draw, plus a full step-by-step solution.

    Solve For: Pick what you want to find: Battery Life, Battery Capacity, or Load Current. That box turns off and becomes your answer.

    Battery Capacity: Type the size of your battery from its label. Choose mAh for small devices or Ah for big batteries.

    Load Current: Type the average current your device pulls. Choose mA or A. If your device is rated in watts instead, convert the number to amps first.

    Battery Life: Type how many hours or minutes you need the battery to run. If you are solving for battery life, this menu just picks the unit for your answer.

    Battery Type: Pick your battery chemistry, like Lithium, AGM, Gel, Flooded, or NiMH. Each type has its own usable capacity, so this makes your result more real-world.

    Load Profile (Multi-Mode Load): Click this if your device uses different power at different times. Add each mode, its current, and the percent of time it runs. All percents must add up to 100%. The tool uses a weighted average to blend the modes together.

    Temperature Adjustment: For an AGM, Gel or Flooded battery that runs below 68°F (20°C), check this box and enter the battery's temperature. A lead acid battery loses about 1% of its capacity for each degree Celsius below about 20°C.2 The calculator takes that share off the capacity, for temperatures down to −22°F (−30°C). For other battery types the box is off, so enter the capacity the maker lists for your temperature instead.

    Battery Age Adjustment: Check this box if your battery is more than 6 months old. It adds a 10% safety buffer.

    System Efficiency: Check this box if you use an inverter or DC-DC converter, then type the efficiency percent. Most systems fall between 85% and 95%.

    Calculate and Reset: Click Calculate or press Enter to see your answer, a capacity breakdown chart, and the math steps. Click Reset to start over.

    What Is Battery Life?

    Battery life is how long a battery can power a device before it runs out. It depends on two main things: how much energy the battery holds (its capacity) and how fast the device uses that energy (its load current).

    Capacity and Load Current

    Battery capacity is measured in milliamp-hours (mAh) or amp-hours (Ah). A 2,000 mAh battery can give 2,000 mA for about one hour, or 200 mA for about ten hours. Load current is how many milliamps or amps your device pulls while it runs. Divide capacity by load current and you get run time in hours.

    Why Real Life Is Shorter

    You almost never get the full number printed on the battery. A few things cut it down:

    • Depth of discharge (DoD): Most batteries should not be drained all the way. Draining them fully can damage them or shorten their lifespan.
    • Temperature: Cold cuts how much a battery can deliver. A lead acid battery loses about 1% of its capacity for each degree Celsius below about 20°C.2 High heat makes a battery age faster instead.2 For running time, cold is the bigger problem.
    • Age: Every charge cycle wears a battery down. An older battery holds less than a new one.
    • System losses: Inverters, DC-DC converters, and even wires waste some power as heat. A 90% efficient inverter means 10% of the energy never reaches your device. Long or thin wiring adds its own loss.

    Usable Capacity by Battery Type

    Battery TypeSafe Usable Capacity
    Lithium (LiFePO4 / Li-Ion)About 95%
    AGM (Sealed Lead Acid)About 80%
    GelAbout 80%
    NiMH / NiCdAbout 70%
    Flooded Lead AcidAbout 50%

    So a 100 Ah flooded lead acid battery really gives you about 50 Ah of safe power. A 100 Ah lithium battery gives about 95 Ah. That is a big reason lithium costs more. In plain terms, 95 Ah is nearly double the usable energy for the same label rating.

    Duty Cycle and Mixed Loads

    Many devices do not pull the same current all the time. A sensor might use 500 mA while sending data and only 20 mA while sleeping. To find the true average, multiply each mode's current by the share of time it runs, then add the results. If a device is active 10% of the time at 500 mA and asleep 90% of the time at 20 mA, the average is 50 + 18 = 68 mA. This average is what sets real battery life.

    Tips for Longer Battery Life

    • Lower the load current. Turn off screens, radios, and sensors when they are not needed.
    • Keep batteries near room temperature.
    • Do not drain flooded lead acid batteries below half.
    • Add a safety buffer of 10–20% when sizing a new battery bank.
    • Use fewer conversion steps. Every converter loses some power.

    Where This Matters

    These same rules apply to phones, drones, RC cars, solar power systems, RV and boat house banks, backup power supplies, e-bikes, and battery-powered IoT sensors. The math is the same whether you are sizing a coin cell or a full off-grid battery bank.


    Formulas used

    Usable capacity after depth of discharge 2
    C_{usable} = C_{rated} \times DoD
    Capacity after real-world derating
    C_{derated} = \frac{C_{usable} \times k_T}{1 + d}, \quad k_T = 1 - 0.01 \times \max(0,\, 20 - T_{C}), \quad d = 0.10_{age}
    Effective load current including system losses
    I_{eff} = \frac{I}{\eta}
    Battery life (run time)
    t = \frac{C_{derated}}{I_{eff}} = \frac{C_{rated} \times DoD \times k_T \times \eta}{I \times (1 + d)}
    Required battery capacity
    C_{rated} = \frac{t \times I_{eff} \times (1 + d)}{DoD \times k_T} = \frac{t \times I \times (1 + d)}{\eta \times DoD \times k_T}
    Maximum load current
    I_{max} = \frac{C_{derated}}{t} \times \eta = \frac{C_{rated} \times DoD \times k_T \times \eta}{t \times (1 + d)}
    Weighted average current for multi-mode duty cycle
    I_{avg} = \sum_{i=1}^{n} I_i \times \frac{D_i}{100}, \quad \sum_{i=1}^{n} D_i = 100
    C-rate of the load
    C\text{-rate} = \frac{I}{C_{rated}}

    Frequently asked questions

    Why is my answer lower than the simple capacity divided by current?

    Because the calculator subtracts real-world losses. It applies your battery type's safe discharge limit first, then any cold, age, or efficiency adjustments you checked. A 100 Ah flooded battery only gives about 50 Ah of safe power, so the runtime is about half of the simple math.

    What is the difference between mAh and Ah?

    They measure the same thing at different scales. The SI prefix milli means one-thousandth, so 1 mAh is one-thousandth of an amp-hour and 1 Ah = 1,000 mAh.1 Small items like phones, power banks, and drones use mAh. Car, RV, solar, and marine batteries use Ah. The calculator switches between them for you when you change the unit menu.

    What efficiency percent should I use?

    Use 85% to 95% for most inverters and DC-DC converters. Cheap inverters run near 85%. Good pure sine inverters run 90% to 95%. If you power your device straight from the battery with no converter, leave the box unchecked.

    Which battery type should I pick if I do not know mine?

    Check the label for the battery chemistry.3 Rechargeable AA and AAA cells are usually NiMH. Lithium-ion (Li-ion) batteries are common in phones and laptops.3 Nickel cadmium (NiCd) rechargeables can look like AA or AAA batteries.3 If you truly cannot tell, pick Generic, but know that result is the best case and not real-world.

    Does a bigger battery always mean longer life?

    Usually yes, if the chemistry stays the same. But a 100 Ah lithium battery beats a 100 Ah flooded battery by a lot, because lithium safely gives about 95 Ah and flooded gives about 50 Ah. Chemistry matters as much as the number on the label.


    Sources

    1. Metric (SI) Prefixes. National Institute of Standards and Technology. Table of SI prefixes (milli, m, 10^-3). Accessed September 29, 2026.
    2. Honsberg C, Bowden S. Characteristics of Lead Acid Batteries. PVEducation. Photovoltaics Education Website, ch. 10.5, Depth of Discharge and Battery Capacity. Accessed November 17, 2026.
    3. Used Household Batteries. U.S. Environmental Protection Agency. Rechargeable Batteries table. Accessed November 17, 2026.