True Bearing Calculator (Bearing Between Two Coordinates)
Find the true (initial) bearing from one latitude/longitude to another with the forward-azimuth formula, plus the final bearing on arrival, the back bearing and the great-circle distance. For navigation, surveying, aviation and sailing route planning.
Last updated: October 2026
Initial true bearing
273.69 degrees
Formula below · 2 sources (ngdc.noaa.gov, movable-type.co.uk) · Updated Oct 2026
Compare with similar
About this calculator
The true bearing (forward azimuth) from point 1 to point 2 on a sphere is θ = atan2( sin Δλ · cos φ₂ , cos φ₁ · sin φ₂ − sin φ₁ · cos φ₂ · cos Δλ ), where φ is latitude, λ is longitude and Δλ = λ₂ − λ₁, all in radians. atan2 returns an angle between −180° and +180°, so the calculator adds 360° and takes the remainder modulo 360° to give a compass bearing from 0° to 360°, measured clockwise from true north. This is the standard formula used in aviation, sailing and GIS (it is the one given in Chris Veness's widely used reference and in most navigation textbooks). The bearing is the initial heading: a great circle, the shortest route on the sphere, crosses meridians at a changing angle, so the heading drifts as you travel. The calculator also reports the final bearing on arrival (the back bearing from the destination plus 180°), the back bearing itself (the initial heading of the return trip), and the great-circle distance by the haversine formula with a mean Earth radius of 6,371.0088 km. All results are true bearings referenced to geographic north. To steer by a magnetic compass, apply your local magnetic declination (variation): magnetic bearing = true bearing − declination when declination is east, + when west (the mnemonic is "east is least, west is best"). The spherical model is accurate to about 0.1° in bearing and 0.3% in distance for most routes; surveying and geodesy use the WGS-84 ellipsoid and Vincenty's or Karney's algorithms instead. Coordinates must be decimal degrees with south latitudes and west longitudes negative; convert degrees-minutes-seconds first with the coordinate converter.
The 16 compass points and the true bearing at the centre of each
Scroll sideways to see all columns →
| Point | Bearing (°) | Point | Bearing (°) |
|---|---|---|---|
| N | 0 | S | 180 |
| NNE | 22.5 | SSW | 202.5 |
| NE | 45 | SW | 225 |
| ENE | 67.5 | WSW | 247.5 |
| E | 90 | W | 270 |
| ESE | 112.5 | WNW | 292.5 |
| SE | 135 | NW | 315 |
| SSE | 157.5 | NNW | 337.5 |
How to use
Example 1 — New York (40.7128° N, 74.0060° W) to Los Angeles (34.0522° N, 118.2437° W), the default inputs. Δλ = −118.2437 − (−74.0060) = −44.2377°. In radians φ₁ = 0.7106, φ₂ = 0.5943, Δλ = −0.7721. Numerator: sin(−0.7721) × cos(0.5943) = −0.6978 × 0.8286 = −0.5782. Denominator: cos(0.7106) × sin(0.5943) − sin(0.7106) × cos(0.5943) × cos(−0.7721) = 0.7579 × 0.5600 − 0.6523 × 0.8286 × 0.7163 = 0.4244 − 0.3872 = 0.0373. atan2(−0.5782, 0.0373) = −86.31°; adding 360° gives 273.69°. Initial heading: just north of due west. The tiles show a final bearing of 245.92°, a back bearing of 65.92° (the initial heading from Los Angeles back to New York) and a great-circle distance of 3,935.8 km (2,125 nautical miles). Example 2 — New York to London (51.5074° N, 0.1278° W). Enter endLat = 51.5074 and endLng = −0.1278. Δλ = 73.8782°, and the same steps give atan2(0.5976, 0.4795) = 51.21°: the great circle leaves New York heading north-east, not east, and arrives over London heading 108.33°, east-south-east, 5,570 km later. Check: bearings are between 0° and 360°, and the final bearing of a route minus 180° should equal the initial bearing of the reverse route.
Frequently asked questions
What is the true bearing formula?
θ = atan2(sin Δλ · cos φ₂, cos φ₁ · sin φ₂ − sin φ₁ · cos φ₂ · cos Δλ), with latitudes φ and the longitude difference Δλ in radians, then normalised to 0–360° by adding 360° and taking the remainder modulo 360°. It gives the initial heading of the great circle from point 1 to point 2, measured clockwise from true north.
What is the difference between true bearing and magnetic bearing?
A true bearing is measured from geographic (true) north, the direction of the North Pole. A magnetic bearing is measured from magnetic north, which a compass needle points to and which differs from true north by the local magnetic declination (variation), currently anywhere from 0° to over 20° depending on where you are. This calculator returns true bearings; subtract an easterly declination (or add a westerly one) to get the magnetic bearing to steer. NOAA's NCEI publishes the declination for any location and date.
Why is the final bearing different from the initial bearing?
The shortest path between two points on a sphere is a great circle, and a great circle crosses each meridian at a different angle unless it runs along the equator or a meridian. From New York to Los Angeles the heading changes from 273.7° at departure to 245.9° at arrival, a swing of almost 28°. A route flown or sailed at a constant compass heading is a rhumb line (loxodrome); it is easier to steer but longer.
Why does the formula use atan2 instead of atan?
atan returns an angle between −90° and +90°, so it cannot tell a heading of 30° from one of 210°: both have the same tangent. atan2(y, x) takes the numerator and denominator separately, keeps their signs, and returns the full −180° to +180° range, which the modulo step turns into 0–360°. Without it, every bearing in the western and southern half of the compass would be wrong.
How accurate is the spherical bearing formula?
On a sphere of radius 6,371 km the initial bearing is within about 0.1° and the distance within about 0.3% of values computed on the WGS-84 ellipsoid, which is more than enough for hiking, sailing, general aviation and most mapping. Land surveying and geodesy use ellipsoidal methods (Vincenty's formulae or Karney's algorithm) to get bearings to a fraction of an arc-second and distances to the millimetre.
What is a back bearing?
The back bearing (reciprocal bearing) is the initial heading of the return journey, from the destination back to the start. It is not simply the forward bearing plus 180° except over short distances: for New York to Los Angeles the forward bearing is 273.69°, but the back bearing from Los Angeles is 65.92°, while the forward route's final bearing is 245.92° (the back bearing plus 180°). Over a few kilometres the difference vanishes and adding or subtracting 180° is fine.
Related calculators
Sources & references
Think a result is wrong? Report a problem with this calculator.