Calculator: Rhumb-line distance and bearing

Enter the labelled inputs to calculate: Distance (km); Bearing (°).

Distance (km)
1.570796327
Bearing (°)
90

How the calculation works

Δψ=ln[tan(π/4+φ₂/2)/tan(π/4+φ₁/2)]; q=Δφ/Δψ; d=R√(Δφ²+q²Δλ²)

Uses a sphere with the supplied radius, not an ellipsoid. Bearings are clockwise from north. Rhumb lines use the shortest longitude crossing and exclude poles. Coincident or near-antipodal great-circle endpoints have ambiguous bearings and are rejected. These are geometric estimates, not a route-planning model.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

Δψ=ln[tan(π/4+φ₂/2)/tan(π/4+φ₁/2)]; q=Δφ/Δψ; d=R√(Δφ²+q²Δλ²)

What assumptions apply?

Uses a sphere with the supplied radius, not an ellipsoid. Bearings are clockwise from north. Rhumb lines use the shortest longitude crossing and exclude poles. Coincident or near-antipodal great-circle endpoints have ambiguous bearings and are rejected. These are geometric estimates, not a route-planning model.

How precise are the displayed results?

Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

How we verified this calculator

The calculator is checked against 3 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Latitude 1 (°) = 51.5074
Longitude 1 (°) = -0.1278
Latitude 2 (°) = 40.7128
Longitude 2 (°) = -74.006
Radius (km) = 6371
Distance (km): 5794.120751
Bearing (°): 258.0440809
2
Latitude 1 (°) = 0
Longitude 1 (°) = 0
Latitude 2 (°) = 0
Longitude 2 (°) = 90
Radius (km) = 6371
Distance (km): 10007.5434
Bearing (°): 90
3
Latitude 1 (°) = -33.8688
Longitude 1 (°) = 151.2093
Latitude 2 (°) = 35.6762
Longitude 2 (°) = 139.6503
Radius (km) = 6371.0088
Distance (km): 7826.165044
Bearing (°): 351.1533897

How we test our calculators →

Also try:

Back to category →