Cross Track Error Calculator
Work out how far a point sits to the left or right of the great-circle route between a start and an end point, and how far along the route its closest position lies. Useful for checking how far a boat, aircraft or hiker has drifted off course.
1 Fill in the boxes
2 Your answer
Your answer shows here as you type.
How to use the Cross Track Error Calculator
- Enter the start and end points of the route as latitude and longitude in decimal degrees.
- Enter the latitude and longitude of the point you want to check.
- Choose kilometres, miles or nautical miles for the results.
- Read the cross-track distance and whether the point is left or right of the track, plus the along-track distance from the start.
Frequently asked questions
What is cross-track error?
Cross-track error is the shortest distance from a point to the great-circle route between a start and an end point. Navigators use it to measure how far a vessel or aircraft has drifted off course.
What formula does the calculator use?
It uses spherical trigonometry: the angular distance from the start to the point (delta13) and the difference between the bearing to the point and the bearing to the end (gamma). Cross-track distance = R × asin(sin(delta13) × sin(gamma)), with R the Earth radius.
Which Earth radius is used?
The calculator uses a mean Earth radius of 6371 km, 3958.8 miles, or 3440.065 nautical miles. Ellipsoidal geodesic methods differ slightly, usually by well under 1 percent.
What does left or right of track mean?
It describes the side of the route as seen when travelling from the start toward the end. A point to the left of the direction of travel is shown as left of track, and a point to the right is shown as right of track.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.