Calculators.Life Calculator
Engineering

Battery Capacity & Runtime Calculator

Input Parameters

Scenarios
Rated battery capacity in Amp-hours (Ah)
Nominal system voltage (e.g., 12V, 24V, 48V)
Power consumption of connected devices in Watts (W)
Target runtime in hours (used for required capacity sizing)
Current rating of the battery charger in Amperes (A)

Computed Results

Estimated Runtime
17.28
Total Energy Capacity1,200
Usable Energy Capacity960
Required Capacity (Sizing)23.15
Estimated Charging Time8.42
Discharge C-Rate0.042

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:

Total Energy (Wh) = Capacity (Ah) × Voltage (V)

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):

Usable Energy (Wh) = Total Energy × DoD

Estimated Runtime

Runtime is determined by dividing the effective deliverable energy (usable energy multiplied by a 90% discharge efficiency) by the load power:

Runtime (Hours) = (Usable Energy × 0.90) ÷ Load Power (W)

Required Capacity

To find the capacity needed for a specific runtime, the calculator works backward, factoring in the discharge efficiency and DoD:

Required Capacity (Ah) = ((Load Power × Desired Runtime) ÷ 0.90) ÷ DoD ÷ Voltage

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):

Charging Time (Hours) = (Capacity × DoD) ÷ (Charger Current × Charge Efficiency)

How to Use the Calculator

Follow these steps to estimate your battery's performance:

  1. Select Calculation Mode: Choose whether you want to focus on runtime, capacity sizing, or charging time.
  2. Choose Battery Chemistry: Select lithium, lead-acid, or NiMH, as this determines the depth of discharge and efficiency rates.
  3. Enter Battery Capacity: Input the rated capacity in Amp-hours (Ah).
  4. Input Battery Voltage: Enter the nominal system voltage (e.g., 12V, 24V, 48V).
  5. Specify Load Power: Enter the power consumption of your connected devices in Watts (W).
  6. Set Desired Runtime: Input your target runtime in hours to calculate the required capacity.
  7. Enter Charger Current: Provide the current rating of your battery charger in Amperes (A) to estimate charging time.

Inputs & Outputs Table

Input/OutputDescription
Calculation ModeThe primary focus of the calculation (runtime, capacity, or charging).
Battery ChemistryThe type of battery (lithium, lead-acid, NiMH), which sets DoD and efficiency.
Battery CapacityThe rated capacity of the battery in Amp-hours (Ah).
Battery VoltageThe nominal voltage of the battery system.
Load PowerThe total power draw of the connected devices in Watts.
Desired RuntimeThe target number of hours you want the load to run.
Charger CurrentThe output current of the battery charger in Amperes.
Estimated RuntimeThe calculated hours the battery can power the specified load.
Total Energy CapacityThe theoretical maximum energy stored in the battery (Wh).
Usable Energy CapacityThe 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 TimeThe hours required to recharge the usable capacity.
Discharge C-RateThe 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.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.