This battery size calculator works out the required battery capacity in amp-hours (Ah) and kilowatt-hours (kWh) for a DC system. You enter your appliance’s power draw, how many hours per day it runs, and the system voltage, and it returns the minimum usable capacity plus a recommended size that accounts for depth of discharge.
Formula
The core formula for battery capacity is:
Capacity (Ah) = (Power (W) × Time (h)) / (Voltage (V) × Depth of Discharge)
Where:
- Power (W) – the average power draw of your device or appliance in watts.
- Time (h) – how many hours per day the device runs.
- Voltage (V) – the battery system voltage (e.g., 12V, 24V, 48V).
- Depth of Discharge (DoD) – the fraction of the battery’s total capacity you’re willing to use before recharging, expressed as a decimal (e.g., 50% = 0.5).
The result is in amp-hours (Ah), the standard unit for battery capacity. To get kilowatt-hours (kWh), multiply Ah × V and divide by 1000.
Worked Example
Let’s use the default values from the calculator: a 100 W device running 8 hours per day on a 12 V system with a 50% depth of discharge.
- Daily energy consumption: 100 W × 8 h = 800 Wh (0.8 kWh).
- Usable capacity needed: 800 Wh ÷ 12 V = 66.7 Ah (at 100% DoD).
- Adjust for 50% DoD: 66.7 Ah ÷ 0.5 = 133.3 Ah.
So you need a battery rated at least 133.3 Ah at 12 V. The calculator shows 133.3 Ah as the headline answer, 0.8 kWh as the energy stored, and 66.7 Ah as the capacity at full discharge.
Why Depth of Discharge Matters
Most batteries shouldn’t be fully drained. Lead-acid batteries (flooded, AGM, gel) typically last longest if you only use 50% of their rated capacity. Lithium-ion (LiFePO4) batteries can often handle 80–100% DoD without major degradation. The depth of discharge is a safety margin: a 100 Ah lead-acid battery at 50% DoD gives you only 50 Ah of usable energy. Ignoring this is the most common mistake when sizing batteries.
The calculator’s default of 50% is a safe starting point for lead-acid. If you’re using lithium, set it to 80–90%. If you’re building a system for occasional use and don’t mind shorter battery life, you could use 80% for lead-acid, but 50% is the recommended maximum for regular cycling.
How to Choose the Right Battery Size
Follow these steps to size a battery for any DC load:
- List all devices you’ll power, with their wattage (usually printed on the label).
- Estimate run time per day for each device in hours.
- Multiply watts × hours for each device and sum them to get total daily watt-hours (Wh).
- Divide by system voltage to get amp-hours at 100% DoD.
- Divide by your chosen depth of discharge (as a decimal) to get the rated Ah.
- Round up to the nearest available battery size (e.g., 100 Ah, 200 Ah).
For example, a laptop (60 W) for 4 hours, LED lights (10 W) for 5 hours, and a small fan (30 W) for 6 hours gives: (60×4) + (10×5) + (30×6) = 240 + 50 + 180 = 470 Wh. On a 12 V system with 50% DoD: 470 ÷ 12 ÷ 0.5 = 78.3 Ah. You’d buy a 100 Ah battery.
Common Mistakes and Misconceptions
- Mixing up watts and watt-hours: Watts is power (rate), watt-hours is energy (total). A 100 W device running 8 hours uses 800 Wh, not 100 Wh.
- Ignoring inverter efficiency: If you’re running AC appliances from a battery via an inverter, add 10–15% to the power draw to account for inverter losses. For example, a 500 W AC load might draw 550–575 W from the battery.
- Using 100% DoD for lead-acid: This drastically shortens battery life. Most lead-acid batteries die after only a few hundred cycles if regularly discharged to 100%.
- Forgetting that battery capacity changes with temperature: Cold batteries deliver less usable capacity. At 0°C, a lead-acid battery may only deliver 70–80% of its rated capacity.
- Assuming all batteries are equal: A 100 Ah lithium battery typically has a higher usable capacity than a 100 Ah lead-acid because you can discharge it deeper.
Battery Types and Their DoD Limits
Different chemistries have different recommended depths of discharge:
- Flooded lead-acid: 50% DoD max for good cycle life.
- AGM / Gel lead-acid: 50–60% DoD max.
- Lithium-ion (LiFePO4): 80–100% DoD is acceptable; many manufacturers rate them for 80% DoD for 5000+ cycles.
- Nickel-based (NiMH, NiCd): 80–90% DoD, but less common in large battery banks.
These are general guidelines. Always check the manufacturer’s datasheet for your specific battery model.
When This Calculator Isn’t Enough
This calculator gives a first-order estimate for steady DC loads. Real systems have additional factors:
- Peak vs. average power: If a device draws 200 W when starting but 50 W normally, use the average for sizing, but ensure the battery can supply the peak current.
- Days of autonomy: If you need to run for 3 days without recharging (e.g., off-grid solar), multiply the daily Ah by 3.
- Charging efficiency: When recharging, you need to put back more energy than you took out. Lead-acid is about 80–85% efficient, lithium about 95–99%.
- Temperature derating: In cold environments, increase capacity by 20–30%.
For complex systems with inverters, solar panels, or multiple loads, consult a professional or use a more detailed design tool.
Frequently Asked Questions
What size battery do I need for a 100W solar panel?
It depends on your load and location. A 100W panel produces roughly 400–600 Wh per day in good sun. If you use 400 Wh/day on a 12V system with 50% DoD, you need a 400 ÷ 12 ÷ 0.5 = 66.7 Ah battery, so a 75 Ah or 100 Ah battery is typical.
How long will a 100Ah battery run a 500W inverter?
At 12V, a 100Ah battery has 1200 Wh of energy. With 50% DoD, usable energy is 600 Wh. A 500W inverter load (plus ~10% inverter loss) draws about 550W, so runtime is 600 ÷ 550 = 1.09 hours. At 100% DoD, it’s about 2.18 hours.
What’s the difference between amp-hours and watt-hours?
Amp-hours measure charge, watt-hours measure energy. Multiply Ah × voltage to get Wh. A 12V 100Ah battery stores 1200 Wh (1.2 kWh). The same 100Ah at 24V stores 2400 Wh.
Can I use a car battery for solar storage?
Car batteries (starting batteries) are designed for short high-current bursts, not deep cycling. Using them for solar storage will quickly kill them. Use deep-cycle batteries (marine, golf cart, or LiFePO4) instead.
How do I calculate battery size for a 3-day off-grid system?
Calculate your daily Ah requirement, then multiply by 3 (days of autonomy). For example, 80 Ah/day × 3 = 240 Ah. Then divide by your DoD (e.g., 0.5 for lead-acid) to get 480 Ah rated capacity.
Does battery voltage affect the capacity I need?
Yes. For the same watt-hours, higher voltage means lower amp-hours. A 24V system needs half the Ah of a 12V system for the same energy. That’s why larger solar systems often use 24V or 48V batteries.
Related
Formula used
in p | Power draw | W | 100 | 0 | 100000 in h | Daily run time | h | 8 | 0 | 24 in v | System voltage | V | 12 | 0 | 1000 in dod | Depth of discharge | % | 50 | 1 | 100 out ah | Required capacity | Ah | (p * h) / (v * (dod/100)) | 1 out kwh | Energy stored | kWh | (p * h) / 1000 | 2 out ah100 | Capacity at 100% DoD | Ah | (p * h) / v | 1
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
- Three Phase to Single Phase Conversion Calculator6.24 kW
- Symbolic Algebra Calculator: How It Works
- Terrarium Glass Area Calculator18.00 ft²
- Sweater Size Calculator: How to Find Your Fit36
- Specific Speed Pump Turbine Calculator50.00
- Species Extinction Rate Calculator