Solar Panel Row Spacing Calculator
Calculate the minimum spacing between rows of tilted solar panels to avoid winter solstice self-shading. Free 2026 calculator using NREL inter-row spacing math, with GCR output and configurable solar window.
Solar Panel Row Spacing Calculator
Pitch is measured from front edge of one row to front edge of the next, on level ground. Add 5–10 % for installer access. On sloped ground, multiply by cos(slope) for a roof and use a tilted-plane sun-position model for ground-mount terraces.
Show derivation
What this calculator does
The solar panel row spacing calculator returns four numbers given your panel slant length, tilt angle, latitude, and chosen solar-time window:
- Worst-case solar elevation — the lowest sun angle the array must clear during your design hours on the winter solstice.
- Shadow length — the horizontal distance the top edge of one row’s tilted panel projects onto the ground.
- Minimum row pitch — the front-edge-to-front-edge spacing you need to avoid self-shading inside the design window.
- Resulting GCR — the Ground Coverage Ratio that follows from your chosen pitch.
Inputs:
- Panel slant length L (ft) — the dimension along the rake of the tilted plane, typically 5.5–6.5 ft for portrait-mounted residential modules and 3.3–3.6 ft for landscape.
- Tilt angle β (°) — the angle from horizontal.
- Latitude (°) — site latitude in degrees, positive for the Northern Hemisphere, negative for the Southern.
- Solar window — 6 hours (10 AM – 2 PM solar noon) or 8 hours (9 AM – 3 PM solar noon). 8 hours is the NREL and SEIA convention for utility-scale; 6 hours is acceptable for residential where roof area is constrained.
How the math works
H = L × sin(β) (panel vertical height)
D = L × cos(β) (panel horizontal projection on ground)
α = solar elevation at the design hour on winter solstice
S = H / tan(α) (horizontal shadow length)
P = D + S (minimum row pitch, front-edge to front-edge)
GCR = L / P (ground coverage ratio)
The solar elevation α at a given hour is computed from the standard PV sun-position formula:
sin(α) = sin(φ) sin(δ) + cos(φ) cos(δ) cos(h)
where φ = site latitude, δ = solar declination (−23.45° on the December solstice for the Northern Hemisphere) and h = hour angle (15° per hour from solar noon — so the 9 AM design hour is h = 45°).
Worked example: 6.5 ft module, 30° tilt, latitude 42° (Boston), 8-hour window
- φ = 42°, δ = −23.45°, h = 45° (9 AM solar)
- sin(α) = sin(42°)sin(−23.45°) + cos(42°)cos(−23.45°)cos(45°)
- sin(α) = 0.6691 × −0.3977 + 0.7431 × 0.9176 × 0.7071
- sin(α) = −0.2661 + 0.4822 = 0.2161 → α = 12.48°
- H = 6.5 × sin(30°) = 3.25 ft
- D = 6.5 × cos(30°) = 5.63 ft
- S = 3.25 / tan(12.48°) = 3.25 / 0.2213 = 14.69 ft
- P = 5.63 + 14.69 = 20.32 ft
- GCR = 6.5 / 20.32 = 0.32
For comparison, the same module at solar noon (h = 0°) on the solstice has α = 24.55°, S = 7.12 ft, P = 12.75 ft, GCR = 0.51 — a 60% denser layout. The tradeoff: at 9 AM and 3 PM on the solstice the 12.75-ft layout has the top half of the back row shaded by the front row.
Worked example: 6.5 ft module, 25° tilt, latitude 33° (Phoenix), 8-hour window
- α at 9 AM solstice = 24.5°
- H = 2.75 ft, D = 5.89 ft, S = 6.03 ft, P = 11.92 ft, GCR = 0.55
- The same array fits 70% more capacity per acre in Phoenix than Boston purely from the latitude difference.
What residential roof installs do differently
On a south-facing pitched roof, the panels share the roof’s tilt angle and shadowing comes from the row above, not a separately-mounted row. The math is identical but L is typically only one module-length and the angle of incidence at solar noon depends on roof azimuth — for true-south roofs we get the same numbers as a ground mount, for east- or west-facing roofs the design hour shifts. Residential installers in the U.S. typically space rows of portrait modules 2–4 inches apart (rail-to-rail) and accept solstice mid-row shading on the morning or afternoon edge of the design window, because the alternative is sacrificing 30–50% of available roof real estate.
Three things that change the spacing math
- Sloped ground — Tilt the entire array forward or backward by the ground slope and the worst-case shadow changes. South-facing sloped ground in the Northern Hemisphere can substantially reduce required pitch; north-facing slope dramatically increases it. PVsyst’s “Sheds” module models terrain slope explicitly.
- Bifacial modules — Increase rear-side gain falls off rapidly when GCR > 0.45 because the diffuse sky view is blocked by the next row. For bifacial PV, NREL recommends GCR ≤ 0.40 and at least 1.0 m of clear ground under the array for albedo reflection.
- Snow — In Boston, Buffalo, Minneapolis and other snowbelt cities the design is sometimes driven by snow-pile clearance from one row sliding off and accumulating under the next. Add 18–30 inches to P_min in those climates regardless of what the solar geometry says.
Inter-row spacing vs other shading sources
If your concern is shading from trees, neighboring buildings, chimneys, or vent stacks rather than from a parallel row of your own array, use our solar panel shading calculator instead. For combining spacing with optimal-tilt selection, see the tilt angle calculator, and for the regulatory-driven installation angle constraints typical of U.S. permitting, the installation angle calculator.
Sources
- NREL Technical Report TP-6A20-72399, “Best Practices in PV System Operations and Maintenance” (2023 update).
- IEC 62548:2023 Photovoltaic (PV) arrays — Design requirements.
- SEIA / NREL System Loss Diagram, 2024 PV Performance Benchmark.
- Sandia National Laboratories PV Performance Modeling Collaborative, Sheds and Trackers worked examples.
- NREL System Advisor Model (SAM) reference manual, Section 5.4 inter-row spacing.
- DOE Solar Energy Technologies Office, 2025 Utility-Scale PV Site Design Guidelines.
For tilt selection and shading impact at your specific latitude, combine this calculator’s output with our tilt angle, shading, and system efficiency calculators.
Frequently asked questions
What spacing do I need between rows of solar panels?
What is GCR (Ground Coverage Ratio) and what value should I target?
Why is the winter solstice the worst case?
Does row spacing matter for east-west azimuth or off-axis tilts?
How does row spacing interact with tracker arrays?
Related calculators
📋 Embed this calculator on your site (free, attribution required)
Free to embed on any non-commercial or commercial site, provided the attribution link remains visible. No tracking, no email capture, just the calculator.