Why Does the Same GPX File Show Different Distances?
Two apps can show different distances for the same GPX file because each can calculate the length from the track points it uses. One may leave a gap between track segments, while another joins the ends. Small differences can also come from rounding. Start by comparing the same track in the same units, then look for gaps and jumps on the map.

What does a GPX file say about distance?
A GPX 1.1 track contains ordered points, grouped into segments. Each point has latitude and longitude and may include elevation or time. The standard track fields have no required total-distance value. A recorder can show a distance it calculated during the activity, while an importer can calculate a new total from the saved points. Some formats and extensions can carry additional distance data, so check what your app is using. GPX 1.1 schema ยท Stravaโs distance calculation guide
How a gap can change the total by 120 metres
Imagine a file with two track segments. The points in the first segment add up to 800 m, and the points in the second add up to 1,100 m. The end of the first segment and the start of the second are 120 m apart in a straight line.
- Adding distances within each segment gives 1,900 m.
- Connecting the two segments adds 120 m, giving 2,020 m.
Both totals can come from the same points. The extra line is an estimate across the gap, so it tells you little about the actual path taken there. GPX 1.1 uses separate track segments to represent disconnected periods of recording, such as after a GPS outage. GPX 1.1 track segment definition
How to find the cause in your file
- Match the file, track and units. Import the same untouched export into both apps. If it contains multiple tracks, select the same one. Compare metres or kilometres at the same display precision.
- Look for straight lines across gaps. Zoom in near tunnels or places where recording stopped. Check whether either app draws a line between the two sides and includes it in the total.
- Inspect bends and stops. Widely spaced points can cut across curves and shorten the calculated path. Scattered fixes while you stood still can add small zigzags. Apps that filter these points differently can produce different totals. Stravaโs GPS distance methods ยท GPS.gov on positioning errors
- Check the source of the displayed distance. A deviceโs trip summary can include information that the GPX export omits. When comparing weekly totals, use the same recorder or the same import method each time. Keep the original file separate from any trimmed copy.
Related guides
Related Articles
2026-10-01
Average Speed vs Moving Speed: Why Stops Matter
Calculate average and moving speed with a worked example and understand why pauses and recording settings change trip statistics.
2026-02-18
Reviewing a Recorded Trip: Route Points and Journey Statistics
A complete guide to recording, reviewing, and sharing your journeys with SpeedX's trip tracking features. Create trip cards, review route stats, and more.
2026-11-10
How to Make GPS Art on Your First Walk
Plan a simple shape on public paths, check the corners, and share the finished GPS drawing.