Nautical Distance Calculator (Rhumb & Great-Circle)

Calculate sea distance between two ports by rhumb-line and great-circle methods

Ad placeholder (leaderboard)

For passage planning you need two numbers: the great-circle distance, which is the shortest path across the curved earth, and the rhumb-line distance, which holds a single constant compass heading. This calculator returns both in nautical miles from two lat/long positions, plus the initial course and the miles you save by sailing the great circle.

How it works

The great-circle distance uses the haversine formula to find the central angle between the two points, then scales by the earth’s radius:

a = sin²(Δφ/2) + cos φ1 · cos φ2 · sin²(Δλ/2)
central angle = 2 · atan2(√a, √(1−a))
distance (nm) = central angle · 3440.065

The rhumb line uses the Mercator inverse, where the constant course holds against a straightened-out longitude scale:

Δψ = ln( tan(π/4 + φ2/2) / tan(π/4 + φ1/2) )
q   = Δφ / Δψ   (or cos φ1 near east-west tracks)
rhumb distance (nm) = √(Δφ² + q²·Δλ²) · 3440.065

Here φ is latitude in radians, λ is longitude, and 3440.065 is the earth’s radius expressed in nautical miles.

Example and tips

From the English Channel to New York the great circle bows north toward Newfoundland and can save dozens of miles over the flat rhumb line, but it demands continual course changes. On a short hop down a coastline the two distances differ by a fraction of a mile, so steering a single rhumb-line heading is simpler with no real penalty. Remember both figures are open-water geodesics — real routing must clear land, traffic separation schemes, and weather.

Ad placeholder (rectangle)