Vertical Gardens: The Light-Spacing Math Nobody Explains
The short version: shadow length equals tier height divided by the tangent of the sun's elevation angle, and that angle swings enough by season that a tier spacing that works fine in June can leave your bottom shelf shaded out by April.
Vertical gardens solve a space problem and create a light problem: stack growing tiers to save ground footprint, and every tier above the bottom one throws a shadow that eats into the light budget of everything below it. Most vertical garden guides talk about structure and watering but skip the actual geometry of shade, which is what determines whether your bottom tier grows lettuce or grows nothing at all.
The Basic Shadow Formula
Shadow length equals the height of the object casting the shadow divided by the tangent of the sun's elevation angle above the horizon. At solar noon in midsummer at a mid-latitude location, the sun might sit around 65 degrees elevation, where the tangent is about 2.14. A tier structure 18 inches tall would cast a shadow of 18 divided by 2.14, or about 8.4 inches, straight below and behind it at that moment. In early spring or fall, with the sun lower at maybe 40 degrees elevation (tangent about 0.84), that same 18-inch tier casts a shadow of 18 divided by 0.84, or 21.4 inches — two and a half times longer.
Why This Matters for Tier Spacing
If your lower tier sits 12 inches behind (south of, in the northern hemisphere) the tier above it, that spacing comfortably clears the 8.4-inch summer shadow, leaving 3.6 inches of buffer. But it doesn't clear the 21.4-inch spring shadow at all — the lower tier would sit fully shaded for a chunk of the day in April, even though it looked fine in July. This is why vertical gardens that thrive all summer sometimes stall out during shoulder seasons: the geometry, not the plants, is the problem.
Sizing Tier Setback for Year-Round Light
To guarantee light through the full growing season, design for the lowest sun angle you'll actually be growing in, not the summer peak. If your growing season includes weeks with the sun at 35 degrees elevation (tangent about 0.70), and your tier height is 18 inches, required setback is 18 divided by 0.70, or about 25.7 inches. That's a specific, checkable number you can measure with a tape measure when building the structure, rather than eyeballing "give it some space."
Get exact spacing for your structure
Use the plant spacing calculator to translate your tier height and setback into a full planting layout for every level.
Plan your vertical layout →Orientation Changes the Math Too
Tiers running north-south get morning sun from the east and afternoon sun from the west, spreading the shading window across the day rather than concentrating it. Tiers running east-west, facing the sun's daily arc directly, tend to shade the same spots for a longer continuous stretch around midday. For a given setback distance, a north-south orientation typically delivers 15 to 25 percent more total daily light to the tier below than an east-west orientation with identical dimensions.
Compensating When You Can't Add Setback
Not every balcony or wall has room for a 26-inch setback between tiers. Two practical fixes recover lost light without more space: mounting light-colored or reflective backing behind the upper tier, which bounces 10 to 20 percent of otherwise-lost light down onto the lower tier, and choosing shade-tolerant crops (lettuce, spinach, herbs like mint and parsley) for any tier that falls inside the shadow zone rather than fighting the geometry with sun-hungry crops like tomatoes.
A Worked Example: A 3-Tier Balcony Structure
Each tier is 14 inches tall, and you're designing for a worst-case sun angle of 30 degrees elevation (tangent about 0.58). Required setback per tier is 14 divided by 0.58, or about 24 inches. With 3 tiers, the structure needs roughly 48 inches of total depth to keep the bottom tier lit at the low-sun end of the season — a number that would surprise most people trying to fit a vertical garden onto a 30-inch-deep balcony.
Further reading: For general guidance on this topic, see the Penn State Extension — Vegetable Gardening: A Guide for Beginners.
Design for Your Worst Sun Angle, Not Your Best
Tier spacing in a vertical garden is a trigonometry problem wearing a gardening disguise. Calculate shadow length using your lowest expected sun angle, not the summer best case, set tier depths accordingly, and orient structures north-south when possible to spread shading across the day instead of concentrating it. When space runs out, reflective backing and shade-tolerant crops are the fallback, not a substitute for doing the geometry first.