Solar Battery Sizing Calculator
Size your solar battery bank accurately. Calculate required capacity, panel count, charge controller, and costs for off-grid and hybrid solar energy
Solar Battery Sizing Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Battery kWh = (Daily Usage x Autonomy Days) / DoD / Efficiency
Worked example โ Battery: 78.9 kWh (1,644 Ah @ 48V) | Solar: 19 panels (7.6 kW) | Est. Cost: $42,184
Formula
Battery kWh = (Daily Usage x Autonomy Days) / DoD / Efficiency
Total battery capacity equals daily energy consumption multiplied by desired autonomy days, divided by depth of discharge and round-trip efficiency. This ensures sufficient stored energy for the backup period while protecting battery longevity.
Worked Examples
Example 1: Residential Off-Grid Battery Sizing
Problem:A household uses 30 kWh per day and wants 2 days of battery autonomy with lithium batteries (80% DoD) on a 48V system in an area with 5 peak sun hours.
Solution:Total energy for autonomy = 30 kWh * 2 days = 60 kWh Battery capacity needed = 60 / 0.80 = 75 kWh Adjusted for efficiency (95%) = 75 / 0.95 = 78.9 kWh Battery Ah = 78,900 Wh / 48V = 1,644 Ah Solar panels (400W): Daily per panel = 400W * 5h * 0.80 = 1.60 kWh Panels needed = 30 / 1.60 = 19 panels (7.6 kW) Battery cost = 78.9 kWh x $400/kWh = $31,560; panel cost = 7,600 W x $0.50/W = $3,800; inverter = 7.6 kW x $200 = $1,520; install = ($31,560+$3,800) x 15% = $5,304 Total cost = $31,560 + $3,800 + $1,520 + $5,304 = $42,184
Result:Battery: 78.9 kWh (1,644 Ah @ 48V) | Solar: 19 panels (7.6 kW) | Est. Cost: $42,184
Example 2: Small Cabin Lead-Acid System
Problem:A cabin uses 5 kWh per day, needs 3 days autonomy with lead-acid batteries (50% DoD), 24V system, 4 peak sun hours.
Solution:Total energy = 5 * 3 = 15 kWh Battery capacity = 15 / 0.50 = 30 kWh Adjusted for efficiency (80%) = 30 / 0.80 = 37.5 kWh Battery Ah = 37,500 / 24 = 1,563 Ah Solar panels (300W): Daily = 300 * 4 * 0.80 = 0.96 kWh Panels = 5 / 0.96 = 6 panels (1.8 kW) Battery cost = 37.5 kWh x $150/kWh = $5,625; panel cost = 1,800 W x $0.50/W = $900; inverter = 1.8 kW x $200 = $360; install = ($5,625+$900) x 15% = $979 Total cost = $5,625 + $900 + $360 + $979 = $7,864
Result:Battery: 37.5 kWh (1,563 Ah @ 24V) | Solar: 6 panels (1.8 kW) | Est. Cost: $7,864
Frequently Asked Questions
How do you calculate the battery bank size for a solar energy system?
To size a solar battery bank, start with your daily energy consumption in kilowatt-hours. Multiply by the number of autonomy days (days the battery should power your home without solar input, typically 1 to 3 days). Then divide by the depth of discharge (DoD) to account for the fact that batteries should never be fully depleted. For lead-acid batteries, maximum DoD is typically 50 percent, while lithium-ion batteries can safely discharge to 80 or even 90 percent. Finally, divide by the system voltage (12V, 24V, or 48V) to get the required amp-hour capacity. A 30 kWh daily usage with 2 days autonomy and 50 percent DoD needs 120 kWh of battery capacity, which is 2,500 Ah at 48 volts.
What is depth of discharge and why does it matter for battery longevity?
Depth of discharge (DoD) is the percentage of a battery capacity that has been used relative to its total capacity. A battery discharged from 100 percent to 40 percent has a DoD of 60 percent. DoD directly impacts battery cycle life, which is the number of charge-discharge cycles a battery can perform before its capacity degrades significantly. Lead-acid batteries discharged to only 50 percent DoD may last 1,500 cycles, but discharged to 80 percent DoD they may only last 500 cycles. Lithium iron phosphate (LiFePO4) batteries tolerate deeper discharges much better, often rated for 5,000 or more cycles at 80 percent DoD. Operating batteries at shallower depths of discharge dramatically extends their useful life and reduces long-term costs.
What are the differences between lithium and lead-acid batteries for solar storage?
Lithium-ion batteries (particularly LiFePO4) offer significant advantages over lead-acid for solar storage despite higher upfront costs. Lithium batteries have 95 percent round-trip efficiency compared to 80 percent for lead-acid, meaning less solar energy is wasted during charging and discharging. They tolerate deeper discharge (80-90 percent DoD versus 50 percent), effectively doubling usable capacity per installed kilowatt-hour. Lithium batteries last 5,000 or more cycles versus 1,500 for lead-acid, weigh about one-third as much, and require no maintenance. When comparing lifetime cost per usable kilowatt-hour stored, lithium batteries are actually less expensive despite costing 2 to 3 times more initially because they last much longer and provide more usable energy per cycle.
How many solar panels do I need to charge my battery bank?
The number of solar panels needed depends on your daily energy consumption, local peak sun hours, panel wattage, and system losses. Multiply panel wattage by peak sun hours to get daily energy production per panel. Apply a system loss factor of about 20 percent for inverter inefficiency, wiring losses, temperature derating, and dust accumulation. Divide your daily usage by the effective production per panel to get the number of panels needed. For example, a 400-watt panel in an area with 5 peak sun hours produces about 1.6 kWh per day after losses. A home using 30 kWh per day would need approximately 19 panels. Always round up and consider adding 10 to 20 percent extra capacity for cloudy periods and seasonal variation.
What system voltage should I choose for my solar battery bank and why?
The system voltage (typically 12V, 24V, or 48V) affects wire sizing, component costs, and system efficiency. Higher voltages are preferred for larger systems because they reduce current for the same power, allowing smaller and less expensive wiring. A 48V system carries one-quarter the current of a 12V system at the same power, significantly reducing resistive losses in cables. For systems under 1 kW, 12V is common and compatible with many appliances. Systems between 1 and 3 kW typically use 24V. Systems above 3 kW should use 48V for efficiency and cost reasons. Most modern lithium battery systems and hybrid inverters are designed for 48V operation. The higher voltage also allows more efficient charge controllers and inverters with typical efficiencies of 96 to 98 percent at 48V versus 90 to 94 percent at 12V.
What is the Peukert effect, and why does a fast discharge yield less energy?
Rated capacity is quoted at a stated discharge rate, conventionally the 20-hour or C/20 rate. Pull the same bank harder and internal resistance plus slowed ion diffusion mean fewer amp-hours actually emerge, the relationship Wilhelm Peukert described in 1897. A flooded lead-acid bank drawn at C/5 can deliver noticeably less than its label, while lithium iron phosphate is far less sensitive. If your loads are short and heavy, size against the rate you will really run, not the printed figure.
How much capacity does cold weather remove, and can lithium be charged below freezing?
Cold slows the electrochemistry, so a lead-acid bank can shed roughly 20 percent of rated capacity near 0 degrees Celsius, and the numbers here assume room temperature. Lithium iron phosphate holds capacity better but must not be charged below freezing, because metallic lithium plates onto the anode and permanently damages the cell. That is why a competent battery management system blocks charge until the cells warm. Discharging cold is generally acceptable, and an insulated or heated enclosure fixes both issues.
What is the difference between an MPPT and a PWM charge controller?
A PWM controller simply switches the array onto the bank, dragging panel voltage down to battery voltage, so a panel sitting near 30 volts contributes only its current at bus voltage and the surplus voltage is thrown away. An MPPT controller runs a DC-DC converter, holds the array at its maximum power point and turns that surplus voltage into extra charging current, typically recovering 10 to 30 percent more energy and more still in cold, high-voltage conditions. PWM suits only small, voltage-matched arrays.
How many autonomy days should I actually specify?
Two days is the usual residential figure, while remote telecom and monitoring sites commonly specify three to five. The right number depends on your longest realistic run of poor irradiance and on whether any backup exists. If you have a generator or a grid connection, sizing for one to two days and covering rare events with fuel is normally far cheaper than buying a bank big enough for a week of December overcast that arrives once a year.
Why does the panel calculation apply a 0.80 system loss factor?
Because nameplate watts are measured at Standard Test Conditions: 1,000 watts per square meter of irradiance, a 25 degree Celsius cell temperature and an air mass of 1.5. Real arrays run hotter and give up a little more to soiling, wiring resistance, module mismatch and conversion, so a derate near 0.80 is standard practice. It is why a 400 W panel at 5 peak sun hours is credited with 400 x 5 x 0.80 = 1.6 kWh per day rather than 2.0.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎInverter Sizing Calculator
Calculate inverter sizing with inputs, formulas, and instant results.
๐งฎSolar Capacity Factor Calculator
Calculate solar capacity factor with inputs, formulas, and instant results.
๐งฎSolar LCOE Calculator
Calculate solar lcoecalculator with inputs, formulas, and instant results.
๐งฎSolar Panel Calculator
Calculate solar panel with inputs, formulas, and instant results.
๐งฎSolar Panel Wattage Calculator โ Size Your System
Calculate solar panel wattage with inputs, formulas, and instant results.
๐งฎEnvironmental ROI Calculator
Calculate environmental roicalculator with inputs, formulas, and instant results.
๐งฎEnvironmental Data Quality Score Calculator
Calculate environmental data quality score with inputs, formulas, and instant results.
๐งฎBag Footprint Calculator
Calculate bag footprint with inputs, formulas, and instant results.