Free Azimuth Calculator

Initial Point

Final Point

N = +, S = - (-90 to 90) | E = +, W = - (-180 to 180)

Enter coordinates to calculate azimuth and distance

Azimuth Calculator: Free Bearing and Distance Between Two Points

This free online azimuth calculator – also called a bearing calculator – determines the bearing (azimuth) and the great‑circle distance between any two geographical points given their latitude and longitude coordinates. Whether you need to plan a route, align a satellite dish, or find the shortest path between cities, the tool applies the Haversine formula to deliver reliable results. Important: The calculator works exclusively with geographic coordinates in decimal degrees; it is not designed for general spherical coordinates.

What Is Azimuth?

Azimuth is the horizontal angle measured clockwise from True North. In cartographic terms, it is the angle formed between the line from your location to the North Pole and the line from your location to the target direction.

Common reference points:

  • Directly east → 90∘90^\circ
  • Directly south → 180∘180^\circ
  • Directly west → 270∘270^\circ

In astronomy, azimuth pairs with altitude to describe the position of celestial objects: azimuth gives the compass direction, while altitude measures the vertical angle from the horizon (0∘0^\circ) to the zenith (90∘90^\circ). The point opposite the zenith is the nadir.

Coordinate Format

The tool expects all coordinates in decimal degrees. For example:

  • New York City: 40.7128∘40.7128^\circ N, 74.0060∘74.0060^\circ W → 40.712840.7128, −74.0060-74.0060
  • Sydney: −33.8688∘-33.8688^\circ S, 151.2093∘151.2093^\circ E → −33.8688-33.8688, 151.2093151.2093

If you have degrees–minutes–seconds (DMS) values, convert them to decimal degrees before entering.

Distance Formula: Haversine

Because Earth is approximately spherical, the shortest path along its surface is a great‑circle arc. The Haversine formula calculates this great‑circle distance dd:

d=2R⋅arcsin⁡(sin⁡2 ⁣(Δϕ2)+cos⁡ϕ1⋅cos⁡ϕ2⋅sin⁡2 ⁣(Δλ2))d = 2R \cdot \arcsin\left( \sqrt{ \sin^{2}\!\left(\frac{\Delta\phi}{2}\right) + \cos\phi_1 \cdot \cos\phi_2 \cdot \sin^{2}\!\left(\frac{\Delta\lambda}{2}\right) } \right)

Where:

  • ϕ1,ϕ2\phi_1, \phi_2 = latitudes of the start and end points (positive for North, negative for South)
  • λ1,λ2\lambda_1, \lambda_2 = corresponding longitudes (positive for East, negative for West)
  • Δϕ=ϕ2−ϕ1\Delta\phi = \phi_2 - \phi_1, Δλ=λ2−λ1\Delta\lambda = \lambda_2 - \lambda_1
  • R=6, ⁣371 kmR = 6,\!371\ \text{km} (Earth’s mean radius)

All angular inputs must be in decimal degrees; the calculation converts them to radians internally.

Azimuth (Bearing) Formula

The initial heading (azimuth) from point 1 to point 2 is obtained using the two‑argument arctangent function:

θ=atan2⁡ ⁣(sin⁡Δλ⋅cos⁡ϕ2, cos⁡ϕ1⋅sin⁡ϕ2−sin⁡ϕ1⋅cos⁡ϕ2⋅cos⁡Δλ)\theta = \operatorname{atan2}\!\big( \sin\Delta\lambda \cdot \cos\phi_2,\ \cos\phi_1 \cdot \sin\phi_2 - \sin\phi_1 \cdot \cos\phi_2 \cdot \cos\Delta\lambda \big)

The result θ\theta is in radians. Convert to degrees and add 360∘360^\circ if needed to obtain a value between 0∘0^\circ and 360∘360^\circ (clockwise from North). This is the initial bearing – the direction you must head from the start to follow the great‑circle route.

Example: London to Rio de Janeiro

Let’s apply the formulas to a well‑known pair of cities.

  • Start: London, UK — 51.50∘51.50^\circ N, 0.00∘0.00^\circ
  • Destination: Rio de Janeiro, Brazil — 22.97∘22.97^\circ S, 43.18∘43.18^\circ W

Using the Haversine and azimuth formulas (or this calculator) we obtain:

  • Great‑circle distance: ≈ 9, ⁣280 km9,\!280\ \text{km}
  • Initial azimuth: ≈ 219∘219^\circ (i.e., about southwest)

From London you would set your compass to about 219∘219^\circ and travel roughly 9,280 km along the great‑circle path to reach Rio.

Practical Applications

Azimuth and distance calculations are useful in:

  • Navigation (air, sea, land) – determining courses between waypoints
  • Satellite dish alignment – the azimuth tells you how far to rotate the antenna horizontally
  • Astronomy – azimuth and altitude together pinpoint celestial objects
  • GIS & surveying – computing bearings and distances for mapping and analysis

This free azimuth calculator online makes it easy to obtain the bearing and great‑circle distance between any two coordinates. Simply enter the latitude and longitude of both points in decimal degrees, and the tool instantly returns the azimuth (bearing) from the first point to the second along with the distance.

FAQ

1. How do I use the azimuth calculator to find the bearing between two coordinates?

Enter the latitude and longitude of the starting point and the destination in decimal degrees (positive for north/east, negative for south/west). The calculator returns the initial bearing (azimuth) as an angle from 0° to 360° measured clockwise from True North, and the great‑circle distance.

2. What formulas does the calculator use for distance and azimuth?

Distance is computed with the Haversine formula: d = 2R·arcsin(√[sin²(Δφ/2) + cosφ₁·cosφ₂·sin²(Δλ/2)]). Azimuth is computed with θ = atan2(sinΔλ·cosφ₂, cosφ₁·sinφ₂ – sinφ₁·cosφ₂·cosΔλ). Both formulas assume a spherical Earth.

3. Is azimuth the same as bearing?

Yes, in navigation and mapping, azimuth and bearing both denote the clockwise angle from True North to the desired direction. The calculator outputs the initial bearing (azimuth) from the start point to the end point.

4. Can I input coordinates in degrees, minutes, seconds (DMS)?

The calculator requires decimal degrees. If your coordinates are in DMS, convert them first (e.g., 40°26′46″N = 40.44611) before entering.

How to Use

  1. Enter the latitude and longitude of your starting point (initial point).
  2. Enter the latitude and longitude of your destination (final point).
  3. View the azimuth (bearing) and distance between the two points in your chosen units.