Battery Life Calculator
Estimate battery runtime for IoT and portable devices given average current draw, duty cycle, self-discharge rate, and depth-of-discharge cutoff. Suitable for LiPo, alkaline, NiMH, and coin-cell batteries.
Formula
Reference: Nordic Semiconductor PWR Profiler methodology; Texas Instruments SLUA364
How It Works
The battery life calculator estimates runtime from capacity, load current, and duty cycle — essential for IoT devices, wearables, and portable electronics design. Embedded systems engineers, product designers, and field application engineers use this tool to size batteries and optimize power budgets. According to Texas Instruments' 'Power Management Guide' (SLVA773), a typical BLE sensor node draws 15 mA during transmission (1% duty cycle) and 3 µA in sleep mode, yielding 270 µA average current — a 2000 mAh CR2450 coin cell provides 308 days of operation. Battery capacity measurement and Peukert modeling follow IEC 61960 (Secondary lithium cells and batteries for portable applications) and IEC 60086 (Primary batteries) standards. The fundamental equation Runtime = Capacity × (1 - Self-Discharge) / Average_Current assumes constant discharge, but real batteries exhibit nonlinear discharge curves: lithium-ion cells deliver 90% of rated capacity above 3.6 V but only the final 10% between 3.6 V and 3.0 V cutoff. Peukert's equation (Cp = I^k × t) models rate-dependent capacity loss — a 2000 mAh battery at C/10 rate delivers full capacity, but at 1C rate delivers only 1850 mAh (7.5% loss per Energizer application note).
Worked Example
Design a battery system for a LoRaWAN environmental sensor with 10-year target lifetime. Load profile per TI CC1310 datasheet: transmit mode = 25 mA for 100 ms every 15 minutes, active processing = 3 mA for 50 ms per transmission, deep sleep = 0.7 µA continuous. Step 1: Calculate average current — Transmit: 25 mA × (0.1s / 900s) = 2.78 µA. Processing: 3 mA × (0.05s / 900s) = 0.17 µA. Sleep: 0.7 µA. Total average = 3.65 µA. Step 2: Account for self-discharge — Tadiran lithium thionyl chloride cells exhibit <1%/year self-discharge. Over 10 years: 10% capacity loss. Step 3: Calculate required capacity — 3.65 µA × 87,600 hours × 1.1 (self-discharge margin) × 1.2 (EOL margin) = 423 mAh. Step 4: Select battery — Tadiran TL-5920 (C-size, 8500 mAh) provides 20× safety margin, accommodating temperature derating and aging effects.
Practical Tips
- ✓Per Nordic Semiconductor AN-9102, measure actual sleep current with nA-resolution ammeter (Keithley 6221/2182A or Joulescope) — firmware bugs often cause 100× higher sleep current than specification
- ✓Use Panasonic or Murata battery life calculators for chemistry-specific Peukert corrections — alkaline batteries lose 30% capacity at 100 mA versus 10 mA discharge rate
- ✓Include 20-30% design margin for manufacturing variation, battery aging (10% capacity loss per 500 cycles), and field temperature extremes
Common Mistakes
- ✗Using peak current instead of average current — a GPS module drawing 50 mA for 5 seconds every hour has 69 µA average, not 50 mA (720× overestimate)
- ✗Ignoring temperature effects — lithium-ion capacity drops 20% at 0°C and 40% at -20°C per Samsung SDI specifications; size batteries for worst-case operating temperature
- ✗Assuming 100% usable capacity — most devices require minimum operating voltage above battery cutoff; a 3.3 V LDO needs >3.5 V input, losing the bottom 15% of lithium-ion capacity
Frequently Asked Questions
Shop Components
As an Amazon Associate we earn from qualifying purchases.
DC-DC Buck Converter Modules
Adjustable step-down converter modules for bench and prototype use
Related Calculators
Power
Buck Converter
Design a synchronous buck (step-down) converter: calculate duty cycle, inductor value, output capacitor, and input capacitor.
Power
LDO Thermal
Calculate LDO regulator power dissipation, junction temperature, thermal margin, and minimum dropout voltage for thermal design validation.
Power
Voltage Divider
Calculate voltage divider output voltage, current, Thévenin impedance, and power dissipation from Vin, R1, and R2. Ideal for bias networks and level shifting.
Power
LED Resistor
Calculate the correct current limiting resistor for an LED. Shows exact value, nearest E24 standard, actual current, and power dissipation.