keisoku

Distance and Azimuth Between Two Points

Compute great-circle distance and bearing from two latitude and longitude points.

Input

Enter the latitude and longitude of two points to compute the great-circle distance and bearing.

Point 1

deg
deg

Point 2

deg
deg

Enter latitude from -90 to 90 degrees and longitude from -180 to 180 degrees.

Result

Great-circle distance

403.05832km

About 403,058.31957 m

Initial bearing

255.575508 deg

West

Final bearing

253.113096 deg

West

NSEWInitial bearing: 255.575508 deg

Values use the haversine formula with an Earth radius of 6371 km. Bearings are measured clockwise from true north as 0 degrees.

How it works

  • The Earth is modeled as a sphere with a radius of 6371 km, and the haversine formula gives the shortest path (great-circle distance) between the two points.
  • The initial bearing is the direction from point 1 toward point 2, and the final bearing is the heading on arrival at point 2; both are measured clockwise from true north as 0 degrees.
  • Enter latitude in the range -90 to 90 degrees and longitude in the range -180 to 180 degrees.
  • Because the real Earth is an ellipsoid, long distances may differ slightly from an ellipsoidal model.

Reviews

Tell us what you think of this calculator.

Write a review

  1. Home
  2. Distance and Azimuth Between Two Points