Upload a GPX file to get total distance, elevation gain and loss, pace, speed, and rest time for a hike, run, or ride.
This tool runs entirely in your browser. What you enter is never sent anywhere.Your input is never sent anywhere.
DetailsDrop a GPX file here, or tap to choose one
.gpx files exported from Garmin, Strava, Komoot, and similar apps
Settings
A rest is a stretch where you stay within the stop radius of where the stretch began for at least the minimum duration. Rest time is removed from moving time. Results update as soon as you change a setting.
TIP
Load a GPX file to get distance, elevation gain, pace, and rest time. The file is read in your browser and is not uploaded.
Turn a GPX Track Into Distance, Elevation Gain, and Pace
Fitness apps and GPS watches can export a recorded hike, run, or ride as a GPX file. Open it in a text editor and all you see is rows of latitude, longitude, elevation, and time, which does not tell you how far you went or how much you climbed.
This analyzer reads the file and calculates total distance, elevation gain and loss, average pace, average speed, and rest time. It shows moving numbers (rests removed) next to overall numbers (rests included), so you can compare how fast you moved with how long the whole outing took.
Hover over the elevation profile to see the grade and time at any point, with rests shaded. Splits for each mile or kilometer can be saved as a CSV, and you can switch between miles and feet or kilometers and meters at any time. Everything runs in your browser, and the file is not uploaded.
Common Uses: Hike Logs, Run Splits, and Ride Reviews
Log a hike after you get home
Write down distance, elevation gain, moving time, and rest time for a trail journal. The shaded rests on the elevation profile show where you stopped, which helps when planning the next route.
Check mile splits from a run
See moving pace for every mile with stops of 30 seconds or longer removed. Check whether you went out too fast or slowed down on the hills.
Review a long ride
Compare average speed with and without rests to see how much time went to food and coffee stops. Climb rate shows how many feet you gained per hour of riding.
Compare watch and app numbers
The same ride can show different elevation gain on a watch and in an app. Change the elevation smoothing to see how much the total moves.
How to Check Elevation Gain and Pace From a GPX File
- Drop a GPX file exported from your app or watch into the box, or tap it to choose a file. To see how the tool works first, use Load sample data.
- Pick hiking, running, or cycling, and choose miles and feet or kilometers and meters. If needed, adjust elevation smoothing, the minimum rest duration, and the stop radius.
- Read the totals, elevation profile, rest list, and splits. Copy the text summary or download the splits as a CSV.
Note: Results update as soon as you change a setting. You do not need to load the file again.
Accuracy Limits to Know Before You Compare Numbers
- Elevation accuracy: GPS elevation is less precise than a barometric altimeter, and elevation gain changes with the smoothing setting. The total may not match your device exactly.
- Rests are an estimate: any stretch that stays inside the stop radius for the minimum duration counts as a rest. Slow stretches, such as a steep climb or a photo stop, may be included depending on your settings.
- Timestamps: pace, speed, and rests need a timestamp on every point. If the file lacks them, only distance and elevation are calculated.
- Distance method: distance is the sum of straight lines between recorded points, so it can differ slightly from the total shown by your app or watch.
- Privacy: the file is read and processed in your browser, and this tool has no upload step.
Pace Chart: Minutes per Mile, per Km, MPH, and Race Times
Convert a pace to minutes per kilometer, miles per hour, and finish times for common race distances. Use it to compare the average pace from your GPX file with a goal.
| Pace (min/mi) | Pace (min/km) | Speed (mph) | 5K | 10K | Half marathon | Marathon |
|---|---|---|---|---|---|---|
| 6:00 | 3:44 | 10.0 | 18:38 | 37:17 | 1:18:39 | 2:37:19 |
| 7:00 | 4:21 | 8.6 | 21:45 | 43:30 | 1:31:46 | 3:03:32 |
| 8:00 | 4:58 | 7.5 | 24:51 | 49:43 | 1:44:53 | 3:29:45 |
| 9:00 | 5:36 | 6.7 | 27:58 | 55:55 | 1:57:59 | 3:55:58 |
| 10:00 | 6:13 | 6.0 | 31:04 | 1:02:08 | 2:11:06 | 4:22:11 |
| 12:00 | 7:27 | 5.0 | 37:17 | 1:14:34 | 2:37:19 | 5:14:38 |
| 15:00 | 9:19 | 4.0 | 46:36 | 1:33:12 | 3:16:38 | 6:33:17 |
| 20:00 | 12:26 | 3.0 | 1:02:08 | 2:04:16 | 4:22:11 | 8:44:23 |
Conversion formulas
Speed in mph = 60 ÷ pace in min/mi. For example, a 10:00 pace is 60 ÷ 10 = 6.0 mph. Pace in min/km = pace in min/mi ÷ 1.609.
- Running: compare Avg moving pace, which leaves out rests such as waiting at a crosswalk.
- Cycling: compare Avg moving speed. The gap between moving and overall speed shows how much time stops took.
- Hiking: climb rate (gain divided by moving time) says more than pace on steep trails.
Finish times assume a constant pace for the whole distance and are rounded to the nearest second. The half marathon is 13.1 mi (21.0975 km) and the marathon is 26.2 mi (42.195 km). Real pace changes with hills and fatigue.
Why GPX Stats Differ From Your Watch or App
The same outing can show slightly different numbers in different apps. These are the usual reasons, and what to check when you compare.
Where to export a GPX file
Many services let you export a recorded activity as GPX, including Garmin Connect, Strava, Komoot, Gaia GPS, Suunto, and COROS. Look for an export or download option on the activity page of the website. The steps and availability depend on the service and your plan.
The exported file holds latitude, longitude, and usually elevation and time for every point. This tool reads those values and calculates the stats.
Why elevation gain changes between apps
GPS elevation is noisier than GPS position, and the reading can drift by several feet even when you are standing still. If every small change is added up, a flat path can pile up gain and loss.
This tool only counts a change once it passes a threshold from the last counted elevation. A small threshold picks up small bumps, and a large one flattens them. Watches with a barometric altimeter start from steadier data, and some services replace recorded elevation with map-based data, so totals can differ.
Moving pace vs. overall pace
Average pace depends on which time you divide by. Moving time leaves out rests and shows how fast you were going. Elapsed time includes everything and shows how long the outing took.
The gap is small on a run with few stops and large on a hike with long breaks. When you compare two activities, use the same one for both.
How rest detection uses radius and duration
A rest is a stretch where you stay inside the stop radius for at least the minimum duration. Position is used instead of speed alone because GPS drift can make a standing person look like they are moving.
Use 30 seconds to catch short stops. Use 3 to 5 minutes if you only want longer breaks. The hiking default is 2 minutes, and running and cycling default to 30 seconds.
Why distance can be off by a small percentage
Distance is the sum of straight lines between recorded points. Wider recording intervals cut corners and read shorter, while noisy positions can add extra back-and-forth distance. Apps also differ in how they thin and smooth points.
When you track progress over time, compare numbers that were calculated the same way.
Common Problems: Inflated Gain, Missing Rests, Blank Pace
Elevation gain looks much higher than expected
With no smoothing, every small GPS change in elevation adds up, so even a flat route can show a large gain. The total may be well above what your watch or a topographic map suggests.
💡 See the solution▼
Rests are missing or there are too many
Slow climbs can be counted as rests, and short stops can be missed. This happens when the minimum rest duration and the stop radius do not fit the activity.
💡 See the solution▼
Overall pace is mistaken for moving pace
On a hike with long breaks, overall pace is much slower than the pace you walked. If you use it to plan the next trip, you may think you move more slowly than you do.
💡 See the solution▼
Pace, speed, and rests show a dash
Routes drawn on a map and routes shared by other people often have no timestamps. Without a time on every point, the tool can show distance and elevation but not pace, speed, or rests.
💡 See the solution▼
Elevation gain and the profile are missing
Some apps and settings export GPX without elevation. When fewer than 90% of the points have elevation, the tool does not show gain, loss, or the profile.
💡 See the solution▼
Questions About GPX Elevation, Pace, and Privacy
Q.What is a GPX file, and what can I learn from it?
A. GPX is a standard file format that GPS devices and apps use to save a recorded track. Each point has a latitude and longitude, and usually an elevation and a timestamp. This tool turns those points into total distance, elevation gain and loss, average pace and speed, rest time, maximum and minimum elevation, and splits for every mile or kilometer.
Q.How is elevation gain calculated, and why does it differ from my watch?
A. The tool walks through the points in order and keeps a reference elevation. When a point is at least the smoothing amount above or below that reference (about 10 ft or 3 m by default), the difference is added to gain or loss and the reference moves to that point. GPS elevation jitters even when you stand still, so adding up every small change inflates the total. Watches with a barometric altimeter, and apps that correct elevation with their own methods, can report a different number. Try the smoothing options until the result is close to your device, then use the same setting for every file you compare.
Q.Does average pace include rest time?
A. The tool shows both. Avg moving pace divides moving time (elapsed time minus detected rests) by distance, so it reflects how fast you were actually going. Avg overall pace divides the full elapsed time by distance, so it reflects how long the outing took from start to finish. The gap between the two grows with every long break, which is why hikes show a bigger difference than runs.
Q.How does the tool detect rests?
A. Starting at a point, the tool checks how long the track stays within the stop radius of that point (15, 25, or 40 m, which is about 49, 82, or 131 ft). If that time is at least the minimum rest duration (30 seconds to 5 minutes), the stretch counts as a rest. The defaults are 2 minutes and 82 ft for hiking, 30 seconds and 49 ft for running, and 30 seconds and 82 ft for cycling. Detection uses timestamps, so if you paused recording and resumed within the stop radius, that gap also counts as rest. Detected rests are shaded on the elevation profile, marked on the route, and listed in a table.
Q.Is my GPX file uploaded anywhere?
A. No. The file is read and analyzed by code running in your browser, and this tool has no upload step. The track stays in memory while the page is open; use Clear or close the tab to remove it. That matters for routes that start or end near your home.
Q.Why does the distance differ from my app or watch?
A. This tool adds up the straight-line distances between consecutive points, measured on a sphere, and ignores elevation. Some apps thin out points, include the climb in a 3D distance, or smooth the track, so their totals can differ by a small percentage. Logs with long gaps between points cut corners and tend to read shorter, while noisy GPS positions can add extra back-and-forth distance.
Q.Does it work if the file has no elevation or no timestamps?
A. Yes, but fewer numbers are available. Pace, speed, and rests need a timestamp on every point, so a planned route without times shows distance and elevation only. Elevation gain and the profile need elevation on at least 90% of the points. If a file has no elevation, export it again from an app that records elevation, or run it through a mapping service that adds elevation first.
Q.Can it read large files or files with several tracks?
A. Yes. If a file contains several tracks or segments, all track points are joined in file order and treated as one track. A gap between segments is counted as a straight line, so a file that jumps between two locations will add that jump to the distance. If a file has no track points, the tool falls back to route points. Very large files may take longer to process, depending on your device.
Q.Can I open the splits in Excel or Google Sheets?
A. Yes. Download CSV in the splits table saves the current splits (per mile or per kilometer) with split distance, split time, moving pace, gain, loss, and end elevation. The column headers include the units you selected. The file opens in Excel, Google Sheets, and Numbers, and it is created in your browser without any upload.
Q.Can I switch between miles and kilometers?
A. Yes. Choose mi · ft or km · m in the settings. The unit switch changes distance, pace, speed, elevation, and the split length, but it does not change how anything is calculated, so the underlying results stay the same.
Your feedback
makes this tool better.
Tell us which features you'd like, what should be fixed, or which new tool you'd like to see. An engineer reads every submission and uses it to guide development.