Battery Capacity Needed for
X Hours Runtime
Figure out how many amp-hours (Ah) your battery bank needs to keep your gear running for X hours. Dial in your voltage and Depth of Discharge (DoD) for off-grid cabins, RVs, and home backup setups.
Enter Load & Runtime
Required Ah = (Load W × Hours ÷ Voltage) ÷ Depth of DischargeAssumes 100% DC efficiency. If you run AC appliances through an inverter, leave an extra 15% to 25% capacity buffer.
How to Calculate Battery Capacity Needed for X Hours of Runtime
If you know what you want to run and how many hours it needs to stay on, this calculator gives you the minimum amp-hours (Ah) your battery bank needs. That makes sizing an off-grid cabin, RV setup, or home backup inverter much easier than guessing off a product label.
1. The Basic Formula
Here is the exact math behind the numbers:
Required Battery Capacity (Ah) = (Load Power × Runtime ÷ Voltage) ÷ Depth of Discharge
First, multiplying watts by hours gives you total energy used in watt-hours (Wh). Dividing by your battery voltage converts Wh into amp-hours (Ah). Finally, dividing by your safe Depth of Discharge (DoD) scales the bank up so you do not drain the battery flat on every cycle.
2. What Each Input Means
- Load Power (W): The combined wattage of everything running at the same time on your battery or inverter.
- Runtime (hours): How long you need those devices to stay powered between charges.
- Battery Voltage (V): The nominal voltage of your battery bank, usually 12V, 24V, or 48V.
- Depth of Discharge (DoD): How much of the battery you safely plan to drain. Lead-acid and AGM banks usually stay around 50%, while LiFePO4 lithium batteries comfortably handle 80% to 90%.
3. Quick Worked Example
Say you want to run a 100-watt load for 5 hours from a 12V lithium battery at 80% usable DoD:
Required Ah = (100 × 5 ÷ 12) ÷ 0.80 = 52.1 Ah
Under clean DC conditions, you need at least a 12V 52Ah battery, or a common 12V 60Ah to 100Ah battery once you leave room for real-world losses.
4. Planning for Real-World Losses
The base equation assumes 100% conversion efficiency. In real setups, inverters, cables, and room temperature chip away at usable energy, so it helps to build in a small buffer:
- Add a 15% to 25% safety margin (we show a +20% target right in the breakdown grid above).
- Account for inverter efficiency (85% to 95%) if you are powering standard AC wall-plug appliances.
- Keep cold temperatures in mind, since chilly rooms temporarily reduce usable battery capacity.
5. Picking the Right Battery Chemistry
Battery chemistry determines how deeply you can discharge every day and how many years the bank holds up:
| Battery Type | Typical Usable DoD | Best Fit |
|---|---|---|
| Lead-Acid (Flooded / Tubular) | 50% | Lower-cost home backup where weight and floor space are flexible |
| Deep-Cycle AGM / Gel | 50% to 70% | Sealed indoor backup and light RV use |
| LiFePO4 (Lithium Iron Phosphate) | 80% to 90% | Daily solar cycling, off-grid cabins, and RVs |
| Lithium NMC / Portable Stations | 80% to 90% | Compact portable power where low weight matters |
6. Pairing Your Battery with Solar Panels
Sizing the battery is only half the job; your solar panels also need enough wattage to refill those watt-hours during peak sun hours. Once you know your required Wh and Ah, check our Daily kWh Output Calculator to make sure your array can recharge the bank, or test how long an existing battery lasts using the Solar Battery Runtime Calculator.
7. Quick Checklist Before Buying
- Measure or add up the actual wattage of every device running together.
- Include a 15% to 25% buffer for inverter conversion losses and battery aging.
- Match your battery bank voltage (12V, 24V, or 48V) to your inverter and charge controller.
- Recheck your Ah target whenever you add appliances or switch battery chemistries.
Calculation Methodology & Engineering Standards
This battery capacity calculator follows off-grid energy storage sizing practices aligned with IEEE 485 and IEEE 1562. Formulas and Depth of Discharge presets are maintained and reviewed by the SolarMathDesk Engineering Lab.
Frequently Asked Questions (FAQ)
How do I calculate how many amp-hours (Ah) I need for X hours of runtime?
(100 × 5 ÷ 12) ÷ 0.5 = 83.3 Ah.