Marine Distance & Passage Calculator
Multi-waypoint route planning, Great Circle (Orthodrome), Rhumb Line (Loxodrome) & transit calculations
Provide latitude and longitude in the cards above to calculate total distance, compass headings, transit time, and passage breakdown.
Passage Plan by Legs (Route Breakdown)
The departure waypoint of each leg automatically corresponds to the arrival waypoint of the preceding leg| Leg | Leg Passage | Coordinates (Dep ➔ Arr) | Great Circle (NM) | Rhumb Line (NM) | Initial Course (TC₁) | Rhumb Course (TC) | Steaming Time |
|---|
1. Great Circle Sailing (Orthodrome)
Great Circle is the shortest path between two points on the surface of a spherical Earth, formed by the intersection of the sphere with a plane passing through its center.
a = sin²(Δφ/2) + cos(φ₁) · cos(φ₂) · sin²(Δλ/2)D = 2 · R · atan2(√a, √(1-a))
2. Rhumb Line Sailing (Loxodrome)
Rhumb Line is a track of constant compass course intersecting all meridians at the same angle (TC). It appears as a straight line on standard Mercator nautical charts.
Δψ = ln[ tan(π/4 + φ₂/2) / tan(π/4 + φ₁/2) ]Course TC = atan2(Δλ, Δψ)
3. Multi-Waypoint Route Planning
Because continuously changing course along a Great Circle is impractical, oceanic passages are divided into waypoint legs. The vessel steers a steady rhumb line course on each leg, closely approximating the shortest great circle arc.
4. International Maritime Units
- Nautical Mile (NM): strictly
1,852 meters(approx. 1 arcminute of latitude). - Cable (cbl):
185.2 meters(0.1 NM). - Knot (kn): 1 nautical mile per hour (
1.852 km/h).
VOYAGE PASSAGE PLAN & ROUTE BREAKDOWN
| Leg | Departure ➔ Arrival | Departure Coordinates | Arrival Coordinates | Great Circle (NM) | Rhumb Line (NM) | Initial Course (TC₁) | Rhumb Course (TC) | Steaming Time |
|---|
Professional Marine Tool: Distance Between Coordinates for Passage Planning
When preparing an appraisal and berth-to-berth passage plan under IMO Resolution A.893(21) and SOLAS Chapter V (Reg. 34), an essential task for deck officers is determining the precise spatial distance between coordinates across all navigation waypoints. On a spherical Earth model, the trajectory connecting two points can follow either the shortest arc of a Great Circle (orthodromy) or a line of constant heading, known as a Rhumb Line (loxodromy).
The NavLib Navigation Calculator automates high-precision geodesic calculations across the WGS-84 ellipsoid. By inputting positions, bridge officers can determine the exact distance between coordinates in nautical miles (NM), kilometers, and cables, derive initial true courses (TC1), extract steady loxodromic headings (TC), and assess total voyage duration and fuel consumption.
1. Calculating Great Circle Distance Between Coordinates
A Great Circle track represents the absolute shortest spatial path connecting any two coordinates on the globe. Because it lies along an intersecting plane passing through the Earth’s center, following an orthodromic route on ocean transits saves considerable mileage compared to flat-projection sailing.
To ensure computational precision without roundoff degradation across short or long legs, the Haversine Formula is implemented:
Angular distance term:
a = sin(delta_lat / 2) * sin(delta_lat / 2) + cos(lat_1) * cos(lat_2) * sin(delta_lon / 2) * sin(delta_lon / 2)Angular displacement in radians:
c = 2 * atan2(square_root(a), square_root(1 - a))Great Circle distance between coordinates:
Distance_km = Earth_Radius * c(using standard Earth radius = 6371.009 km)Distance_NM = Distance_km / 1.852
The Initial True Course (TC1) varies continually along the curve and is evaluated as:
y = sin(delta_lon) * cos(lat_2)x = cos(lat_1) * sin(lat_2) - sin(lat_1) * cos(lat_2) * cos(delta_lon)TC1 = (atan2(y, x) * 180 / Pi + 360) modulo 360 degrees
2. Calculating Rhumb Line Distance Between Coordinates
A Rhumb Line maintains a steady compass direction across all meridians. On a standard Mercator projection nautical chart, this track plots as an uncomplicated straight line, allowing autopilots and steering gears to hold an unchanging heading between waypoints.
Deriving the Rhumb Line distance between coordinates employs Mercator Latitudinal Differences (D.lat / Delta-Psi):
Meridional difference:
delta_psi = ln( tan(Pi / 4 + lat_2 / 2) / tan(Pi / 4 + lat_1 / 2) )Expansion ratio:
If absolute
delta_psiis non-zero:q = delta_lat / delta_psi; otherwise for parallel east-west sailing:q = cos(lat_1).Rhumb Line true course:
Course_TC = (atan2(delta_lon, delta_psi) * 180 / Pi + 360) modulo 360 degreesFinal Rhumb Line distance between coordinates:
Distance_NM = (square_root(delta_lat * delta_lat + q * q * delta_lon * delta_lon) * Earth_Radius) / 1.852
3. Coordinate Notations: DMS, DMM, and DD
Bridge teams regularly encounter positional data formatted under different conventions:
DMS (Degrees, Minutes, Seconds): the traditional format seen on paper charts (
59°56'12.0" N, 030°18'36.0" E).DMM (Degrees, Decimal Minutes): standard notation across shipboard ECDIS, GPS receivers, and official pilot advice (
59°56.200' N, 030°18.600' E).DD (Decimal Degrees): common digital standard for GIS routing systems and passage planning spreadsheets (
59.93667°, 30.31000°).
The calculator synchronizes all three conventions instantaneously, enabling navigators to evaluate the distance between coordinates directly without manual notation conversion.