Solar Panel Row Spacing Calculator
Estimate a two-dimensional row gap from panel tilt, sloping length and solar elevation.
Your estimate
Ready when you are
Enter your figures and calculate to see the result and its assumptions.
Understand your result
Method and assumptions
The module’s vertical rise is its sloping length multiplied by sine of tilt. Dividing that rise by tangent of solar elevation gives the idealized shadow gap beyond the module. Adding the horizontal projection gives front-to-front row pitch.
A worked example
A two-meter module tilted 30° rises one meter above its lower edge. At 20° solar elevation, that rise casts a cross-section shadow of roughly 2.75 m beyond the module. Actual shadows also depend on azimuth and terrain.
Choose the sun angle the layout is intended to address
A tilted row’s raised edge casts a longer shadow when solar elevation is lower. The simple side-view geometry uses the row’s height rise divided by the tangent of the selected solar elevation to estimate a clear gap, then adds the row’s horizontal projection for row pitch. This assumes level ground and sunlight in the row’s cross-section plane. A winter-noon angle does not establish a shade-free morning or afternoon layout. Site terrain, row direction and the chosen design hours need a detailed shading assessment.
Choose the sun angle that matches your design question
A shadow calculation is tied to a particular solar elevation and direction. A layout that clears a shadow at solar noon can still have shading earlier or later in the day. Decide which date and time window you want to examine, then obtain the appropriate sun position from a consistent source. Record that design case beside the calculated row gap and pitch. For an initial comparison, change the sun elevation and see how a lower winter sun changes the space needed between otherwise identical rows.
Keep row pitch and clear gap distinct
The sloped module length, horizontal footprint, vertical rise and clear space behind the row are separate dimensions. Row pitch combines the footprint with the clear gap and repeats from one row's leading edge to the next. Mark those dimensions on a sketch before estimating how many rows fit. Use the same height reference for neighboring rows in the level-ground calculation. Ground slope, uneven terrain, different row heights and array direction require a fuller geometric review, so take the sketch and stated assumptions to the layout designer.
Sources and further reading
Calculations and guidance reviewed December 4, 2026.

