Battery Capacity Calculator

Enter your device current draw, desired runtime, and efficiency to calculate the minimum battery capacity (mAh) required.

Device & Runtime Parameters

Average current drawn by the device over its operating cycle.

How long the device must run on a single charge. Use decimals for minutes (1.5 = 90 min).

Account for converter, wiring, and internal resistance losses. 90% is a good default.

Extra headroom for aging, temperature, and tolerance. 20% is recommended for most designs.

Recommended Battery Capacity

mAh
Formula: Minimum (mAh) = (I × t) / η
Recommended (mAh) = Minimum × (1 + margin / 100)
Where I = current (mA), t = runtime (h), η = efficiency (0–1).

Summary

Enter your device current draw, desired runtime, and efficiency to calculate the minimum battery capacity (mAh) required.

How it works

  1. Enter the average current draw of your device in milliamps (mA).
  2. Enter the desired runtime in hours (decimal values are accepted, e.g. 1.5 for 90 minutes).
  3. Enter the system efficiency as a percentage (typical range: 70–95%).
  4. Optionally set a safety margin (%) to add headroom for aging and worst-case conditions.
  5. The calculator divides the required charge by efficiency and adds the safety margin.
  6. Results show the theoretical minimum mAh and the recommended capacity to purchase.

Use cases

  • Size a battery pack for an IoT sensor or wireless node.
  • Determine the battery needed for a portable electronics prototype.
  • Plan power storage for a remote monitoring system with a defined service interval.
  • Estimate battery requirements for drones, rovers, or RC vehicles.
  • Calculate backup power capacity for embedded systems during outages.
  • Validate that an existing battery meets runtime requirements before deployment.
  • Compare different battery chemistries by adjusting efficiency values.
  • Plan battery replacement cycles for field-deployed equipment.

Frequently Asked Questions

Last updated: 2026-06-10 · Reviewed by Nham Vu