Solar Panel Sizing Calculator
Size a solar array from daily kWh use and peak sun hours, and size an off-grid battery bank by autonomy days and depth of discharge.
Result
- Array size needed5.56 kW (5,556 W)
- Panels required @ 400 W14 panels
- Installed (rounded up)5.60 kW
- Battery bank energy40.00 kWh
- Battery capacity @ 48 V833 Ah
Step-by-step
- Convert daily use to watt-hours: 20 kWh ร 1000 = 20,000 Wh.
- Divide by (sun hours ร derate): 20,000 รท (4.5 ร 80%) = 5,556 W.
- Number of panels = ceil(5,556 รท 400) = 14.
- Battery energy = daily Wh ร autonomy รท usable DoD: 20,000 ร 1 รท 50% = 40,000 Wh.
- Battery capacity = 40,000 Wh รท 48 V = 833 Ah.
How to use this calculator
- Enter your average daily energy use in kWh (monthly utility kWh รท 30, or sum of appliance loads).
- Enter peak sun hours for your location (US average ~4โ5; check NREL or PVWatts).
- Set the derate factor (80% conservative, 86% PVWatts default) and your chosen panel wattage.
- For off-grid, set days of autonomy and battery depth of discharge to size the battery bank.
About this calculator
This calculator sizes a solar photovoltaic system using the standard energy-balance method: the array must generate, over an average day, at least as much energy as you consume. It divides your daily energy use (in watt-hours) by the product of peak sun hours and a system derate factor, which together convert nameplate panel watts into realistic daily production. "Peak sun hours" is the number of equivalent hours of 1000 W/mยฒ sunlight your location receives. The derate factor (NREL PVWatts uses ~14% total losses, i.e. ~86%) accounts for inverter inefficiency, wiring and soiling losses, temperature, and module mismatch. For off-grid systems it also sizes a battery bank from your required days of autonomy and the battery's usable depth of discharge.
How it works โ the formula
Array (W) = Daily use (Wh) รท (Peak sun hours ร Derate)
Panels = ceil( Array W รท Panel W )
Battery (Wh) = Daily Wh ร Autonomy days รท DoD
Battery (Ah) = Battery Wh รท Bank voltageThe array must replace each day's energy during the limited window of peak sun hours, after derating for real-world losses. The battery bank stores enough usable energy to cover the loads through the specified days without sun, sized up by depth of discharge so it is never over-drained.
Worked examples
- Inputs:
- dailyKwh=20, sunHours=4.5, derate=80, panelWatt=400
- Output:
- 20000 รท (4.5 ร 0.80) = 5556 W โ 14 panels
- Inputs:
- dailyKwh=10, sunHours=5, derate=75
- Output:
- 10000 รท (5 ร 0.75) = 2667 W
- Inputs:
- autonomyDays=1, dod=50, batteryVoltage=48
- Output:
- 20000 รท 0.50 = 40000 Wh โ 833 Ah @ 48 V
Limitations
- Uses an average daily energy balance โ does not model seasonal variation or worst-month sizing.
- Peak sun hours must already incorporate your array tilt and orientation.
- Battery sizing ignores temperature derating and inverter surge requirements.
Planning estimate only. Validate with NREL PVWatts and a qualified installer before purchase.