Latitude Longitude Distance and Initial Bearing
Find the spherical great circle distance and initial bearing from true north between two coordinates using a chosen sphere radius.
Distance between coordinates
A great circle is the intersection of a sphere with a plane through its centre. The shorter arc joining two positions is the shortest path on the sphere. The central angle in radians is multiplied by the radius you choose. On a sphere of radius 2 km, a 90 degree arc along the equator has length π km.
Reading the bearing
The initial bearing is measured clockwise from true north. East is 90 degrees, south is 180 and west is 270. This direction changes as you follow the route. Antipodal points have multiple equally short paths, so their bearing is undefined. Earth is ellipsoidal, making this spherical calculation an approximation. Use an appropriate datum and geodesic method for precise surveying, navigation or setting out.
Checking coordinates and the model
Check coordinate order in the source data. Some files place longitude first. Here, north and east are positive, south and west negative. Do not read degrees, minutes and seconds as a single decimal degree number. Convert first and ensure both points use the same reference system.
For a geometry check, choose an illustrative sphere of radius 10 km. Start at zero latitude and longitude, and end at zero latitude and longitude 60°. Both points lie on the equator. The central angle is 60° = π/3 radians and arc length is 10π/3 ≈ 10.471976 km. The initial bearing is east, or 90°. This radius is for the example, not an Earth radius.
Changing radius scales distance proportionally without changing the central angle. The result is the shorter surface arc, not a straight distance through the sphere, flight profile or road distance.
Bearing refers to true north. Magnetic declination needed for a compass is not calculated. Reversing the endpoints does not generally mean merely adding half a turn to the original initial bearing. An indeterminate bearing at coincident or antipodal points is not an instrument fault. Complete this preliminary calculation with an appropriate geodesic method before navigation decisions.
Related calculators
-
Surveying and Geodesy
WGS 84 GPS and UTM Coordinate Converter
Convert WGS 84 latitude and longitude to a selected UTM zone, or recover latitude and longitude from UTM. Specify the zone and hemisphere explicitly. -
Surveying and Geodesy
DMS and Decimal Degrees Converter
Convert latitude or longitude between degrees, minutes, seconds and decimal degrees. A separate direction preserves west and south angles below one degree. -
Geometry
Degrees, Radians and Gradians Converter
Converts angles between degrees, radians, gradians and turns. Shows radians as a fraction of π (such as π/6) and converts π fractions back to degrees, with working. -
Surveying and Geodesy
Earthwork Cross Section Volume
Estimate cut or fill volume between two consecutive cross sections using the average end area method. -
Surveying and Geodesy
Leveling Survey Calculator
Calculate the end elevation and elevation difference from a starting elevation and sums of backsights and foresights. -
Surveying and Geodesy
Line of Sight and Obstacle Clearance
Find the height of a straight sight line between two endpoint elevations and its vertical clearance above one obstacle.
Found a mistake or something missing?
If a value looks wrong, a size is missing or you need a feature, write to us and we will fix it.