Estimate the runtime of any battery‑powered device based on capacity, load current, efficiency, and usage profile. Visualise the discharge curve, compare device presets, and optimise your power budget.
The Battery Life Calculator estimates how long a battery will power a device under specified conditions. It uses fundamental electrical relationships: capacity (mAh), load current (mA), voltage (V), and efficiency to compute runtime in hours, minutes, or days. The tool also models duty‑cycle scenarios (active + standby) and provides a visual discharge curve.
Runtime (h) = ( Capacity (mAh) × DoD (%) × Efficiency (%) ) / ( Average Current (mA) × 100 )
Average Current = ( Iactive × tactive + Istandby × tstandby ) / ( tactive + tstandby )
The core calculation is straightforward. Given a battery capacity in milliamp‑hours (mAh) and a load current in milliamps (mA), the theoretical runtime is capacity ÷ current. However, real‑world batteries deliver less than rated capacity due to:
The tool also estimates C‑rate (discharge current relative to capacity) and provides a cycle life approximation based on typical Li‑ion degradation curves. For example, discharging at 1C (current equal to capacity) gives about 1 hour of runtime but reduces total cycle life compared to 0.2C.
The preset menu reflects common devices to help you quickly explore realistic scenarios. Each preset is derived from manufacturer specifications and independent teardown measurements.
| Device | Capacity (mAh) | Voltage (V) | Active Current (mA) | Standby (mA) | Typical Runtime |
|---|---|---|---|---|---|
| Smartphone | 3000 | 3.7 | 500 | 10 | ~5–6 h (active) |
| Tablet | 7000 | 3.8 | 900 | 15 | ~7–8 h |
| Laptop | 50000 | 7.4 | 3000 | 100 | ~12–14 h |
| Drone | 5000 | 11.1 | 8000 | 50 | ~30–40 min |
| Wireless Earbuds | 50 | 3.7 | 15 | 0.5 | ~3–4 h |
| Power Bank | 20000 | 3.7 | 2000 | 5 | ~8–9 h (at 2A output) |
| IoT Sensor | 1000 | 3.3 | 20 | 0.05 | ~40–50 h (active) / years (standby) |
A wearable device manufacturer needs at least 7 days of battery life. The prototype uses a 200 mAh Li‑ion cell at 3.7 V, with an active current of 15 mA (sensor + Bluetooth) and a standby current of 0.8 mA. Using the calculator, we find that with a 10% active duty cycle (2 min active, 18 min standby) the average current is 2.22 mA. Runtime = (200 × 80% × 90%) / (2.22 × 100) = 64.9 hours ≈ 2.7 days — far short of the target. To reach 7 days, the design team must either increase the battery to 550 mAh or reduce active current (e.g., by using a lower‑power sensor or reducing Bluetooth transmit power). This tool enables rapid trade‑off analysis without building physical prototypes.
Most portable devices use Lithium‑ion (Li‑ion) or Lithium‑polymer (Li‑Po) batteries due to their high energy density and low self‑discharge. The nominal voltage is 3.6–3.7 V per cell, with a usable voltage range of about 4.2 V (fully charged) to 3.0 V (cut‑off). The capacity (mAh) is measured at a standard discharge rate (typically 0.2C). At higher discharge rates, the effective capacity decreases due to internal resistance — a phenomenon known as Peukert's law.
For lead‑acid batteries (used in cars and UPS), nominal voltage is 2 V per cell (12 V for a 6‑cell battery) and the recommended DoD is 50% to maximise cycle life. Alkaline batteries (1.5 V per cell) have higher internal resistance and are suitable for low‑drain applications. This calculator is optimised for Li‑ion but can be adapted for other chemistries by adjusting the efficiency and DoD values.
The C‑rate is a measure of how fast a battery is discharged relative to its capacity. A 1C rate means the current equals the rated capacity (e.g., 3000 mA for a 3000 mAh cell), yielding 1 hour of runtime. A 0.5C rate gives 2 hours. Higher C‑rates generate more heat and reduce cycle life. The calculator estimates C‑rate and provides a cycle‑life indicator based on empirical Li‑ion degradation models.