Bearing Calculator

Find the compass bearing from one latitude/longitude point to another. Get the initial bearing, final bearing and return bearing, plus the great-circle distance and midpoint.

Haversine Formula
Instant Results
Multiple Units
Midpoint Finder
🧭

Initial Bearing

Direction to travel from start to destination

📏

Distance

Great-circle distance in km, mi, and NM

🔄

Final Bearing

Arrival direction at destination point

✈️

Aviation

Great-circle courses between airports

⛵

Marine

Nautical navigation and chart plotting

🥾

Hiking

Trail navigation and orienteering

📐

Mapping

Directions between points on a map

Inputs Not Saved
No Sign-up
100% Free

Great-circle formulas on a spherical Earth (mean radius 6,371 km) • True north bearings

A Starting Point

Range: -90 to 90
Range: -180 to 180

Quick Locations

B Destination Point

Range: -90 to 90
Range: -180 to 180

Quick Locations

Calculating bearing and distance...

What this bearing calculator does

A bearing is the direction from one point to another, measured clockwise from true north: 0° is north, 90° east, 180° south and 270° west. Enter two latitude/longitude points and the calculator gives:

  • Initial bearing — the direction to set off in from point A.
  • Final bearing — the direction you're heading when you arrive at point B.
  • Return bearing — the initial bearing for the trip from B back to A.
  • A 16-point compass direction for each (such as NE or WNW), the great-circle distance and the midpoint.

All bearings follow the great circle, the shortest route over the Earth's surface.

Example: New York to London

From 40.7128, -74.0060 (New York) to 51.5074, -0.1278 (London):

Bearings and distance from New York to London
Initial bearing51.21° (NE)
Final bearing108.33° (ESE)
Return bearing (London to New York)288.33° (WNW)
Distance5,570.22 km (3,461.17 mi, 3,007.68 NM)
Midpoint52.3684, -41.2903

Notice that the heading turns from 51° to 108° along the way, and the return bearing (288°) isn't simply the initial bearing plus 180° (231°). On a great circle your direction changes continuously, except when travelling due north, due south or along the equator.

How to use it

  1. Enter point A (your start) as latitude and longitude in decimal degrees, using minus signs for south and west. You can add an optional name, or use one of the city buttons.
  2. Enter point B (your destination) the same way. Use the swap button to reverse the route.
  3. Select Calculate Bearing.

Have coordinates in degrees, minutes and seconds, UTM or MGRS? Convert them to decimal degrees first with the coordinate converter.

How the bearing is calculated

The initial bearing θ from point 1 to point 2 uses the standard great-circle formula, where φ is latitude, λ is longitude and Δλ is the difference in longitude:

θ = atan2( sin Δλ · cos φ₂ , cos φ₁ · sin φ₂ − sin φ₁ · cos φ₂ · cos Δλ )

The result is converted to degrees and normalized to 0–360°. The final bearing is the bearing from B back to A, turned around by 180°. Distance uses the Haversine formula with a mean Earth radius of 6,371 km. Each of the 16 compass points covers 22.5°; for example, N is 348.75° to 11.25°.

Things to know before you navigate with it

  • These are true bearings, not magnetic. A magnetic compass points to magnetic north, which differs from true north by the local magnetic declination. To get a compass bearing, subtract an easterly declination or add a westerly one. Declination depends on where you are and changes over time; you can look it up with NOAA's magnetic field calculator.
  • Great circle, not rhumb line. To follow the great circle you must keep adjusting your heading. A rhumb line keeps one constant bearing but is longer over long distances; this calculator doesn't compute rhumb lines.
  • The Earth is treated as a sphere. Results can differ slightly from ellipsoidal (WGS 84) calculations used in survey and professional navigation software.
  • Special cases. At the North or South Pole every direction is south or north, so a bearing from a pole isn't meaningful. For two points on exactly opposite sides of the Earth, every great circle is equally short, so the bearing shown is just one of many.

Frequently asked questions

What's the difference between bearing and azimuth?

In this context they mean the same thing: an angle from 0° to 360° measured clockwise from north. "Forward azimuth" is another name for the initial bearing.

Why isn't the return bearing exactly 180° different?

Because the direction of a great-circle route changes as you travel. The return bearing is the final bearing turned around by 180°, not the initial bearing. Over short distances the difference is small; over long ones it can be large.

Can I enter the same point twice?

No. A bearing needs two different points, so the calculator asks you to change one of them.

Do you store the coordinates I enter?

Your coordinates and optional names are sent to the Orbit2x server to calculate the result, which is sent back to the page. They aren't saved, and you don't need an account. See the privacy policy for details.

Related tools

Browse all Orbit2x tools