The solar azimuth angle is the
azimuth
An azimuth (; from ) is the horizontal angle from a cardinal direction, most commonly north, in a local or observer-centric spherical coordinate system.
Mathematically, the relative position vector from an observer ( origin) to a point ...
(horizontal angle with respect to north) of the
Sun's position.
This
horizontal coordinate defines the
Sun
The Sun is the star at the centre of the Solar System. It is a massive, nearly perfect sphere of hot plasma, heated to incandescence by nuclear fusion reactions in its core, radiating the energy from its surface mainly as visible light a ...
's
relative direction
In geometry, direction, also known as spatial direction or vector direction, is the common characteristic of all ray (geometry), rays which coincide when translation (geometry), translated to share a common endpoint; equivalently, it is the commo ...
along the local
horizon
The horizon is the apparent curve that separates the surface of a celestial body from its sky when viewed from the perspective of an observer on or near the surface of the relevant body. This curve divides all viewing directions based on whethe ...
, whereas the
solar zenith angle
The solar zenith angle is the zenith angle of the sun, i.e., the angle between the sun’s rays and the vertical direction. It is the complement to the solar altitude or solar elevation, which is the altitude angle or elevation angle between the ...
(or its
complementary angle solar
elevation
The elevation of a geographic location (geography), ''location'' is its height above or below a fixed reference point, most commonly a reference geoid, a mathematical model of the Earth's sea level as an equipotential gravitational equipotenti ...
) defines the Sun's apparent
altitude
Altitude is a distance measurement, usually in the vertical or "up" direction, between a reference datum (geodesy), datum and a point or object. The exact definition and reference datum varies according to the context (e.g., aviation, geometr ...
.
Conventional sign and origin
There are several conventions for the solar azimuth; however, it is traditionally defined as the angle between a line due
south
South is one of the cardinal directions or compass points. The direction is the opposite of north and is perpendicular to both west and east.
Etymology
The word ''south'' comes from Old English ''sūþ'', from earlier Proto-Germanic ''*sunþa ...
and the shadow cast by a vertical rod on
Earth
Earth is the third planet from the Sun and the only astronomical object known to Planetary habitability, harbor life. This is enabled by Earth being an ocean world, the only one in the Solar System sustaining liquid surface water. Almost all ...
. This convention states the angle is positive if the shadow is
east
East is one of the four cardinal directions or points of the compass. It is the opposite direction from west and is the direction from which the Sun rises on the Earth.
Etymology
As in other languages, the word is formed from the fact that ea ...
of south and negative if it is
west
West is one of the four cardinal directions or points of the compass. It is the opposite direction from east and is the direction in which the Sun sets on the Earth.
Etymology
The word "west" is a Germanic word passed into some Romance langu ...
of south.
For example, due east would be 90° and due west would be -90°. Another convention is the reverse; it also has the origin at due south, but measures angles clockwise, so that due east is now negative and west now positive.
However, despite tradition, the most commonly accepted convention for analyzing
solar irradiation, e.g. for
solar energy
Solar energy is the radiant energy from the Sun's sunlight, light and heat, which can be harnessed using a range of technologies such as solar electricity, solar thermal energy (including solar water heating) and solar architecture. It is a ...
applications, is clockwise from due
north
North is one of the four compass points or cardinal directions. It is the opposite of south and is perpendicular to east and west. ''North'' is a noun, adjective, or adverb indicating Direction (geometry), direction or geography.
Etymology
T ...
, so east is 90°, south is 180°, and west is 270°. This is the definition used by
NREL
The National Renewable Energy Laboratory (NREL) in the US specializes in the research and development of renewable energy, energy efficiency, energy systems integration, and sustainable transportation. NREL is a federally funded research and ...
in their solar position calculators
and is also the convention used in the
formulas
In science, a formula is a concise way of expressing information symbolically, as in a mathematical formula or a ''chemical formula''. The informal use of the term ''formula'' in science refers to the general construct of a relationship betwe ...
presented here. However,
Landsat
The Landsat program is the longest-running enterprise for acquisition of satellite imagery of Earth. It is a joint NASA / USGS program. On 23 July 1972, the Earth Resources Technology Satellite was launched. This was eventually renamed to Lan ...
photos and other
USGS
The United States Geological Survey (USGS), founded as the Geological Survey, is an government agency, agency of the United States Department of the Interior, U.S. Department of the Interior whose work spans the disciplines of biology, geograp ...
products, while also defining azimuthal angles relative to due north, take counter
clockwise
Two-dimensional rotation can occur in two possible directions or senses of rotation. Clockwise motion (abbreviated CW) proceeds in the same direction as a clock's hands relative to the observer: from the top to the right, then down and then to ...
angles as negative.
Conventional Trigonometric Formulas
The following formulas assume the north-clockwise convention. The solar azimuth angle can be calculated to a good approximation with the following formula, however angles should be interpreted with care because the
inverse sine, i.e. or , has multiple solutions, only one of which will be correct.
:
The following formulas can also be used to approximate the solar azimuth angle, but these formulas use cosine, so the azimuth angle as shown by a calculator will always be positive, and should be interpreted as the angle between zero and 180 degrees when the hour angle, , is negative (morning) and the angle between 180 and 360 degrees when the hour angle, , is positive (afternoon). (These two formulas are equivalent if one assumes the "
solar elevation angle" approximation formula).
:
So practically speaking, the compass azimuth which is the practical value used everywhere (in example in airlines as the so called course) on a compass (where North is 0 degrees, East is 90 degrees, South is 180 degrees and West is 270 degrees) can be calculated as
:
The formulas use the following terminology:
*
is the solar azimuth angle
*
is the
solar zenith angle
The solar zenith angle is the zenith angle of the sun, i.e., the angle between the sun’s rays and the vertical direction. It is the complement to the solar altitude or solar elevation, which is the altitude angle or elevation angle between the ...
*
is the
hour angle
In astronomy and celestial navigation, the hour angle is the dihedral angle between the '' meridian plane'' (containing Earth's axis and the zenith) and the '' hour circle'' (containing Earth's axis and a given point of interest).
It may be ...
, in the local
solar time
Solar time is a calculation of the passage of time based on the position of the Sun in the sky. The fundamental unit of solar time is the day, based on the synodic rotation period. Traditionally, there are three types of time reckoning based ...
*
is the current
sun declination
*
is the local
latitude
In geography, latitude is a geographic coordinate system, geographic coordinate that specifies the north-south position of a point on the surface of the Earth or another celestial body. Latitude is given as an angle that ranges from −90° at t ...
In addition, dividing the above sine formula by the first cosine formula gives one the tangent formula as is used in ''The Nautical Almanac''.
The formula based on the ''subsolar point'' and the atan2 function

A 2021 publication presents a method that uses a solar azimuth formula based on the
subsolar point
The subsolar point on a planet or a moon is the point at which its Sun is perceived to be directly overhead (at the zenith); that is, where the Sun's rays strike the planet exactly perpendicular to its surface. The subsolar point occurs at the ...
and the
atan2
In computing and mathematics, the function (mathematics), function atan2 is the 2-Argument of a function, argument arctangent. By definition, \theta = \operatorname(y, x) is the angle measure (in radians, with -\pi 0, \\ mu \arctan\left(\fr ...
function, as defined in
Fortran 90, that gives an unambiguous solution without the need for circumstantial treatment. The subsolar point is the point on the surface of the Earth where the Sun is overhead.
The method first calculates the
declination of the Sun
The position of the Sun in the sky is a function of both the time and the geographic location of observation on Earth's surface. As Earth orbits the Sun over the course of a year, the Sun appears to move with respect to the fixed stars on the ...
and
equation of time
The equation of time describes the discrepancy between two kinds of solar time. The two times that differ are the apparent solar time, which directly tracks the diurnal motion of the Sun, and mean solar time, which tracks a theoretical mean Sun ...
using equations from The Astronomical Almanac,
[The Astronomical Almanac for the Year. The United Naval Observatory, 2019.] then it gives the x-, y- and z-components of the unit vector pointing toward the Sun, through
vector analysis
Vector calculus or vector analysis is a branch of mathematics concerned with the differentiation and integration of vector fields, primarily in three-dimensional Euclidean space, \mathbb^3. The term ''vector calculus'' is sometimes used as a ...
rather than
spherical trigonometry
Spherical trigonometry is the branch of spherical geometry that deals with the metrical relationships between the edge (geometry), sides and angles of spherical triangles, traditionally expressed using trigonometric functions. On the sphere, ge ...
, as follows:
:
where
*
is the declination of the Sun,
*
is the latitude of the subsolar point,
*
is the longitude of the subsolar point,
*
is the Greenwich Mean Time or UTC,
*
is the
equation of time
The equation of time describes the discrepancy between two kinds of solar time. The two times that differ are the apparent solar time, which directly tracks the diurnal motion of the Sun, and mean solar time, which tracks a theoretical mean Sun ...
in minutes,
*
is the latitude of the observer,
*
is the longitude of the observer,
*
are the x-, y- and z-components, respectively, of the unit vector pointing toward the Sun. The x-, y- and z-axises of the coordinate system point to East, North and upward, respectively.
It can be shown that
. With the above mathematical setup, the solar zenith angle and solar azimuth angle are simply
:
,
:
. (South-Clockwise Convention)
where
*
is the solar zenith angle,
*
is the solar azimuth angle following the South-Clockwise Convention.
If one prefers North-Clockwise Convention, or East-Counterclockwise Convention, the formulas are
:
, (North-Clockwise Convention)
:
. (East-Counterclockwise Convention)
Finally, the values of
,
and
at 1-hour step for an entire year can be presented in a 3D plot of "wreath of
analemma
In astronomy, an analemma (; ) is a diagram showing the position of the Sun in the sky as seen from a fixed location on Earth at the same Solar time#Mean solar time, mean solar time over the course of a year. The change of position is a result ...
s" as a graphic depiction of all possible positions of the Sun in terms of solar zenith angle and solar azimuth angle for any given location. Refer to
sun path
Sun path, sometimes also called day arc, refers to the diurnal motion, daily (sunrise to sunset) and seasonal arc (geometry), arc-like path that the Sun appears to follow across the sky as the Earth Earth's rotation, rotates and Earth's orbi ...
for similar plots for other locations.
See also
*
Equation of time
The equation of time describes the discrepancy between two kinds of solar time. The two times that differ are the apparent solar time, which directly tracks the diurnal motion of the Sun, and mean solar time, which tracks a theoretical mean Sun ...
*
Horizontal coordinate system
The horizontal coordinate system is a celestial coordinate system that uses the observer's local horizon as the fundamental plane to define two angles of a spherical coordinate system: altitude and ''azimuth''.
Therefore, the horizontal coord ...
*
Hour angle
In astronomy and celestial navigation, the hour angle is the dihedral angle between the '' meridian plane'' (containing Earth's axis and the zenith) and the '' hour circle'' (containing Earth's axis and a given point of interest).
It may be ...
*
Position of the Sun
The position of the Sun in the sky is a function of both the time and the geographic coordinate system, geographic location of observation on Earth's surface. As Earth's orbit, Earth orbits the Sun over the course of a year, the Sun appears to mo ...
*
Solar time
Solar time is a calculation of the passage of time based on the position of the Sun in the sky. The fundamental unit of solar time is the day, based on the synodic rotation period. Traditionally, there are three types of time reckoning based ...
*
Solar tracker
*
Sun path
Sun path, sometimes also called day arc, refers to the diurnal motion, daily (sunrise to sunset) and seasonal arc (geometry), arc-like path that the Sun appears to follow across the sky as the Earth Earth's rotation, rotates and Earth's orbi ...
*
Sunrise
Sunrise (or sunup) is the moment when the upper rim of the Sun appears on the horizon in the morning, at the start of the Sun path. The term can also refer to the entire process of the solar disk crossing the horizon.
Terminology
Although the S ...
*
Sunset
Sunset (or sundown) is the disappearance of the Sun at the end of the Sun path, below the horizon of the Earth (or any other astronomical object in the Solar System) due to its Earth's rotation, rotation. As viewed from everywhere on Earth, it ...
*
Zenith
The zenith (, ) is the imaginary point on the celestial sphere directly "above" a particular location. "Above" means in the vertical direction (Vertical and horizontal, plumb line) opposite to the gravity direction at that location (nadir). The z ...
References
External links
Solar Position Calculators by National Renewable Energy Laboratory (NREL)Solar Position Algorithm for Solar Radiation Applications (NREL)An Excel workbookwith VBA functions for solar azimuth, solar elevation, dawn, sunrise, solar noon, sunset, and dusk, b
translated from NOAA's online calculators fo
an
An Excel workbookwith a solar position and solar radiation time-series calculator, b
Free on-line tool to estimate the position of the sun with three different algorithms.
PVCDROMAzimuth Angle - online material regarding Photovoltaics by UNSW, ASU, NSF et al.
{{DEFAULTSORT:Solar Azimuth Angle
Horizontal coordinate system
Sun
Solar energy