Precision Battery Life Calculator

Accurately model battery endurance from continuous load to complex IoT duty-cycles with self-discharge, Peukert's law, and thermal derating.

Quick Load Hardware Profiles:
1

1. Battery Parameters

Battery Chemistry

mAh
100 2500 5000 10000+
V
Pack: 1S1P • Voltage: 3.7V • Total Nominal Energy: 9.25 Wh
2

2. Load & Duty Cycle

Continuous Load Current

mA
1 mA 500 mA 1000 mA 2000 mA
85%
25°C
1.08
2.0% / month
ESTIMATED BATTERY RUNTIME
Low thermal stress
85% DoD
0D 20H 50M
Total continuous duration:: 20.8 Hours
Usable Capacity
2,125 mAh
Usable Depth of Discharge (DoD)
Discharge Rate
0.05 C
Low thermal stress
Active Load Power
7.86 Wh
@ 3.7V
cycles
1,200 cycles
Usable Depth of Discharge (DoD)
Energy Consumption Breakdown 0.444 W avg draw
Active Load (82%) Thermal Loss (10%) Self-Discharge (8%)

Real-Time Discharge Curve

Terminal Voltage vs Time

What Is a Battery Life Calculator?

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

Inputs
Engine
Outputs

Battery capacity

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

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 and amp draw

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 (DoD)

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

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.

Battery runtime formula

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

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

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.

Estimated discharge curve

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.

How to Use the Battery Life Calculator

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.

  1. 01

    Choose the battery chemistry

    • Pick Li-ion, LiFePO4, LiPo, Alkaline, NiMH, or Lead-acid
    • Auto-presets nominal voltage, Peukert exponent & self-discharge
  2. 02

    Enter the battery capacity

    • Input rated capacity in mAh, Ah, or Wh from label or datasheet
    • Supports coin cells up to large multi-kWh battery banks
  3. 03

    Set the voltage and cell count

    • Enter nominal cell voltage and series count (S)
    • Calculates total operational pack voltage automatically
  4. 04

    Enter the load

    • Input load draw in µA, mA, A, or total power in Watts
    • Toggle duty-cycle mode for intermittent sleep/active IoT profiles
  5. 05

    Adjust the derating factors

    • Set Depth of Discharge (DoD) & ambient operating temperature
    • Fine-tune Peukert exponent, converter efficiency & self-discharge
  6. 06

    Read the result

    • Instant runtime estimate in days, hours, and minutes
    • Review usable energy, operating C-rate, and discharge curve

Battery Life Calculation Formula

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).

thours = (CAh × V × DoD × η) ÷ PW

1. Basic runtime from mAh

t = C (mAh) ÷ I (mA)

2. Energy-based runtime in Wh

t = V × Ah × DoD × η ÷ P

3. Unit conversions

Wh = mAh × V ÷ 1,000

4. Peukert's law

t = H × (C ÷ (I × H))^k

5. Duty-cycle average current

Iavg = Σ(I × t) ÷ Σt

6. Temperature derating

CT = C × (1 − 0.008 × (25 − T))

Formula playground

Change any value and watch the battery runtime formula fill in.

50%
90%
Estimated battery runtime 5 h 24 min 5.40 hours

Where the energy goes

Rated energy
1,200 Wh
After DoD
600 Wh
Delivered to load
540 Wh

Peukert's law: why high current shrinks capacity

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.

20 A
Low thermal stress (k=1.0)5.0 h
Lithium-Ion (NMC/LCO) (k=1.05)4.7 h
Lead-Acid AGM / Deep Cycle (k=1.25)3.5 h
40 60 80 100 5 A10 A20 A30 A40 A50 A Ah
Low thermal stress (k = 1.0) Lithium-Ion (NMC/LCO) (k = 1.05) Lead-Acid AGM / Deep Cycle (k = 1.25)

Calculate Battery Life for Different Devices

Smartphone and iPhone battery life

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.

2 W
4,500 mAh (17.3 Wh)
—
3,300 mAh (12.7 Wh)
—
Typical battery capacity, load, and runtime by device
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

Factors That Affect Battery Life

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.

See how the factors stack up

Start with the rated energy, then move each slider. The bars show how much energy survives each factor.

Rated energy 10 h Wh ÷ W
Estimated Battery Runtime 8 h

4 common calculation mistakes and how to avoid them

1. Dividing mAh by load current when voltages differ

Wrong: A 12 V fridge drawing 4 A on a 12 V 100 Ah battery runs: 100,000 mAh ÷ 4,000 mA = 25 h (ignores DoD and efficiency).
Correct: Multiply capacity by voltage first to get watt-hours: 100 Ah × 12 V = 1,200 Wh. At 50% DoD and 90% efficiency, usable energy is 540 Wh. At 48 W, runtime is 11.25 h.

