Battery Ah Calculator
Use this tool to calculate battery capacity (Ah), runtime, or current draw for common battery systems (12V, 24V, 48V, and more).
Formula: Required Ah = (Current × Hours ÷ DoD) × (1 + Safety Margin)
Formula: Runtime = (Battery Ah × DoD) ÷ Load Current
Formula: Current = (Battery Ah × DoD) ÷ Runtime
What is an Ah calculator?
An Ah calculator helps you estimate battery capacity and usage. “Ah” stands for amp-hours, which represents how much electrical charge a battery can deliver over time. If you run a 5A load for 2 hours, that uses about 10Ah. This simple relationship is the foundation of battery planning for RVs, solar systems, marine setups, backup power, and DIY electronics.
The challenge is that real systems are rarely ideal. You may only want to use part of a battery’s total capacity (depth of discharge), and most people add a safety margin to account for inverter losses, temperature, aging, and startup surges. This calculator handles those practical details.
Ah vs mAh vs Wh (and why it matters)
- Ah (amp-hours): Charge capacity. Common for larger batteries.
- mAh (milliamp-hours): 1Ah = 1000mAh. Common for small electronics.
- Wh (watt-hours): Energy capacity. Includes voltage, so it is better for comparing different battery voltages.
Quick conversion: Wh = Ah × V. Example: a 12V 100Ah battery stores about 1200Wh (at nominal voltage).
Core formulas used in this calculator
1) Required battery size (Ah)
Required Ah = (Load Current × Runtime) ÷ (DoD / 100), then multiply by your safety margin.
Example: 10A load for 8 hours with 80% DoD and 20% safety:
Base Ah = 10 × 8 = 80Ah
DoD-adjusted = 80 ÷ 0.8 = 100Ah
Final with margin = 100 × 1.2 = 120Ah
2) Runtime estimate
Runtime = (Battery Ah × DoD / 100) ÷ Load Current
Example: 100Ah battery, 80% DoD, 5A load:
Usable Ah = 100 × 0.8 = 80Ah
Runtime = 80 ÷ 5 = 16 hours
3) Current draw from a runtime goal
Current = (Battery Ah × DoD / 100) ÷ Runtime
This is useful when your battery is fixed and you need to know the maximum average load you can support.
How to use this Ah calculator effectively
- Pick the correct mode: battery size, runtime, or current draw.
- Use realistic values for current and runtime, not best-case assumptions.
- Set DoD based on chemistry (lead-acid usually lower than lithium).
- Add safety margin (10–30% is common).
- If needed, use voltage to view energy context in watt-hours and watts.
Real-world battery sizing tips
For off-grid solar and RV systems
- Plan for cloudy days and seasonal variation.
- Include inverter losses and phantom loads.
- Oversizing slightly can improve battery life and system stability.
For boats and trolling motors
- Current draw changes with speed and water conditions.
- Account for navigation electronics and accessories.
- Low temperatures reduce available capacity.
For UPS and emergency backup
- Startup surges can be much higher than steady-state draw.
- Battery capacity degrades over time; retest periodically.
- Keep charging strategy matched to battery chemistry.
Common mistakes to avoid
- Assuming 100% of rated Ah is always usable.
- Ignoring voltage when comparing two different battery banks.
- Not adding safety margin for aging and temperature effects.
- Using peak current as if it were average current for long runtime estimates.
Frequently asked questions
Can I convert Ah directly to runtime without current?
No. Runtime depends on load current. You need both battery capacity and average current draw.
Is higher Ah always better?
Higher Ah gives more runtime, but it adds cost, weight, and charging requirements. The best design is sized for your actual duty cycle.
Why does my real runtime differ from the estimate?
Because real systems have inefficiencies: inverter losses, battery age, temperature effects, voltage sag, and varying load profiles.
Bottom line
An Ah calculator turns battery planning from guesswork into a repeatable process. Start with your average current, decide on target runtime, apply realistic DoD, and include safety margin. You’ll get a battery setup that performs better and lasts longer.