Toolvito

Works on this device

Outdoor Light Angle Calculator

Outdoors, the angle of the light is the angle of the sun. Find how high the sun is and where it stands for a place, a date and a time, see it through a whole day, or work out the length of a shadow.

Enter your values

How high the sun stands and where it is in the sky, and the length of a shadow, for a place, a date and a time.

Your values

In decimal degrees: north is positive, south is negative. The example is Tokyo.

In decimal degrees: east of Greenwich is positive, west is negative.

The time on a clock at the place, with the 24-hour clock.

How many hours the clock is ahead of UTC: 9 for UTC+9, -5 for UTC-5, 5.5 for UTC+5:30. In summer time, count the extra hour. Type 0 for UTC.

Type it to get the length of its shadow on level ground. You can also type feet and inches, such as 5 ft 11 in.

More options

A convention, not a fact: many photographers use 6°. Change it to the limit you prefer.

A convention: often -4°.

A convention: often -6°, the end of civil twilight.

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.

How to use this calculator

  1. Choose Sun angle at a place and time, Sun angles through a whole day or Shadow length and sun angle.
  2. Type the latitude and longitude in decimal degrees (north and east are positive), the date and the local clock time.
  3. 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.
  4. Choose Calculate. For a shadow, type the height of the object as well.

The method

  • Sun position: the equations of the NOAA Solar Calculator. NOAA says they 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, the longitude and the hour angle they give the elevation and the azimuth.
  • Accuracy: for the published example of the NREL Solar Position Algorithm, this tool gives an elevation and an azimuth within 0.003° of the published values. The tool accepts the years 1901 to 2099.
  • Refraction: 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 and almost nothing high in the sky.
  • Azimuth: the compass direction of the sun, clockwise from true north. 90° is east, 180° south and 270° west.
  • Shadow of an upright object on level ground: shadow length = height ÷ tan(sun elevation). The shadow points away from the sun.
  • Golden hour and blue hour are names, not standards. The tool shows only in which band of sun elevation the sun is. By default the golden hour band is from -4° to 6° and the blue hour band from -6° to -4°. You can change these limits under More options.

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° without refraction), at an azimuth of 276.25°: in the west.

A person 1.8 m tall then has a shadow of 1.8 ÷ tan(33.79°) = 2.69 m, pointing east.

On that day the sun is highest at 11:42:59, at 77.76°. With the default bands, the table every 10 minutes shows the golden hour band from 18:30 to 19:10 and the blue hour band at 19:20 and 19:30.

In the shadow calculation, a pole 1.8 m tall with a shadow of 2.5 m means a sun elevation of atan(1.8 ÷ 2.5) = 35.75°.

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, trees and buildings also hide a low sun.
  • The tool gives the direct sunlight only. It does not know the clouds, haze or the colour of the light.
  • For the times of sunrise, sunset and golden hour, use the Golden Hour Calculator or the Solar Elevation Calculator.
  • Do not look at the sun, and never through a camera or binoculars.

Related tools