Estimate the ideal spacing between rows of solar panels to minimize shading and maximize efficiency based on latitude, tilt, and panel height. Formula: Spacing = Height / tan (Solar Altitude). . The calculator now includes a dynamic illustration showing panel tilt, sun elevation, and the projected shadow length, so you can see exactly how spacing is determined. How to measure: Row spacing is measured from the front edge of one row to the front edge of the next row. There is no single correct answer since the solar elevation starts at zero in the morning. . The formula to calculate the row spacing of a photovoltaic array is: D = 0. Fast-forward five years into the future, and. .