Enter quantities in the units shown by each label.
Adjust the assumptions to match your own situation.
Review the formula and result breakdown before using the estimate.
What the inputs mean
Start latitude (degrees)
Enter start latitude (degrees).
Start longitude (degrees)
Enter start longitude (degrees).
End latitude (degrees)
Enter end latitude (degrees).
End longitude (degrees)
Enter end longitude (degrees).
Spherical Earth radius (km)
Enter spherical earth radius (km).
A WORKED STARTING POINT
See the working.
Inputs used in this example
These are example values, not a current price, tariff or personal recommendation. Reset example restores them in the workspace.
Input
Example value
Start latitude (degrees)
51.5074
Start longitude (degrees)
-0.1278
End latitude (degrees)
40.7128
End longitude (degrees)
-74.006
Spherical Earth radius (km)
6371.0088
Great-circle distance
5,570.229874 km
d = 2R atan2(√a, √(1−a)); a = sin²(Δφ/2) + cosφ₁ cosφ₂ sin²(Δλ/2)
Initial bearing: 288.329702° clockwise from true north.
Uses a sphere of radius 6371.0088 km, not an ellipsoidal geodesic, road route or navigation guarantee.
Use the haversine formula on a stated spherical Earth to calculate distance and initial bearing.
Your inputs stay here
Your input is processed on this device. PixelDesk does not upload it to a calculation or file-processing server. Copying and downloading are deliberate actions. Closing the page clears the in-memory inputs; the app remembers only its theme and public reference-rate cache.
What can I do with great-circle distance & bearing?
Use the haversine formula on a stated spherical Earth to calculate distance and initial bearing.
What does the great-circle distance & bearing example show?
With Start latitude (degrees): 51.5074; Start longitude (degrees): -0.1278; End latitude (degrees): 40.7128, the example returns 5,570.229874 km. The workspace shows the substituted formula and its assumptions; Reset example restores these inputs.
What should I check before using the result?
Use the haversine formula on a stated spherical Earth to calculate distance and initial bearing.