Azimuth Calculator
Calculate forward and back azimuth (bearing) between two geographic coordinates using spherical trigonometry. Supports DD and DMS formats.
About
Azimuth is the angular measurement between a reference direction (true north) and a line connecting two points on Earth's surface, measured clockwise from 0° to 360°. Miscalculating azimuth by even 1° over a 100km traverse introduces lateral error exceeding 1.7km. This tool computes the initial (forward) bearing θ using the spherical law on the WGS-84 ellipsoid approximation (R = 6371km), and derives the back azimuth and great-circle distance via the Haversine formula. It accepts both decimal degrees and degrees-minutes-seconds notation. Note: results assume a spherical Earth model. For sub-meter geodetic work over long baselines, use Vincenty's formulae on the reference ellipsoid instead.
Formulas
The forward azimuth (initial bearing) from point A to point B on a sphere is derived from spherical trigonometry:
The result is normalized to the range [0°, 360°) by: θnorm = (θ ⋅ 180π + 360) mod 360.
The back azimuth is computed as: θback = (θnorm + 180) mod 360.
Great-circle distance uses the Haversine formula:
Where φ1, φ2 = latitudes of points A and B in radians. λ1, λ2 = longitudes in radians. Δφ = φ2 − φ1. Δλ = λ2 − λ1. R = 6371km (mean Earth radius). θ = forward azimuth in degrees.
Reference Data
| Cardinal / Intercardinal | Abbreviation | Azimuth (°) | Azimuth (rad) | Compass Rose Sector |
|---|---|---|---|---|
| North | N | 0 / 360 | 0 / 2π | N |
| North-Northeast | NNE | 22.5 | 0.3927 | NNE |
| Northeast | NE | 45 | 0.7854 | NE |
| East-Northeast | ENE | 67.5 | 1.1781 | ENE |
| East | E | 90 | π2 | E |
| East-Southeast | ESE | 112.5 | 1.9635 | ESE |
| Southeast | SE | 135 | 2.3562 | SE |
| South-Southeast | SSE | 157.5 | 2.7489 | SSE |
| South | S | 180 | π | S |
| South-Southwest | SSW | 202.5 | 3.5343 | SSW |
| Southwest | SW | 225 | 3.9270 | SW |
| West-Southwest | WSW | 247.5 | 4.3197 | WSW |
| West | W | 270 | 3π2 | W |
| West-Northwest | WNW | 292.5 | 5.1051 | WNW |
| Northwest | NW | 315 | 5.4978 | NW |
| North-Northwest | NNW | 337.5 | 5.8905 | NNW |
| Magnetic Declination Reference (approximate, epoch 2025) | ||||
| New York, USA | - | −13.0° (West) | ||
| London, UK | - | −0.5° (West) | ||
| Tokyo, Japan | - | −7.6° (West) | ||
| Sydney, Australia | - | +12.6° (East) | ||
| Moscow, Russia | - | +11.4° (East) | ||
| São Paulo, Brazil | - | −21.8° (West) | ||
| Cairo, Egypt | - | +4.0° (East) | ||
| Mumbai, India | - | −1.1° (West) | ||