The position of the Sun in the
sky
The sky is an unobstructed view upward from the planetary surface, surface of the Earth. It includes the atmosphere of Earth, atmosphere and outer space. It may also be considered a place between the ground and outer space, thus distinct from ...
is a function of both the
time
Time is the continuous progression of existence that occurs in an apparently irreversible process, irreversible succession from the past, through the present, and into the future. It is a component quantity of various measurements used to sequ ...
and the
geographic location of observation 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 ...
's surface. As
Earth orbits 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 ...
over the course of a
year
A year is a unit of time based on how long it takes the Earth to orbit the Sun. In scientific use, the tropical year (approximately 365 Synodic day, solar days, 5 hours, 48 minutes, 45 seconds) and the sidereal year (about 20 minutes longer) ...
, the Sun appears to move with respect to the
fixed stars on the
celestial sphere
In astronomy and navigation, the celestial sphere is an abstract sphere that has an arbitrarily large radius and is concentric to Earth. All objects in the sky can be conceived as being projected upon the inner surface of the celestial sphere, ...
, along a circular path called the
ecliptic
The ecliptic or ecliptic plane is the orbital plane of Earth's orbit, Earth around the Sun. It was a central concept in a number of ancient sciences, providing the framework for key measurements in astronomy, astrology and calendar-making.
Fr ...
.
Earth's rotation
Earth's rotation or Earth's spin is the rotation of planet Earth around its own Rotation around a fixed axis, axis, as well as changes in the orientation (geometry), orientation of the rotation axis in space. Earth rotates eastward, in progra ...
about its axis causes
diurnal motion, so that the Sun appears to move across the sky in a
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 ...
that depends on the observer's geographic
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 ...
. The time when the Sun
transits the observer's
meridian depends on the geographic
longitude
Longitude (, ) is a geographic coordinate that specifies the east- west position of a point on the surface of the Earth, or another celestial body. It is an angular measurement, usually expressed in degrees and denoted by the Greek lett ...
.
To find the Sun's position for a given location at a given time, one may therefore proceed in three steps as follows:
# calculate the Sun's position in the
ecliptic coordinate system
In astronomy, the ecliptic coordinate system is a celestial coordinate system commonly used for representing the apparent positions, orbits, and pole orientations of Solar System objects. Because most planets (except Mercury) and many small So ...
,
# convert to the
equatorial coordinate system
The equatorial coordinate system is a celestial coordinate system widely used to specify the positions of astronomical object, celestial objects. It may be implemented in spherical coordinate system, spherical or Cartesian coordinate system, rect ...
, and
# convert to the
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 ...
, for the observer's local time and location. This is the coordinate system normally used to calculate the position of the Sun in terms of
solar zenith angle and
solar azimuth angle, and the two parameters can be used to depict the
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 ...
.
This calculation is useful in
astronomy
Astronomy is a natural science that studies celestial objects and the phenomena that occur in the cosmos. It uses mathematics, physics, and chemistry in order to explain their origin and their overall evolution. Objects of interest includ ...
,
navigation
Navigation is a field of study that focuses on the process of monitoring and controlling the motion, movement of a craft or vehicle from one place to another.Bowditch, 2003:799. The field of navigation includes four general categories: land navig ...
,
surveying
Surveying or land surveying is the technique, profession, art, and science of determining the land, terrestrial Plane (mathematics), two-dimensional or Three-dimensional space#In Euclidean geometry, three-dimensional positions of Point (geom ...
,
meteorology
Meteorology is the scientific study of the Earth's atmosphere and short-term atmospheric phenomena (i.e. weather), with a focus on weather forecasting. It has applications in the military, aviation, energy production, transport, agricultur ...
,
climatology
Climatology (from Greek , ''klima'', "slope"; and , '' -logia'') or climate science is the scientific study of Earth's climate, typically defined as weather conditions averaged over a period of at least 30 years. Climate concerns the atmospher ...
,
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 ...
, and
sundial
A sundial is a horology, horological device that tells the time of day (referred to as civil time in modern usage) when direct sunlight shines by the position of the Sun, apparent position of the Sun in the sky. In the narrowest sense of the ...
design.
Approximate position
Ecliptic coordinates
These equations, from the ''
Astronomical Almanac'',
can be used to calculate the apparent coordinates of 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 ...
,
mean equinox and ecliptic of date, to a precision of about 0°.01 (36″), for dates between 1950 and 2050. Similar equations are coded into a
Fortran 90 routine in Ref.
[Zhang, T., Stackhouse, P.W., Macpherson, B., and Mikovitz, J.C., 2021. A solar azimuth formula that renders circumstantial treatment unnecessary without compromising mathematical rigor: Mathematical setup, application and extension of a formula based on the subsolar point and atan2 function. ''Renewable Energy'', 172, 1333-1340. DOI: https://doi.org/10.1016/j.renene.2021.03.047] and are used to calculate the
solar zenith angle and
solar azimuth angle as observed from the surface of the Earth.
Start by calculating ''n'', the number of days (positive or negative, including fractional days) since Greenwich noon, Terrestrial Time, on 1 January 2000 (
J2000.0
In astronomy, an epoch or reference epoch is a moment in time used as a reference point for some time-varying astronomical quantity. It is useful for the celestial coordinates or orbital elements of a celestial body, as they are subject to pe ...
). If the
Julian date
The Julian day is a continuous count of days from the beginning of the Julian period; it is used primarily by astronomers, and in software for easily calculating elapsed days between two events (e.g., food production date and sell by date).
Th ...
for the desired time is known, then
:
The
mean longitude Mean longitude is the ecliptic longitude at which an orbiting body could be found if its orbit were circular and free of perturbations. While nominally a simple longitude, in practice the mean longitude does not correspond to any one physical ang ...
of the Sun, corrected for the
aberration of light, is:
:
The
mean anomaly
In celestial mechanics, the mean anomaly is the fraction of an elliptical orbit's period that has elapsed since the orbiting body passed periapsis, expressed as an angle which can be used in calculating the position of that body in the classical ...
of the Sun (actually, of the Earth in its orbit around the Sun, but it is convenient to pretend the Sun orbits the Earth), is:
:
Put
and
in the range 0° to 360° by adding or subtracting
multiples of 360° as neededwhich is to say,
and
are really to be evaluated (
mod 360).
Finally, the
ecliptic longitude of the Sun is:
:
The
ecliptic latitude of the Sun is nearly:
:
,
as the
ecliptic latitude of the Sun never exceeds 0.00033° (a little over 1″), and the distance of the Sun from the Earth, in
astronomical unit
The astronomical unit (symbol: au or AU) is a unit of length defined to be exactly equal to . Historically, the astronomical unit was conceived as the average Earth-Sun distance (the average of Earth's aphelion and perihelion), before its m ...
s, is:
:
.
Obliquity of the ecliptic
Where the
obliquity of the ecliptic
In astronomy, axial tilt, also known as obliquity, is the angle between an object's rotational axis and its orbital axis, which is the line perpendicular to its orbital plane; equivalently, it is the angle between its equatorial plane and orbital ...
is not obtained elsewhere, it can be approximated:
:
Equatorial coordinates
,
and
form a complete position of 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 ...
in the
ecliptic coordinate system
In astronomy, the ecliptic coordinate system is a celestial coordinate system commonly used for representing the apparent positions, orbits, and pole orientations of Solar System objects. Because most planets (except Mercury) and many small So ...
. This can be converted to the
equatorial coordinate system
The equatorial coordinate system is a celestial coordinate system widely used to specify the positions of astronomical object, celestial objects. It may be implemented in spherical coordinate system, spherical or Cartesian coordinate system, rect ...
by calculating the
obliquity of the ecliptic
In astronomy, axial tilt, also known as obliquity, is the angle between an object's rotational axis and its orbital axis, which is the line perpendicular to its orbital plane; equivalently, it is the angle between its equatorial plane and orbital ...
,
, and continuing:
Right ascension
Right ascension (abbreviated RA; symbol ) is the angular distance of a particular point measured eastward along the celestial equator from the Sun at the equinox (celestial coordinates), March equinox to the (hour circle of the) point in questio ...
,
:
, where
is in the same
quadrant as
,
To get RA at the right quadrant on computer programs use double argument Arctan function such as ATAN2(y,x)
:
and
declination
In astronomy, declination (abbreviated dec; symbol ''δ'') is one of the two angles that locate a point on the celestial sphere in the equatorial coordinate system, the other being hour angle. The declination angle is measured north (positive) or ...
,
:
.
Rectangular equatorial coordinates
Right-handed
In human biology, handedness is an individual's preferential use of one hand, known as the dominant hand, due to and causing it to be stronger, faster or more Fine motor skill, dextrous. The other hand, comparatively often the weaker, less dext ...
rectangular equatorial coordinates in
astronomical unit
The astronomical unit (symbol: au or AU) is a unit of length defined to be exactly equal to . Historically, the astronomical unit was conceived as the average Earth-Sun distance (the average of Earth's aphelion and perihelion), before its m ...
s are:
:
:
:
:Where
axis is in the direction of the
March equinox
The March equinox or northward equinox is the equinox on the Earth when the subsolar point appears to leave the Southern Hemisphere and cross the celestial equator, heading northward as seen from Earth. The March equinox is known as the ver ...
, the
axis towards
June Solstice
The June solstice is the solstice on Earth that occurs annually between 20 and 22 June according to the Gregorian calendar. In the Northern Hemisphere, the June solstice is the summer solstice (the day with the longest period of daylight), while ...
, and the
axis towards the
North celestial pole.
Horizontal coordinates
Declination of the Sun as seen from Earth
The Sun appears to move northward during the northern
spring, crossing the
celestial equator
The celestial equator is the great circle of the imaginary celestial sphere on the same plane as the equator of Earth. By extension, it is also a plane of reference in the equatorial coordinate system. Due to Earth's axial tilt, the celestial ...
on the
March equinox
The March equinox or northward equinox is the equinox on the Earth when the subsolar point appears to leave the Southern Hemisphere and cross the celestial equator, heading northward as seen from Earth. The March equinox is known as the ver ...
. Its
declination
In astronomy, declination (abbreviated dec; symbol ''δ'') is one of the two angles that locate a point on the celestial sphere in the equatorial coordinate system, the other being hour angle. The declination angle is measured north (positive) or ...
reaches a maximum equal to the angle of Earth's
axial tilt
In astronomy, axial tilt, also known as obliquity, is the angle between an object's rotational axis and its orbital axis, which is the line perpendicular to its orbital plane; equivalently, it is the angle between its equatorial plane and orbita ...
(23.44° or 23°26') on the
June solstice
The June solstice is the solstice on Earth that occurs annually between 20 and 22 June according to the Gregorian calendar. In the Northern Hemisphere, the June solstice is the summer solstice (the day with the longest period of daylight), while ...
, then decreases until reaching its minimum (−23.44° or -23°26') on the
December solstice
The December solstice, also known as the southern solstice, is the solstice that occurs each December – typically on 21 December, but may vary by one day in either direction according to the Gregorian calendar. In the Northern Hemisphere, the ...
, when its value is the negative of the axial tilt. This variation produces the
season
A season is a division of the year based on changes in weather, ecology, and the number of daylight hours in a given region. On Earth, seasons are the result of the axial parallelism of Earth's axial tilt, tilted orbit around the Sun. In temperat ...
s.
A
line graph
In the mathematics, mathematical discipline of graph theory, the line graph of an undirected graph is another graph that represents the adjacencies between edge (graph theory), edges of . is constructed in the following way: for each edge i ...
of the Sun's declination during a year resembles a
sine wave
A sine wave, sinusoidal wave, or sinusoid (symbol: ∿) is a periodic function, periodic wave whose waveform (shape) is the trigonometric function, trigonometric sine, sine function. In mechanics, as a linear motion over time, this is ''simple ...
with an
amplitude
The amplitude of a periodic variable is a measure of its change in a single period (such as time or spatial period). The amplitude of a non-periodic signal is its magnitude compared with a reference value. There are various definitions of am ...
of 23.44°, but one lobe of the wave is several days longer than the other, among other differences.
The following phenomena would occur if Earth were a perfect
sphere
A sphere (from Ancient Greek, Greek , ) is a surface (mathematics), surface analogous to the circle, a curve. In solid geometry, a sphere is the Locus (mathematics), set of points that are all at the same distance from a given point in three ...
, in a
circular orbit
A circular orbit is an orbit with a fixed distance around the barycenter; that is, in the shape of a circle.
In this case, not only the distance, but also the speed, angular speed, Potential energy, potential and kinetic energy are constant. T ...
around the Sun, and if its axis were tilted 90°, so that the axis itself is on the
orbital plane
The orbital plane of a revolving body is the geometric plane in which its orbit lies. Three non-collinear points in space suffice to determine an orbital plane. A common example would be the positions of the centers of a massive body (host) a ...
(similar to
Uranus
Uranus is the seventh planet from the Sun. It is a gaseous cyan-coloured ice giant. Most of the planet is made of water, ammonia, and methane in a Supercritical fluid, supercritical phase of matter, which astronomy calls "ice" or Volatile ( ...
). At one date in the year, the Sun would be
directly overhead at the
North Pole
The North Pole, also known as the Geographic North Pole or Terrestrial North Pole, is the point in the Northern Hemisphere where the Earth's rotation, Earth's axis of rotation meets its surface. It is called the True North Pole to distingu ...
, so its declination would be +90°. For the next few months, the
subsolar point would move toward the
South Pole
The South Pole, also known as the Geographic South Pole or Terrestrial South Pole, is the point in the Southern Hemisphere where the Earth's rotation, Earth's axis of rotation meets its surface. It is called the True South Pole to distinguish ...
at constant speed, crossing the
circles of latitude at a constant rate, so that the solar declination would decrease ''linearly'' with time. Eventually, the Sun would be directly above the South Pole, with a declination of −90°; then it would start to move northward at a constant speed. Thus, the graph of solar declination, as seen from this highly tilted Earth, would resemble a
triangle wave rather than a sine wave,
zigzag
A zigzag is a pattern made up of small corners at variable angles, though constant within the zigzag, tracing a path between two parallel lines; it can be described as both jagged and fairly regular.
In geometry, this pattern is described as a ...
ging between plus and minus 90°, with linear segments between the maxima and minima.
If the 90° axial tilt is decreased, then the absolute maximum and minimum values of the declination would decrease, to equal the axial tilt. Also, the shapes of the maxima and minima on the graph would become less acute, being curved to resemble the maxima and minima of a sine wave. However, even when the axial tilt equals that of the actual Earth, the maxima and minima remain more acute than those of a sine wave.
In reality,
Earth's orbit
Earth orbits the Sun at an astronomical unit, average distance of , or 8.317 light-second, light-minutes, in a retrograde and prograde motion, counterclockwise direction as viewed from above the Northern Hemisphere. One complete orbit takes & ...
is
elliptical. Earth moves more rapidly around the Sun near
perihelion
An apsis (; ) is the farthest or nearest point in the orbit of a planetary body about its primary body. The line of apsides (also called apse line, or major axis of the orbit) is the line connecting the two extreme values.
Apsides perta ...
, in early January, than near
aphelion
An apsis (; ) is the farthest or nearest point in the orbit of a planetary body about its primary body. The line of apsides (also called apse line, or major axis of the orbit) is the line connecting the two extreme values.
Apsides perta ...
, in early July. This makes processes like the variation of the solar declination happen faster in January than in July. On the graph, this makes the minima more acute than the maxima. Also, since perihelion and aphelion do not happen on the exact dates as the solstices, the maxima and minima are slightly asymmetrical. The rates of change before and after are not quite equal. Furthermore, Earth's
subsolar point only occurs within the
tropics
The tropics are the regions of Earth surrounding the equator, where the sun may shine directly overhead. This contrasts with the temperate or polar regions of Earth, where the Sun can never be directly overhead. This is because of Earth's ax ...
.
The graph of apparent solar declination is therefore different in several ways from a sine wave. Calculating it accurately involves some complexity, as shown below.
Calculations
The declination of 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 ...
, δ
☉, is the angle between the rays of the Sun and the plane of the Earth's equator. The Earth's
axial tilt
In astronomy, axial tilt, also known as obliquity, is the angle between an object's rotational axis and its orbital axis, which is the line perpendicular to its orbital plane; equivalently, it is the angle between its equatorial plane and orbita ...
(called the ''obliquity of the ecliptic'' by astronomers) is the angle between the Earth's axis and a line perpendicular to the Earth's orbit. The Earth's axial tilt changes slowly over thousands of years but its current value of about ε = 23.44° is nearly constant, so the change in solar declination during one year is nearly the same as during the next year.
At the
solstice
A solstice is the time when the Sun reaches its most northerly or southerly sun path, excursion relative to the celestial equator on the celestial sphere. Two solstices occur annually, around 20–22 June and 20–22 December. In many countries ...
s, the angle between the rays of the Sun and the plane of the Earth's equator reaches its maximum value of 23.44°. Therefore, δ
☉ = +23.44° at the northern summer solstice and δ
☉ = −23.44° at the southern summer solstice.
At the moment of each
equinox
A solar equinox is a moment in time when the Sun appears directly above the equator, rather than to its north or south. On the day of the equinox, the Sun appears to rise directly east and set directly west. This occurs twice each year, arou ...
, the center of the Sun appears to pass through the
celestial equator
The celestial equator is the great circle of the imaginary celestial sphere on the same plane as the equator of Earth. By extension, it is also a plane of reference in the equatorial coordinate system. Due to Earth's axial tilt, the celestial ...
, and δ
☉ is 0°.
The Sun's declination at any given moment is calculated by:
: