Battery Capacity Calculator
Enter your device current draw, desired runtime, and efficiency to calculate the minimum battery capacity (mAh) required.
Use the Battery Capacity Calculator
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
Recommended (mAh) = Minimum × (1 + margin / 100)
Where I = current (mA), t = runtime (h), η = efficiency (0–1).
Summary
This tool calculates the minimum battery capacity (in mAh) required to run a device for a specified duration. It accounts for system efficiency losses — such as converter losses, self-discharge, and temperature derating — so you can size your battery pack correctly from the start. The result includes both a theoretical minimum and a recommended capacity with a safety margin.
How it works
- Enter the average current draw of your device in milliamps (mA).
- Enter the desired runtime in hours (decimal values are accepted, e.g. 1.5 for 90 minutes).
- Enter the system efficiency as a percentage (typical range: 70–95%).
- Optionally set a safety margin (%) to add headroom for aging and worst-case conditions.
- The calculator divides the required charge by efficiency and adds the safety margin.
- 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.