How the solar panel roof area calculation works
Panels are installed in a grid. In each direction, the number that fits equals the usable length plus one gap, divided by the panel dimension plus one gap, rounded down. The usable length is the roof dimension minus the setback on both sides.
Setbacks are often required by fire codes or installers for access and wind-load reasons. Rules differ by country and region, so check with your installer or building authority.
Formula
- gap
- spacing between adjacent panels (clamp width)
Worked example
- A 10 m × 6 m roof with 0.3 m setbacks leaves 9.4 m × 5.4 m.
- Portrait 1,722 × 1,134 mm panels with 20 mm gaps: ⌊9.42 ÷ 1.154⌋ = 8 columns and ⌊5.42 ÷ 1.742⌋ = 3 rows → 24 panels.
- At 400 W each that is 9.6 kWp.
Assumptions and limitations
Assumptions
- The roof section is a rectangle without obstructions.
- All panels are the same size and orientation.
Limitations
- Vents, skylights, chimneys and shading are not considered.
- Mixed portrait/landscape layouts may fit more panels.
- Roof structural capacity must be checked by a qualified professional.
Frequently asked questions
How much roof area does one kW of solar need?
With ~22 % efficient modules, about 4.5 m² (48 ft²) of panel area per kWp, plus clearances.
Portrait or landscape?
Whichever fits more panels on your roof. Portrait is common on pitched roofs; the calculator reports both.
Related calculators
Number of Solar Panels Calculator
Panels needed to cover monthly electricity use, with total roof area.
Solar Panel Efficiency Calculator
Calculate module efficiency and power density from rated power and dimensions.
Solar Panel Size Calculator
Find the PV array size (kWp) needed to cover your annual electricity use.
References and data sources
- Solar Cell Efficiency — PVEducation (UNSW / ASU)
Last reviewed: · Formula version 1.0.0 · Methodology