GPX Distance Calculator

Upload your route and calculate exact distances between points.

How to use:

  1. 1Upload your GPX file
  2. 2Click the route profile at the bottom of the map to mark point A (start).
  3. 3Click again for point B (end) • The A→B segment will be highlighted and calculated.

Loading tool...

FAQ

Common Questions

Everything you need to know about measuring GPX distances.

GPX (GPS Exchange Format) is a standard file format for GPS data. It stores your route, waypoints, and elevation as coordinates. Most hiking apps (AllTrails, Komoot, Strava) export GPX files, making it easy to share and analyze your routes.

Different tools use different calculation methods. Many simplify routes to 200-500 points for performance, which can reduce accuracy by 5-15% on detailed tracks (up to 40km on long routes!). We preserve up to 5000 points from your GPX track (50-60m spacing for typical trails), ensuring smooth snap-to-route behavior while maintaining accurate distance calculations. This means our distance closely matches the actual GPS data in your file.

Our tool calculates distance using the Haversine formula, accounting for Earth's curvature. We use your full GPX track (no simplification) for 100% accuracy. The distance you see is the actual path along your route, not a straight line.

Yes! Click any two points on the route profile to measure the distance between them. Perfect for planning water resupply points, calculating daily mileage, or analyzing specific trail sections. Click again to start a new measurement.

Yes. The tool calculates horizontal distance regardless of elevation. If your GPX file includes elevation data, you'll also see elevation gain/loss for your selected segment. If not, you'll still get accurate distance measurements.

Choose between Metric (km, meters), Imperial (miles, feet), or Mixed (miles, meters - common in the UK). Toggle your preference before uploading your GPX file. All measurements will display in both your primary and secondary units for easy reference.

100% private. Your GPX file never leaves your browser—all processing happens locally on your device. We don't store, track, or see any of your route data. You can even use the tool offline.

Absolutely! Use it to calculate distances between waypoints—campsites, water sources, resupply points, or any location on your route. Analyze elevation profiles to plan daily mileage. Pro tip: On desktop, open this tool side-by-side with Trailkeep's Trip Planner—measure waypoint distances here, then input them directly into your trip plan.