← All tools
Bearing & Distance Calculator
Compute the great-circle distance and initial bearing (compass heading) between two geographic coordinates, plus the destination point given a start, bearing, and distance. Uses the haversine formula on a spherical Earth (mean radius 6371 km). Distances in km, miles, and nautical miles; bearings in degrees from true north. Pairs with the Geographic Coordinate Converter and Geohash tools. Everything runs locally in your browser.
Haversine: a = sin²(Δφ/2) + cos(φ₁)·cos(φ₂)·sin²(Δλ/2); c = 2·atan2(√a, √(1−a)); d = R·c. Bearing: θ = atan2(sin(Δλ)·cos(φ₂), cos(φ₁)·sin(φ₂) − sin(φ₁)·cos(φ₂)·cos(Δλ)). Earth radius R = 6371 km. Pairs with the Geographic Coordinate Converter and Geohash tools. Runs locally.