# Track Running Average Pace of Interval

**URL:** <https://forum.intervals.icu/t/track-running-average-pace-of-interval/75680>\
**Category:** Bug Reports\
**Created:** [16 September 2024 20:04 UTC](https://forum.intervals.icu/t/track-running-average-pace-of-interval/75680 "2024-09-16T20:04:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yannic\_Niessen](https://forum.intervals.icu/user_avatar/forum.intervals.icu/yannic_niessen/32/42102_2.png) [@Yannic\_Niessen](https://forum.intervals.icu/u/Yannic_Niessen)\
**Post date:** [16 September 2024 20:04 UTC](https://forum.intervals.icu/t/track-running-average-pace-of-interval/75680/1 "2024-09-16T20:04:21Z")

</div>

Hello there,

I noticed that in my running Intervals the average pace data field of every interval seems to be off. The average pace is quite a lot higher than the one recorded by garmin and also higher than almost every individual point in the intervals pace graph.

I created my own tempo data field which accesses the enhanced\_speed field from the fit file and averages across all data points in the interval to return the pace / km in seconds as follows:

```auto
{
let temp = streams.get("CustomSpeed").data
let tot = 0
let c = 0
for (let i = interval.start_index; i < interval.end_index; i++) {
  let v = temp[i]
  if (v) {
    tot += v
    ++c
  }
}
// avg pace in m/s := tot / c 
// pace[s/km] = 1000 / (tot/c) = 1000 * c / tot 
c ? 1000*c/tot : null
}

```

In the graph below for each interval the top value is the intervals.icu default pace and the bottom value is my calculated one which fits the garmin data much better.  
Further you can see the splits from the garmin connect app as reference

 ![image](https://forum.intervals.icu/uploads/default/original/3X/d/9/d97e2e964afcbb220428129d125f13b1f2f3d2db.png)

 ![WhatsApp Image 2024-09-16 at 9.09.32 PM (1)](https://forum.intervals.icu/uploads/default/original/3X/f/2/f20b05f028813eb348f8c705777e4b7a5b0a4d1b.jpeg)

The activity ([Activity Link](https://intervals.icu/activities/i49022795?zoom=1237,1715)) was run on track without altitude change and in garmin’s track running mode which fits the gps data onto a known running track for accurate distance measures. One theory of mine is that intervals.icu might calculate the tempo from the distance and time instead of the tempo data field. So maybe on track running it interpolates the track circle as a polygon and cuts some distance out, resulting in slower paces. However at the paces shown above and 1 data point per second the polygon should only be 0.1% shorter than the true circle so that explanation might be incorrect.

---

<div class="post-metadata">

**Author:** ![David\_Sanchez\_Moline](https://forum.intervals.icu/letter_avatar_proxy/v4/letter/d/bbe5ce/32.png) [@David\_Sanchez\_Moline](https://forum.intervals.icu/u/David_Sanchez_Moline)\
**Post date:** [23 October 2026 19:00 UTC](https://forum.intervals.icu/t/track-running-average-pace-of-interval/75680/2 "2026-10-23T19:00:38Z")

</div>

Hi  
I have the same problem. When running with Garmin Track Run, Garmin adjust the distance (and make it perfectly), but Intervals.icu is not matching the precision from Garmin. Then all the calculated parameters are wrong because are based in a wrong distance.  
Is there any way to correct this?
