How to use this calculator
Estimate the constant-bearing distance between two coordinates on a spherical Earth, including the shorter antimeridian crossing.
- Enter Start latitude (°), Start longitude (°), End latitude (°), End longitude (°), then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How this calculation works
A rhumb line crosses every meridian at the same angle, so it appears straight on a Mercator chart. This tool calculates that loxodromic route on a sphere; its distance generally differs from the shorter great-circle route.
Inputs and units
lat1— Start latitude (°)- Geodetic latitude from −90° to 90°, excluding the poles.
lon1— Start longitude (°)- Longitude; any finite degree value is wrapped to the shortest difference.
lat2— End latitude (°)- Geodetic latitude from −90° to 90°, excluding the poles.
lon2— End longitude (°)- Longitude of the destination.
radius— Spherical Earth radius (km)- Choose the sphere radius appropriate for the estimate.
Formula
Δλ = wrapped longitude difference; Δψ = ln[tan(π/4 + φ₂/2) / tan(π/4 + φ₁/2)]; q = Δφ/Δψ (or cos φ₁ when Δψ ≈ 0); d = R√(Δφ² + q²Δλ²); θ = atan2(Δλ, Δψ).
Method
Convert coordinate angles to radians, wrap longitude to the interval from −π to π, compute the Mercator latitude difference, then use the rhumb-line distance and constant bearing equations. Bearing is reported clockwise from true north.
Worked example
From 50° N, 0° to 58° N, 10° E on a 6,371 km sphere, the wrapped longitude change is 10°. The rhumb route is about 1,102.345 km and its constant bearing is about 36.20° clockwise from north.
Assumptions and limits
Uses a spherical radius rather than an ellipsoidal geodesic model. It does not account for altitude, terrain, wind, or navigation restrictions. Coordinates at the poles are excluded because the Mercator rhumb-line expression is singular there. Identical endpoints have zero distance and no unique bearing.
Frequently asked questions
How is a rhumb line different from a great-circle route?
A rhumb line keeps a constant compass bearing and is straight on a Mercator chart. A great circle follows the shortest path on a sphere and usually changes bearing.
What happens when the route crosses 180° longitude?
The longitude difference is wrapped to the shorter east-west difference, so a crossing near the antimeridian is handled without taking the long way around.
Can this replace an ellipsoidal navigation solution?
No. It is a spherical planning estimate. Precise surveying and navigation should use an ellipsoidal geodesic model and the applicable datum.
How do I use the Rhumb line distance and bearing calculator?
Enter Start latitude (°), Start longitude (°), End latitude (°), End longitude (°), then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Rhumb line distance and bearing?
From 50° N, 0° to 58° N, 10° E on a 6,371 km sphere, the wrapped longitude change is 10°. The rhumb route is about 1,102.345 km and its constant bearing is about 36.20° clockwise from north.
Reference: Rhumb-line navigation paper on loxodrome distance and bearing. See our calculation methodology.