Interval detection is how Gradescale finds the hard efforts inside a recorded workout when nobody pressed the lap button. It reads the second-by-second power of a ride, or the speed of a run or swim, marks every stretch above a threshold as work and the rest as rest, and lists each effort with its length, average intensity and heart rate. It tells you what the recording shows you did, not what the plan said.
Key points
- Rides: an effort counts as work while the 10 s average power is at or above 75 % of your threshold power. Runs and swims: while the 10 s average speed is at or above 85 % of your critical speed. Both are Gradescale conventions, not published values.
- Efforts shorter than 30 s are kept only as part of a set of at least three similar reps. Rest gaps shorter than 15 s between two work stretches are absorbed into one effort.
- It is a rule applied to numbers. It can't know your plan, and efforts close to the threshold can be split, merged or missed.
What is interval detection?
A device lap is whatever the athlete or the file marked. Detection ignores that and reads the signal itself, which helps when a session was done by feel or the laps don't match the efforts. In the research literature, a high-intensity interval session is described by up to nine variables: the intensity and duration of the work interval, the intensity and duration of the relief interval, the exercise mode, the number of repetitions, the number of series, and the duration and intensity of the recovery between series [3]. Detection reports lengths, average intensities, rep counts and the rests between reps, not the series structure as such. Short-interval protocols show why that matters. One study of elite cyclists used 3 series of 13 reps of 30 s work with 15 s recovery and 3 min between series [1]. A one-week study in well-trained cyclists used 5 series of 12 reps of 30 s with 15 s recovery [2]. Sets like these are why detection has a special rule for short reps, described below.
How does Gradescale decide what is work?
The same steps run for power and for speed.
- The signal is smoothed with a trailing mean of the last 10 s.
- Each second is work if the smoothed value is at or above the threshold, otherwise rest.
- Gaps are absorbed: a rest shorter than 15 s between two work stretches joins them into one effort, and a work blip shorter than 15 s between two rests joins the rests.
- Work blocks of 90 s or more are re-read with a lighter 3 s smoothing, in case they hide a set of short reps (next section).
- Work shorter than 30 s is dropped unless it is one of at least 3 similar reps with no more than 60 s between neighbours (next section), and rest shorter than 5 s is dropped.
Each effort's average comes from the raw samples inside its block. Heart rate averages skip dropout zeros and missing samples.
| Setting | Value | Status |
|---|---|---|
| Work, rides | Smoothed power at or above 0.75 times threshold power | convention |
| Work, runs and swims | Smoothed speed at or above 0.85 times critical speed | convention |
| Gap absorbed | Shorter than 15 s | convention |
| Shortest effort | 30 s | convention |
| Shortest rep inside a set | 10 s, with at least 3 similar reps | convention |
| Shortest rest kept | 5 s | convention |
| Longest gap between reps of a set | 60 s | convention |
Everything below the threshold is rest, including the warm-up, the cool-down and coasting.
Which signal does each sport use?
| Sport | Signal | Threshold it is compared with | What you need recorded |
|---|---|---|---|
| Cycling | Power | Your saved critical power, else a modelled critical power, else your saved FTP, else the FTP stored with the workout or on your profile | A power meter and one of those thresholds |
| Running | Speed | Your critical pace: saved, else modelled, else a first-sync estimate | A speed recording and a critical pace |
| Swimming | Speed | Your critical swim speed, same order | A speed recording and a critical swim speed |
| Hiking and walking | None | The walk's own average speed, which is refused | Nothing is detected |
Heart rate is optional for all of them. When it is recorded, each effort also gets an average heart rate, a peak heart rate and a recovery heart rate.
A run with a power sensor is still read by speed, because the power threshold is a cycling threshold. The last row exists because a run's own average speed is a poor yardstick. In the app's tests, 6 reps of 3 min inside a 10 min warm-up and cool-down are found against a stored critical speed. Against the run's own average, the warm-up counts as work and swallows the first rep. So when that average is the only anchor, the page shows a short reason instead of a bar, as it does when no critical speed exists at all.
For the thresholds themselves, see FTP, critical power and modelled FTP, critical speed and D prime and critical swim speed.
How are short reps and sets handled?
A 30 s on, 15 s off set would fuse into one long block under the 15 s gap rule. So any work block of 90 s or more is re-read with a 3 s mean, and it is split back into reps only if all of these hold:
- at least 3 reps of at least 10 s each, separated by rests of at least 5 s,
- at least 3 of those reps with a length within 50 % of the median rep length, and
- a typical rep intensity at least 1.5 times the typical rest intensity.
The third condition tells a real on-off set from a steady effort that wobbles around the threshold. In the app's own test data, a 30/15 ride ran at about 2.0 to 3.5 times the recovery level, and a steady tempo effort at about 1.15 times, so 1.5 sits between them. It is a signal rule, not a physiological threshold.
Short reps between 10 s and 30 s are kept only when they belong to a cluster of at least 3 similar reps with no more than 60 s between neighbours. A lone surge isn't listed. This has a measured edge: in the app's test runs, 6 strides of 20 s with 60 s of easy running between are found, while the same strides with 70 s between are not (a limit measured and noted beside that test, not checked by it). The reason is that the smoothing shortens the gap the rule sees by a few seconds.
What does it show within a workout?
On a ride, the Intervals section of the workout page (collapsed until you open it) lists each detected interval with its zone, duration, average power, percent of threshold power (labelled % FTP, also when the threshold is your critical power), average and peak heart rate and recovery heart rate. A bar above the chart marks work and rest, and an interval can be selected on the chart. Summary tiles show Avg Work Power and Avg Rest Power (each the plain mean of the interval averages, not weighted by length) and Total Work Time, and a Work:Rest figure that is total work seconds over total rest seconds. Because rest includes the warm-up and cool-down, it is a whole-session ratio, not reps against recoveries.
The recovery heart rate is the mean heart rate from 55 s to 65 s after an effort ends. It stays empty when the recording stops before the window closes, when fewer than 6 valid readings fall inside it, when the next effort starts 65 s or less after this one ends (short rests), and on rest rows. It is a different number from the one in the heart rate recovery section, which looks for its own start point.
On a run or swim, the page shows the same work and rest bar and an Interval overview with four figures and a table of reps with duration, pace and heart rate. The colours are neutral: nothing is labelled good or poor.
| Figure | What the app computes | Needs |
|---|---|---|
| Reps | Number of work intervals | 1 |
| Rep to recovery | Mean rep length divided by mean rest length, using only the rests between the first and last rep | 2 reps and a rest between them |
| Last rep vs first rep | (first rep speed / last rep speed - 1) x 100, shown as percent slower or faster in pace | 2 reps |
| Variation between reps | Sample standard deviation of the rep speeds divided by their mean, x 100 | 3 reps |
Two published ideas sit behind the last two figures, and neither is a match. The percentage decrement score was found to be the most valid and reliable fatigue measure among eight formulas in two multiple-sprint running protocols of 12 x 30 m sprints with 10 physically active men [4]. The overview's first-to-last change is simpler and isn't that score, which is why it is worded as a change and not as fatigue. The coefficient of variation of velocity has been used to describe pacing variability in marathon runners, where faster finishers showed lower variability [5]. A marathon isn't a set of reps, so read the variation figure only as how even your reps were.
Rep to recovery and the ride's Work:Rest are different numbers and do not appear on the same workout. Work:Rest is shown on rides (power against threshold power, every rest including the warm-up and cool-down). Rep to recovery is shown on runs and swims (speed against critical speed, only the rests between reps). For the chart itself, see the workout power trace.
How are intervals compared between sessions?
The Compare page has an Interval comparison section that pairs lap 1 of workout A with lap 1 of workout B, lap 2 with lap 2, and so on, up to the shorter list. The laps are the device laps, or the detected work intervals described below. A note says how many each side had and how many pairs are shown, for example 8 against 6, showing 6 pairs.
Length chips restrict the pairs to one effort length, for instance only the 2 min efforts, which skips the rests. Lengths are grouped in 5 s buckets, so 118 s and 121 s count as the same length. A length is offered only when it occurs at least twice in both workouts, and at most four are offered. The table can show duration, power, heart rate, pace or speed, and cadence for rides.
When either workout has fewer than two device laps, the page uses the detected work intervals of both workouts instead, with the same detection described above, and only if each side has at least two. If not, you get a sentence saying there are no intervals to compare. Because the threshold is looked up when you open a workout, changing your threshold setting can change which efforts appear on an older session.
Where does detection fail?
- Steady hard efforts. A ride held above 75 % of threshold power, or a run held above 85 % of critical speed, is one long work block with no reps.
- Efforts at the threshold. An effort that hovers around the line can be split into pieces, fused into one block or missed. The contrast rule above protects against false sets, not against every wobble.
- Lag. The 10 s trailing mean crosses the threshold a few seconds after the raw signal and falls back several seconds after it. In the app's tests a 20 s stride is reported as about 25 s, and the first rep of a set can be clipped by a few seconds.
- Dropouts. Zero power or zero speed reads as rest. A short dropout is absorbed when the smoothed line stays under the threshold for less than 15 s. The 10 s average stretches a dip by up to 9 s, so a dropout of more than a few seconds can split the effort.
- Terrain and walls. Runs are read by speed, so a hill rep can fall under the speed line and a downhill recovery can rise over it. Swim speed can dip at pool walls, and the same 10 s smoothing is used for swims as for runs.
- Anchor and plan. An out-of-date threshold shifts every cut, a missing one means no detection, and the plan is unknown, so a planned 8 x 2 min can show as 7 or 9 efforts.
Who gets this metric?
Cyclists get the full set from a ride with power and a saved or modelled threshold. Runners and swimmers get pace-based detection once a critical pace or critical swim speed exists. Multisport athletes get each workout read alone by its own sport, with no combined reading across a brick. Hikers and walkers get none. Coaches see the same intervals on an athlete's workout page.
How Gradescale shows it
The interval bar sits above the workout chart, with the Intervals or Interval overview section beside it. On the Compare page the Interval comparison section shows the pairs and a bar chart of one chosen metric. On a run or swim with a speed recording, one sentence says why when nothing is found or the critical pace or critical swim speed is missing. On a ride, the bar and the Intervals section are left out when no effort is found or no threshold power exists.
Which plan shows what
This article is free to read. In the app, the work and rest bar, the Intervals list on rides, the Interval overview on runs and swims, and the interval comparison on the Compare page are not behind a paid plan in the code. Clicking an interval on a ride, in the list or on the bar, opens a panel of detailed metrics for that stretch, and that panel needs the Basic plan or above. On the Free plan you still see every detected interval, and a click zooms the chart to that stretch, but where the panel would be you'll see an upgrade prompt instead.
Limits
- Every threshold, window and length here is a Gradescale convention, not a published cut-off for what counts as an interval.
- The cited research describes interval protocols and two ways of summarising pace. It doesn't validate this detection.
- Recovery heart rate inside a workout depends on how you recovered, so compare it within one session.
- One session is a small sample. Read the pairs on the Compare page as a pattern across several sessions.