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 a different safe discharge limit built in. You can also add buffers for cold or hot weather, an older battery, and 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, run the number through the Watts to Amps Calculator 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 a different 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: Check this box if the battery works in very cold or very hot places. It adds a 5% safety buffer.
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. If you only know voltage and resistance, the Ohm's Law Calculator will get you the current, and the Amp Calculator works from a wattage rating.
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: Very cold or very hot air makes a battery weaker. 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, which you can check with the Voltage Drop Calculator and the Wire Size Calculator.
Usable Capacity by Battery Type
| Battery Type | Safe Usable Capacity |
|---|---|
| Lithium (LiFePO4 / Li-Ion) | About 95% |
| AGM (Sealed Lead Acid) | About 80% |
| Gel | About 80% |
| NiMH / NiCd | About 70% |
| Flooded Lead Acid | About 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. To compare that gap in plain percentage 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. A Power Consumption Calculator helps you spot the biggest draws.
- Keep batteries near room temperature.
- Do not drain 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. For related sizing jobs, try the Generator Sizing Calculator for backup power, the PSU Calculator for computer builds, the LED Resistor Calculator for small circuits, and the kWh Calculator or Electricity Cost Calculator when you want to know what the recharging actually costs.