Calculator
Geography

Geographic Distance Calculator – Distance from Latitude and Longitude Calculator

Calculate the distance between two coordinates from latitude and longitude in kilometres, miles and nautical miles, with bearing and midpoint details.

Tutorial / How it works →

Info

This geographic distance calculator computes the distance between two coordinate points using latitude and longitude values. Once the coordinates of Point A and Point B are entered, the tool applies the Haversine formula to estimate the great-circle distance and returns the result in kilometres, miles, nautical miles and metres. It is especially useful for: - Mapping and navigation tools - Logistics and route planning - Aviation and marine pre-calculations - Geography education and analysis - Location-based software projects In addition to straight-line surface distance, the calculator also provides: - Initial bearing - Final bearing - Compass direction - Midpoint coordinates - Latitude and longitude differences Core method used: - Δφ = φ₂ − φ₁ - Δλ = λ₂ − λ₁ - a = sin²(Δφ/2) + cos(φ₁) · cos(φ₂) · sin²(Δλ/2) - c = 2 · atan2(√a, √(1−a)) - d = R · c Here R is Earth’s radius, typically approximated as 6371 km. Note: The results are sufficiently accurate for most everyday and software-related use cases. For advanced geodesy, cadastral work, high-precision engineering or professional GIS processing, more advanced ellipsoidal Earth models should be used.

About Geographic Distance Calculation
Results are approximate. Earth is not a perfect sphere; for high-precision geodetic applications, use professional measurement tools.