Solar Position and Azimuth Calculator

All solar tools
PV production · Specialized calculation

Estimate solar elevation and true-north azimuth using approximate NOAA equations.

Your inputs

Use your own measurements or edit the example values.

Your estimate

Ready when you are

Enter your figures and calculate to see the result and its assumptions.

Understand your result

Method and assumptions

The model calculates fractional year, equation of time and solar declination, then converts the entered UTC time and longitude to true solar time. Solar hour angle and latitude determine geometric elevation and azimuth. Longitude is positive east in this implementation.

A worked example

At 35° north near longitude 105° west, 19:00 UTC is near local solar noon around the June solstice. The sun is high and approximately toward true south. Local terrain and atmospheric refraction affect the observed horizon.

Use UTC and the correct longitude sign

The hour field is a decimal UTC time. Convert the intended local clock time using the actual UTC offset on that date, including daylight saving when applicable. Longitude is positive east and negative west here. A western U.S. location therefore uses a negative longitude. The day-of-year value must belong to the selected calendar year. Mixing local clock time with UTC or reversing longitude can move the estimated sun position substantially.

Relate the angle to the site

Azimuth is clockwise from true north and elevation is measured above a geometric horizon. The calculation does not include trees, nearby buildings, sloping ground or atmospheric refraction. Use the result as an approximate geometric reference when discussing orientation and shadow planning. Near a vertical sun position, azimuth becomes poorly defined. For detailed annual production, use a weather-based site model and a real obstruction survey.

Sources and further reading

Calculations and guidance reviewed December 4, 2026.

solarpowergenerationusa.com
Logo