Solar Panel Calculator
Array size from your usage, at your peak sun hours.
Work out Solar Panel. Array size from your usage, at your peak sun hours. The physics is exact; the tariff is yours to set.
From twelve months of bills.
Not daylight hours — equivalent hours at full irradiance. Under 3 in the north, over 6 in the desert southwest.
Inverter, wiring, soiling, heat and shading losses. 0.75–0.85 typical.
From your own bill, including per-kWh delivery charges.
Leave at zero to skip payback.
Simple payback ignores incentives, financing, panel degradation and tariff changes, and export rates are usually well below retail — so sizing to cover 100% of usage can mean giving summer generation away cheaply. Treat this as a first sort rather than a decision.
System size
9.13 kW
23 panels at 400 W
Peak sun hours carries this answer. At 4.5 the array is 9.13 kW; double the sun hours and it halves. It is not daylight hours — it is the equivalent hours at full rated irradiance, already accounting for angle, cloud and season, which is why a location figure beats any national average.
How the Solar Panel Calculator works
Array size is annual consumption divided by what a kilowatt of panels actually produces where you live. That production figure is peak sun hours — not daylight hours, but the equivalent hours at full rated irradiance, which folds latitude, season, weather and orientation into one number. It ranges from under three in northern maritime climates to over six in the desert southwest, and the array size scales inversely with it.
Also known as: how many solar panels do I need · solar system size calculator · solar kW calculator · solar payback calculator
The calculation itself
System size in kilowatts is annual consumption divided by peak sun hours times 365 times a derate factor. Panel count is that size divided by the panel rating.
Peak sun hours is the parameter carrying the answer, and it is widely misunderstood. It is not daylight hours — it is the equivalent number of hours at 1,000 watts per square metre, which already folds in latitude, season, typical cloud and panel orientation.
In practice
12,000 kWh a year at 4.5 peak sun hours and a 0.8 derate needs 12,000 ÷ (4.5 × 365 × 0.8) = 9.13 kW, which is 23 panels at 400 W each and about 414 square feet of roof.
Move to a location with 6 peak sun hours and the same house needs 6.85 kW — 18 panels. The array scales inversely with sun hours, which is why a national average is close to useless for a specific roof.
Worsen the derate from 0.8 to 0.7, which shading can easily do, and the 4.5-hour case rises to 10.44 kW. Shade costs panels.
The derate factor is where optimism hides
Nameplate output is measured at 25°C under standard test conditions that rarely occur on a roof. Real systems lose to inverter conversion, wiring resistance, soiling, panel temperature — output falls as panels heat — and any shading at all.
0.75 to 0.85 covers most well-designed systems. Below that usually means a shading problem, and no factor rescues a badly shaded roof; partial shade on a string can cost far more output than the shaded area suggests.
Panels also degrade, typically a few tenths of a percent a year, so a twenty-year average is lower than year one.
Where the figure deceives
Simple payback divides installed cost by annual saving and ignores incentives, financing costs, tariff changes and degradation. It is a first sort, not a decision.
Sizing to cover 100% of annual usage is rarely optimal, because export rates are usually well below retail. A system sized to cover winter generates a summer surplus you sell cheaply, and the economics then depend on your tariff structure more than on your roof.
Annual figures also hide seasonality entirely. A system that matches yearly consumption can still leave you buying heavily in December.
Acting on it
Use twelve months of your own bills, not an estimate. Consumption varies more between households than sun hours vary between regions.
Get a location-specific sun hours figure rather than a national one, and get a shading assessment before trusting any derate.
Model self-consumption against export separately if your tariff distinguishes them, because it usually decides the right system size.
Frequently asked questions
How many solar panels do I need?
Divide annual kWh by peak sun hours times 365 times a derate factor to get the system size in kilowatts, then divide by the panel wattage. 12,000 kWh at 4.5 sun hours and 0.8 derate is about 9.1 kW, or 23 panels at 400 W.
What are peak sun hours?
The equivalent number of hours per day at 1,000 W per square metre. A location with 4.5 peak sun hours may have twelve hours of daylight — the figure already accounts for angle, cloud and season.
What is the derate factor?
The fraction of nameplate output that reaches the meter, after inverter losses, wiring, soiling, heat and shading. 0.75 to 0.85 is typical; heavy shading is worse and no factor rescues a badly shaded roof.
How long is the payback?
Installed cost divided by annual saving, which this shows when you supply both. It ignores incentives, financing, tariff changes and panel degradation, so treat it as a first sort rather than a decision.
Should I size for 100% of my usage?
Not necessarily. Export rates are usually well below retail rates, so oversizing to cover winter can mean giving away summer generation cheaply. The economics depend on your tariff structure more than on your roof.
Put this calculator on your own site
Free to use, on any site, commercial or not. Paste this where you want it to appear. It is a plain iframe, so it works in WordPress, Squarespace, Wix, Webflow, Ghost and anything else that accepts HTML.
<iframe src="https://www.thecalclibrary.com/embed/solar-panel-calculator" width="100%" height="640" style="border:1px solid #e2e8f0;border-radius:12px" loading="lazy" title="Solar Panel Calculator"></iframe>The only condition is that the credit line stays visible. It sits inside the frame, so you do not have to do anything to keep it.
Related calculators
Electricity Cost Calculator
What a load costs per day, month and year at your tariff.
OpenkWh Calculator
Watts and hours into kilowatt-hours, and into BTU.
OpenEV Charging Cost Calculator
What the wall meter reads, not just what the battery gains.
Open