Battery Capacity Calculator Formula
Understand the math behind the battery capacity calculator. Each variable explained with a worked example.
Formulas Used
Load Current Draw
draw_current = load_currentUsable Capacity Needed
usable_ah = load_current * hours / (efficiency / 100)Total Battery Capacity
total_ah = load_current * hours / (efficiency / 100) / (dod / 100)Battery Energy
energy_kwh = load_current * hours / (efficiency / 100) / (dod / 100) * voltage / 1000Variables
| Variable | Description | Default |
|---|---|---|
load_power | Load Power(W) | 500 |
voltage | Battery Voltage(V) | 48 |
hours | Required Backup Time(hours) | 4 |
dod | Max Depth of Discharge(%) | 80 |
efficiency | System Efficiency(%) | 90 |
load_current | Derived value= load_power / voltage | calculated |
How It Works
Battery Capacity Sizing
Battery capacity must account for the load, duration, efficiency losses, and depth-of-discharge limits.
Formula
Required Ah = (P / V) x Hours / Efficiency / DoD
where P is load power in watts, V is battery voltage, Hours is the backup duration, Efficiency accounts for inverter and wiring losses, and DoD is the maximum allowable depth of discharge (to protect battery life).
Worked Example
500 W load on a 48V battery system for 4 hours, 80% DoD, 90% efficiency.
load_power = 500voltage = 48hours = 4dod = 80efficiency = 90
- 01Load current = 500 / 48 = 10.42 A
- 02Usable capacity = 10.42 x 4 / 0.90 = 46.3 Ah
- 03Total capacity = 46.3 / 0.80 = 57.9 Ah
- 04Battery energy = 57.9 x 48 / 1000 = 2.78 kWh
Ready to run the numbers?
Open Battery Capacity Calculator