Battery Life Calculator — Estimate Device Runtime

Estimated Runtime

In Days

How Battery Life Estimation Works

Battery life is the estimated runtime of a battery-powered device, calculated by dividing the battery's energy storage capacity by the device's power consumption rate. According to the Battery University (an educational resource maintained by Cadex Electronics), the fundamental relationship between capacity, current draw, and runtime is the most important concept in battery sizing and device design. This calculator uses that relationship to estimate how long any battery will last under a given load, from smartphone batteries to industrial UPS systems.

Battery capacity is rated in milliamp-hours (mAh) or amp-hours (Ah), representing the total charge a battery can deliver before being fully discharged. Current draw, measured in milliamps (mA), is how much electrical current the connected device consumes during operation. By dividing capacity by draw and applying a real-world efficiency factor, this calculator provides a practical runtime estimate rather than the overly optimistic theoretical maximum. The tool is useful for electronics hobbyists, IoT developers, and anyone evaluating whether a battery or solar battery system can meet their power needs.

The Battery Life Formula

The standard formula for estimating battery runtime is defined by electrical engineering principles and used universally across the electronics industry:

Runtime (hours) = Battery Capacity (mAh) x Efficiency Factor / Current Draw (mA)

Worked example: A 10,000 mAh power bank charging a smartphone that draws 1,500 mA, with 85% efficiency: 10,000 x 0.85 / 1,500 = 5.67 hours of active charging. In practice, this means the power bank can fully charge a phone with a 4,000 mAh battery approximately 2 times (accounting for the voltage conversion from the power bank's 3.7V cells to the phone's 5V USB input).

Key Terms You Should Know

mAh (milliamp-hour): A unit of electrical charge equal to one milliamp flowing for one hour. It is the standard unit for rating battery capacity in consumer electronics. A typical smartphone battery is 3,000-5,000 mAh, a laptop battery is 40,000-100,000 mAh (40-100 Wh), and a car battery is approximately 50,000-70,000 mAh (50-70 Ah).

Current draw (mA): The rate at which electrical current flows through a circuit, measured in milliamps. A device drawing 500 mA consumes 500 milliamps continuously. Current draw varies with device activity -- a smartphone may draw 50 mA on standby, 200 mA during web browsing, and 1,500 mA during gaming or fast charging.

Efficiency factor: The ratio of usable energy to rated energy. Lithium-ion batteries typically deliver 80-90% of their rated capacity under real-world conditions. The remaining 10-20% is lost to heat dissipation, voltage regulator overhead, and internal resistance. Older or degraded batteries have lower efficiency.

Cycle life: The number of complete charge-discharge cycles a battery can undergo before its capacity drops to 80% of its original rating. According to the U.S. Department of Energy, most lithium-ion batteries retain 80% capacity after 300-500 full cycles, while premium cells (used in EVs) last 1,000-2,000 cycles.

C-rate: The rate at which a battery is discharged relative to its capacity. A 1C discharge means the battery is fully drained in 1 hour. A 0.5C discharge means it is drained in 2 hours. Higher C-rates reduce effective capacity due to increased internal resistance and heat generation.

Common Device Battery Capacities and Draw Rates

Knowing typical battery sizes and power consumption rates helps you validate your calculator inputs. Here are representative values for common devices as of 2026:

Device Battery Capacity Avg Current Draw Typical Runtime
Smartphone (modern) 4,000 - 5,500 mAh 200 - 800 mA 8 - 14 hours active use
Bluetooth earbuds (case) 300 - 600 mAh 30 - 50 mA 5 - 10 hours playback
Laptop (ultrabook) 50,000 - 80,000 mAh 3,000 - 8,000 mA 6 - 15 hours
Portable power bank 10,000 - 26,800 mAh 1,000 - 3,000 mA (output) 2-5 full phone charges
Arduino / IoT sensor 200 - 2,000 mAh 5 - 50 mA Days to months
Cordless drill 1,500 - 5,000 mAh 3,000 - 10,000 mA 20 - 60 minutes

Practical Examples

Example 1 -- Camping Power Bank: You are taking a 26,800 mAh power bank on a 3-day camping trip. Your phone has a 4,500 mAh battery and you fully charge it once per day. At 85% efficiency: usable capacity = 26,800 x 0.85 = 22,780 mAh. Full charges available: 22,780 / 4,500 = 5.06 charges. This easily covers 3 days with margin to spare.

Example 2 -- IoT Sensor Deployment: A temperature sensor draws 15 mA continuously from a 2,000 mAh lithium battery at 90% efficiency. Runtime: 2,000 x 0.90 / 15 = 120 hours = 5 days. To extend this to 30 days, you could use a sleep mode that reduces average draw to 2.5 mA, yielding 2,000 x 0.90 / 2.5 = 720 hours = 30 days. Use our electricity cost calculator to compare battery versus mains power for long-term deployments.

