Worked example
Example: Illustrative 12 x 6 m roof, 410 W modules. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Roof length along the eaves | 12.000 m |
| Roof width up the slope | 6.0000 m |
| Edge setback (fire and wind zone) | 0.50000 m |
| Module length | 1.7220 m |
| Module width | 1.1340 m |
| Gap between modules | 20.000 mm |
| Module rating | 0.41000 kW |
Applying the formula below gives:
| Result | Value |
|---|---|
| Modules in portrait | 18.000 |
| Modules in landscape | 24.000 |
| Best count | 24.000 |
| Installed capacity (best layout) | 9.8400 kW |
| Module area over roof area | 65.092 % |
| Capacity per m² of roof (W) | 136.67 |
Open this example in the calculator and change any input.
Formula
\(n_P = \left\lfloor\frac{L - 2s + g}{b + g}\right\rfloor\left\lfloor\frac{W - 2s + g}{a + g}\right\rfloor, \quad P = nP_m\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(L\) | Roof length along the eaves | m |
| \(W\) | Roof width up the slope | m |
| \(s\) | Edge setback (fire and wind zone) | m |
| \(a\) | Module length | m |
| \(b\) | Module width | m |
| \(g\) | Gap between modules | m |
| \(P_m\) | Module rating | W |
| \(n_P\) | Modules in portrait | - |
| \(n_L\) | Modules in landscape | - |
| \(n\) | Best count | - |
| \(P\) | Installed capacity (best layout) | W |
| \(A_m/A_{roof}\) | Module area over roof area | - |
| \(P/A_{roof}\) | Capacity per m² of roof (W) | - |
Method and standards
Roof layout count.
Where it is used
- Rooftop PV quotes and feasibility.
- Comparing module sizes for a given roof.
Common mistakes
- Ignoring setbacks and obstructions.
- Mixing module length and width between orientations.
Assumptions and limits
- Rectangular unobstructed roof plane.
References
- Module layout arithmetic
Questions and answers
How much PV fits on a roof?
About 180–220 W per m² of usable roof with modern 400–450 W modules; setbacks and obstructions often remove a quarter of the area.
Portrait or landscape?
Whichever fits more modules; portrait is common on pitched roofs, landscape on low wide areas or to suit rails.
What do the defaults represent?
An illustrative 12 m × 6 m roof plane, 0.5 m setbacks, 1.722 m × 1.134 m modules of 410 W with 20 mm gaps.
Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.
Sources
Gilbert Masters, Renewable and Efficient Electric Power Systems (Wiley, 2004), ch. 9