Battery Life Calculator
Estimate how long your device battery will last based on capacity, usage, and power consumption.
Embed this toolAdvertisement
What This Tool Does
The Battery Life Calculator estimates how long a rechargeable or disposable battery will power an electronic device before requiring replacement or recharging. You provide four inputs: battery capacity in milliampere-hours (mAh), nominal voltage in volts (V), active power consumption in milliwatts (mW), and standby drain in milliwatts. The calculator converts the electrical charge capacity into actual energy storage (watt-hours), then divides that energy by your device's power draw to produce runtime estimates for both active use and idle standby. This gives hardware designers, hobbyists, and everyday consumers a quick way to compare batteries, plan device usage, or diagnose unexpectedly short runtimes.
How It Works: The Formula
The calculation rests on a two-step conversion. First, because milliampere-hours measure charge rather than energy, we convert to watt-hours using the battery voltage:
Wh = (mAh x V) / 1000
For example, a smartphone battery rated at 5000 mAh with a nominal voltage of 3.7 volts stores (5000 x 3.7) / 1000 = 18.5 watt-hours of energy. This is the total work the battery can perform before depletion.
Second, we divide the stored energy by the device's power consumption, converted from milliwatts to watts:
Runtime (hours) = Wh / (mW / 1000)
If that same smartphone draws 2000 mW (2 watts) during active use, the theoretical runtime is 18.5 / 2 = 9.25 hours. Standby runtime uses the same formula but substitutes the lower standby drain — often 20 to 100 mW for modern phones — yielding standby times measured in days or weeks. These figures represent ideal laboratory conditions; real-world efficiency losses from voltage converters, temperature variation, and battery aging typically reduce actual runtime by 10-20 percent.
Worked Example: Flashlight Runtime
Suppose you have a compact flashlight powered by a single 18650 lithium-ion cell and want to know how long it will last on a camping trip. You look up the cell specifications and find 3400 mAh capacity at 3.7V. The manufacturer rates the LED at 3000 mW (3 watts) on high mode, with a parasitic drain of 10 mW when the switch is off.
Step 1 — Convert capacity to watt-hours: (3400 x 3.7) / 1000 = 12.58 Wh.
Step 2 — Calculate active runtime on high: 12.58 Wh / 3 W = 4.19 hours, or roughly 4 hours and 11 minutes of continuous bright light.
Step 3 — Calculate standby time if left switched off in a backpack: 12.58 Wh / 0.01 W = 1,258 hours, about 52 days before the cell self-discharges and parasitic drain deplete it.
In practice, you would get slightly less because LED drivers are not 100% efficient and cold temperatures reduce lithium-ion performance. Still, the estimate tells you that one fully charged 18650 cell is sufficient for several nights of intermittent use.
Common Battery Types Compared
| Type | Nominal Voltage | Energy Density | Cycle Life | Typical Use |
|---|---|---|---|---|
| Lithium-Ion (18650) | 3.6-3.7V | 250 Wh/kg | 300-500 cycles | Laptops, flashlights, power tools |
| Lithium-Polymer | 3.7V | 200-260 Wh/kg | 300-500 cycles | Smartphones, drones, wearables |
| LiFePO4 | 3.2V | 90-120 Wh/kg | 2000+ cycles | Solar storage, electric vehicles |
| NiMH Rechargeable | 1.2V | 60-120 Wh/kg | 500-1000 cycles | Cameras, toys, household devices |
| Alkaline (AA) | 1.5V | 100-140 Wh/kg | Single use | Remotes, clocks, low-drain devices |
| Lead-Acid | 2.0V (cell) | 30-50 Wh/kg | 200-300 cycles | Car starters, UPS systems |
| Solid-State (emerging) | 3.5V+ | 300-500 Wh/kg | 1000+ cycles | Next-gen EVs, aerospace |
Data sourced from Battery University (Cadex Electronics) and manufacturer datasheets.
When to Use This Calculator
Product design and prototyping: Hardware engineers use battery life estimates early in development to select appropriately sized cells. A wearable that must last 7 days between charges needs a fundamentally different battery chemistry and capacity than one recharged nightly.
IoT and sensor deployment: Remote sensors running on solar-charged batteries or primary cells in inaccessible locations require precise runtime calculations to determine maintenance intervals. Underestimating drain leads to failed data collection; overestimating means unnecessarily large and expensive batteries.
Consumer purchasing decisions: Comparing two power banks both rated at 10000 mAh is misleading if one operates at 3.7V and the other at 5V output. Converting both to watt-hours reveals which stores more usable energy.
Troubleshooting unexpected drain: If your device dies faster than specifications claim, measuring actual power draw with a USB meter and plugging values into this calculator identifies whether the battery is degraded or the device is consuming more power than designed.
Related Reading
Frequently Asked Questions
Related Tools
Travel Budget Calculator
Estimate total trip costs including flights, hotels, food, and activities by destination.
Packing List Generator
Generate personalized packing lists based on destination, weather, trip length, and activities.
Jet Lag Calculator
Calculate time zone differences, jet lag severity, and optimal sleep adjustment schedules.
Dog Age Calculator
Convert your dog's age to human years using breed-specific and size-based formulas.