How to use the gpx track statistics calculator
- Choose a GPX file with a recorded track, up to 25 MB. A file that holds only a planned route is read from its route points.
- Choose kilometers or miles and the split length: every kilometer or mile, every 5, or none.
- Adjust the elevation threshold, the smoothing and the stopped speed if you want to match another app. The defaults are examples.
- Read the distance, elapsed and moving time, pace, elevation gain and loss, and the table of splits. Copy the summary or download a CSV.
How the numbers are worked out
Distance adds up the great-circle distance between neighboring points on a sphere of Earth's mean radius, 6,371,008.8 meters. One tenth of a degree of latitude along a meridian is 11,119.5 meters. The gap between two track segments is not counted. Elapsed time runs from the first timestamp to the last. Moving time adds up the legs where the speed was at least the stopped speed, and the rest is stopped time.
Elevation is noisy, so counting every tiny rise inflates the climb. With a threshold, a change counts only once the height has moved at least that far from the last counted level. Smoothing first replaces each elevation by the average of its neighbors. In one 60-point test track, the raw sum of rises is 58.7 m, a 3 m threshold gives 42.0 m, and smoothing over 5 points with a 3 m threshold gives 27.9 m. Different apps use different rules, so their totals differ.
Splits use the clock time when the track crosses each whole distance, found by a straight line between the two nearest points. The last split is partial. The elapsed times of the splits add up to the total elapsed time.
Reading the results
Your watch or app measures distance with its own filtering, so its numbers can differ by a percent or two. Treat this page as a way to check and compare tracks. For planning a hike before you go, see the hiking time calculator and the elevation profile grade calculator. The great circle distance calculator measures between two places, and the coordinate format converter changes the way coordinates are written.
The file is read as plain text on your device. Links, scripts and entity definitions in it are never loaded or run. Remember that a track may show where you live or train, so share it with care.
Assumptions and limits
- Points are in latitude and longitude in degrees, and the Earth is a sphere of mean radius.
- Timestamps are in ISO 8601 form, such as 2026-10-10T07:00:00Z. Without them, only distance and elevation are shown.
- Up to 400,000 points are read. Points with impossible coordinates are skipped.
- The elevation threshold, smoothing and stopped speed are example settings you can change.
Frequently asked questions
Why is my elevation gain different from my watch?
Watches use barometers and their own filters, while a file may hold GPS heights that jump by several meters. Raise the threshold or the smoothing here until the total looks reasonable, but know that no setting is right for every device.
What counts as stopped?
Time on legs where the speed fell below the stopped speed, which is 1 km/h by default. Raise it for walking breaks or lower it to count slow movement as moving.
Does it read routes and waypoints?
It reads track points. If a file has no track, it reads route points. Waypoints, which are single places, are not part of a distance.
Why do splits show a partial last row?
The track rarely ends on a whole kilometer or mile, so the last row covers the leftover distance and is marked partial.