Battery Life Calculator

You can use Utmel's battery life calculator to estimate the battery life of your devices based on battery capacity and system usage. Based on nominal battery capacity and the average current drawn by a load, this battery life calculator predicts how long a battery would last. Although Watt-hours (Wh) is sometimes used, battery capacity is usually measured in Amp-hours (Ah) or milliamp-hours (mAh).

Battery Life

Battery Capacity
Device Consumption
Battery Life Formula

Battery Life = Battery Capacity in mAh / Load Current in mAh

Estimated
=

* This is an estimated output, based on ideal conditions.

Introduction

How long will a battery last under a specific load? Learn how to calculate battery life.

Calculating Battery Life

Battery Life Calculator

Use this calculator to estimate how long a battery can power a device from the battery's capacity and the device's average current consumption. Enter capacity and current in compatible units, then apply a usable-capacity or reserve adjustment when appropriate.

This calculator estimates runtime per charge or per battery. It does not predict cycle life, calendar life, service life, state of health, or the number of times a rechargeable battery can be charged. Actual runtime depends on battery chemistry, discharge rate, temperature, cutoff voltage, age, self-discharge, load profile, converter efficiency, and other system conditions.

How to Use the Battery Runtime Calculator

  1. Find the battery capacity at conditions relevant to the application, preferably from the manufacturer datasheet.

  2. Measure or estimate the device's average current drawn from the battery.

  3. Use matching units: Ah with A, or mAh with mA.

  4. Enter a usable-capacity percentage or reserve percentage if the calculator supports it.

  5. Calculate the estimated runtime.

  6. Check the estimate against the battery's discharge curves, device cutoff voltage, peak-current behavior, temperature range, and converter efficiency.

Basic Battery Life Formula

For an ideal constant-current load:

Runtime in hours = Battery capacity in Ah ÷ Load current in A

The same formula works directly with milliamp-hours and milliamps:

Runtime in hours = Battery capacity in mAh ÷ Load current in mA

If only a fraction of nominal capacity is expected to be usable:

Estimated runtime = Nominal capacity × Usable fraction ÷ Average current

If the interface uses a reserve or “discharge safety” percentage r, then usable fraction = 1 − r, with r expressed as a decimal.

Example: Constant Current Load

A 3,000 mAh battery supplies a device drawing 150 mA continuously:

Ideal runtime = 3,000 mAh ÷ 150 mA = 20 h

If the design assumes that only 80% of nominal capacity is usable:

Estimated runtime = 3,000 × 0.80 ÷ 150 = 16 h

The 80% value is an engineering assumption, not a universal battery rule. Select it from application requirements and battery data.

Battery Capacity and Current Units

QuantityUnitRelationship
CurrentA1 A = 1,000 mA = 1,000,000 µA
Charge capacityAh1 Ah = 1,000 mAh
Charge capacitymAh1 mAh = 1,000 µAh
EnergyWhNominal Wh ≈ Nominal V × Ah
PowerWW = V × A for DC values

Ampere-hour measures electric charge, while watt-hour measures energy. A 2 Ah battery does not have a complete energy rating until voltage is included. A nominal 3.7 V, 2 Ah battery has a nominal energy of approximately 7.4 Wh, but actual delivered energy depends on its voltage curve and cutoff conditions.

Convert Watt-Hours and Ampere-Hours

At a stated nominal voltage:

Wh ≈ V × Ah

Ah ≈ Wh ÷ V

These are nominal conversions. Battery voltage changes with state of charge, load, temperature, and chemistry. For systems with regulators or inverters, an energy-based calculation is often more useful than dividing Ah by load-side current.

Average Current for Duty-Cycled Devices

Devices such as wireless sensors may alternate among transmit, processing, idle, and sleep states. Calculate time-weighted average current over one complete operating cycle:

Iavg = (I1t1 + I2t2 + ... + Intn) ÷ T

where T is the total cycle time and the state times add to T. An equivalent duty-cycle form is:

Iavg = I1D1 + I2D2 + ... + InDn

Example: Active and Sleep Current

A sensor draws 80 mA for 5 seconds and 0.2 mA for the remaining 55 seconds of every minute:

Iavg = (80 × 5 + 0.2 × 55) ÷ 60 = 6.85 mA

With a nominal 2,400 mAh battery:

Ideal runtime = 2,400 ÷ 6.85 = 350.365 h = 14.5985 days

