# Azimuth

An azimuth (/ˈæzəməθ/ ; from Arabic: اَلسُّمُوت, romanized: as-sumūt, lit. 'the directions') 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 of interest is projected perpendicularly onto a reference plane (the horizontal plane); the angle between the projected vector and a reference vector on the reference plane is called the azimuth.
When used as a celestial coordinate, the azimuth is the horizontal direction of a star or other astronomical object in the sky. The star is the point of interest, the reference plane is the local area (e.g. a circular area with a 5 km radius at sea level) around an observer on Earth's surface, and the reference vector points to true north. The azimuth is the angle between the north vector and the star's vector on the horizontal plane.
Azimuth is usually measured in degrees (°), in the positive range 0° to 360° or in the signed range -180° to +180°. The concept is used in navigation, astronomy, engineering, mapping, mining, and ballistics.

## Etymology

The word azimuth is used in all European languages today. It originates from medieval Arabic السموت (al-sumūt, pronounced as-sumūt), meaning "the directions" (plural of Arabic السمت al-samt = "the direction"). The Arabic word entered late medieval Latin in an astronomy context and in particular in the use of the Arabic version of the astrolabe astronomy instrument. Its first recorded use in English is in the 1390s in Geoffrey Chaucer's Treatise on the Astrolabe. The first known record in any Western language is in Spanish in the 1270s in an astronomy book that was largely derived from Arabic sources, the Libros del saber de astronomía commissioned by King Alfonso X of Castile.

## In astronomy

In the horizontal coordinate system, used in celestial navigation, azimuth is one of the two coordinates. The other is altitude, sometimes called elevation above the horizon. It is also used for satellite dish installation (see also: sat finder). In modern astronomy azimuth is nearly always measured from the north.

## In navigation

In land navigation, azimuth is usually denoted alpha, α, and defined as a horizontal angle measured clockwise from a north base line or meridian. Azimuth has also been more generally defined as a horizontal angle measured clockwise from any fixed reference plane or easily established base direction line.
Today, the reference plane for an azimuth is typically true north, measured as a 0° azimuth, though other angular units (grad, mil) can be used. Moving clockwise on a 360 degree circle, east has azimuth 90°, south 180°, and west 270°. There are exceptions: some navigation systems use south as the reference vector. Any direction can be the reference vector, as long as it is clearly defined.
Quite commonly, azimuths or compass bearings are stated in a system in which either north or south can be the zero, and the angle may be measured clockwise or anticlockwise from the zero. For example, a bearing might be described as "(from) south, (turn) thirty degrees (toward the) east" (the words in brackets are usually omitted), abbreviated "S30°E", which is the bearing 30 degrees in the eastward direction from south, i.e. the bearing 150 degrees clockwise from north. The reference direction, stated first, is always north or south, and the turning direction, stated last, is east or west. The directions are chosen so that the angle, stated between them, is positive, between zero and 90 degrees. If the bearing happens to be exactly in the direction of one of the cardinal points, a different notation, e.g. "due east", is used instead.

### True north-based azimuths

From north, eastern side :
| Direction | Azimuth |
| N | 0° |
| NNE | 22.5° |
| NE | 45° |
| ENE | 67.5° |
| E | 90° |
| ESE | 112.5° |
| SE | 135° |
| SSE | 157.5° |
From north, western side :
| Direction | Azimuth |
| S | 180° |
| SSW | 202.5° |
| SW | 225° |
| WSW | 247.5° |
| W | 270° |
| WNW | 292.5° |
| NW | 315° |
| NNW | 337.5° |

## In geodesy

We are standing at latitude $\varphi _{1}$, longitude zero; we want to find the azimuth from our viewpoint to Point 2 at latitude $\varphi _{2}$, longitude L (positive eastward). We can get a fair approximation by assuming the Earth is a sphere, in which case the azimuth α is given by
    $\tan \alpha ={\frac {\sin L}{\cos \varphi _{1}\tan \varphi _{2}-\sin \varphi _{1}\cos L}}$
