How the numbers are worked out
Distance, heights, ascent, gradients, hard sections and times, explained.
Distance
From a FIT or TCX file the page uses the distance your watch measured. A file cut out of a longer activity (its first point already says, say, 1.2 km) is counted from its own start, and a watch distance that starts again from zero part way through is carried on from where it had got to.
Otherwise the route is measured from its points on the true shape of the earth, slightly flattened at the poles (the WGS84 ellipsoid that GPS, watches, mapping tools and course measurers use). Measuring on a perfect ball instead reads 0.1 to 0.4% short.
A file can hold several separate parts: two tracks or segments in a GPX file, two activities in a TCX file, two lines in a KML file. Parts less than 50 m apart are joined into one line, as after a watch pause or where a planner split a route at a junction. Further apart, the space between them is a gap: it isn't counted in the distance or drawn on the map, and What we checked says how big it is. Saved route files keep the parts separate too, and also keep your file's own sections less than 50 m apart as separate segments (see Export).
Very large files (a week-long recording, say) are read in the background, so the page keeps answering while they open. Files over 2 million points, or compressed files that unpack to more than 150 MB, are too big to open. A route that crosses the 180° line in the Pacific is drawn the short way across it. A FIT file whose built-in checksum doesn't match (damaged somewhere in the middle) still opens, with a note to check the line on the map.
Heights
Heights in route files vary in quality: course files are often drawn on a map with rough or missing heights, and a watch's barometer drifts with the weather. So every route is checked against a terrain model (Mapterhorn), and the page uses whichever heights look right. "What we checked" at the bottom of the page says which it used and why.
Swims are drawn flat at the height of the shore.
Hairpins, sharp bends and turnarounds
Bends are found from the shape of the route line. A hairpin turns back on itself (150 degrees or more) on a slope, like a mountain switchback. A sharp bend turns at least 90 degrees, mostly within about 50 m. A turnaround turns back on level ground, like the far end of an out-and-back. A steep descent (5% or more on average) with two or more hairpins, or five or more bends, is marked as a technical descent. The line is simplified to a point every 25 m, so very tight bends close together can merge or be missed.
Ascent
Ascent adds up the climbs you'd notice. A rise counts once the height has gone up by 3 m (2 m on terrain heights), so a kerb or GPS noise is ignored but the short hills of a rolling course still count. Checked against the official figures for five races, from a road marathon to mountain ultras, it came within about 5% on average. Apps that count every wiggle give a higher figure; apps that smooth heavily give a lower one (more in Why do apps and watches disagree?).
Descent is counted the same way. On a loop it comes out about the same as the ascent.
From a watch. A FIT file from a watch saves its own ascent and descent totals, the figures Garmin Connect shows. For a whole recording the page uses those, as it does the watch's distance, and the climbs, profile and plan are scaled to match them. Counted from the heights instead, recordings came out about a fifth lower than the watch's own total in our tests. A file cut from a longer activity, a multisport recording, or a watch total that doesn't fit the file is counted from the heights as usual. What we checked says which was used.
Gradient colours
The gradient is worked out every 25 m and smoothed over about 250 m, so a short ramp doesn't break the line into stripes. The colour bands start at 3, 8, 15 and 25% (or the cycling and walking bands under Customise).
Hard sections
The route is split into its climbs and descents. A climb counts if it gains enough height for the course: about 6% of the route's total climbing, between 40 and 150 m. Short steep ones of at least 40 m averaging 7% or more count too. Each is scored by size and steepness, and the top six are shown, in route order. A climb you do more than once, on a lap or an out-and-back, is shown once and says so.
Under Customise, Medium ones too halves the size needed and Small ones too quarters it (down to 15 m), and you can show up to 10.
Place names
Places come from OpenStreetMap: towns and villages, summits, passes, huts and other named points near the route. The biggest climb is named after the summit or pass at its top where there is one.
Planned times
For a course, your target finish is shared out by effort: each kilometre counts the same, and each 100 m of climbing counts as one more kilometre. So a hilly kilometre takes longer than a flat one. Later kilometres take a little longer too, because everyone slows as a race goes on: from start to finish, about a quarter slower over 4 hours, about 45% over 12 hours and about 60% over 24. Checked against recorded races, this put arrival times within about 8 minutes on average over a 24-hour mountain ultra and within 2 minutes on marathons. Your finish time is always the one you set. On a multisport course, each sport has its own weighting (see Triathlon and multisport). Sunrise and sunset come from the race date and where the route starts.
Weather
Weather comes from Open-Meteo, at up to 17 points spread along the route, each at the time you'd be there. A forecast is used up to about 16 days ahead; further ahead, the same dates in the last three years are averaged; for a recording, it's the weather recorded on the day. The heights of the points are passed on, so temperatures allow for altitude. "Headwind" means the wind is within about 50° of straight into you.
Surface
The surface comes from the roads, tracks and paths in OpenStreetMap, read from the most detailed map tiles along the route. Each point every 50 m takes the way it runs along: the nearest within about 20 m, preferring one heading the same way as the route (so a side road at a junction doesn't count) and a road over a pavement beside it. Roads count as paved unless mapped as unpaved; tracks count as gravel unless mapped as paved; footpaths and bridleways count as trail unless mapped as paved, and cycleways as paved. Changes shorter than about 150 m, such as a bridge or a junction, are folded into the stretch around them.
The second check
Every route is checked twice. When a file opens, separate code, sharing nothing with the code that builds the page, reads the file again and works out the figures a different way:
- Distance measured again along every point of the original file, with its own code (the page itself works from a copy with a point every 25 m), against the page's distance (which uses your watch's own distance when the file has one).
- Ascent, and the high and low points, from the file's heights counted another way (where the page uses terrain heights, those are added up again another way).
- Time from start to finish, from the recording's own clock, and the start point.
- The totals your watch saved in a FIT or TCX file, and a FIT file's built-in checksum, which shows whether it was damaged or not fully saved.
It also looks for faults in the file: GPS jumps (a point suddenly far off the line and straight back), stretches faster than the sport allows, long gaps with no points, a clock going backwards, height spikes and points at 0,0, where a watch puts points before it finds its position. The page leaves GPS jumps and points at 0,0 out of its figures, and What we checked says how many there were. (A route that really passes 0,0, in the Gulf of Guinea, keeps its points there: a point at 0,0 only counts as a fault when the route itself is more than 50 km away.)
Different methods never agree exactly, so small differences are allowed (about 1.5% for distance, a fifth for ascent). Anything bigger shows as a yellow notice near the top of the page, with the detail under What we checked.
Before anything leaves the page (a route file, cut parts, the PDF report, the poster, the share image, a printout, the pace band, the crew sheet, a video or a course sent to Garmin), it's checked again: route files are read back in by the same separate code to make sure they hold the route they should, and the figures are checked to add up (distances and times in order, the times reaching your finish). If something looks wrong, you're told what, and can save anyway or stop.
A file shared by link carries the route's points but not the original file, so for a shared route the second check measures those points again instead.
The second check makes mistakes less likely, but it can't know the course better than the file does. Always check the race's official course, distances and cut-offs.
Laps and out-and-backs
If a route runs the same loop several times, the page notices, shows one lap on the map and says how many there are. Where a route comes back along itself, both directions are drawn side by side.
Your files and privacy
Your file is read in your browser and never uploaded (how this works). There are no trackers and no tracking cookies (the only cookie is the locked sign-in if you connect Strava or Garmin). To draw the map and check heights, your browser downloads public map tiles for the area of your route. Full details are in the privacy notice.