Elevation gets most of the attention in GPX analysis tools, but for a lot of runners and cyclists, pace is the number that actually matters. If you have a GPX file — from a race, a training run, or a route you downloaded — and want to know your average pace or see a per-kilometer breakdown without opening Strava or Garmin Connect, here's how to do it for free using the GeoDataTools pace calculator.

How Pace Is Calculated from a GPX File

A GPX track point records latitude, longitude, and — when the device supports it — a timestamp. From that raw data, pace calculation is straightforward in principle:

  • Distance comes from summing the great-circle distance between every consecutive pair of recorded points.
  • Time comes from the difference between the first and last point's timestamps.
  • Average pace is simply total time divided by total distance, expressed as minutes per kilometer or minutes per mile.

This is elapsed pace, not moving pace — it includes any time your GPS kept recording while you were stopped (traffic lights, water stops, photo breaks). Moving-pace calculation requires detecting and excluding stopped segments, which this tool doesn't attempt, since "stopped" is itself a judgment call that varies by activity type and can misrepresent short breaks as continuous slow movement.

How Splits Are Calculated

A per-kilometer or per-mile split isn't just "the pace of the nearest recorded point" — GPS points are rarely recorded exactly at a round-number distance boundary. Instead, the tool walks through the track's cumulative distance and, each time it crosses a full kilometer (or mile), interpolates the exact time at that boundary between the two GPS points on either side of it. The difference between one boundary's interpolated time and the next gives that segment's split time — the same approach GPS watches use internally to report auto-lap splits.

How to Use the Tool

  • Step 1 — Open the tool. Go to the GPX Pace & Speed Calculator.
  • Step 2 — Upload your GPX file. Drag and drop your .gpx file or click to browse. Parsing happens directly in your browser.
  • Step 3 — Read your stats. Total distance, duration, average pace, and average speed are calculated instantly, with a toggle between metric (km) and imperial (mi) units.
  • Step 4 — Check your splits. A table below the summary stats shows the split time and pace for every full kilometer or mile in the track.

Why Some Files Show Only Distance

Not every GPX file includes a <time> element on each point. Files exported as planned routes rather than recorded activities — for example, a course drawn on a map before a ride — often contain only coordinates, since no device recorded them in real time. Without timestamps, there's no way to calculate elapsed time, so the tool falls back to showing distance only rather than guessing at a pace.

Your Data Stays Private

Like every tool on GeoDataTools, pace and split calculation happen entirely in your browser using JavaScript. Your GPX file — which can reveal your home location, running routes, and activity patterns — is never uploaded to a server. If you also want to check the same track's elevation gain, the elevation profile viewer works the same private, browser-only way.

FAQ

Is this moving pace or elapsed pace?

Elapsed pace: total recorded time divided by total distance, including any time your GPS kept recording while you were stopped. The tool doesn't attempt to detect and exclude stopped segments.

How are per-kilometer or per-mile splits calculated?

By walking through the track's cumulative distance and interpolating the exact time at each full kilometer or mile boundary between the two surrounding GPS points, the same approach GPS watches use for auto-lap splits.

Why does my file show only distance, no pace?

The GPX file lacks a time element on its points, which happens with planned routes drawn on a map rather than recorded activities.

What data does pace calculation need from the GPX file?

Latitude, longitude, and a timestamp at each track point.

Is my GPX file uploaded anywhere?

No. Pace and split calculation happen entirely in your browser.

Calculate pace and splits from a GPX file

Average pace, speed, and per-km/mile splits from any GPX track. Free, private, no signup.

Open GPX Pace CalculatorOr open the full app →
← PreviousHow to Convert a TCX File to GPX or GeoJSON for FreeNext →How to Map CSV Data with Lat/Long Coordinates Online
← Back to all articles