GPX Viewer
View a GPX track on a map and see its distance, raw elevation gain and time. The file is read in your browser and never uploaded.
Last updated · Report an error
Map data © OpenStreetMap contributors.
Open a file to see the track on the map.
How this is calculated
Distance adds the haversine distance between consecutive track points within each track segment (route points if there is no track), with R = 6,371.0088 km and 1 mi = 1,609.344 m, rounded to 2 decimals.
Elevation gain adds every positive change between consecutive elevation values, in metres, and converts with feet = metres ÷ 0.3048. It is raw and unfiltered: GPS elevation is noisy, and that noise adds up, so the figure is usually higher than what a smoothed or barometric device reports. No smoothing threshold is applied because no sourced value was available.
Duration is the last track time minus the first, shown as hours:minutes. If the file has no elevation or no time, that figure is hidden rather than shown as zero.
Sources
These are the references the method relies on. They are listed as given in the page plan; no access dates are recorded yet.
- Earth radius (mean radius (2a+b)/3), Wikipedia.
- Calculate distance, bearing and more between latitude/longitude points, Movable Type Scripts.
- International foot (1 ft = 0.3048 m), NOAA National Geodetic Survey.
- Mile (1 mile = 5,280 ft), Wikipedia.