Battery Capacity & Runtime Calculator
Input Parameters
Computed Results
The battery calculator estimates how long a battery will power a specific load and determines the required capacity for a desired runtime. It accounts for battery chemistry, depth of discharge, and system inefficiencies to provide realistic runtime, charging time, and energy capacity estimates.
Verified Scenario Walkthroughs
The following examples demonstrate how the calculator determines runtime and capacity requirements across different battery setups.
Small Lead-Acid Solar Setup
For an entry-level system using a 12V, 20 Ah lead-acid battery powering a 15W load, the estimated runtime is 7.2 hours. The total energy is 240 Wh, but due to the 50% depth of discharge (DoD) typical for lead-acid batteries, the usable energy is 120 Wh. To achieve a desired 2-hour runtime, a required capacity of 5.56 Ah is needed. With a 2A charger, the estimated charging time is 5.88 hours.
High Capacity Lithium Sizing
When sizing a high-value system with a 48V, 500 Ah lithium battery and a heavy 2500W load, the estimated runtime is 6.91 hours. The total energy capacity is 24,000 Wh, with 19,200 Wh usable (80% DoD). If the goal is a 12-hour runtime, the required capacity jumps to 868.06 Ah. Using a 50A charger, it takes approximately 8.42 hours to recharge the usable capacity.
Charging Time for NiMH Pack
For a 7V, 5 Ah NiMH battery pack running a 100W load, the runtime is short at 0.22 hours. The total energy is 35 Wh, with 24.5 Wh usable (70% DoD). To run that 100W load for 1 hour, a required capacity of 22.68 Ah would be necessary. Charging this pack with a 0.5A charger takes an estimated 8.75 hours.
Formula & Explanation
The calculator uses several formulas to determine energy metrics, factoring in battery chemistry, depth of discharge (DoD), and efficiency losses.
Total and Usable Energy
Total energy is calculated by multiplying the battery capacity by its voltage:
Usable energy accounts for the safe depth of discharge based on the battery chemistry (80% for lithium, 50% for lead-acid, and 70% for NiMH):
Estimated Runtime
Runtime is determined by dividing the effective deliverable energy (usable energy multiplied by a 90% discharge efficiency) by the load power:
Required Capacity
To find the capacity needed for a specific runtime, the calculator works backward, factoring in the discharge efficiency and DoD:
Estimated Charging Time
Charging time is calculated by dividing the usable Ah that needs to be replenished by the effective charge rate (charger current multiplied by charge efficiency: 95% for lithium, 85% for lead-acid, 80% for NiMH):
How to Use the Calculator
Follow these steps to estimate your battery's performance:
- Select Calculation Mode: Choose whether you want to focus on runtime, capacity sizing, or charging time.
- Choose Battery Chemistry: Select lithium, lead-acid, or NiMH, as this determines the depth of discharge and efficiency rates.
- Enter Battery Capacity: Input the rated capacity in Amp-hours (Ah).
- Input Battery Voltage: Enter the nominal system voltage (e.g., 12V, 24V, 48V).
- Specify Load Power: Enter the power consumption of your connected devices in Watts (W).
- Set Desired Runtime: Input your target runtime in hours to calculate the required capacity.
- Enter Charger Current: Provide the current rating of your battery charger in Amperes (A) to estimate charging time.
Inputs & Outputs Table
| Input/Output | Description |
|---|---|
| Calculation Mode | The primary focus of the calculation (runtime, capacity, or charging). |
| Battery Chemistry | The type of battery (lithium, lead-acid, NiMH), which sets DoD and efficiency. |
| Battery Capacity | The rated capacity of the battery in Amp-hours (Ah). |
| Battery Voltage | The nominal voltage of the battery system. |
| Load Power | The total power draw of the connected devices in Watts. |
| Desired Runtime | The target number of hours you want the load to run. |
| Charger Current | The output current of the battery charger in Amperes. |
| Estimated Runtime | The calculated hours the battery can power the specified load. |
| Total Energy Capacity | The theoretical maximum energy stored in the battery (Wh). |
| Usable Energy Capacity | The energy available for use based on the safe depth of discharge (Wh). |
| Required Capacity (Sizing) | The battery capacity (Ah) needed to achieve the desired runtime. |
| Estimated Charging Time | The hours required to recharge the usable capacity. |
| Discharge C-Rate | The rate at which the battery is being discharged relative to its maximum capacity. |
Practical Use Cases
This calculator is useful for sizing off-grid solar battery banks, determining how long a UPS (Uninterruptible Power Supply) will keep critical electronics running during an outage, or estimating the recharge time for recreational vehicle (RV) house batteries. By inputting specific load requirements and battery specifications, users can ensure their power systems are adequately sized for their needs without over-discharging the batteries.
Frequently Asked Questions
Why is usable energy lower than total energy?
Usable energy is lower because fully discharging a battery can damage it. The calculator applies a Depth of Discharge (DoD) limit based on the battery chemistry—such as 50% for lead-acid or 80% for lithium—to estimate the safe usable energy.
How does battery chemistry affect charging time?
Different battery chemistries have different charge efficiencies. For example, lithium batteries are highly efficient (estimated at 95%), meaning less energy is lost as heat during charging compared to lead-acid (85%) or NiMH (80%), resulting in slightly faster effective charging times for the same usable capacity.
What is the Discharge C-Rate?
The Discharge C-Rate measures the rate at which a battery is discharged relative to its maximum capacity. A rate of 1C means the entire battery capacity is discharged in one hour. Lower C-rates generally indicate less stress on the battery.