Distance & Bearing Calculator

Enter two GPS points (latitude/longitude) to find the distance and bearing between them.

Point 1

Point 2

Distance
--
Forward Bearing
--
Reverse Bearing
--
Miles
--
Nautical Miles
--

Haversine Formula

a = sin^2(dlat/2) + cos(lat1) * cos(lat2) * sin^2(dlon/2)

c = 2 * atan2(sqrt(a), sqrt(1-a))

d = R * c (R = 6371 km)

Related Calculators