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
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.
Frequently asked
What are peak sun hours?+
Why divide by a derate factor?+
How do I find my daily kWh use?+
How is the battery bank sized?+
Does this account for panel tilt and orientation?+
Is this for grid-tied or off-grid systems?+
Related calculators
More tools you might like
Hand-picked tools that pair well with this one โ same audience, same intent.
System cost / annual savings = years to break even on a residential solar install.
Panels = daily kWh need / (panel-W ร sun-hours ร derate / 1000).
Estimate how long a battery lasts from its capacity (mAh) and the device load current (mA), with an adjustable efficiency factor.
Estimate the energy a solar array produces from its wattage, peak sun hours, a system derate, and the number of days.
Calculate near and far depth-of-field limits and the hyperfocal distance from focal length, aperture, focus distance, and sensor size.
A weekly babysitting schedule with a pay calculator โ family and sitter, week-of and hourly rate, a day-by-day grid (hours per day with an optional per-day rate and notes), and computed daily pay plus weekly total hours and total pay.