Battery Life Estimator – mAh, Sleep Current & Runtime
NEWBattery life estimator: get runtime in hours and days from capacity (mAh or Wh), average or sleep/active duty-cycled current and a derating factor. Free, in-browser.
Runs 100% in your browser — your input is never uploaded or stored on our servers.
Typical value. Rated at about 0.2 mA; high pulse currents reduce usable capacity. Use your datasheet capacity when you have it.
0.7–0.85 is a common allowance for cut-off voltage, temperature, ageing and self-discharge. Use 1 for the ideal figure.
6010 h · 250.4 days · 0.686 years
- Average current
- 29.95 µA
- Usable capacity
- 180 mAh
- Duty cycle
- 0.166 %
I_avg = (I_active·t_active + I_sleep·t_sleep) / (t_active + t_sleep)
= (15 mA × 100 ms + 5 µA × 60 s) / period
= 29.95 µA
runtime = 225 mAh × 0.8 / 0.02995 mA = 6010 hAn estimate, not a guarantee: real capacity falls at high or pulsed currents and in the cold, and lithium coin cells struggle with peaks above a few mA. Verify against the datasheet for your exact battery.
Quick Examples
Typical inputs and the results this tool produces.
Overview
How long will a coin cell keep a sensor node alive, or how many hours will an 18650 run a robot? This battery life estimator divides the usable battery capacity by the average current your circuit draws and shows the runtime in hours, days and, for low-power designs, years.
Most battery-powered microcontroller projects sleep most of the time and wake briefly to measure or transmit. In duty-cycle mode you enter the active current and time and the sleep current and time; the tool works out the weighted average current. Capacity can be entered in mAh or in Wh with a nominal voltage, and presets fill in typical capacities for coin cells, AA and AAA, NiMH, 9 V, 18650 and LiPo packs.
A derating factor accounts for the capacity you will not get in practice. Everything is calculated in your browser.
Why use this tool?
- Duty-cycle maths for sleepy MCU projects
- mAh or Wh input with voltage conversion
- Typical presets for common battery types
- Formula shown with your own numbers
- Free, private and instant
Features
Sleep / active mode
Combine active and sleep current with their times to get the true average current and duty cycle.
Battery presets
CR2032, CR2450, CR123A, AA, AAA, NiMH, 9 V, 18650 and LiPo with typical capacities, clearly marked as typical.
Derating factor
Allow for cut-off voltage, cold, ageing and self-discharge with a single usable-fraction value.
Engineering units
Type currents and times as 15 mA, 5 µA, 250u, 100 ms, 5 min or 2 h.
Visible formula
See the average current and runtime equations filled in with your values.
Copy the result
Copy the runtime and assumptions in one line for your design notes.
How to Use
Pick a battery
Choose a preset or type your own capacity in mAh or Wh and the nominal voltage.
Describe the load
Use Average current, or Active / sleep duty cycle with current and time for each state.
Set the derating
Keep 0.8 as a sensible default or adjust it for cold or high-drain use.
Read the runtime
The estimate updates as you type; copy it or tweak the sleep current to see its effect.