Battery Life Calculator in Watts
Add up your devices’ watts and see how long a 12, 24 or 48 V battery carries them, inverter losses included.
Best for: RVs, vans, solar, UPS backup
Accurately model battery endurance from continuous load to complex IoT duty-cycles with self-discharge, Peukert's law, and thermal derating.
Battery Chemistry
Continuous Load Current
Advanced Engineering Derating (Temperature, Peukert, Losses)
Terminal Voltage vs Time
A battery life calculator is a tool that estimates battery runtime from battery capacity, voltage, and load power. It answers one question: how long does this battery keep this device running?
Click any block to see what it does
Battery capacity is the charge a battery stores. A Panasonic NCR18650B cell holds 3,400 mAh, which equals 3.4 Ah or 12.2 Wh at 3.6 V. Use the rated value from the datasheet, then reduce it for battery age.
Voltage turns charge into energy: watt-hours = amp-hours × volts. A 100 Ah battery holds 1,200 Wh at 12 V and 2,400 Wh at 24 V. Common nominal voltages are 3.6–3.7 V for lithium-ion, 3.2 V for LiFePO4, 1.5 V for alkaline, 1.2 V for NiMH, and 12 V for lead–acid.
Load power is the rate a device uses energy, in watts (W). Amp draw is the electric current that flows, in amps (A) or milliamps (mA). Watts = volts × amps, so a 12 V fridge drawing 4 A uses 48 W. Use the average draw, not the peak.
Depth of Discharge is the share of capacity you drain before recharging. DoD is the mirror of state of charge (SoC): 80% DoD leaves 20% SoC. Typical limits are 50% for lead–acid, 80–90% for lithium-ion, and 90–100% for LiFePO4.
Efficiency (η) covers the energy lost between battery and load. Inverters lose 5–15%, USB boost converters in power banks lose 10–20%, and wiring loses a few percent. A 90% efficient inverter turns 1,000 Wh of battery energy into 900 Wh at the outlet.
The formula multiplies capacity, voltage, DoD, and efficiency to get usable watt-hours, then divides by load power. Peukert's law adds a correction for high current, which matters most for lead–acid batteries.
Battery runtime is the estimated operating time on one charge. A 12 V 100 Ah lead–acid battery at 50% DoD through a 90% inverter delivers 540 Wh, which runs a 150 W load for 3.6 hours.
Usable energy is the watt-hours that reach the device after DoD and efficiency. It is the fairest number for comparing batteries of different voltages, such as a 12 V lead–acid battery and a 12.8 V LiFePO4 battery.
The estimated discharge curve shows voltage over time. Lithium-ion voltage stays flat through the middle of the charge and drops fast near empty. Lead–acid voltage falls steadily.
To use the battery life calculator, enter battery capacity, voltage, load, and depth of discharge, then read the runtime in hours. The full process takes 6 steps and about a minute.
The battery life calculation formula is Battery runtime (h) = Battery capacity (Ah) × Voltage (V) × DoD × Efficiency ÷ Load power (W). For a quick check where battery and load share one voltage, use Runtime (h) = Capacity (mAh) ÷ Load current (mA).
Change any value and watch the battery runtime formula fill in.
Where the energy goes
Peukert's law describes how a battery delivers less total capacity at higher current. The effect depends on the Peukert exponent k. A lithium-ion battery sits near k = 1.05, so its capacity barely moves. A lead–acid battery sits near k = 1.2–1.3, so a heavy load takes a big bite.
Phone batteries are rated in mAh at about 3.85 V. Convert to watt-hours first: 4,500 mAh × 3.85 V ÷ 1,000 = 17.3 Wh.
Average draw ranges from about 0.05 W in standby to 1.5–2.5 W for browsing and 4–6 W for gaming at high screen brightness. At 2 W, a 4,500 mAh phone gives about 8 hours of screen-on time.
Screen brightness, cellular signal drain, and background app consumption swing phone runtime more than any other input.
Laptop batteries list capacity in Wh, so no conversion is needed. A 60 Wh laptop running office work at 8–12 W lasts 5–7 hours. Video calls push draw to 15–20 W, and gaming at 40–60 W drains it in about an hour.
The battery health percentage in the operating system report shows real capacity. A 60 Wh pack at 85% health holds 51 Wh.
Power banks are rated in mAh at the internal cell voltage of 3.6–3.7 V, not at the 5 V USB output. A 10,000 mAh bank stores 37 Wh.
Power bank efficiency sits at 80–90% after boost conversion and cable losses, leaving about 31 Wh usable energy.
Drones pull high currents that drain packs in 5–30 minutes, so Peukert's law and C-rate limits matter.
A 4S 1,500 mAh LiPo (22.2 Wh) hovering at 150 W draws about 10 A and lasts around 8 minutes.
IoT devices spend 99% of time sleeping, so sleep current decides battery life more than active current.
A sensor drawing 50 mA for 1 second every minute has an average current under 1 mA.
Pack math uses 3 rules: Cells in series (S) add voltage, cells in parallel (P) add capacity, and pack energy equals S × P × cell voltage × cell capacity.
Check the C-rate before building. High-capacity 18650 cells are rated for 5–10 A each.
| Device | Typical capacity | Typical load | Usable share | Estimated runtime |
|---|---|---|---|---|
| Smartphone | 4,500 mAh (17.3 Wh) | 1.5–2.5 W (browsing) | 95% | 7–10 hours |
| Laptop | 60 Wh | 10 W (office work) | 95% | 5–6 hours |
| Power bank | 10,000 mAh (37 Wh) | 10 W output | 85% | 3.1 hours |
| 5-inch FPV drone | 1,300 mAh 4S (19.2 Wh) | 200 W (freestyle) | 80% | 4–6 minutes |
| LoRaWAN sensor | 8,500 mAh Li-SOCl2 | 25 µA average | 95% | 10–15 years |
| 12 V RV battery bank | 100 Ah LiFePO4 (1,280 Wh) | 150 W (fridge + lights) | 90% | 7.7 hours |
There are 8 factors that affect battery life: depth of discharge, temperature, discharge rate, battery age, conversion efficiency, self-discharge, usage pattern, and the battery management system. Each one removes a measurable share of rated capacity before the energy reaches the device.
Start with the rated energy, then move each slider. The bars show how much energy survives each factor.
| Attribute | Battery life | Battery lifespan |
|---|---|---|
| Question it answers | How long does one charge last? | How long until the battery needs replacing? |
| Unit | Hours, minutes, days | Charge cycles, years |
| Main drivers | Battery capacity, load power, DoD per discharge, temperature | Cycle depth, heat, charge rate, calendar age |
| Typical value | 8 h screen-on for a phone; 5.2 h for a 100 Ah LiFePO4 battery at 200 W | 500–1,000 cycles for phone lithium-ion; 3,000–6,000 for LiFePO4; 300–1,000 for lead–acid |
| How to check it | Battery life calculator, then a real world battery test | Battery health percentage, smart charger capacity test, multimeter voltage checks |
Every calculator answers the same question: how long will it last? Each one starts from different numbers, so pick the one that matches what’s on your battery label, spec sheet or multimeter.
Add up your devices’ watts and see how long a 12, 24 or 48 V battery carries them, inverter losses included.
Best for: RVs, vans, solar, UPS backup
Ah ÷ A, corrected for the capacity big batteries lose when you pull hard on them.
Best for: Deep-cycle, marine, trolling motors
Runtime and full recharge counts for anything rated in Wh, with mAh-to-Wh conversion built in.
Best for: Power stations, power banks, laptops
Turn a resting multimeter reading into charge level and the runtime left before you should recharge.
Best for: 12/24/48 V lead-acid, AGM, LiFePO4
mAh against measured current, including sleep/wake duty cycles down to microamps.
Best for: Arduino, ESP32, IoT sensors
The calculator at the top of this page combines all five approaches, with chemistry presets, temperature derating, Peukert’s law and self-discharge in one place.
Short answers to the questions people ask most about battery runtime, mAh, watt-hours, inverters, and power banks.
Divide usable capacity in watt-hours by load power in watts, or divide mAh by load mA if voltages match.
Runtime (hours) = (Capacity in Ah × Voltage × DoD × Efficiency) ÷ Load Power in Watts.
At 50% Depth of Discharge for lead-acid, it delivers 600 Wh—running a 100 W load for about 6 hours.
About 1.8 times for a 4,500 mAh phone, after accounting for 3.7V to 5V boost converter efficiency.
A 3,000 mAh cell running a 500 mA load lasts about 6 hours.
mAh measures electric charge, while Wh measures total energy by factoring in voltage (Wh = mAh × V ÷ 1,000).
Cold slows internal electrochemical reactions and increases internal resistance, cutting capacity by 20–40% below freezing.
DoD is the percentage of battery capacity discharged relative to total capacity.
Peukert's law states that discharging a battery at higher currents reduces its total usable capacity.
Calculate weighted average current: (Active Current × Active Time + Sleep Current × Sleep Time) ÷ Cycle Time, then divide capacity by average current.
Practical engineering tutorials on minimizing sleep currents, calculating Peukert derating, and maximizing hardware runtime.
Discover how electrochemical resistance and ion diffusion kinetics cause battery capacity to drop at higher discharge rates, and how to compensate for it mathematically.
Read Technical Analysis
Learn how to bypass onboard USB UART bridges and configure RTC GPIOs to squeeze years of battery life out of an ESP32 development node.
Read Technical Analysis
A deep-dive technical comparison between Lithium Iron Phosphate and NMC chemistry for off-grid gateways and outdoor solar telemetry nodes.
Read Technical Analysis