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.

Mounting rail
23.5m
Rows2
Mid clamps16
End clamps8
Roof hooks / L-feet24
Rail = 2 rails × row length per row Mid clamps = 2 × (panels in row − 1)

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

Mounting material by panel count (5 per row)
Number of panelsRailMid clampsEnd clampsHooks
5 pcs12.0 m8412
10 pcs23.5 m16824
15 pcs35.5 m241236
20 pcs47.0 m321648
30 pcs70.5 m482472

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.

Learn the terms