A better approximation assumes the Earth is a slightly-squashed sphere (an oblate spheroid); azimuth then has at least two very slightly different meanings. Normal-section azimuth is the angle measured at our viewpoint by a theodolite whose axis is perpendicular to the surface of the spheroid; geodetic azimuth (or geodesic azimuth) is the angle between north and the ellipsoidal geodesic (the shortest path on the surface of the spheroid from our viewpoint to Point 2). The difference is usually negligible: less than 0.03 arc second for distances less than 100 km.
Normal-section azimuth can be calculated as follows:
    ${\begin{aligned}e^{2}&=f(2-f)\\1-e^{2}&=(1-f)^{2}\\\Lambda &=\left(1-e^{2}\right){\frac {\tan \varphi _{2}}{\tan \varphi _{1}}}+e^{2}{\sqrt {\frac {1+\left(1-e^{2}\right)\left(\tan \varphi _{2}\right)^{2}}{1+\left(1-e^{2}\right)\left(\tan \varphi _{1}\right)^{2}}}}\\\tan \alpha &={\frac {\sin L}{(\Lambda -\cos L)\sin \varphi _{1}}}\end{aligned}}$
where f is the flattening and e the eccentricity for the chosen spheroid (e.g., 1⁄298.257223563 for WGS84). If φ$_1$ = 0 then
    $\tan \alpha ={\frac {\sin L}{\left(1-e^{2}\right)\tan \varphi _{2}}}$
To calculate the azimuth of the Sun or a star given its declination and hour angle at a specific location, modify the formula for a spherical Earth. Replace φ$_2$ with declination and longitude difference with hour angle, and change the sign (since the hour angle is positive westward instead of east).

## In cartography

The cartographical azimuth or grid azimuth (in decimal degrees) can be calculated when the coordinates of 2 points are known in a flat plane (cartographical coordinates):
    $\alpha ={\frac {180}{\pi }}\operatorname {atan2} (X_{2}-X_{1},Y_{2}-Y_{1})$
Remark that the reference axes are swapped relative to the (counterclockwise) mathematical polar coordinate system and that the azimuth is clockwise relative to the north. This is the reason why the X and Y axis in the above formula are swapped. If the azimuth becomes negative, one can always add 360°.
The formula in radians would be slightly easier:
    $\alpha =\operatorname {atan2} (X_{2}-X_{1},Y_{2}-Y_{1})$
Note the swapped $(x,y)$ in contrast to the normal $(y,x)$ atan2 input order.
The opposite problem occurs when the coordinates (X$_1$, Y$_1$) of one point, the distance D, and the azimuth α to another point (X$_2$, Y$_2$) are known, one can calculate its coordinates:
    ${\begin{aligned}X_{2}&=X_{1}+D\sin \alpha \\Y_{2}&=Y_{1}+D\cos \alpha \end{aligned}}$
This is typically used in triangulation and azimuth identification (AzID), especially in radar applications.

### Map projections

There is a wide variety of azimuthal map projections. They all have the property that directions (the azimuths) from a central point are preserved. Some navigation systems use south as the reference plane. However, any direction can serve as the plane of reference, as long as it is clearly defined for everyone using that system.
* Comparison of some azimuthal projections centred on 90° N at the same scale, ordered by projection altitude in Earth radii. (click for detail)

## Related coordinates
### Right ascension

If, instead of measuring from and along the horizon, the angles are measured from and along the celestial equator, the angles are called right ascension if referenced to the Vernal Equinox, or hour angle if referenced to the celestial meridian.

### Polar coordinate

In mathematics, the azimuth angle of a point in cylindrical coordinates or spherical coordinates is the anticlockwise angle between the positive x-axis and the projection of the vector onto the xy-plane. A special case of an azimuth angle is the angle in polar coordinates of the component of the vector in the xy-plane, although this angle is normally measured in radians rather than degrees and denoted by θ rather than φ.

## Other uses

For magnetic tape drives, azimuth refers to the angle between the tape head(s) and tape.
In sound localization experiments and literature, the azimuth refers to the angle the sound source makes compared to the imaginary straight line that is drawn from within the head through the area between the eyes.
An azimuth thruster in shipbuilding is a propeller that can be rotated horizontally.