Garden sun calculator
How much sun does my garden get?
Count the hours of direct sun a spot gets in a day. Six or more is full sun, enough for tomatoes, peppers and squash. Four to six is part sun, fine for greens. Under four is shade. The hours change a lot through the year, so pick your city and whatever stands near your bed below to see the sun it gets each month.
April to September average
11.3 hFull sun
A 6 ft fence 3 ft to the south of your bed in Chicago. Enough for tomatoes, peppers, squash, beans, corn and most herbs. The shadiest month is Sep, with 3.6 h.
Direct sun at about raised-bed height, from the sun’s real path at your latitude on the 15th of each month. It ignores clouds, and treats a tree’s crown as letting some light through, more when its leaves are down.
Your whole yard, not just one fence
Real gardens have a house, a fence or two, trees and tall crops all casting shade at once. Gardentasia’s planner traces the sun around everything you draw, for every square foot of your yard and every month, and points out the sunniest spot for a new bed. It then plans the crops, spacing and planting dates around it.
What grows with how much sun
From the sun needs of the 107 crops in Gardentasia. For more on the shady end, see vegetables for part shade.
Full sun · 6+ hours
Vegetables and herbs that need at least 6 hours of direct sun a day, and 8 or more is better.
- Tomatoes
- Cherry tomatoes
- Sweet peppers
- Chili peppers
- Eggplants
- Potatoes
- Carrots
- Parsnips
- Kohlrabi
- Cabbages
- Broccoli
- Cauliflowers
- Brussels sprouts
- Peas
- Bush beans
- Pole beans
- Fava beans
- Onions
- Garlic
- Leeks
- Shallots
- Zucchini
- Winter squash
- Pumpkins
- Cucumbers
- Melons
- Sweet corn
- Asparagus
- Okra
- Sweet potatoes
- Watermelons
- Tomatillos
- Edamame
- Southern peas
- Artichokes
- Rutabagas
- Basil
- Dill
- Rosemary
- Thyme
- Oregano
- Sage
- Lavender
- Tarragon
- Chamomile
- Lemongrass
Part sun · 4–6 hours
Vegetables and herbs that need 4 to 6 hours of direct sun a day; light afternoon shade helps in hot summers.
How far does a shadow reach?
The length of a 6 ft fence’s shadow at solar noon, its shortest point of the day. Morning and evening shadows are longer. Multiply by the height of anything else: a 24 ft house casts a shadow four times as long.
| Latitude | Mar 20 | Apr 15 | May 15 | Jun 21 | Aug 15 | Sep 22 |
|---|---|---|---|---|---|---|
| 30°NAustin, New Orleans | 3.6 ft | 2.3 ft | 1.2 ft | 0.7 ft | 1.7 ft | 3.5 ft |
| 35°NAlbuquerque, Charlotte | 4.3 ft | 2.9 ft | 1.7 ft | 1.2 ft | 2.3 ft | 4.3 ft |
| 40°NDenver, Philadelphia | 5.2 ft | 3.5 ft | 2.3 ft | 1.8 ft | 3.0 ft | 5.1 ft |
| 45°NPortland OR, Minneapolis | 6.2 ft | 4.3 ft | 3.0 ft | 2.4 ft | 3.6 ft | 6.1 ft |
| 50°NCalgary, southern England | 7.4 ft | 5.1 ft | 3.6 ft | 3.0 ft | 4.4 ft | 7.3 ft |
| 55°NEdinburgh | 8.8 ft | 6.1 ft | 4.4 ft | 3.7 ft | 5.3 ft | 8.8 ft |
How to measure the sun in your garden
- Watch one spot for a day. On a clear day, note every hour whether the spot is in direct sun. Add up the sunny hours.
- Do it in spring as well as summer. Shadows in April are two to three times longer than in June, and that’s when seedlings go out.
- Mind the south side. North of the equator the sun crosses the southern sky, so anything tall to the south, southeast or southwest of a bed shades it. Things to the north only catch a little early-morning and evening sun in summer.
- Allow for leaves. A deciduous tree that’s bare in March is in full leaf by June.
- Put tall crops on the north side. Corn, staked tomatoes and pole beans shade whatever is north of them.
Questions and answers
How many hours of sun does a vegetable garden need?
At least six hours of direct sun a day for fruiting crops such as tomatoes, peppers, squash, beans and corn, and eight or more is better. Leafy greens, peas, beets, radishes and herbs like parsley and cilantro manage on four to six hours. Below four hours, few vegetables crop well.
What counts as full sun?
Full sun means six or more hours of direct, unfiltered sunlight a day through the growing season. Part sun (or part shade) is four to six hours. Shade is under four hours, or only dappled light through trees.
Is morning sun or afternoon sun better for vegetables?
For most vegetables the total hours matter more than the time of day. Where summers are hot, morning sun with afternoon shade suits lettuce, spinach and other greens, because it slows bolting. Heat-lovers like tomatoes, peppers and melons do best with afternoon sun.
How far from a fence should a vegetable bed be?
It depends on the fence's height, which side it's on, and your latitude. In the Northern Hemisphere a fence on the north side barely shades a bed: it only blocks some early-morning and evening sun around midsummer. On the south side, at 40°N a 6 ft fence's noon shadow reaches about 3.5 ft in mid-April but only 1.8 ft in late June, and morning and evening shadows are longer still. As a rule of thumb, a bed set back one and a half times the fence's height gets direct sun all day from March to September anywhere up to about 50°N. Use the calculator to check your own spot.
Why does my garden get less sun in spring than in summer?
The sun is much lower in the sky in March and April than in June, so the same fence, house or tree casts a shadow two or three times longer. A bed that's in full sun at midsummer can be shaded for most of the day in early spring, just when seedlings go out.
See the sun across your whole yard
Draw your house, fences and trees once. Gardentasia maps the sun hours on every square foot for every month, finds the sunniest spot for a bed, and plans the crops to match.
Open the free plannerFree, in your browser. No account, no download.