Solar panel row spacing calculator
Rows must be far enough apart that the winter sun clears the row in front. Enter tilt, panel length and latitude to get the gap and row pitch.
Row spacing (no shading)
Gap between panel rows on a flat roof or ground so rows don't shade each other.
Based on midday sun on the shortest day. For no shade from 9am to 3pm, add about 50% to the gap.
How far apart should solar panel rows be?
The clear gap equals panel length × sin(tilt) ÷ tan(winter noon sun height), where sun height is 90° − latitude − 23.45°. A 2.28 m panel at 20° tilt and 31.5° latitude needs about 1.1 m between rows.
On the shortest day the sun is lowest and shadows are longest. Spacing designed for that day keeps rows clear at noon all year.
Morning and afternoon shadows are longer than noon shadows. For a shade-free window from about 9 am to 3 pm, increase the gap, often by around 50% depending on latitude.
Formula
Gap = L × sin(tilt) ÷ tan(90° − latitude − 23.45°)
Worked example
Rows of portrait panels tilted 20° on a flat roof in Lahore (31.5° N).
- Clear gap between rows: 1.11 m
- Row-to-row pitch: 3.25 m
- Panel height at back: 0.78 m
- Winter noon sun height: 35.1°
- Ground cover ratio: 70%
Row gap by latitude
| Your latitude | Clear gap | Row pitch |
|---|---|---|
| 10 ° | 0.52 m | 2.66 m |
| 20 ° | 0.74 m | 2.88 m |
| 31.5 ° | 1.11 m | 3.25 m |
| 40 ° | 1.56 m | 3.70 m |
| 50 ° | 2.62 m | 4.77 m |
Computed by this calculator with its default assumptions. Your results change with your inputs.
What to enter
- Panel length up the slope (m)
- Use the value from your datasheet, bill or quote.
- Tilt angle (°)
- Use the value from your datasheet, bill or quote.
- Your latitude (°)
- Find it on any map app: north is positive, south is negative.
- Panels stacked up the slope (pcs)
- Use the value from your datasheet, bill or quote.
Practical checks
- Lower tilt reduces the gap and can fit more capacity.
- On a roof that slopes, adjust for the roof angle.
- Keep a walkway wide enough for cleaning.
Common questions
What is ground cover ratio?
The collector length divided by the row pitch. A higher ratio fits more panels but increases shading risk.