Works on this device
Solar Elevation Calculator
Find how high the sun stands above the horizon and its compass direction for a place, a date and a time. You can also find the highest sun of the day at solar noon, the times when the sun is at an elevation you choose, and the sun through a whole day.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose Sun elevation at a place and time, Sun elevation at solar noon, Times when the sun is at an elevation or Sun elevation through a day.
- Type the latitude and longitude in decimal degrees (north and east are positive), the date and, where asked, the local clock time.
- Type the time zone as hours from UTC, for example 9 for UTC+9 or -5 for UTC-5. In summer time, count the extra hour.
- Choose Calculate.
The method
- Sun position: the equations of the NOAA Solar Calculator, which NOAA says are based on Astronomical Algorithms by Jean Meeus. From the date and the Universal Time they give the declination of the sun and the equation of time. With the latitude and the hour angle they give the elevation: sin(elevation) = sin(latitude) × sin(declination) + cos(latitude) × cos(declination) × cos(hour angle).
- Accuracy: for the published example of the NREL Solar Position Algorithm, the equations give an elevation and an azimuth within 0.003° of the published values. The years 1901 to 2099 can be used.
- As seen and true: the air bends sunlight, so the sun looks a little higher than it is. The elevation "as seen" adds NOAA's estimate for a standard atmosphere: about half a degree at the horizon, almost nothing high in the sky. The zenith angle is 90° minus the elevation.
- At solar noon the sun is due south or due north and highest: true elevation = 90° − |latitude − declination|.
- Azimuth: the compass direction of the sun, clockwise from true north. 90° is east, 180° south and 270° west.
Worked example
Tokyo is at about 35.68° N and 139.69° E, and its clock is at UTC+9. On 21 June 2026 at 16:00 the sun is 33.79° above the horizon as seen (33.77° true), at an azimuth of 276.25°: in the west. The Outdoor Light Angle Calculator gives the same numbers, and the length of shadows.
On that day solar noon in Tokyo is at 11:42:59. The declination of the sun is 23.44°, so the noon sun is 90° − (35.68° − 23.44°) = 77.76° high, due south.
The sun rises to 30° at 07:07:15 and sinks to 30° at 16:18:43, so it is higher than 30° for 9 h 11 min 28 s.
Limits you should know
- The time zone is the one you type. The tool does not know the summer time rules of your country.
- Near the horizon the real bending of the light changes with the weather, often by a few tenths of a degree. Hills and buildings also hide a low sun.
- The tool gives the direction of the direct sunlight only, not how strong it is.
- For the time of solar noon in more detail, use the Solar Noon Calculator. For sunrise, sunset and twilight, use the Day Length Calculator.
- Do not look at the sun, and never through a camera or binoculars.