This ideal estimate excludes self-discharge, capacity derating, startup current, regulator loss, and battery voltage limits. For long-life devices, even small sleep, leakage, sensing, and regulator quiescent currents can materially change the result.

Energy-Based Runtime Calculation

When the device is powered through a DC-DC converter or inverter, estimate runtime from energy and power:

Runtime in hours = Usable battery energy in Wh ÷ Average battery-side power in W

For a converter delivering output power Pload with efficiency η:

Pbattery ≈ Pload

Converter quiescent power and other battery-side loads should be added separately.

Example: Battery Through a Converter

A nominal 12 V, 7 Ah battery has approximately 84 Wh of nominal energy. It powers a 10 W load through a converter with 90% efficiency:

Pbattery = 10 W ÷ 0.90 = 11.1111 W

Ideal runtime = 84 Wh ÷ 11.1111 W = 7.56 h

This result assumes all nominal energy is usable and omits converter standby consumption. Apply the battery's discharge data and required reserve to obtain a more realistic estimate.

Factors That Change Actual Battery Runtime

FactorWhy It Matters
Battery chemistryDifferent chemistries have different voltage curves, rate capability, self-discharge, and usable operating ranges.
Discharge rateAvailable capacity can change with current; high current also increases voltage sag and internal heating.
TemperatureLow or high temperature can reduce usable capacity and change internal resistance.
Cutoff voltageThe device or BMS may stop operation before the battery reaches the endpoint used for its rated capacity.
Age and usage historyStorage, calendar aging, and previous cycling can reduce available capacity.
Self-dischargeBattery charge is lost internally over time, which matters most in long-duration, low-current applications.
Peak currentA short high-current pulse may cause voltage to fall below the device cutoff even when average current is low.
Power conversionRegulator efficiency and quiescent current vary with input voltage and load.
Protection and monitoringBMS, indicator, sensing, and balancing circuits consume energy and impose operating limits.

Why Battery Size Does Not Define One Capacity

Labels such as AA, AAA, 9 V, and CR2032 describe a form factor or battery designation, not one universal capacity. Products with the same physical size may use different chemistries and may be rated at different currents, temperatures, and cutoff voltages. Do not use a generic capacity table when a reliable runtime estimate is required.

Use the exact manufacturer's datasheet and discharge curve for the selected part number. Match the curve's load, temperature, and endpoint voltage to the application as closely as possible.

Lead-Acid Batteries and Peukert Behavior

Lead-acid battery capacity is often specified at a stated hour rate. Higher discharge current can reduce the effective capacity and runtime. Peukert-type models can improve estimates when the manufacturer supplies an appropriate exponent or battery-monitor configuration, but the simple Ah/current calculator does not automatically model this effect.

Do not apply one generic Peukert exponent to every battery chemistry. Use the battery manufacturer's data or a validated battery model.

Batteries in Series and Parallel

ConnectionNominal VoltageAh CapacityNominal Energy
Two identical batteries in seriesVoltage doublesSame as one batteryApproximately doubles
Two identical batteries in parallelSame as one batteryCapacity approximately doublesApproximately doubles

For example, two identical nominal 12 V, 100 Ah batteries contain approximately 2,400 Wh in either a 24 V, 100 Ah series arrangement or a 12 V, 200 Ah parallel arrangement.

Only connect batteries in series or parallel when the manufacturer permits it. Follow limits for battery type, count, matching, fusing, cable sizing, charging, balancing, and BMS configuration. Mixing batteries with different chemistry, voltage, capacity, age, or state of charge can be hazardous.

Runtime Estimate Checklist

  • Use capacity for the exact battery part number and relevant discharge conditions.

  • Measure battery-side current over a representative complete operating cycle.

  • Include sleep current, startup events, communication retries, indicators, sensors, and regulator quiescent current.

  • Check whether peak load causes unacceptable voltage sag.

  • Use the actual device cutoff voltage and BMS limits.

  • Apply temperature, age, self-discharge, and capacity reserve assumptions.

  • For regulated systems, include efficiency across the expected battery-voltage range.

  • Validate the estimate with bench measurements and representative batteries.

Common Battery Life Calculation Mistakes

  • Using peak current instead of time-weighted average current, or ignoring peak current entirely.

  • Mixing Ah with mA or mAh with A without converting units.

  • Treating nominal Wh as fully usable energy.

  • Ignoring regulator efficiency and quiescent current.

  • Using a capacity value for the wrong discharge rate, temperature, or cutoff voltage.

  • Assuming every battery of the same physical size has the same capacity.

  • Confusing runtime with rechargeable cycle life.

  • Predicting multi-year runtime without accounting for self-discharge and calendar aging.

