Battery Life Calculator by Current Draw

If you’ve measured how many milliamps your circuit pulls, you’re one division away from battery life. This battery life calculator by current draw handles the easy case, a constant load, and the one that trips people up: devices that sleep most of the time and wake briefly to work.

Load profile
85%
Covers cutoff voltage, self-discharge, temperature and aging. 85% suits most batteries in mild conditions.
Estimated battery life 65.9 days 1,582.07 hours
  • Average current1.343 mA
  • Duty cycle (time awake)1.67%
  • Usable capacity2,125 mAh
  • If it never slept26 h 34 min

Where the charge goes

Active
99.3%
Sleep
0.7%

How to Use the Battery Life Calculator by Current Draw

Enter your battery capacity in mAh and your device’s current draw in mA. If the device sleeps between tasks, switch to sleep/wake mode and add the sleep current and timings; the calculator works out the average current and the battery life.

  1. 01

    Battery capacity. Use the rated mAh from the datasheet. For reference, an 18650 lithium-ion cell is typically 2,500–3,500 mAh, an AA alkaline roughly 2,000–3,000 mAh at light loads, and a CR2032 coin cell about 220–240 mAh.

  2. 02

    Load profile. Choose Constant draw for anything that stays on, such as an LED, a motor or a display. Choose Sleep / wake cycle for microcontrollers and sensors that wake on a timer, do their job and go back to sleep.

  3. 03

    Active current (mA). The current while the device is running. Measure it with a multimeter in series or take it from the datasheet, and remember to include radio transmit peaks if your device has one.

  4. 04

    Sleep current and timing. Enter sleep current in microamps (1 mA = 1,000 µA), then how many seconds the device spends awake and asleep in each cycle. A sensor that wakes for 5 seconds every 5 minutes is 5 s active and 295 s asleep.

  5. 05

    Derating. The share of rated capacity you can realistically use. Keep 85% for typical conditions; lower it for cold weather, old cells or coin cells under pulsed loads.

Estimated battery life shows in hours, days or years depending on how long it is. Average current is the single number that decides battery life, so it’s the one to compare against your measurements. In sleep/wake mode, where the charge goes shows whether active time or sleep current is the bigger drain, which tells you where optimizing will pay off.

How the Battery Life Calculator by Current Draw Works

The battery life calculator by current draw divides the battery’s usable capacity by the average current your device draws. For a constant load, the average is simply the current you measured; for a sleep/wake cycle, it’s a time-weighted average of the two states.

Iavg (mA) = (Iactive × tactive + Isleep × tsleep) ÷ (tactive + tsleep)
Battery life (h) = (Capacity × Derating) ÷ Iavg

What each variable means

  • Iactive Current while awake or running, in milliamps (mA)
  • tactive Time awake per cycle, in seconds
  • Isleep Sleep current, converted from µA to mA (µA ÷ 1,000)
  • tsleep Time asleep per cycle, in seconds
  • Capacity Rated battery capacity, in mAh
  • Derating Usable share of capacity as a decimal (85% = 0.85)

Worked example: an ESP32 sensor node

An ESP32 board on a 2,500 mAh 18650 cell wakes for 5 s at 80 mA, then sleeps for 295 s at 10 µA. Derating is 85%.

  1. Iavg = (80 × 5 + 0.010 × 295) ÷ 300 ≈ 1.343 mA
  2. Usable: 2,500 × 0.85 = 2,125 mAh
  3. Life: 2,125 ÷ 1.343 ≈ 1,582 h ≈ 66 days

Run the same board without sleep and it lasts about 2,125 ÷ 80 ≈ 27 hours. Sleep is what turns a day into two months.

Factors that the inputs don’t capture on their own:

  • Short current spikes. Radio bursts can last milliseconds yet dominate the average. A power profiler or oscilloscope catches what a multimeter misses.
  • Regulators. A linear regulator’s own quiescent current adds to your sleep current. With a switching regulator, battery current differs from device current, so a power-based estimate is more accurate.
  • Cutoff voltage. Your device may brown out before the battery has delivered all of its rated capacity, especially with alkaline cells.
  • Self-discharge. For runtimes measured in months or years, the battery loses charge on its own, so lower the derating for very long deployments.

Average current is shown to three decimal places, and battery life switches between hours, days and years automatically.

Battery Life Calculator by Current Draw FAQs

Practical answers on mA-based runtime, sleep current and measuring real draw.

How do I calculate battery life from current draw?

Divide the capacity in mAh by the current in mA to get hours. A 2,000 mAh battery powering a 100 mA load lasts about 20 hours in theory, or roughly 17 hours after an 85% derating for real-world losses.

How do I measure my device’s current draw?

Put a multimeter in series with the battery’s positive lead and use the mA range for running current and the µA range for sleep current. Multimeters can miss fast spikes, and their internal resistance can upset low-voltage circuits, so a dedicated power profiler gives more reliable numbers for sleep-heavy designs.

What derating factor should I use?

85% is a sensible starting point for most rechargeable and alkaline batteries in mild conditions. Go down to 70% or lower for cold environments, aging cells, or coin cells feeding pulsed loads, where usable capacity drops sharply.

Why does my battery die faster than the calculation says?

Usually because the real average current is higher than the numbers entered. Radio transmit bursts, status LEDs, sensors left powered and regulator quiescent current all add up, so measure across a full wake/sleep cycle and compare it with the calculator’s average current.

Does battery voltage matter when calculating from current?

Not when the device draws its current straight from the battery or through a linear regulator, because battery current then equals device current. If a switching regulator sits in between, the two differ, so work from power instead with the battery life calculator in watts.

Can the calculator handle microamp sleep currents?

Yes. Enter sleep current in µA and the calculator converts it to mA for you. When the average gets very low, runtimes can stretch to years, and at that point self-discharge and shelf life, not your circuit, often set the real limit.

Precision Engineering Suite

Tools Showcase: More Battery Calculators

Explore our companion calculators designed for different battery metrics, voltage curves, and duty-cycle load profiles.

Power Load (W)

Battery Life Calculator in Watts

Calculate battery endurance from total load wattage, including inverter efficiency losses and Depth of Discharge.

Best for: RVs, solar systems, vans & home backup
Capacity (Ah)

Battery Life Calculator in Ah

Estimate runtime from amp-hour capacity and continuous draw, compensated for high-rate Peukert discharge losses.

Best for: Deep-cycle, marine & trolling motors
Energy (Wh)

Battery Life Calculator in Wh

Determine usable runtime and total recharge cycles for watt-hour rated batteries and portable power banks.

Best for: Power stations, laptops & power banks
Voltage (V)

Battery Life Calculator by Voltage

Translate resting multimeter voltage readings into state of charge (SoC %) and remaining operational runtime.

Best for: 12V / 24V / 48V Lead-Acid & LiFePO4