Sow & Frost Get my frost dates

How many hours of sun does my garden get?

Day length and hours of direct sun for any date, with obstacles blocking the low sun.

How the calculator works

The sun's position is worked out with the equations behind NOAA's solar calculator, from latitude, longitude and date. The tool steps through the day two minutes at a time and adds up the minutes when the sun is higher than the angle you set for the horizon. With the horizon at 0° that is the full day length; raising it removes the low morning and evening sun that trees and buildings block.

Worked example

In Boise, Idaho (latitude 43.6°), June 21 has 15 h 26 min of daylight and the sun climbs to 70° at midday. If trees and houses hide everything below 20°, the garden gets 11.2 hours of direct sun; with obstacles up to 30°, 9.3 hours.

Date (Boise)Day lengthHighest sunSun above 20°Sun above 30°
March 2012 h 9 min46°8.3 h6.2 h
June 2115 h 26 min70°11.2 h9.3 h
September 2212 h 11 min46°8.3 h6.2 h
December 218 h 56 min23°2.9 h0 h

In winter the sun never gets far above the obstacles, so a spot with plenty of summer sun can get very little.

How to estimate your horizon angle

Measure how far the obstacle is from your bed and how much taller it is than the bed. The angle is the inverse tangent of height ÷ distance. A fence 6 ft above the bed and 10 ft away blocks the sun up to about 31°; a 40 ft tree 70 ft away blocks up to about 30°.

Limits

Questions

Short answers from the numbers on this page.

What does "horizon blocked up to" mean?

Trees, fences and houses hide the sun when it is low. If they block everything below 20° above the horizon, set 20 and the tool counts only the hours the sun is higher than that.

How accurate is it?

Sun positions use the NOAA solar calculator equations and are accurate to about a minute. The horizon is simplified to one angle all the way round, so treat the hours as an estimate for an open garden with obstacles on several sides.

Related tools

Growing Zone Finder

Enter a ZIP code to get its 2023 USDA plant hardiness zone.

Planting Calendar

When to start seeds, transplant and sow, worked out from your frost dates.