Enter the roof plane, the clear strips at ridge, eave and sides, and the panel size from its datasheet. The calculator fits panels in portrait or landscape, gives kWp, annual energy from the specific yield for your location, the panels you need for your electricity use, rails, clamps and roof hooks, and the panel dead load on the roof.
Updated: Oct 13, 2026 · Method: solar-method 1.0.0
What the calculation is based on
Layout The usable area is the roof plane minus the clear strips. Panels are counted in whole columns and rows with the clamp gap, in portrait and landscape, and the better fit is used. The preset is a 440 W JA Solar module, 1722 × 1134 mm, 21.5 kg; replace it with your datasheet values.
Energy Annual energy = kWp × specific yield. The yield depends on location, tilt, orientation and shading, so take it from PVGIS or PVWatts for your address. For orientation: Fraunhofer ISE reports an average of about 922 kWh/kWp for German roof systems in 2021 and performance ratios of 80-90% for new systems.
Access and safety In the US, 2018 IRC R324.6 as adopted locally (for example in Henrico County, VA) requires 36 in pathways from eave to ridge and 18 in clear on each side of the ridge for arrays up to 1/3 of the roof without sprinklers (36 in above that). Roof structure, mounting design and the electrical system are checked by professionals.
Sources (checked Oct 13, 2026):
Formulas
- Usable size: Lu = L − 2 × side strip; Hu = H − ridge strip − eave strip.
- Panels per plane: n = ⌊(Lu + g) ÷ (w + g)⌋ × ⌊(Hu + g) ÷ (h + g)⌋, for portrait and landscape, larger value.
- kWp = panels × panel W ÷ 1000; annual kWh = kWp × specific yield.
- Panels for your use = ⌈annual use ÷ (yield × panel kWp)⌉.
- Rails = 2 per row × row length; mid clamps = 2 × (columns − 1) per row; end clamps = 4 per row.
Worked example
Roof plane 9 × 5.5 m in Germany, 0.3 m clear on all sides: usable 8.4 × 4.9 m. With 1722 × 1134 mm panels and 20 mm gaps, portrait fits 7 × 2 = 14 and landscape 4 × 4 = 16 panels, so 16 × 440 W = 7.04 kWp. At 922 kWh/kWp that is about 6,490 kWh a year. Rails: 8 rows of rail, 6.95 m each, 16 pieces of 4.2 m; 24 mid clamps, 16 end clamps.
Step by step
- Measure each roof plane along the eave and along the slope.
- Enter the clear strips required where you live and by the mounting system.
- Enter the panel size, power and weight from its datasheet.
- Get the specific yield for your address from PVGIS or PVWatts and enter your annual use.
- Use the result to compare offers; the installer designs mounting and wiring.
Common mistakes
- Measuring the roof in plan view instead of along the slope.
- Ignoring ridge and edge clearances, so the final layout has fewer panels.
- Using a yield from another country or orientation.
- Forgetting shading from chimneys, dormers and trees.
- Treating the panel count as approval: roof structure and grid connection need their own checks.
Frequently asked questions
How many solar panels fit on my roof?
Subtract the clear strips from the roof plane, then divide the usable length and slope length by the panel size plus the clamp gap and multiply columns by rows. Try both portrait and landscape.
How many kWh does a 1 kWp system produce?
It depends on location and roof. Fraunhofer ISE reports about 922 kWh per kWp for German roof systems in 2021 on average; sunnier places produce more. Use PVGIS or PVWatts for your address.
How many panels do I need for my electricity use?
Divide your annual kWh by the specific yield and by the panel power in kWp, then round up. Example: 4,000 kWh ÷ (922 × 0.44) ≈ 9.9, so 10 panels.
How heavy are solar panels on a roof?
A 1722 × 1134 mm panel of 21.5 kg adds about 11 kg/m² (2.25 psf) before rails and hooks. Snow and wind loads are much larger, so the roof needs a structural check.
Do US roofs need clear pathways?
Under 2018 IRC R324.6 as adopted locally, yes: 36 in pathways from eave to ridge and an 18 in clear strip on each side of the ridge for smaller arrays. Local amendments vary.
