Sun Position Calculator
Find the sun's height and direction and the shadow length at any time.
How to use the Sun Position Calculator
- 1Pick a place, date and time.
- 2See the sun's elevation, azimuth and path across the day.
- 3Calculate the shadow length of an object.
About Sun Position Calculator
The Sun Position Calculator shows where the sun is in the sky for any place, date and time: its elevation above the horizon, also called the sun angle, and its azimuth, the compass direction measured clockwise from north. A slider moves through the day, or press Play day to watch the sun travel, while a sun path diagram draws its track across the sky with hour marks.
Enter the height of an object in meters or feet, such as a person, a tree, a fence or a building, and the tool calculates the shadow length and the direction the shadow points. You also see sunrise and sunset with the direction where the sun appears and disappears, solar noon with the highest elevation of the day, and a world map with the night side shaded and the point where the sun is directly overhead.
Gardeners use the Sun Position Calculator to see how much sun a bed gets, architects and homeowners check the shading of windows, terraces and neighboring buildings, photographers plan the direction of light, and solar panel owners compare the sun path in summer and winter. A share link keeps the place, date and time.
Shadow length follows directly from the sun's elevation: shadow = height ÷ tan(elevation). At an elevation of 45° a shadow is as long as the object is tall, and at 30° it's about 1.7 times as long, so a 2 m fence casts a shadow of about 3.5 m. Low winter sun makes all of this much more dramatic. At 50° north, the sun reaches about 63° at noon in midsummer, but only about 17° in midwinter.
Keep in mind that solar noon is rarely 12:00 on the clock. Time zones cover wide areas, daylight saving moves the clock by an hour, and the Earth's orbit shifts the time by up to about 16 minutes through the year. This tool uses the actual position of the sun, so it shows when the sun is really highest at your location. It doesn't account for terrain or nearby buildings, so check the local horizon too when you plan a garden, a solar panel or a photo.
Frequently asked questions
How do I calculate shadow length?
Divide the object's height by the tangent of the sun's elevation: shadow = height ÷ tan(elevation). At 45° the shadow is as long as the object is tall; at 30° it is about 1.7 times as long, and at 10° about 5.7 times.
What is solar azimuth?
The compass direction of the sun in degrees, measured clockwise from north: 90° is east, 180° south and 270° west. North of the tropics the sun stands due south at solar noon.
Why isn't solar noon at 12:00?
Solar noon depends on your longitude within the time zone, on daylight saving time and on the equation of time, which shifts it by up to about 16 minutes over the year. In places far from their time zone's central meridian the difference can be an hour or more.
How high does the sun get at my latitude?
North of the tropics, the noon sun reaches 90° minus your latitude plus 23.44° at the June solstice, and 90° minus your latitude minus 23.44° at the December solstice. At 50° N that is about 63.4° in summer and 16.6° in winter.
Guides
More in Maps & Geo
Measure the distance between places or coordinates, as the crow flies.
Convert coordinates between decimal degrees, DMS, UTM, MGRS and more.
Sunrise, sunset, golden hour and twilight for any place and date.