Battery Life FAQ

How long will a 2,000 mAh battery last?

Under an ideal constant 100 mA load, 2,000 mAh ÷ 100 mA = 20 hours. Actual runtime may be shorter or occasionally different because usable capacity depends on battery and system conditions.

Can I divide mAh by mA directly?

Yes. mAh divided by mA gives hours because the milli prefix cancels. Do not divide mAh by A without first converting one of the units.

Should I use average or maximum current?

Use time-weighted average battery current for the basic capacity estimate, but separately verify that the battery can support maximum and pulse currents without excessive voltage sag, heating, or protection trips.

Why did the measured runtime differ from the calculation?

The simple formula assumes a constant load and fully usable rated capacity. Real batteries and devices add discharge-rate effects, voltage cutoff, temperature, aging, self-discharge, pulsed loads, and conversion losses.

Is watt-hour or ampere-hour better for runtime calculations?

Ampere-hour is convenient when battery voltage and battery-side current are compatible and relatively direct. Watt-hour is often better when voltage changes significantly or when converters separate battery voltage from load voltage.

Does a higher-capacity battery always run longer?

Under otherwise identical and permitted conditions, more usable capacity generally increases runtime. Compatibility, voltage, discharge capability, physical limits, charging method, and protection requirements must also be satisfied.

Can this calculator predict battery cycle life?

No. Cycle life depends on chemistry, depth of discharge, charge protocol, temperature, current, voltage limits, and aging. Use manufacturer cycle-life data for that purpose.

References

Frequently Asked Questions

How do you calculate how long a battery will last?

To determine how long your battery will last, calculate the battery's total capacity and divide it by your circuit's power. Multiply the battery's reserve capacity by 60. With a reserve capacity, for instance, of 120: 120 x 60 = 7,200.

How long does a 5000mAh battery last?

How many hours does 5000mAh last? For 5,000 mAh generally means you can expect to get 100 mA for about 50 hours usage, or 10 mA for 500 hours, or 1 mA for 5,000 hours.

Is a 4000mAh battery good?

A 4,000mAh battery on a smartphone will ensure the phone should last well over a day depending on how heavily you use it. Here too, it's important to have fast charging not because not only could you need it in emergencies, but a 4,000mAh battery without fast charging will take ages to charge to full capacity.

Is it better to have a higher mAh?

mAh means milliamp Hour and is a unit that measures (electric) power over time. It is commonly used to measure the energy capacity of a battery. In general, the more mAh and the longer the battery capacity or battery life. A higher number means that the battery can store more energy, so it has a higher capacity.

Is 50000mAh power bank allowed in flight?

It DOES have to be carried on, it CANNOT be checked under the plane.

How can I improve my battery life?

Let your screen turn off sooner. Reduce screen brightness. Set the brightness to change automatically. Turn off keyboard sounds or vibrations. Restrict apps with high battery use. Turn on adaptive battery or battery optimization. Delete unused accounts.

At what percentage should I charge my phone?

The Best Thing to Do: Plug it in when the phone is between 30-40%. Phones will get to 80% quickly if you're doing a fast charge. Pull the plug at 80-90%, as going to full 100% when using a high-voltage charger can put some strain on the battery. Keep the phone battery charge between 30-80% to increase its lifespan.

How much can a 20000mAh charge?

With a 20,000mAh power bank (actual capacity: 13,300mAh), you can charge tablets and laptops about 1.5 times.

Is it OK to use phone while charging?

There is no danger in using your phone while it's charging. Charging tip: While you can use it during a charge, having the screen on or apps refreshing in the background uses power, so it will charge at half the speed. If you want your phone to charge more quickly, put it in airplane mode or turn it off.

How many hours does 10000mah last?

about 71 hours It is about 71 hours. If you're talking about a power bank with a conversion and charging process, the efficiency is about 60 percent. The phone's battery is likely to be more than 3000mAh.
Hot products

ImagePart NumberManufacturerCategoryPackage/CaseDescriptionPriceQuantityBuy/Quote
BLM18PG121SN1DBLM18PG121SN1DMurata ElectronicsFerrite Beads and Chips0603 (1608 Metric)MURATA - BLM18PG121SN1D - Ferrite Bead, 0603 [1608 Metric], 120 ohm, 2 A, BLM18P Series, 0.05 ohm, ± 25%-

