Converter tool

FIT, GPX and TCX Activity Analyzer

Open a Garmin FIT, GPX or TCX file and get kilometre or mile splits, heart-rate and power zones with your own limits, moving time, smoothed elevation gain, pace and elevation charts, and CSV or GPX exports.

Garmin .fit, .gpx or .tcx

1. Your activity file

FIT, GPX and TCX Activity Analyzer

Operator: Abdulla Al Fahad. How tools are built and checked

A watch reports one elapsed time, one distance and one elevation gain, and each of them hides a decision: whether a stop at a crossing counts, which distance source wins, how much altimeter jitter is climbing. This page opens the activity file itself, a Garmin .fit or a .gpx or .tcx track, and lets you set those decisions, then reports splits per kilometre or mile, moving and elapsed time, elevation gain and time in heart-rate and power zones.

Because every figure depends on a setting (the moving threshold, the pause limit, the smoothing window, the dead band), the page shows elapsed and moving totals together and the unsmoothed gain next to the smoothed one, so you can see how far each decision moves the answer.

Key features

  • Reads .fit (compressed timestamps, developer fields, chained multisport files), .gpx and .tcx
  • Splits per kilometre or mile on moving or elapsed time, with pace, elevation gain and loss, grade and average heart rate, power and cadence
  • Moving time from a speed threshold you set, with a pause rule for gaps between samples
  • Elevation gain with a smoothing window and a dead band, shown beside the unsmoothed figure
  • Heart-rate zones from four limits and power zones from FTP or six custom limits, with time and share per zone
  • Normalized power, intensity factor, TSS and best 5 s, 1 min, 5 min and 20 min power, charts as SVG, and exports as CSV, GPX and XLSX

What a FIT file holds and how moving time, splits and elevation gain are worked out

A FIT file starts with a 12 or 14 byte header, then a stream of records. Definition messages declare which fields a message type carries, data messages hold the values, and a compressed-timestamp header lets a record carry only the low five bits of its time. Positions are stored as semicircles (degrees times 2^31 / 180), altitude as a 16-bit value in fifths of a metre with a 500 m offset, and the reader converts all of it.

Garmin devices, Zwift, Wahoo and similar apps write .fit. Running power from a pod such as Stryd is often a developer field; those fields are listed by name so you can choose one as the power source. Chained files, as recorded for a multisport activity, are read in turn and each session can be analysed alone.

GPX and TCX are XML. The reader takes trkpt and Trackpoint elements with their times and, where present, heart rate, cadence, power, distance, speed and temperature from the common Garmin extensions. A route-only GPX has no timing to analyse and is refused with a message. Limits are 60 MB for FIT, 80 MB for XML and 600,000 points. Settings, workout and monitoring FIT files hold no record messages and are reported as nothing to chart.

How it works

Samples are sorted by time and duplicates dropped. Distance comes from the device's recorded cumulative distance when at least half the samples carry it, otherwise it is summed from GPS positions with the haversine formula; either can be forced. An interval's speed is its distance over its time, and it counts as moving when that speed is at least the threshold (default 0.5 m/s) and the gap is no longer than the pause limit (default 30 s).

Elevation is averaged over a centred window (default 15 s), then gain and loss are counted with a dead band: a movement is added only once the height has moved at least the band (default 2 m) from the last counted height. A sawtooth of plus and minus 1 m of altimeter noise adds nothing.

Splits interpolate the time at each whole kilometre or mile between the two samples that bracket it, so a split is exact to the second even when samples are 5 s apart. Normalized power is the fourth root of the mean fourth power of a 30 s rolling average; recording gaps over 10 s are cut out instead of counted as zero watts.

When this helps

  • A runner comparing a half marathon from two watches, using the per-kilometre splits on elapsed time to see which one auto-paused at a drink station.
  • A cyclist choosing between the head unit's power and a developer power field, then reading normalized power, intensity factor and TSS at an FTP of 250 W (a steady hour at FTP scores 100).
  • A coach reviewing a long ride and comparing the dead-band climb with the barometric ascent the device wrote into its session summary.
  • A triathlete with a three-session multisport file picking the bike session alone to get its own splits and zones.

