GPX Distance Finder
GPX Distance Finder
Open a GPX track · Paste coordinates · Get distance from start and to end
.gpx files only · stays on your device, never leaves your browser
Paste or type as: lat, lon · e.g. 39.123456, -84.512345
What This Tool Does
You have a GPX track and a set of coordinates: a campsite, a road crossing, a water source, a trailhead. You need to know where along the track that point falls.
Open your GPX file, paste in the coordinates, get the distance.
The tool measures from your coordinates to the nearest point on your track line, then reports the cumulative distance from the track's start to that point and the distance remaining to the end. Results appear instantly. You can run as many queries as you need in a single session, then export everything as a CSV spreadsheet.
A westbound hiker measures a waypoint from the track start; an eastbound hiker measures the same waypoint from the end. Both numbers come from one query.
Miles or kilometers, your choice. The toggle at the top switches every reading at once.
How to Use It
- Click Open and select your GPX track file, or drag it into the drop zone
- The tool loads your track and shows the total length and number of track points
- Switch to km if you want metric; miles is the default
- Paste or type coordinates in decimal format:
lat, lon, for example39.123456, -84.512345 - Hit Find or press Enter
- Your distance from the track start appears immediately, along with distance to the end, the coordinates, and how far off the track they fall
- Repeat for as many coordinates as you need
- Click Export history as CSV to save your results
GPX Distance Finder Accuracy, Units, and Coordinate Format
Your file stays on your device. The GPX file never leaves your browser. Nothing is sent to any server. You aren't uploading anything; the tool reads the file locally and does all the math in your browser window.
Accuracy depends on track density. The tool measures the perpendicular distance from your coordinates to the nearest segment of the track line, then reports the cumulative distance from the start to that point. Denser tracks give more precise results. A track recorded every 50 feet reads more accurately than one with points every half mile. If a result looks off, check how many track points your file contains; the tool shows this when the file loads.
Decimal coordinates only. The tool expects latitude and longitude in decimal degree format, like 39.123456, -84.512345. If your coordinates are in degrees/minutes/seconds, convert them first. Most GPS apps and mapping tools give you decimal format by default.
Miles and kilometers both work. The toggle at the top of the tool changes every reading at once: distance from start, distance to end, total track length, and the off-track figure. CSV column headers and the exported filename follow whichever unit is active, so a metric export can't be mistaken for a mileage one. Miles is the default on every visit. Add ?units=km to the page address to open in metric each time.
The Off Track reading is your sanity check. Alongside the distance, the tool shows how far your coordinates sit from the nearest point on the track line. A few hundred feet is normal, and deliberately off-trail waypoints like a spring or a town resupply will read higher. Past 3 miles the number turns red, which usually means the wrong coordinates or a track that doesn't cover that area.
Who Built This and Why
Hiking America builds navigation tools for long-distance hikers, primarily for the American Discovery Trail and the Great American Rail-Trail. Placing waypoints accurately across thousands of miles of mapped route involves exactly this calculation, done hundreds of times. We built the tool to make that faster, then made it free because every hiker doing serious route planning runs into the same problem.
If you're planning a long-distance hike and want to know more about our GPS tracks and waypoint data, hikingamerica.com is the place to start.
Get Notified When New Trail Tools Launch
More tools are in development, including a hiking pace calculator, resupply planner, and pack weight tracker. We'll let you know when each one is ready. No spam, just a note when something useful launches.
A free tool from Hiking America: navigation resources for the American Discovery Trail and the Great American Rail-Trail.