Estimate how many solar panels fit on your roof, the system size in kW DC, daily and annual kWh production, and the annual dollar value — with peak sun hours and real-world efficiency derate built in.
How to Use the Solar Calculator
Start with your south-facing roof plane (in the Northern Hemisphere). Measure the length and width of the roof section that will hold the array — not the entire roof, just the unshaded, south- or west-facing portion. If you have multiple roof planes, run the calculator once per plane and add the results. The usable fraction accounts for required setbacks from ridges, edges, and penetrations; 75% is a reasonable starting point for a clean rectangular roof with a few plumbing vents.
Panel wattage has climbed steadily — 300W was standard in 2018, 400W is standard now, and 450W+ panels are available from premium manufacturers. Higher wattage means fewer panels for the same system size, which matters when roof space is tight. Panel dimensions matter too: a 400W panel is typically 65 by 39 inches (about 17.6 sq ft). Larger-format panels are harder to handle on steep roofs and may not fit around obstructions.
Peak sun hours are the single most important input after roof size. The National Renewable Energy Laboratory (NREL) publishes free solar resource maps by ZIP code. The US Southwest averages 6+ hours; the Sun Belt gets 5; the Midwest and Mid-Atlantic get 4 to 4.5; the Pacific Northwest and Northeast get 3.5 to 4. Don't guess this number — look it up for your specific location, as a 4 vs 6 hour difference changes annual production by 50%.
Reading the Efficiency Number
The system efficiency input (default 86%) is the DC-to-AC derate factor. It accounts for inverter conversion losses (3–7%), wiring resistance (1–2%), temperature derate on hot roofs (5–10%), dust and soiling (2–5%), and module mismatch (1–2%). Microinverter systems typically run closer to 88–90%; string inverter systems with optimizers run 84–87%; basic string systems run 80–84%. If your roof runs hot (dark shingles, minimal airflow), drop the efficiency to 82%. If you live in a dusty climate, drop to 83%.
What the Calculator Does Not Do
This tool estimates physical fit and energy production. It does not size an inverter, calculate battery storage, account for time-of-use rate schedules, model shading from trees or adjacent buildings, or price the system. For a binding quote, a solar installer will run a shade analysis with a SunEye or similar tool and provide a formal proposal. Use this calculator to sanity-check their numbers and compare quotes.
The Formula
The calculator follows the standard PV production model used across the solar industry:
Panel area is calculated from the panel length and width you enter. The floor function rounds down because you cannot install a partial panel. The efficiency is applied as a decimal multiplier (86% = 0.86) to convert nameplate DC watts to real-world AC kWh.
Key Variables Explained
- Usable Roof Fraction: The percentage of roof area that can actually hold panels, after setbacks from the ridge, rake edges, hips, valleys, plumbing vents, skylights, and required fire access paths. IRC and local fire codes typically require 3-foot clear paths on at least one side. A clean rectangular hip roof runs 80–85%; a gable with dormers and vents runs 60–70%.
- Peak Sun Hours (PSH): Not the same as daylight hours. PSH counts only the hours when irradiance reaches 1,000 W/m². A location with 12 hours of daylight but intermittent clouds might have only 4 PSH. Use the NREL PVWatts tool for your exact ZIP code.
- System Efficiency (Derate): The conversion factor from nameplate DC rating to actual AC output. NREL's PVWatts uses 0.86 by default. Microinverter systems derate less (0.88–0.90); string inverter systems derate more (0.80–0.84).
Pro Tip
South-facing arrays maximize total kWh. West-facing arrays produce less total energy but more during peak afternoon rates — often worth more on time-of-use plans. If your utility charges 3× from 4–9 PM, a west array can out-earn a south array despite 15% fewer annual kWh.
Worked Example: 2,000 sq ft South-Facing Roof in Phoenix
A homeowner in Phoenix, Arizona has a 40 × 20 foot south-facing roof plane (800 sq ft) on a single-story home. The roof is clean with two plumbing vents, so the usable fraction is 80% (640 usable sq ft). They're quoting 400W panels measuring 65 × 39 inches (17.6 sq ft each). Phoenix averages 6.5 peak sun hours. They specify a string-inverter system with a conservative 84% derate, and their utility rate is $0.13/kWh.
Panel count: 640 ÷ 17.6 = 36.36, floored to 36 panels. System size: 36 × 400W = 14,400W = 14.4 kW DC — a large residential system. Daily production: 14.4 × 6.5 × 0.84 = 78.6 kWh/day. Annual production: 78.6 × 365 = 28,696 kWh/year. Annual value: 28,696 × $0.13 = $3,730 per year.
For comparison, the average US home uses about 10,500 kWh/year — so this system produces nearly 3× the home's consumption. In net-metering states, the excess production credits against nighttime and winter use. A system this size, installed, typically costs $35,000–$45,000 before the 30% federal tax credit, or $24,500–$31,500 after. At $3,730/year in savings, the payback period is 6.5–8.4 years — well within the 25-year panel warranty period.
If the same roof were in Seattle (3.8 PSH, $0.11/kWh), annual production drops to 16,760 kWh worth $1,844 — still meaningful, but the payback stretches to 13–17 years. Location matters more than any other variable in solar economics.