Opening a file

  1. Drop the .fit, .gpx or .tcx file.
  2. Choose kilometre or mile splits, and whether split time counts moving time only or elapsed time.
  3. Set the elevation smoothing and dead band, your heart-rate zone limits (or type a max heart rate and fill them), and FTP if you ride with power.
  4. Read the summary, the charts, the splits and the zone tables, switching the chart x axis between distance and time.
  5. Download the samples or splits CSV, the GPX track, the charts as SVG or an XLSX summary.

Example

A 10 km training run recorded by a Garmin watch, with splits per kilometre on moving time, default settings and heart-rate limits 114, 133, 152, 171

One point per second for 55 minutes, a 30 second stop at a crossing 21:00 into the run, a hill between km 3 and km 5.5, and heart rate between 120 and 164 bpm. The page's built-in sample run is generated to exactly this description.

Summary and splits

Distance 10.00 km, elapsed 55:01, moving 54:31, average pace 5:27 per km
Elevation gain 37 m smoothed (144 m unsmoothed), loss 37 m
Split 1 is 5:07, split 5 is 6:05 with +16 m at 157 bpm, split 10 is 4:46
On elapsed time split 4 reads 6:16 instead of 5:46, because the stop falls inside it
Heart-rate zones: Z2 6:48 (12.4%), Z3 18:14 (33.1%), Z4 29:59 (54.5%)

Tips for best results

  • Set smoothing and the dead band to 0 once to see the unsmoothed gain. In the example it is 144 m against 37 m, which shows how much of a GPS-only elevation trace is noise.
  • For interval sessions raise the moving threshold to about 1.5 m/s so slow recoveries stop counting as moving time.
  • Use elapsed time for races, where the clock never stops, and moving time for training rides with traffic stops. The two differ whenever a stop lands inside a split.

Limits

A GPS-only watch gives a far noisier elevation trace than a barometric altimeter, and the file does not say which one wrote it, so treat gain as an estimate.

Phone GPX files often hold one point every 5 to 10 seconds, so a 15 s smoothing window averages only two or three points.

Zone times count each sample's interval once. Gaps longer than the pause limit are left out, so zone minutes can add up to less than the elapsed time.

Without FTP or six custom limits only average power, normalized power and best efforts appear; intensity factor, TSS and power zones need a threshold.

Common errors and how to fix them

This is not a FIT file: the .FIT signature is missing from the header.
The file is another format with a .fit name, or it was damaged in transfer. Export the activity again from Garmin Connect or the device.
This file holds no record messages (no GPS or sensor samples), so there is nothing to chart.
Settings, workout and monitoring files share the FIT container. Choose the activity file, normally in the Activity folder of the device.

Best practices

  • Use limits from a recent field test rather than a formula. The fill button sets 60, 70, 80 and 90 percent of the max heart rate you type, which is only a starting point.
  • Pick the distance source on purpose: recorded distance honours a foot pod or wheel sensor, while GPS distance ignores them and shrinks on tight turns.

Why the splits add up to the moving time

Each split is the time between two interpolated distance marks, so the split times of a file add up to its moving time, apart from a final stretch shorter than 10 m that is dropped. On the example run the ten splits total 54:30 against 54:31 of moving time, the missing second being the last 2.8 m of the 10.003 km run.

Splits on moving time and on elapsed time

Moving-time splits remove stopped intervals, which is how a watch with auto-pause reports pace. Elapsed-time splits keep them, so a stop makes one split slow. The summary always shows both totals, and the example run shows the difference in split 4: 5:46 moving, 6:16 elapsed.

Frequently asked questions

Why does my moving time differ from the one in Garmin Connect?

Garmin's timer time follows the device's own auto-pause rule, which is not the 0.5 m/s speed threshold and 30 s gap used here. Adjust the threshold and gap to bring the two closer, or read elapsed time if you only need the clock.

How do I know the numbers are right?

Two real device files give a check: an Edge 810 ride of 41.3 km with 4,700 records comes out at 41.34 km, 154 bpm and 276 W, equal to the values the device stored in its own session message, and a file written with compressed timestamps decoded all 754 of its records identically to a reference export. Elevation gain is the figure that differs from a device's, because it counts barometric altitude.

Does it work for the FIT files from a GPS-free indoor ride?

Yes. Indoor files use the recorded distance, power and heart rate; the GPX export is switched off because there is no track.