Solar Battery Bank Calculator — Size Your Battery Storage
Total Battery Capacity (Wh)
—
Battery Bank (Ah)
—
Approximate Batteries Needed
—
How Solar Battery Sizing Works
A solar battery bank stores energy generated by photovoltaic panels for use during nighttime, cloudy days, or grid outages. Proper sizing is the most critical step in designing a reliable off-grid or hybrid solar system. According to the National Renewable Energy Laboratory (NREL), undersized battery banks are the leading cause of off-grid system failures, while oversized banks waste capital on unused capacity. This calculator determines the total battery capacity needed based on your daily energy consumption, desired days of autonomy, depth of discharge (DoD), system voltage, and battery efficiency.
The residential battery storage market has grown rapidly, with the US Energy Information Administration reporting 1.1 GW of distributed battery installations in 2023. Popular options include the Tesla Powerwall (13.5 kWh), Enphase IQ (5 kWh modular), and LG RESU (9.8-16 kWh). For off-grid systems, battery bank sizes typically range from 10 kWh (small cabin) to 40+ kWh (full-size home). Our solar savings calculator can help estimate how much energy your panels will produce to charge these batteries.
The Battery Sizing Formula
The standard formula is: Required Capacity (Wh) = Daily Energy Use (Wh) x Days of Autonomy / (Depth of Discharge x Battery Efficiency). To convert to amp-hours: Ah = Total Wh / System Voltage.
Worked example: A cabin using 5,000 Wh/day needs 2 days of autonomy with lead-acid batteries (50% DoD, 85% efficiency). Required capacity = 5,000 x 2 / (0.50 x 0.85) = 23,529 Wh (23.5 kWh). At 48V: 23,529 / 48 = 490 Ah. Using 100 Ah batteries in a 48V configuration (4 batteries in series = 1 string of 48V): you need 5 strings in parallel = 20 batteries.
Key Terms
Depth of Discharge (DoD): The percentage of battery capacity used before recharging. Lead-acid batteries should stay at 50% DoD for optimal cycle life (1,500-2,000 cycles). LiFePO4 batteries handle 80-90% DoD with 3,000-5,000 cycles. Higher DoD means more usable capacity per battery.
Days of Autonomy: The number of consecutive cloudy or no-production days your battery bank can power your loads. Grid-tied backup systems typically use 1-2 days. Off-grid systems in reliable sun areas use 2-3 days. Remote installations in cloudy climates may need 4-5 days.
System Voltage: The DC bus voltage of your battery bank (12V, 24V, or 48V). Higher voltage systems have lower current for the same power, allowing smaller and cheaper wiring. Systems over 2 kW should use 48V.
Round-Trip Efficiency: The percentage of energy put into a battery that can be retrieved. Lead-acid: 80-85%. LiFePO4: 92-98%. This efficiency loss must be factored into sizing calculations.
Battery Technology Comparison
| Battery Type | Max DoD | Cycle Life | Cost/kWh | Lifespan |
|---|---|---|---|---|
| Flooded Lead-Acid | 50% | 800-1,500 | $150-$250 | 3-5 years |
| AGM Lead-Acid | 50% | 600-1,200 | $200-$350 | 3-5 years |
| LiFePO4 (LFP) | 80-90% | 3,000-5,000 | $400-$700 | 10-15 years |
| NMC Lithium | 80-90% | 2,000-3,000 | $350-$600 | 8-12 years |
While LiFePO4 batteries cost more upfront, their longer lifespan and deeper DoD make them cheaper per cycle. A LiFePO4 battery at $500/kWh lasting 4,000 cycles costs $0.125/cycle, versus a lead-acid at $200/kWh lasting 1,000 cycles at $0.20/cycle.
Practical Examples
Example 1 -- Off-grid cabin: Daily use: 3,000 Wh. 3 days autonomy. LiFePO4 batteries (80% DoD, 95% efficiency). Capacity = 3,000 x 3 / (0.80 x 0.95) = 11,842 Wh (11.8 kWh). At 48V = 247 Ah. Three 100 Ah LiFePO4 batteries in parallel at 48V (12 cells total) provides 14.4 kWh of capacity with comfortable margin.
Example 2 -- Grid-tied backup: Daily essential loads: 8,000 Wh (refrigerator, lights, Wi-Fi, phone charging). 1 day autonomy. LiFePO4 (80% DoD, 95% efficiency). Capacity = 8,000 / (0.80 x 0.95) = 10,526 Wh. A single Tesla Powerwall (13.5 kWh usable) covers this with margin. Use our electric bill calculator to identify essential vs. non-essential loads.
Example 3 -- Full off-grid home: Daily use: 15,000 Wh. 3 days autonomy. LiFePO4 (80% DoD, 95% efficiency). Capacity = 15,000 x 3 / (0.80 x 0.95) = 59,211 Wh (59.2 kWh). At 48V = 1,234 Ah. This requires a substantial battery bank -- typically 12-16 LiFePO4 server rack batteries at 100 Ah each, costing $15,000-$25,000.
Tips and Strategies
- Choose LiFePO4 for new installations. Despite higher upfront cost, LiFePO4 batteries offer 3-5x longer lifespan, deeper DoD (more usable capacity), no maintenance, and safer chemistry than lead-acid.
- Reduce loads before sizing. Switching to LED lighting, efficient appliances, and a heat pump water heater can cut daily energy use by 30-50%, dramatically reducing battery bank size and cost.
- Use 48V for systems over 2 kW. Higher voltage reduces current, allowing smaller (cheaper) wire and lower resistive losses. Most modern hybrid inverters support 48V.
- Account for temperature. Lead-acid batteries lose 1% capacity per degree below 25C (77F). In cold climates, insulate or heat the battery enclosure, or add 20-30% capacity margin.
- Plan for future expansion. Size your charge controller and inverter for potential expansion. Adding batteries later is straightforward if the electrical infrastructure supports it.
Frequently Asked Questions
What is depth of discharge (DoD)?
Depth of discharge is the percentage of a battery's total capacity that is used before recharging. Lead-acid batteries should not be discharged below 50% (50% DoD) to maintain acceptable cycle life of 1,000-2,000 cycles. Discharging lead-acid batteries deeper significantly shortens their lifespan. Lithium iron phosphate (LiFePO4) batteries can safely operate at 80-90% DoD while maintaining 3,000-5,000 cycle life, effectively delivering 60-80% more usable energy per battery. This higher usable capacity means lithium systems need fewer total batteries to meet the same energy storage requirement.
How many days of autonomy do I need?
Days of autonomy depends on your application and location. Grid-tied backup systems typically need 1-2 days to cover short outages. Off-grid homes in sunny climates (Southwest US, Australia) need 2-3 days. Off-grid systems in cloudy regions (Pacific Northwest, Northern Europe) may need 4-5 days. Remote telecommunications and industrial applications often require 5-7 days. More autonomy days directly increase battery bank size and cost, so balance reliability needs against budget. A backup generator can supplement the battery bank during extended cloudy periods, allowing a smaller battery bank.
Should I use 12V, 24V, or 48V?
System voltage should match your power requirements. For systems under 1 kW (small RV, shed), 12V works well with widely available components. Systems between 1-3 kW should use 24V for better efficiency. Systems above 3 kW should use 48V to minimize current, reduce wire costs, and improve overall system efficiency. Most modern hybrid and off-grid inverters (Victron, Sol-Ark, EG4) support 48V as the standard. Higher voltage also means lower losses in the wiring between batteries, charge controller, and inverter, which becomes significant in larger systems.
How long do solar batteries last?
Battery lifespan depends on the chemistry, depth of discharge, temperature, and charge/discharge rate. Flooded lead-acid batteries typically last 3-5 years with proper maintenance (regular watering and equalization charges). AGM and gel lead-acid batteries last 3-5 years maintenance-free. LiFePO4 batteries last 10-15 years or 3,000-5,000 cycles, whichever comes first. NMC lithium batteries (Tesla Powerwall) are warrantied for 10 years. Keeping batteries in a temperature-controlled environment (60-80F) and avoiding full discharges significantly extends lifespan for all chemistries.
Can I add batteries to an existing solar system?
Yes, adding batteries to an existing grid-tied solar system is one of the fastest-growing segments of the residential energy market. You will need a hybrid inverter (or an AC-coupled battery system) to manage both grid and battery power. Popular retrofit options include the Tesla Powerwall, Enphase IQ Battery, and Generac PWRcell. Costs range from $10,000-$20,000 installed before the 30% federal tax credit. Adding batteries enables backup power during outages, time-of-use rate arbitrage, and self-consumption optimization when net metering rates are unfavorable.
What is the difference between LiFePO4 and lead-acid batteries for solar?
LiFePO4 (lithium iron phosphate) batteries cost 2-3x more upfront but offer 3-5x longer lifespan, 60-80% more usable capacity (due to higher DoD), no maintenance requirements, 50-70% less weight, and faster charging capability. Lead-acid batteries are cheaper initially and widely available but require regular maintenance (for flooded types), have limited DoD (50%), and need replacement every 3-5 years. Over a 15-year period, the total cost of ownership for LiFePO4 is typically 30-50% lower than lead-acid when accounting for replacement cycles. LiFePO4 also has superior safety characteristics, with no risk of thermal runaway under normal conditions.