Battery Life Calculator
Estimate battery life, required battery capacity, or average current from duty cycle for portable electronics, embedded devices, sensors, LED systems, and battery-powered prototypes.
The result is a first-pass engineering estimate based on nominal capacity, average current, and usable battery efficiency. Real products still need validation against battery chemistry, temperature, aging, discharge rate, and cutoff voltage.
Engineering tool
Battery Life Calculator
Estimate battery life, required battery capacity, or average current from duty cycle with engineering-unit conversion.
Nominal or usable battery capacity.
Average current drawn by the circuit.
Usable capacity or conversion efficiency from 1% to 100%.
Battery Life
20 h
Estimate assumes constant average current and usable battery capacity.
Result console
- Battery life
- 20h
- Battery life
- 1,200min
- Battery life
- 20h
- Battery life
- 0.833333days
- Battery capacity
- 3Ah
- Load current
- 150mA
- Battery efficiency
- 100%
- Formula used
- t = Capacity × η / I
This result assumes constant average current and nominal battery capacity. Real runtime depends on chemistry, temperature, aging, cutoff voltage, discharge rate, and load profile.
Formula reference
Battery Life Formulas
Use amp-hours, amperes, hours, efficiency as a 0 to 1 factor, and duty cycle as a 0 to 1 factor internally.
t = Capacity × η / ICapacity = I × t / ηIavg = Iactive × D + Istandby × (1 − D)Variable definitions
- Capacity
- Battery capacity in Ah or mAh
- I
- Average load current in A or mA
- Iavg
- Average current from active and standby states
- Iactive
- Current during active operation
- Istandby
- Current during sleep, idle, or standby operation
- t
- Battery life or runtime in hours
- η
- Battery efficiency or usable capacity factor
- D
- Duty cycle as a fraction from 0 to 1
Variable Description
- Capacity
- Available battery charge, commonly entered in mAh or Ah.
- Current
- Load current drawn by the circuit, usually measured as average current.
- Average Current
- Equivalent constant current calculated from active and standby operating states.
- Runtime
- Target operating time or calculated battery life.
- Efficiency
- Usable capacity factor that accounts for conversion loss, cutoff reserve, and practical derating.
- Duty Cycle
- Percentage of time spent in active operation.
- Battery Life
- Ideal operating time before usable capacity is consumed.
Worked Examples
Battery Life
Capacity = 3000 mAh, load = 150 mA, efficiency = 100%
Battery life = 20 hours
Battery Life with Efficiency
Capacity = 2 Ah, load = 500 mA, efficiency = 90%
Battery life = 3.6 hours
Required Capacity
Runtime = 24 hours, average current = 120 mA, efficiency = 90%
Capacity ≈ 3.2 Ah
Average Current from Duty Cycle
Active = 200 mA, standby = 5 mA, duty = 20%
Average current ≈ 44 mA
Battery Capacity
Nominal capacity is usually specified at a defined discharge current, temperature, and cutoff voltage.
Average Current
Average current is often more useful than peak current for estimating battery life in duty-cycled electronics.
Duty Cycle
Duty cycle can dramatically reduce average current when active time is short and standby current is low.
Battery Runtime Estimation
Runtime estimates are most accurate when the load profile and usable capacity are measured.
Battery Efficiency
Efficiency can represent converter loss, capacity reserve, or usable discharge depth.
Constant Current Assumption
This calculator assumes the average current remains constant over the discharge period.
Battery Aging
Rechargeable batteries lose capacity with cycle count, calendar age, and operating temperature.
Temperature Effects
Cold temperatures reduce available capacity, while hot operation accelerates degradation.
Battery Chemistry Differences
Lithium-ion, NiMH, and lead-acid batteries have different discharge curves and usable capacity behavior.
Cutoff Voltage
Many systems stop operating before the battery is fully discharged because regulators or protection circuits need minimum voltage.
Common Mistakes
Treating mAh as mA
Verify units, derating, load profile, and battery datasheet conditions before using the estimate for production design.
Ignoring battery efficiency or usable capacity
Verify units, derating, load profile, and battery datasheet conditions before using the estimate for production design.
Ignoring standby current in long-life products
Verify units, derating, load profile, and battery datasheet conditions before using the estimate for production design.
Entering duty cycle as a fraction instead of a percent
Verify units, derating, load profile, and battery datasheet conditions before using the estimate for production design.
Assuming nominal capacity can always be fully discharged
Verify units, derating, load profile, and battery datasheet conditions before using the estimate for production design.
Ignoring temperature effects
Verify units, derating, load profile, and battery datasheet conditions before using the estimate for production design.
Ignoring battery aging and cycle-life capacity loss
Verify units, derating, load profile, and battery datasheet conditions before using the estimate for production design.
Ignoring cutoff voltage and regulator dropout
Verify units, derating, load profile, and battery datasheet conditions before using the estimate for production design.
Support reference
FAQ
How is battery life calculated?
Battery life is estimated by multiplying battery capacity by usable efficiency and dividing by average load current.
Why does actual battery life differ from the calculator?
Actual runtime depends on battery chemistry, temperature, discharge rate, aging, cutoff voltage, standby leakage, and the real load profile.
What is battery efficiency?
Battery efficiency represents the usable portion of nominal capacity after conversion losses, cutoff voltage limits, and system reserve are considered.
Does temperature affect battery life?
Yes. Low temperature commonly reduces usable capacity and voltage performance, while high temperature accelerates battery aging.
How do I estimate average current?
For duty-cycled systems, multiply active current by active duty cycle and standby current by standby duty cycle, then add the two currents.
What is duty cycle?
Duty cycle is the percentage of time the circuit spends in an active state compared with the complete operating cycle.
Can I use this for lithium batteries?
Yes, for an initial capacity-based estimate. Verify the lithium cell discharge curve, protection cutoff, load peaks, and manufacturer ratings.
Is mAh the same as mA?
No. mAh is battery capacity, while mA is current. A 3000 mAh battery supplying 150 mA gives an ideal 20 hour runtime before losses.
Related Engineering Guides
Planned Engineering Guide
How Battery Life Is Calculated
Planned Engineering Guide
Understanding mAh vs Ah
Planned Engineering Guide
Duty Cycle Explained
Planned Engineering Guide
Battery Capacity vs Energy
Related Calculators
Battery Runtime Calculator
Estimate runtime and required capacity from Active, Idle, and Sleep duty-cycle load profiles.
AvailablePower Calculator
Calculate voltage, current, or electrical power from P = V × I.
AvailableEfficiency Calculator
Calculate input power, output power, efficiency, and losses.
AvailableLED Power Calculator
Calculate LED power, supply power, and circuit power for LEDs and arrays.
AvailableBattery Energy Calculator
Calculate battery energy, required capacity, or nominal voltage from Wh, Ah, mAh, and voltage.
AvailableBattery Capacity Converter
Convert battery capacity between µAh, mAh, Ah, and coulombs.
AvailableBattery Charging Time Calculator
Estimate battery charging time, required charging current, or added capacity from SOC and efficiency.
AvailableBattery Discharge Calculator
Estimate discharge time, remaining usable capacity, or runtime-based average current from SOC and load current.
AvailableBattery Pack Voltage Calculator
Calculate series battery pack nominal voltage, full-charge voltage, cutoff voltage, and required cell count.
Engineering Disclaimer
This battery life calculator provides estimation values for early design and education. Real battery-powered products must validate chemistry, discharge curves, temperature, aging, protection cutoff, load profile, converter efficiency, and safety requirements.