2. Treating a power bank's 3.7 V mAh rating as 5 V output

Wrong: A 10,000 mAh bank recharges a 4,500 mAh phone: 10,000 ÷ 4,500 = 2.22 charges.
Correct: Energy is 10,000 mAh × 3.7 V = 37 Wh. At 85% boost and cable efficiency, delivered energy is 31.5 Wh. A 17.3 Wh phone recharges 31.5 ÷ 17.3 = 1.82 times.

3. Draining a lead–acid battery past 50% DoD

Wrong: Using 100% of a 100 Ah lead–acid battery delivers 1,200 Wh on paper.
Correct: Discharging lead–acid past 50% DoD causes sulfation and drops cycle life from 500+ cycles to under 150. Size for 50% DoD (600 Wh usable).

4. Using peak load instead of average duty cycle for IoT

Wrong: An ESP32 sensor transmitting at 120 mA on a 2,500 mAh battery: 2,500 ÷ 120 = 20.8 hours.
Correct: If it transmits for 0.5 s and sleeps at 15 µA for 59.5 s, average current is (120 × 0.5 + 0.015 × 59.5) ÷ 60 = 1.01 mA. Real runtime is 2,475 hours (103 days).

Battery Life vs. Battery Lifespan

Battery life compared with battery lifespan
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

Choose the Right Battery Life Calculator

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.

12.8 V · 100 Ah η 90% inverter Fridge 60 W Laptop 45 W Lights 15 W Σ 120 W → 8 h 38 min
You know: watts

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.

(V × Ah × DoD × η) ÷ W

Best for: RVs, vans, solar, UPS backup

40 60 80 100 5 A20 A35 A50 A load current → Ah ideal Ah ÷ A LiFePO4 lead-acid
You know: amp-hours & amps

Battery Life Calculator in Ah

Ah ÷ A, corrected for the capacity big batteries lose when you pull hard on them.

H × (C ÷ (I × H))^k × DoD

Best for: Deep-cycle, marine, trolling motors

500 Wh 85% reaches the device × 0.85 45 W fan · 9.4 h 15 Wh phone · ×28
You know: watt-hours

Battery Life Calculator in Wh

Runtime and full recharge counts for anything rated in Wh, with mAh-to-Wh conversion built in.

(Wh × η) ÷ W

Best for: Power stations, power banks, laptops

recharge zone 11.5 12.0 12.5 0%50%100% state of charge → V 12.50 V → 80%
You know: a voltage reading

Battery Life Calculator by Voltage

Turn a resting multimeter reading into charge level and the runtime left before you should recharge.

V → SoC → (SoC − stop) × Ah ÷ A

Best for: 12/24/48 V lead-acid, AGM, LiFePO4

time → mA active 80 mA · 5 s I avg sleep 10 µA · 295 s → ≈ 66 days
You know: mA or µA

Battery Life Calculator by Current Draw

mAh against measured current, including sleep/wake duty cycles down to microamps.

(mAh × derating) ÷ I_avg

Best for: Arduino, ESP32, IoT sensors

Need everything at once?

Full precision calculator

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.

FAQ

Short answers to the questions people ask most about battery runtime, mAh, watt-hours, inverters, and power banks.

How do you calculate battery life?

Divide usable capacity in watt-hours by load power in watts, or divide mAh by load mA if voltages match.

What is the battery life formula?

Runtime (hours) = (Capacity in Ah × Voltage × DoD × Efficiency) ÷ Load Power in Watts.

How long does a 12V 100Ah battery last?

At 50% Depth of Discharge for lead-acid, it delivers 600 Wh—running a 100 W load for about 6 hours.

How many times can a 10,000 mAh power bank charge a phone?

About 1.8 times for a 4,500 mAh phone, after accounting for 3.7V to 5V boost converter efficiency.

How long does an 18650 battery last?

A 3,000 mAh cell running a 500 mA load lasts about 6 hours.

What is the difference between mAh and Wh?

mAh measures electric charge, while Wh measures total energy by factoring in voltage (Wh = mAh × V ÷ 1,000).

Why does cold weather reduce battery runtime?

Cold slows internal electrochemical reactions and increases internal resistance, cutting capacity by 20–40% below freezing.

What is Depth of Discharge (DoD)?

DoD is the percentage of battery capacity discharged relative to total capacity.

What is Peukert's law?

Peukert's law states that discharging a battery at higher currents reduces its total usable capacity.

How do you calculate battery life for an IoT device?

Calculate weighted average current: (Active Current × Active Time + Sleep Current × Sleep Time) ÷ Cycle Time, then divide capacity by average current.