Vessel CPA and TCPA (Relative Motion)
Calculate closest-approach time relative to a reference instant and minimum separation for 2 vessels moving in straight lines at constant speeds.
Results
—nautical miles
—
- TCPA (signed time from the reference instant)
- —minutes
- Separation at the reference time
- —nautical miles
- Relative speed
- —kn
- Minimum separation from the reference time onward
- —nautical miles
Results update automatically when the required values are entered.
Method, applicability and sources
Calculation method
With east as x and north as y, velocity components (kn) are vx=SOG×sin(COG) and vy=SOG×cos(COG), where 1 kn=1 nautical mile/hour. Relative position r=target position−own-ship position; relative velocity v=target velocity−own-ship velocity. TCPA(hours)=−(r·v)/|v|²; CPA(nautical miles)=|rx vy−ry vx|/|v|. Negative TCPA means closest approach is in the past; minimum separation from the reference instant onward is then the current distance. At relative speed 0, closest-approach time is not unique. The unrounded TCPA is added to the reference time before display is rounded to the nearest 1 minute.
Worked example (hypothetical values)
Synthetic example: reference time 2026/11/14 12:00; own ship at (east 0, north 0), COG 90°, 10 kn; target at (east 10, north 5), COG 180°, 10 kn. TCPA is 45 minutes, CPA approximately 3.5355 nautical miles, and closest approach is at 12:45.
Applicability and limitations
Educational navigation calculations using positions, courses, and speeds over ground synchronized to the same instant. Excludes latitude/longitude projection, spherical or ellipsoidal shortest paths, live AIS/radar updates, currents, wind, acceleration/deceleration, turns, hull dimensions, and collision-avoidance decisions. Do not use for navigation safety decisions or automatic collision avoidance.
Methods used
- Constant-velocity relative motion in a shared plane (E791 v1.0): scope Both vessels' positions use the same east/north coordinate system and reference time. Speed/course over ground remain constant. Earth curvature, changing currents, and turns are excluded.; region Global
Method and sources
Method: E791 local planar CPA v1.0 (2026-11-14; geometric formula in NASA DAIDALUS 2015, p.6). Data recorded: 2026-11-14.