Battery Life Calculator
Estimate how long a battery lasts from its capacity (mAh) and the device load current (mA), with an adjustable efficiency factor.
Result
How to use this calculator
- Enter the battery capacity in mAh (printed on the cell, e.g. 3000 for a typical 18650).
- Enter the average current your device draws in mA — use the typical running draw, not the peak.
- Set the efficiency factor: 100% for a theoretical maximum, 80–90% for a healthy battery, 70% or lower for old/cold/high-drain conditions.
- Read the estimated runtime in hours and the human-readable days/hours/minutes breakdown.
About this calculator
This calculator estimates how long a battery will power a device from two numbers you can read off the spec sheet: the battery's rated capacity in milliamp-hours (mAh) and the average current the device draws in milliamps (mA). Because a milliamp-hour is defined as the charge delivered by one milliamp flowing for one hour, dividing capacity by load gives the runtime in hours directly. Real batteries never deliver 100% of their rated charge to the load, so an efficiency factor (typically 70–90%) accounts for voltage regulator losses, the Peukert effect at higher discharge rates, self-discharge, and the fact that devices stop working before the cell is fully empty. Lower the factor for old cells, cold temperatures, or high drain.
How it works — the formula
t (hours) = Capacity (mAh) × η ÷ Load (mA)
where η = efficiency factor (0–1)
C-rate = Load (mA) ÷ Capacity (mAh)A milliamp-hour is a unit of electric charge equal to one milliamp sustained for one hour (Q = I·t). Runtime is therefore charge divided by current. The efficiency factor η scales the rated capacity down to the charge actually delivered to the load under real conditions.
Worked examples
- Inputs:
- capacity=3000, load=150, efficiency=85
- Output:
- 3000 × 0.85 ÷ 150 = 17.00 hours
- Inputs:
- capacity=2000, load=100, efficiency=100
- Output:
- 2000 ÷ 100 = 20.00 hours
- Inputs:
- capacity=5000, load=500, efficiency=80
- Output:
- 5000 × 0.80 ÷ 500 = 8.00 hours
Limitations
- Assumes a constant average load; bursty or duty-cycled loads need an averaged current.
- Does not model the discharge voltage curve — runtime to a device's specific cut-off voltage may differ.
- The Peukert effect is approximated by the single efficiency factor, not modelled per-rate.
A planning estimate, not a guarantee. Verify critical applications (medical, safety) with a measured discharge test.
Frequently asked
What is the basic battery life formula?+
Why multiply by an efficiency factor?+
Does mAh capacity depend on voltage?+
What is the C-rate shown in the results?+
Can I use this for a phone or laptop battery?+
Why is my real runtime shorter than the calculator says?+
Related calculators
More tools you might like
Hand-picked tools that pair well with this one — same audience, same intent.
P = IV — compute power from voltage and current, or from voltage and resistance, or current and resistance.
Compute the kinetic energy of a moving object from its mass and speed. Result in joules with kcal and ft·lb conversions.
V = IR, P = IV = I²R = V²/R. Pick which two values you know and solve for the others.
Load watts + desired runtime hours + battery voltage → required battery capacity in Ah and Wh (with safety margin).
Cell voltage + cell capacity + series count + parallel count → pack voltage, capacity, and total energy.
How long to lose weight at a given daily calorie deficit. Enter current weight, goal weight, and daily deficit — get the target date, weekly loss rate, and a safety check against the CDC 1-2 lb/week guideline.