In stock : 355131

Minimum: 1

TP3420AV309TP3420AV309Texas InstrumentsInterface - Telecom20-LCC (J-Lead)IC TELECOM INTERFACE 20PLCC-

In stock

Minimum: 1

2920L185DR2920L185DRLittelfuse Inc.PTC Resettable Fuses2920 (7351 Metric), ConcavePTC RESET FUSE 33V 1.85A 2920-

In stock : 7500

Minimum: 1

19-217/R6C-AL1M2VY/3T19-217/R6C-AL1M2VY/3TEverlight Electronics Co LtdLED Indication - Discrete0603 (1608 Metric)LED RED CLEAR 2SMD-

In stock : 6070

Minimum: 1

MPZ2012S102AT000MPZ2012S102AT000TDK CorporationFerrite Beads and Chips0805 (2012 Metric)TDK - MPZ2012S102AT000 - FERRITE BEAD, 0.15OHM, 1.5A, 0805-

In stock : 51745

Minimum: 1

MC33153PMC33153PON SemiconductorPMIC - Gate Drivers8-DIP (0.300, 7.62mm)IC DRIVER GATE SINGLE IGBT 8DIP-

In stock

Minimum: 1

SE2537L-RSE2537L-RSkyworks Solutions Inc.RF Amplifiers16-VFQFN Exposed PadRF Amplifier 5GHz Gain 30 dB 3.3Volt -10C 85C-

In stock

Minimum: 1

SKY81294-14-001SKY81294-14-001Skyworks Solutions Inc.PMIC - LED Drivers9-BGA, WLCSPIC LED FLASH DVR 1.2V 9CSP-

In stock

Minimum: 1

SKY65084-360LFSKY65084-360LFSkyworks Solutions Inc.RF Amplifiers8-VFDFN Exposed PadIC AMP 1.5-2.4GHZ LN 8QFN-

In stock

Minimum: 1

HMC588LC4BTRHMC588LC4BTRAnalog Devices Inc.RF Misc ICs and Modules24-TFQFN Exposed PadIC OSC VCO WIDEBAND 24SMD-

In stock

Minimum: 1

MC1458DMC1458DON SemiconductorLinear - Amplifiers - Instrumentation, OP Amps, Buffer Amps8-SOIC (0.154, 3.90mm Width)IC OPAMP GP 2 CIRCUIT 8SOIC-

In stock

Minimum: 1

80HCPS1432CRM80HCPS1432CRMRenesas Electronics America Inc.Specialized ICs576-BBGA, FCBGAIC SER RAPIDIO SWITCH 576FCBGA-

In stock

Minimum: 1

MAX16816ATJ MAX16816ATJ Maxim IntegratedPMIC - LED Drivers32-WFQFN Exposed PadIC, LED DRIVER, BUCK-BOOST, TQFN-32-

In stock

Minimum: 1

DS21Q48NDS21Q48NMaxim IntegratedInterface - Telecom144-BBGAIC LIU E1/T1/J1 4X 5V LONG144BGA-

In stock

Minimum: 1

ALT6702RM45Q7ALT6702RM45Q7Skyworks Solutions Inc.RF Amplifiers-IC RF AMP CELLULAR SMD-

In stock

Minimum: 1

LQH2HPN4R7MGRLLQH2HPN4R7MGRLMurata ElectronicsFixed Inductors1008 (2520 Metric)Fixed Inductors 1008 4.7uH 1000mA /-20%-

In stock

Minimum: 1

VLS252012HBX-2R2M-1VLS252012HBX-2R2M-1TDK CorporationFixed Inductors1008 (2520 Metric)FIXED IND 2.2UH 2.3A 102 MOHM-

In stock : 19980

Minimum: 1

GRM188R61A106KAALDGRM188R61A106KAALDMurata ElectronicsCeramic Capacitors0603 (1608 Metric)CAP CER 10UF 10V X5R 0603
  • 1:$0.011872

In stock : 897263

Minimum: 5

GRM0335C1E102GA01DGRM0335C1E102GA01DMurata ElectronicsCeramic Capacitors0201 (0603 Metric)CAP CERAMIC 0.001UF 25V C0G 2% P-

In stock

Minimum: 1

EEF-CS1E150REEF-CS1E150RPanasonic Electronic ComponentsAluminum - Polymer Capacitors2917 (7343 Metric)Aluminum Organic Polymer Capacitors 15uF 25volt-

In stock

Minimum: 1