Skip to content
onlinecompass360

Bearing Calculator – Direction & Distance

Calculate the bearing, distance and midpoint between two coordinates, find a destination point, and convert degrees to compass directions.

Start point (A)
End point (B)

Initial bearing
—
Final bearing
—
Direction
—
Midpoint
—
km
—
mi
—
nm
—

Destination point

—

Degrees ↔ direction

—

—

How to calculate a bearing between two coordinates

Enter the latitude and longitude of your start (A) and end (B) points. The calculator uses the great-circle formula to give the initial bearing (the heading to set off on), the final bearing (the heading when you arrive), the distance in kilometres, miles and nautical miles, and the geographic midpoint.

Great-circle vs rhumb line

A great circle is the shortest route on a sphere — the path aircraft fly. A rhumb line keeps a constant compass heading but is longer. For trips under a few hundred kilometres the difference is negligible.

Degrees to compass direction

0° is North, 45° North-East, 90° East, 135° South-East, 180° South, 225° South-West, 270° West and 315° North-West. Intermediate points such as NNE (22.5°) split each quarter further. Use the converter above for any value. See the full table in our guide to compass directions and degrees.

FAQ

What is a bearing?

A bearing is the direction from one point to another, measured in degrees clockwise from north: 0° north, 90° east, 180° south, 270° west. The initial bearing is the direction you set off in; the final bearing is the direction you are heading on arrival.

Why are the initial and final bearings different?

Over long distances the shortest path on a sphere (a great circle) curves relative to the map’s north-south lines, so your heading changes along the way. Over short distances the two values are almost identical.

How is the distance calculated?

With the haversine formula on a spherical Earth of radius 6,371 km. It is accurate to about 0.3% — good for planning, not for legal surveying.

Are these true or magnetic bearings?

True bearings, measured from geographic north. To set a magnetic compass, subtract an east declination (add a west one) — use our magnetic declination calculator for your location.

More free tools