CZ
CalcyZone
geo-distance Verified Precision Tool

Haversine Distance Calculator

Compute exact great-circle distance between two latitude and longitude coordinates using the Haversine trigonometric formula.

📍 Select World Location Presets or Custom Coordinates

WGS-84 Ellipsoid
Point 1 Coordinates (Origin)
Point 2 Coordinates (Destination)
Calculated Geodetic Solution
5,570.23 km (3,461.179 miles)
Kilometers (km)5570.23 km
Miles (mi)3461.179 mi
Nautical Miles (NM)3007.685 NM
Meters (m)5570229.9 m
🗺️ Interactive Geographic Map & Geodesic Trajectory

Click anywhere on the map or drag pins to update coordinates live.

Map Data: © OpenStreetMap ContributorsWGS-84 Precision Geodesic Curve

Step-by-Step Mathematical Derivation

1. Given Input Coordinates:
  • Origin P1: (40.7128°, -74.006°)
  • Destination P2: (51.5074°, -0.1278°)
2. Model & Ellipsoid Reference:WGS-84 / Earth Sphere R = 6,371 km
3. Governing Geodesic Formula:d = 2R × arcsin(sqrt(sin²(Δφ/2) + cos(φ1)cos(φ2)sin²(Δλ/2)))
4. Variable Substitution:R = 6,371 km, Δφ = 10.7946°, Δλ = 73.8782°
5. Interpretation & Practical Application:

The great-circle flight distance between (40.7128, -74.006) and (51.5074, -0.1278) is 5570.23 km.

Mathematical Formula

d = 2R * asin( sqrt( sin²(Δlat/2) + cos(lat1)*cos(lat2)*sin²(Δlng/2) ) )

Overview & Explanation

Standard spherical distance formula accounting for Earth curvature.

How It Works

  • Uses sine half-angles to maintain precision over both short and long distances.

Practical Applications

  • Geolocation search radius.
  • Spatial database queries.

Worked Example: NY to LA

Compute Haversine distance.

1

Compute

3,936 km

= 3,936 km (2,446 miles)

Frequently Asked Questions

What Earth radius is used?
Uses the IUGG standard mean spherical Earth radius R = 6,371.0088 km.