# Building workout using zone number instead of percentage range

**URL:** <https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725>\
**Category:** Site Feedback\
**Created:** [4 September 2021 09:44 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725 "2021-09-04T09:44:36Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamie](https://forum.intervals.icu/user_avatar/forum.intervals.icu/jamie/32/5668_2.png) [@jamie](https://forum.intervals.icu/u/jamie)\
**Post date:** [4 September 2021 09:44 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/1 "2021-09-04T09:44:36Z")

</div>

Hello, I have read through the [post regarding workout building](https://forum.intervals.icu/t/workout-builder/1163), and I wondered if it is possible to specify an intensity using zones?

e.g.

- 10m Z1 LTHR
- 1h10m Z2 LTHR
- 10m Z1 LTHR

If not, do people generally memorize the percentages of their zones, or look them up in the settings view?

Thanks.

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [5 September 2021 06:13 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/2 "2021-09-05T06:13:57Z")

</div>

I have added that to the todo list. I think people tend to use percentages because the zones are quite wide e.g. there is a huge difference between 106% and 120% and thats all Z5 for me (power zones).

---

<div class="post-metadata">

**Author:** ![jamie](https://forum.intervals.icu/user_avatar/forum.intervals.icu/jamie/32/5668_2.png) [@jamie](https://forum.intervals.icu/u/jamie)\
**Post date:** [5 September 2021 06:33 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/3 "2021-09-05T06:33:29Z")

</div>

Yeah that makes sense. Perhaps a nice improvement would be to show the power and HR ranges in a tooltip or popup on the workout builder modal.

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [5 September 2021 07:56 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/4 "2021-09-05T07:56:06Z")

</div>

Thats a good idea. Will do soon.

---

<div class="post-metadata">

**Author:** ![Andrii\_Magalich](https://forum.intervals.icu/user_avatar/forum.intervals.icu/andrii_magalich/32/27821_2.png) [@Andrii\_Magalich](https://forum.intervals.icu/u/Andrii_Magalich)\
**Post date:** [5 September 2021 12:08 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/5 "2021-09-05T12:08:42Z")

</div>

In triathlon people use zones all the time. (Also, intervals defined by distance instead of time)

---

<div class="post-metadata">

**Author:** ![thrstn](https://forum.intervals.icu/user_avatar/forum.intervals.icu/thrstn/32/26313_2.png) [@thrstn](https://forum.intervals.icu/u/thrstn)\
**Post date:** [13 October 2021 23:01 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/6 "2021-10-13T23:01:32Z")

</div>

The ability to quickly create a workout using zones and then specify the percentages if necessary would be nice

---

<div class="post-metadata">

**Author:** ![Gerald](https://forum.intervals.icu/user_avatar/forum.intervals.icu/gerald/32/28423_2.png) [@Gerald](https://forum.intervals.icu/u/Gerald)\
**Post date:** [14 October 2021 10:48 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/7 "2021-10-14T10:48:11Z")

</div>

How would your ERG trainer react in this situation? The range of power in L4 is 90-105%, so the Garmin workout pegs it in the middle, i.e. 97%.

As someone that uses a non-smart trainer, it’s easy to increase/decrease power based on how average HR is tracking; the goal would be to have minimal cardiac drift.

There’s a good argument for having a “range” of values within a zone/level. If my athletes are supposed to do a workout at VO2max power, and they struggled on the previous workouts, or are feeling a little fatigued, I’ll tell them to keep it closer to 106% and see how they react; the first and last interval needs to be the same for it to be effective. Likewise, if they’re feeling good, then I’ll ask them to push it closer to 120% for all intervals. It’s still within the same “zone/level”. The % doesn’t really make a difference, and nor would having it a “zones”. Executing it is key, and being able to review it afterwards is all I’m really interested to see.

---

<div class="post-metadata">

**Author:** ![app4g](https://forum.intervals.icu/user_avatar/forum.intervals.icu/app4g/32/41800_2.png) [@app4g](https://forum.intervals.icu/u/app4g)\
**Post date:** [14 October 2021 15:02 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/8 "2021-10-14T15:02:09Z")

</div>

Most trainers (software/apps) also has the quick +/- button to get the % or Raw Watts up or down to further fine tune it based on what you are feeling. so using the exact wattage/% range to me is really a bit counter to the final goal of just riding to the zone.

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [14 April 2022 05:38 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/9 "2022-04-14T05:38:15Z")

</div>

I have added support for specifying workout steps by zone for power, heart rate and pace. So you can do:

```
- 30m Z2 HR

```

And the range will be low Z2 - high Z2 for the athlete.

---

<div class="post-metadata">

**Author:** ![mnemec31](https://forum.intervals.icu/user_avatar/forum.intervals.icu/mnemec31/32/9417_2.png) [@mnemec31](https://forum.intervals.icu/u/mnemec31)\
**Post date:** [14 April 2022 09:00 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/10 "2022-04-14T09:00:09Z")

</div>

Great update, thanks! 🙂

I think there is a little bug introduced, it looks like it’s not counting Z1 anymore:

 ![Screenshot 2022-04-14 105844](https://forum.intervals.icu/uploads/default/original/2X/2/2fa6d02da80f7169436c9ed07d2a9c736275d7ec.png)

Until yesterday everything was ok.

EDIT: oh, I understand what is happening here. My “descriptions” (Z3, Z4,…) are now clashing with this new functionality, probably triggering this workout to be interpreted as power based.

---

<div class="post-metadata">

**Author:** ![Gerald](https://forum.intervals.icu/user_avatar/forum.intervals.icu/gerald/32/28423_2.png) [@Gerald](https://forum.intervals.icu/u/Gerald)\
**Post date:** [14 April 2022 09:11 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/11 "2022-04-14T09:11:10Z")

</div>

Add Z1 before your Warmup line.  
If I copy your workout, it shows Z1 once it is added.

- Warmup **Z1** 10m 60-58% LTHR

3x  
Z3 2m 83-94% LTHR

Edit: or get rid of the Z1/2 and only use

- 10m 50-68-% LTHR

3x

- 2m 83-94% LTHR

 ![image](https://forum.intervals.icu/uploads/default/original/2X/1/10f43bcd81943850d5d99470d267fb4b5d9e5eb0.jpeg)  
 ![image](https://forum.intervals.icu/uploads/default/original/2X/a/a3f122eac38ab0871707052ad765703ff47c5110.jpeg)

---

<div class="post-metadata">

**Author:** ![app4g](https://forum.intervals.icu/user_avatar/forum.intervals.icu/app4g/32/41800_2.png) [@app4g](https://forum.intervals.icu/u/app4g)\
**Post date:** [14 April 2022 09:30 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/12 "2022-04-14T09:30:55Z")

</div>

Curious… this is a Bike Workout that’s HR Based? (Indoors on Turbo or outdoors?)

---

<div class="post-metadata">

**Author:** ![mnemec31](https://forum.intervals.icu/user_avatar/forum.intervals.icu/mnemec31/32/9417_2.png) [@mnemec31](https://forum.intervals.icu/u/mnemec31)\
**Post date:** [14 April 2022 09:45 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/13 "2022-04-14T09:45:54Z")

</div>

Yes, outdoors. It’s not ideal, but good enough for the start without powermeter 🙂

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [14 April 2022 10:29 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/14 "2022-04-14T10:29:06Z")

</div>

> [@mnemec31](#):
>
> My “descriptions” (Z3, Z4,…) are now clashing with this new functionality, probably triggering this workout to be interpreted as power based.

Drat .. that is going to cause some problems with existing workouts. The default is power so if you have “Z2” in a step for an existing HR based workout you now also have power. Intervals.icu will pick power or HR for the workout depending on the settings of the athlete.

---

<div class="post-metadata">

**Author:** ![app4g](https://forum.intervals.icu/user_avatar/forum.intervals.icu/app4g/32/41800_2.png) [@app4g](https://forum.intervals.icu/u/app4g)\
**Post date:** [14 April 2022 14:32 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/15 "2022-04-14T14:32:18Z")

</div>

@david for Zone based workouts targets, I noticed in the JSON file it is marked as (for a Z2 workout)

> “duration”:4800,“power”:{“value”:55,“units”:“%ftp”},“hr”:{“value”:2,“units”:“hr\_zone”}}

Where would I be able to get the definition of the Zones? I hope that you have planned to add the zones definition somewhere in the JSON file downloads (similar to how you’re already adding LTHR and MAX\_HR and the like into the JSON file)

Thanks

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [14 April 2022 15:39 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/16 "2022-04-14T15:39:35Z")

</div>

Which endpoint are you getting that from?

---

<div class="post-metadata">

**Author:** ![app4g](https://forum.intervals.icu/user_avatar/forum.intervals.icu/app4g/32/41800_2.png) [@app4g](https://forum.intervals.icu/u/app4g)\
**Post date:** [15 April 2022 00:07 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/17 "2022-04-15T00:07:13Z")

</div>

From this as it’s easier to download and do quick checks.

 ![Screenshot 2022-04-15 at 8.06.05 AM](https://forum.intervals.icu/uploads/default/original/2X/2/248c6831cd6399c44607b4ee837ec9fd7162a770.png)

They will be different from a direct download vs getting it from the API?  
let me check.

For a workout like this:

 ![Screenshot 2022-04-15 at 11.52.04 AM](https://forum.intervals.icu/uploads/default/original/2X/e/e266feda78d6f91ff8eb0028c5c5ba57d756afac.png)

> {“duration”:600,“steps”:[{“power”:{“value”:2,“units”:“power\_zone”},“duration”:600}]  
> {“id”:“Z2”,“zone”:2,“name”:“Z2”,“color”:“#009e00”,“max”:75,“minWatts”:111,“maxWatts”:150,“percentRange”:“56% - 75%”,“secs”:600}

So, it should be plausible to get the Power Zone Ranges from the id:Z2

Having a Power Zone range for indoor turbo training would be troublesome. Looks like intervals.icu just provides the middle of the zone 65.5 % ((56+75)/2) for MRC. Which is fine. ERG mode needs an actual target rather than a range. Edit: Supported now. BreakAway can now parse Power Zone Workouts using

1. if not a ramp, will use the middle of the zone as Power Target
2. if ramp, we will ramp from bottom of zone to top of zone (eg: from 56% to 75% of Power Z2)

For Z2 HR workout

 ![Screenshot 2022-04-15 at 9.56.17 AM](https://forum.intervals.icu/uploads/default/original/2X/4/438db50542c359c3b2ff4c3cec25fe50b7aff0dc.png)

This is what I get from the API Endpoint as well as the Download JSON.

> [{“duration”:600,“hr”:{“value”:2,“units”:“hr\_zone”}}]

API EndPoint - [https://intervals.icu/api/v1/athlete/\(athleteId)/events/\(workoutId)/download.json](https://intervals.icu/api/v1/athlete/%5C(athleteId)/events/%5C(workoutId)/download.json)"

---

<div class="post-metadata">

**Author:** ![app4g](https://forum.intervals.icu/user_avatar/forum.intervals.icu/app4g/32/41800_2.png) [@app4g](https://forum.intervals.icu/u/app4g)\
**Post date:** [15 April 2022 04:35 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/18 "2022-04-15T04:35:21Z")

</div>

![Screenshot 2022-04-15 at 12.34.26 PM](https://forum.intervals.icu/uploads/default/original/2X/7/7445be357548c2fd6a6070aa8c3126435a3ba122.png)

Drats… I just got caught by this as well…  
Changing it to Zone3 instead of Z3 worked.

using plain text is indeed going to be more challenging

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [15 April 2022 07:44 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/19 "2022-04-15T07:44:13Z")

</div>

I have update the “JSON” workout download to include the actual watts, bpm and mps values for power, hr and pace targets in steps. These are calculated using the zones etc for the athlete.

```auto
{
  "duration": 3600,
  "ftp": 290,
  "target": "POWER",
  "steps": [
    {
      "duration": 3600,
      "power": {
        "value": 2.0,
        "units": "power_zone"
      },
      "hidepower": false,
      "_power": {
        "value": 190.0,
        "start": 162.0,
        "end": 218.0
      }
    }
  ],
  "options": {}
}

```

The resolved values are in \_power, \_hr and \_pace.

Absolute (not a range) power, pace and HR targets are converted into a range using a percentage of value (powerRange=2.5, paceRange=2.5, hrRange=1.5). You can specify these as query parameters to override.

If the workout has steps using power and/or HR and/or pace then the athletes preferences for the sport are used to choose how to execute the workout. This is in the “target” field. All targets are resolved in any case but maybe someone wants to use this.

So you don’t have to mess around with the zones to try calculate power etc…

---

<div class="post-metadata">

**Author:** ![app4g](https://forum.intervals.icu/user_avatar/forum.intervals.icu/app4g/32/41800_2.png) [@app4g](https://forum.intervals.icu/u/app4g)\
**Post date:** [15 April 2022 09:01 UTC](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725/20 "2022-04-15T09:01:43Z")

</div>

some observations and quick question.

1. TARGET  
You mentioned that this is in the Athlete’s preference for the sport. Then this would not have any impact? (I tried on a workout that has both Power and HR, and used “HR” and it still shows “target: POWER”. Only when I removed all references of power, then the workout becomes “target=HR”. This is the intended behaviour? )

2. What’s the usage of “hidepower”?

3. Looks like you’ve removed all the (power)zoneTimes, maxHR, LTHR, FTP values…  
Would it be at all possible to re-instate the maxHR / LTHR / FTP . I currently store power based workouts as % of FTP as it easier to scale as user’s FTP changes. (The workouts don’t have to change. ) I’m doing the same thing for HR Based Training as well. Basically, this change broke everything I’m been testing/coding for past ~3weeks lolz.)

**Edit: Stupid me.. you’ve provided %FTP and %HR values as well as the corresponding actual watts/bpm.. i think I can work w this… just need to refactor a bunch of stuffs… “dont’ change anything yet”**

1. I don’t quite understand the powerRange/hrRange parameters. How does the workout that uses this look like?

[Next page](https://forum.intervals.icu/t/building-workout-using-zone-number-instead-of-percentage-range/4725.md?page=2)
