Solar mounting calculator
Enter the number of panels and panels per row to get the rail length, mid and end clamps, and roof hooks you need.
Rails, clamps & hooks
Mounting material for a pitched or flat roof.
Preliminary takeoff. Wind load and roof strength need a site check.
How much rail and how many clamps do solar panels need?
Each row uses two rails the length of the row. Mid clamps = 2 × (panels in the row − 1) and each row needs 4 end clamps. Ten panels in two rows of five need 16 mid clamps and 8 end clamps.
This takeoff assumes portrait panels on two rails per row, with small gaps and a short rail overhang. Roof hooks are spaced along each rail.
Hook spacing depends on wind speed, roof structure and the rail manufacturer’s span table. Roof corners and edges often need closer spacing.
Formula
Rail = 2 × Σ row length; mid clamps = 2 × (n per row − 1); end clamps = 4 per row
Worked example
12 panels in two rows of 6.
- Mounting rail: 28.0 m
- Rows: 2
- Mid clamps: 20
- End clamps: 8
- Roof hooks / L-feet: 28
Mounting material by panel count
| Number of panels | Rail | Mid clamps | End clamps | Hooks |
|---|---|---|---|---|
| 5 pcs | 12.0 m | 8 | 4 | 12 |
| 10 pcs | 23.5 m | 16 | 8 | 24 |
| 15 pcs | 35.5 m | 24 | 12 | 36 |
| 20 pcs | 47.0 m | 32 | 16 | 48 |
| 30 pcs | 70.5 m | 48 | 24 | 72 |
Computed by this calculator with its default assumptions. Your results change with your inputs.
What to enter
- Number of panels (pcs)
- How many panels.
- Panels per row (pcs)
- How many panels side by side in one row.
- Panel width (m)
- Short side of the panel (portrait layout), from its datasheet.
- Hook spacing (m)
- Distance between roof hooks, from the mounting kit.
Practical checks
- Order a few spare clamps.
- Seal every roof penetration.
- Bond rails and frames to earth as the manufacturer specifies.
Common questions
Landscape or portrait?
Choose what fits the roof and the panel maker’s clamping zones. This calculator assumes portrait.