Example 3 -- LED Flashlight: A flashlight uses 3 AA batteries (2,500 mAh each in series = 2,500 mAh total at 4.5V) with an LED that draws 700 mA on high and 100 mA on low. At 80% efficiency: high mode runtime = 2,500 x 0.80 / 700 = 2.86 hours. Low mode runtime = 2,500 x 0.80 / 100 = 20 hours.

Tips for Maximizing Battery Life

Battery Chemistry Comparison

Different battery chemistries have different energy densities, cycle lives, and efficiency characteristics. The efficiency factor you enter in this calculator should reflect the chemistry of your battery:

Chemistry Typical Efficiency Cycle Life Common Uses
Lithium-ion (Li-ion) 85 - 95% 300 - 500 cycles Phones, laptops, power banks
Lithium Polymer (LiPo) 85 - 95% 300 - 500 cycles Drones, wearables, RC vehicles
LiFePO4 (LFP) 90 - 98% 2,000 - 5,000 cycles Solar storage, EVs, marine
NiMH (Nickel Metal Hydride) 65 - 80% 500 - 1,000 cycles Rechargeable AA/AAA, hybrid cars
Alkaline (non-rechargeable) 70 - 85% Single use Remotes, flashlights, toys

Frequently Asked Questions

What is mAh and how does it relate to battery life?

Milliamp-hours (mAh) is the standard unit for measuring battery charge capacity in consumer electronics. A 5,000 mAh battery can theoretically deliver 5,000 milliamps of current for 1 hour, 500 mA for 10 hours, or 100 mA for 50 hours. However, real-world runtime is always lower than the theoretical maximum due to efficiency losses from voltage conversion, heat, and internal resistance. For practical estimation, multiply the rated capacity by 0.80-0.90 (the efficiency factor) before dividing by current draw. A modern smartphone with a 5,000 mAh battery and average 400 mA draw lasts approximately 5,000 x 0.85 / 400 = 10.6 hours of active use.

Why does my device battery not last as long as the calculation predicts?

Several factors cause real battery life to fall short of calculations. First, current draw varies constantly -- a phone drawing 200 mA while reading text spikes to 1,500+ mA during gaming or video recording. Using average draw understates peak consumption periods. Second, battery capacity degrades with age; after 300-500 charge cycles, most lithium-ion cells retain only 80% of original capacity. Third, temperature affects performance -- cold temperatures (below 0 degrees C) can reduce effective capacity by 20-30%. Finally, background processes, push notifications, and cellular signal searching consume power even when the screen is off.

How do I measure the current draw of my device?

For USB-powered devices, a USB power meter (available for $10-$30) plugs between the charger and the device and displays real-time voltage, current, and power readings. For non-USB devices, use a digital multimeter set to the mA range, connected in series with the battery's positive terminal. Some devices list power consumption in their specifications in watts; divide watts by voltage to get amps (for example, a 5W device at 5V draws 1A or 1,000 mA). For the most accurate battery life estimate, measure current draw under your typical usage pattern and average the values over 10-15 minutes.

What efficiency factor should I use for my battery type?

The efficiency factor depends on battery chemistry and age. For new lithium-ion and lithium polymer batteries (phones, laptops, power banks), use 85-90%. For LiFePO4 batteries commonly used in solar storage and marine applications, use 90-95%. For NiMH rechargeable batteries (AA/AAA), use 70-80% due to higher self-discharge and internal resistance. For alkaline disposable batteries, use 75-85%. If your battery is more than 2 years old or has undergone 300+ charge cycles, reduce these values by 10-15 percentage points to account for capacity degradation.

How many times can a power bank charge my phone?

Divide the power bank's capacity by your phone's battery capacity, then multiply by the efficiency factor. A 20,000 mAh power bank charging a phone with a 4,500 mAh battery at 85% efficiency gives: 20,000 x 0.85 / 4,500 = 3.78 full charges, or practically 3.5-4 charges. Note that the efficiency loss includes voltage conversion (power banks store energy at 3.7V but output at 5V or higher for USB-C PD), heat generation during charging, and the phone's own charging circuit losses. Fast charging generates more heat than slow charging, which can reduce the effective number of charges by 5-10%.

How do I extend the lifespan of lithium-ion batteries?

According to research published by the U.S. Department of Energy, the most effective strategies for extending lithium-ion battery lifespan are: keep the state of charge between 20-80% rather than fully cycling between 0-100% (this can double cycle life); avoid exposing batteries to temperatures above 35 degrees C (95 degrees F) during charging; use a slower charging rate when possible (1C or lower); and store batteries at 40-60% charge if not in use for extended periods. A lithium-ion battery stored at 100% charge and 40 degrees C loses approximately 35% of its capacity in one year, while one stored at 40% charge and 25 degrees C loses only about 4%.

Related Calculators