How many hours of sun does your spot get?
Hours of direct sun on any day of the year from your latitude and what stands in the way, and what full sun, part sun and part shade call it at the RHS and the university extension services.
Direct sun on this spot
Choose a city, or type a latitude, and the hours of direct sun on that date appear here.
What these hours are, and are not
- Geometry, not weather. It works out where the sun is and whether the line to it is clear. It knows nothing about cloud, haze, trees in leaf, a shed roof or anything you did not enter.
- Flat ground. The ground is taken as level, and heights are measured from the ground at the spot.
- Walls run on. Each thing in the way is taken as a straight wall, fence or hedge that runs a long way to either side. A short fence, or a house with a gap beside it, lets in more low sun at the ends of the day than this says.
- Direct sun. A minute counts when the top edge of the sun is above the horizon and above the top of everything you entered. Low sun counts the same as noon sun, although the Royal Horticultural Society says that midday sun supplies considerably more light than morning or evening sun.
- Solar time. Times are solar time, in which the sun stands at its highest at 12:00. Your clock can be an hour or more away from it, and further again in summer time.
- One day at a time. The figure is for the date chosen. The sun's path is the same every year, so the four marked dates give the shape of the year for the spot.
- Checked against published values. The equations are the ones the NOAA Global Monitoring Laboratory publishes for its solar calculator. Against NOAA's own tables of sunrise and sunset for seven cities on ten dates, and the National Astronomical Observatory of Japan's tables for three cities on four dates, the length of the day agreed to within 2 minutes. Against the observatory's tables, the sun's height at noon agreed to within 0.1 degrees. NOAA says its sunrise and sunset times are accurate to within a minute between 72 degrees north and 72 degrees south, and within 10 minutes beyond. NOAA has no part in this page and does not endorse it.
City positions come from Natural Earth's populated places, which are in the public domain, to about a tenth of a degree.
How the hours are worked out
No hidden figure sits in the sum. These are the steps, and the sources are below.
- For every minute from midnight to midnight in solar time, the height of the sun and its compass direction are worked out from the latitude and the date, with the equations the NOAA Global Monitoring Laboratory publishes for its solar calculator.
- For each thing in the way, the angle up to its top along the sun's direction is the arctangent of its height, multiplied by the cosine of the angle between the sun and the direction it stands in, divided by its distance. It only applies while the sun is within 90 degrees of that direction.
- A minute counts as direct sun when the top edge of the sun is above the horizon and above the highest of those angles.
- The minutes are added up and shown as hours, and the stretches of sun are drawn on the day bar.
- The hours are set beside each institution's cut-offs, which are in the table below.
What full sun, part sun and part shade mean
A plant label that says full sun or part shade is counting hours of direct sun, and there is no single standard. Four institutions agree on one line, six hours for full sun, and differ below it.
| Institution | Its names and cut-offs | When it counts |
|---|---|---|
| Royal Horticultural Society | full sun, more than 6 hours; partial or semi-shade, 3 to 6 hours; moderate shade, 2 or 3 hours; deep or heavy shade, under 2 hours | At midsummer |
| University of Illinois Extension | full sun, at least 6 hours, and 6 to 8; part sun, 4 to 6 hours; part shade, 2 to 4 hours; full shade, less than 2 hours | Not stated |
| Chicago Botanic Garden | full sun, 6 hours or more; partial sun, 3 to 6 hours | Not stated |
| University of Nebraska-Lincoln Extension | full sun, a minimum of 6 hours; light shade, 3 to 5 hours; full shade, no direct sun at all | Not stated |
The Royal Horticultural Society counts at midsummer. The others do not say when, and a spot that has six hours in June can have none in December, so the tool gives the hours for the date you choose and for the four marked dates.
A house to the south in London, a fence to the south in Chicago
Take a bed in London with a house wall 7 metres (23 feet) high standing 5 metres (16 feet) to its south. At midsummer the sun clears the wall for the whole day, 16.6 hours, all that the open sky offers. At the equinoxes the wall leaves 20 minutes in March and 15 minutes in September, out of about 12.2 hours of daylight, and at midwinter it leaves none of the 7.8 hours. The same bed has sun all day around the longest day and almost none at the equinoxes or in winter, which is why a label's full sun needs a date.
Now a bed in Chicago with a 6 foot (1.8 metre) fence 10 feet (3 metres) to its south. The top of the fence stands 31 degrees up from the bed, and the sun at noon is higher than that on every date except in the weeks around midwinter. The fence hides none of the 15.2 hours in June or the 12.2 in March, and all of the 9.1 hours in December, when the sun at noon stands only about 25 degrees high.
Questions from the margin
How many hours of sun is full sun?
Six, by every institution read for this tool, in slightly different words. The Royal Horticultural Society says more than six hours of direct sun a day at midsummer. The University of Illinois Extension says at least 6 to 8 hours. The Chicago Botanic Garden says six hours or more, and the University of Nebraska-Lincoln Extension a minimum of 6 hours.
What is the difference between part sun and part shade?
It depends on who is asked. The University of Illinois Extension puts part sun at 4 to 6 hours and part shade at 2 to 4. The Chicago Botanic Garden calls 3 to 6 hours partial sun, the RHS calls 3 to 6 hours partial or semi-shade, and the University of Nebraska-Lincoln Extension calls 3 to 5 hours light shade. A spot with 5 hours is part sun at one, partial sun at another, partial or semi-shade at the RHS and light shade at Nebraska, so the tool shows every name beside the hours.
Does morning sun count the same as afternoon sun?
In hours, yes, and in effect, no. The RHS says midday sun supplies considerably more light than morning or evening sun. The University of Nebraska-Lincoln Extension says morning sun is less intense and easier for shade-loving plants to tolerate, and afternoon sun much more intense. The day bar shows when the hours fall, so you can see which kind you have.
Why does a spot get so much less sun in winter?
The sun is lower, so more of it passes behind a wall, fence or house, and the days are shorter. In Chicago a 6 foot (1.8 metre) fence 10 feet (3 metres) south of a bed hides none of the June sun and all of the December sun, because the sun at noon in December stands about 25 degrees high and the top of the fence stands 31. The RHS counts its hours at midsummer, which is why this tool gives the same spot at four dates.
Find a plant by the light it likes
When to sow, counted from the last frost
The other tools in the workshop
Checked against
The figures and the advice on this page were checked against the sources below, and where they disagree the page says so.
- NOAA Global Monitoring Laboratory, Solar Calculation Details: the equations behind its solar calculator, and its spreadsheets
- NOAA Global Monitoring Laboratory, Sunrise, sunset and solar noon tables
- National Astronomical Observatory of Japan, Calendar Computation Office, sunrise and sunset by city
- Royal Horticultural Society, Shade gardening tips and plant ideas: understanding shade in a garden
- University of Illinois Extension, Gardening Terms Defined
- Chicago Botanic Garden, Sunlight Hours
- University of Nebraska-Lincoln Extension in Lancaster County, Right plant, right place
- Natural Earth, Populated places, the positions of the cities in the list


























