At the end of lap 25 of the 2026 Miami Grand Prix, Lando Norris led and Andrea Kimi Antonelli ran second, 2.090 s behind at the timing line. Both were on the MEDIUM tyres they had started on, now 25 laps old. For the nine laps before that (16–24)...
In This Chapter
- 13.1 Track Position, and Three Ways to Win It in the Pits
- 13.2 The Two-Car Model: What an Undercut Should Gain
- 13.3 Measuring Undercuts in Real Races
- 13.4 Where the Time Comes From
- 13.5 How Far Back Can You Be? The Gap
- 13.6 The Defender's Reply: Covering, and the Overcut
- 13.7 Circuits and Seasons
- 13.8 What the Data Can't See, and What the Definitions Choose
- Spaced Review
- Project Checkpoint: undercut.py
- Chapter Summary
- What's Next
Chapter 13 — The Undercut and Overcut: How Pit Stop Timing Creates and Destroys Track Position
At the end of lap 25 of the 2026 Miami Grand Prix, Lando Norris led and Andrea Kimi Antonelli ran second, 2.090 s behind at the timing line. Both were on the MEDIUM tyres they had started on, now 25 laps old. For the nine laps before that (16–24) the gap had sat between 2.4 and 3.1 s. Antonelli was not closing in any way that would let him pass on the road.
On lap 26 Antonelli came into the pits. Norris stayed out for one more lap and stopped on lap 27. When both cars crossed the line at the end of lap 28, the order had flipped: Antonelli was ahead by 0.264 s. Two laps later the lead was 1.207 s. He went on to win, crossing the line 3.217 s ahead of Norris at the end of lap 57 (by the timing-line timestamps).
That is an undercut: you stop first, use the faster lap that new tyres give you while your rival is still on old ones, and come out ahead when he stops. Every fan learns the word in their first season. What is less well known is where the time actually came from. Here is Antonelli's 3.297 s gain split into the four pieces this chapter will use:
Undercut situation: ANT (P2) on NOR; stops on laps 26 and 27 (k = 1); outcome lap 30
gap before (end lap 25): +2.090 s; gap after (end lap 30): -1.207 s; gain +3.297 s; success = True
components (gain to ANT): in-lap +0.620, out-lap +1.552, fresh-tyre lap(s) +0.145, settle laps +1.157 (sum +3.474)
pit-lane times: ANT 22.128 s, NOR 22.565 s (NOR slower by +0.437); canonical pit-loss difference, as gain to ANT: +1.646 s
The textbook mechanism, new tyres against old on the lap Norris stayed out, is worth 0.145 s. Antonelli's first lap on new HARDs (lap 28, 92.914 s) was barely quicker than Norris's last lap on 25-lap-old MEDIUMs (lap 26, 93.059 s). Most of the gain came from somewhere else. Norris's in-lap was 0.620 s slower than Antonelli's, and his out-lap was 1.552 s slower. Measured the way Chapter 12 measures every stop, Norris's stop cost 19.550 s and Antonelli's 17.904 s. If the two stops had cost the same, Norris would still have been 1.382 s ahead at the end of lap 28.
So did the undercut work? Yes. Was it the tyres? Barely. This chapter takes that question across every race in our data. We will build a model of what an undercut should gain, measure 331 real undercut and overcut situations from 2023 to 2026, and find out what the model gets right and what it cannot see. Three findings will recur:
- The undercut works 42.9% of the time. When the car behind is within 1 s it works 78.6% of the time. From 2–3 s back it works 19.3% of the time.
- The overcut works 22.1% of the time. Its friend is low degradation, and its enemy is a defender who replies immediately.
- A tyre model predicts the typical gain well: about a second. It predicts the individual gain badly, because the pit laps themselves (in-lap, stop, out-lap, traffic) swing more than the tyres do.

📊 Figure (described): The gap from Antonelli to Norris (positive = Antonelli behind) at the end of each lap. It sits between 2 and 3 s until lap 25. It jumps to +7.0 s and +14.1 s while first Antonelli and then Norris make their stops, then lands at −0.264 s on lap 28 and −1.207 s on lap 30. The stop window is a spike, and the undercut is the difference between the levels before and after it.
🏎️ Fan Track: Read 13.1, 13.2 (skip the derivation if you like; the closed form and its worked number are what matter), 13.3, 13.5 and 13.6. The Call-the-pit-stop scenario in 13.6 is written for you.
📊 Analytics Track: Everything. The detection algorithm in 13.3, the model check in 13.4 and the cross-validated success model in Case Study 2 are the core. Expect to rerun
code/03_undercut_study.pyand change its definitions.🎰 Betting Track: Read 13.3, 13.5 and 13.7, then Case Study 2. Live markets on "who leads after the stops" often move on the commentator's "the undercut is on". The base rates here say how often that happens.
13.1 Track Position, and Three Ways to Win It in the Pits
A track position is your place in the running order on the road. In most races it is worth far more than raw speed, because passing is hard. Chapter 35 measures how hard, using a filtered count of green-flag on-track passes. Since passing is hard, teams try to gain places where no passing is needed: in the pit lane, while the order is reshuffled by stops.
Picture two cars on the same strategy, B running directly behind A, both due one stop. Whoever stops first spends the next lap or two on new tyres while the other is still on old ones. Whoever stops second keeps the old tyres a little longer but avoids the one moment when new tyres are slowest: the out-lap, when they are cold. Three moves follow from this:
📐 Definition: undercut. The car behind (B) stops before the car ahead (A), so that B's laps on new tyres, set against A's last laps on old tyres, close the gap. It succeeds if B is ahead once both have stopped.
📐 Definition: overcut. The car behind (B) stays out after the car ahead (A) stops, hoping that A's slow out-lap on cold tyres, any traffic A rejoins into, and B's own laps in clean air are worth more than A's new-tyre advantage. It succeeds if B is ahead once both have stopped.
📐 Definition: cover. The defender's reply to an undercut: stopping on the very next lap (or as soon as possible), so that the attacker gets only one lap of the new-against-old advantage.
The attacker is always B, the car behind. In an undercut B stops first; in an overcut B stops second. Both moves have the same mirror: the defender A can respond early (cover) or late (stay out and dare the attacker to catch him).
Strategists also talk about the offset between two strategies: one car's tyres are a few laps younger than the other's for the rest of the stint. Every undercut leaves an offset behind, and that offset matters later. In the Miami case, Antonelli's HARDs were one lap older than Norris's for the rest of the race. If Norris had been faster on the day, that one lap of younger rubber was his chance to come back. He was not: from lap 29 to lap 41 the gap stayed between 0.7 and 1.6 s.
📺 On the broadcast: "The undercut is on" means the car behind has just pitted and the car ahead has not. The graphic that follows is a projected rejoin gap: where the stopping car will come out, relative to the car it is chasing. "Box to cover" is a team telling its driver to stop next lap because a rival has just stopped. When the commentator says "he's within the undercut window", he means the gap is small enough that one stop's worth of fresh-tyre pace could flip it. This chapter puts numbers on that window: about 1.4 s, where the measured success rate passes 50%.
Why the stop laps are where it is decided
Here is the anatomy of the Miami stop window, lap by lap:
Lap-by-lap (gap > 0 = ANT behind NOR):
lap_number gap_s ANT_lap NOR_lap ANT_tyre ANT_age NOR_tyre NOR_age ANT_pos NOR_pos
24 2.443 92.802 93.093 MEDIUM 23 MEDIUM 23 2 1
25 2.090 93.068 93.384 MEDIUM 24 MEDIUM 24 2 1
26 6.981 97.884 93.059 MEDIUM 25 MEDIUM 25 2 1
27 14.095 105.601 98.504 HARD 0 MEDIUM 26 4 1
28 -0.264 92.914 107.153 HARD 1 HARD 0 2 3
29 -1.433 92.331 93.451 HARD 2 HARD 1 1 2
30 -1.207 92.210 92.247 HARD 3 HARD 2 1 2
tyre_age is the toolkit's canonical age: laps already completed on the set when the lap began. Lap 26 is Antonelli's in-lap, the lap that ends in the pit lane. Lap 27 is his out-lap, the lap that starts in the pit lane and ends at the line on new tyres. It is also Norris's in-lap. Lap 28 is Norris's out-lap and Antonelli's first full lap on new tyres. In-laps and out-laps are slow for everyone: the car slows for the pit entry, runs the pit lane at the speed limit, stops, and accelerates out on cold tyres. Across all canonical green-flag stops in our data the in-lap costs a median 4.372 s more than a normal lap and the out-lap 18.534 s more. The pooled green-flag pit loss is 22.512 s (n = 1,921 stops, 2023–2026). At Miami in 2026 it was 19.639 s (n = 18).
Both cars pay that price, one lap apart. If they paid exactly the same, the price would cancel and only the tyre difference would remain. They never pay exactly the same.

📊 Figure (described): Lap times of the two cars, laps 22–33. Before the stops they lap within a few tenths of each other. Antonelli's in-lap (97.9 s) and out-lap (105.6 s) peak a lap earlier than Norris's (98.5 s and 107.2 s). From lap 30 the two cars on HARDs lap at the same pace again. The undercut was decided on the three laps where at least one car was in the pit lane.
🔄 Check your understanding 1. In an overcut, which car stops first, the attacker or the defender? 2. Why do the two cars' pit losses not simply cancel? 3. What is the "offset" an undercut leaves behind, and who does it favour later in the stint?
Answer
- The defender (the car ahead) stops first. The attacker stays out and stops later.
- Each car's stop has its own in-lap, pit-lane time and out-lap. Any difference in pit-lane time, in-lap pace (traffic, the in-lap push), out-lap warm-up or rejoin traffic shows up as a gain or loss. In Miami, Norris's stop cost 1.646 s more than Antonelli's.
- The car that stopped first carries tyres k laps older than the other car's for the rest of the stint. That favours the second stopper, by roughly k × the wear rate per lap.
13.2 The Two-Car Model: What an Undercut Should Gain
🧩 Productive struggle. Before reading on, try this. Two cars, the same compound, wearing at $d$ seconds per lap of tyre age (fuel-corrected). B is behind A. B pits first on lap 0. A pits $k$ laps later. Both sets are $a$ laps old when B pits, and both stops cost exactly the same. You measure the gap $s$ laps after A's out-lap. Write each car's lap time on every lap of the window as "something × tyre age" plus the pit-lap costs. Sum the differences. How much has B gained? (Hint: the pit costs cancel; only the tyre-age terms are left. Count the age of each car's tyres on each lap.)
The derivation
Number the laps of the window from B's in-lap ($t = 0$). Each lap time is a base lap, plus fuel, plus $d \times$ (tyre age), plus pit costs on in-laps and out-laps. The base lap is the same for both cars. So is the fuel: on the same lap, both cars have burned the same distance's worth. Both cancel in the gap. What remains:
- B runs its old set at age $a$ on lap 0 (the in-lap), then a new set at ages $0, 1, 2, \dots$ from lap 1 (the out-lap) onward.
- A runs its old set at ages $a, a+1, \dots, a+k$ on laps $0$ to $k$ (lap $k$ is its in-lap), then a new set at ages $0, 1, \dots$ from lap $k+1$.
Over the whole window, laps $0$ to $k+1+s$, the pit costs cancel: one in-lap excess and one out-lap excess each. Adding up the tyre terms, the gain to B is
$$ G \;=\; \sum_t \big(\text{A's lap}_t - \text{B's lap}_t\big) \;=\; k\,d\,(a - s). $$
In plain English: for each lap that B is on new tyres and A is not, B gains about $a \times d$, the whole age difference. Once A has stopped, A's tyres are $k$ laps younger than B's, and A wins back $k \times d$ on every settle lap. The undercut is the first effect minus the second.
Worked number. The pooled canonical degradation rate for MEDIUM is 0.051 s/lap. That is fuel-corrected at the toolkit's assumed 100 kg start fuel and 0.03 s/kg. With 20-lap-old sets, a cover on the next lap ($k = 1$) and the outcome measured two laps after A's out-lap ($s = 2$): $G = 1 \times 0.051 \times 18 = 0.918$ s. Our simulator, boxbox.undercut.simulate_pair, reproduces the closed form to rounding error:
Closed form k*d*(age - settle) vs simulate_pair, d = 0.051 s/lap, settle = 2 laps, no warm-up:
old_age k simulated closed_form
10 1 0.408 0.408
16 1 0.714 0.714
20 1 0.918 0.918
20 2 1.836 1.836
20 3 2.754 2.754
30 3 4.284 4.284
max |difference| = 2.44e-15 s
Why the fuel correction is not optional here
🔍 Why this works (and why raw lap times would mislead you). In Chapter 12 we saw that the raw lap-time slope through a MEDIUM or HARD stint is close to zero: 0.003 s/lap for MEDIUM and −0.002 for HARD, pooled. The falling fuel load makes the car faster at about the rate the tyre makes it slower. So "the tyres aren't degrading" is what the raw lap times seem to say. But in an undercut the two cars are compared on the same lap, carrying the same fuel. The fuel effect cancels exactly. What is left is the pure tyre-age effect, and the honest estimate of that is the fuel-corrected slope. Feed the model the raw slope and it tells you the undercut is worth 0.1 s. Feed it the fuel-corrected slope and it is worth 0.8 s. Every degradation number in this chapter is the canonical, fuel-corrected rate unless it says otherwise.
# code/02_gain_model.py (excerpt): a typical undercut, priced two ways
from boxbox import undercut as UC
from boxbox import strategy as S
kw = dict(old_compound="MEDIUM", new_compound="HARD",
deg_new_s_per_lap=UC.DEG_FC["HARD"], # 0.048 s/lap, fuel-corrected
offset_old_s=S.POOLED_OFFSETS["MEDIUM"], # 0.000 (MEDIUM is the reference)
offset_new_s=S.POOLED_OFFSETS["HARD"]) # -0.039 s/lap at equal age
for k in (1, 2, 3):
r = UC.undercut_gain(15, k=k, deg_s_per_lap=UC.DEG_FC["MEDIUM"], old_age_a=16, **kw)
print(k, round(r["gain_s"], 3), round(r["fresh_s"], 3), round(r["settle_s"], 3))
# the same with the RAW slopes (MEDIUM 0.003, HARD -0.002 s/lap): no fuel correction
Typical MEDIUM->HARD undercut, attacker's set 15 laps old, defender's 16, measured warm-up and offsets:
k = 1: gain +0.813 s = in +0.102 + out +0.000 + fresh +0.759 + settle -0.048
k = 2: gain +1.578 s = in +0.153 + out +0.000 + fresh +1.506 + settle -0.081
k = 3: gain +2.346 s = in +0.204 + out +0.000 + fresh +2.319 + settle -0.177
The same undercut priced with the RAW MEDIUM slope (0.003 s/lap, no fuel correction):
k = 1: gain +0.099 s
k = 2: gain +0.200 s
k = 3: gain +0.306 s
The ages 15 and 16 are the medians of the 168 real undercut situations in 13.3. The model includes the measured warm-up penalty of a new set on its second and third laps. For MEDIUM it is 0.417 s and 0.135 s, and for HARD 0.048 s and 0.063 s (median residuals against each stint's own line, OpenF1 dry races 2023–2026). It also includes the pooled compound offsets from Chapter 12.
Warm-up mostly cancels between the two cars, because both pay it, one lap apart. This is the first hint of why the overcut is harder than its folklore suggests. The overcutter's advantage, the defender's cold new tyres, is a cost the overcutter will pay himself a lap or two later.

📊 Figure (described): The model's gain to the first stopper rises linearly with the age of the old set. It is about 1 s at 20 laps for $k = 1$, about 2 s for $k = 2$ and about 3 s for $k = 3$, using the fuel-corrected MEDIUM rate. The dotted lines use the raw lap-time slope and stay below 0.5 s at every age. The fuel correction is the difference between "the undercut is a real weapon" and "the undercut is noise".
The model, lap by lap
The closed form hides how violent the window is. Figure 13.4 shows the same undercut one lap at a time. B's in-lap costs B 4.4 s. B's out-lap costs another 13.0 s against A's in-lap. Then A's out-lap hands back 18.4 s in one go. The undercut is the 0.97 s left once these huge numbers have cancelled.

📊 Figure (described): Bars show the defender's lap time minus the attacker's on each lap of a $k = 1$ window with 20-lap-old sets (MEDIUM → HARD). The first two bars are large and negative (the attacker's pit laps), the third is large and positive (the defender's out-lap), and the settle laps are tiny. The black line is the cumulative gain. It ends at +0.97 s, a small residue of three large terms. That is why small errors in any one pit lap swamp it.
That last point is the chapter in one sentence. An undercut is a small difference between large numbers. A 0.5 s slower stop, a defender who pushes on his in-lap, or a second of traffic after rejoining each moves the outcome as much as the tyres do:
k = 1, both sets 20 laps old: modelled gain +0.966 s. Add:
a 0.5 s slower stop for the attacker: +0.466 s (-0.500)
defender's in-lap 0.3 s quicker than normal (clean air): +0.666 s (-0.300)
1.0 s of traffic for the attacker after rejoining: -0.034 s (-1.000)
🧪 Illustrative model: The three "extras" above (a 0.5 s slower stop, a 0.3 s in-lap push, 1.0 s of traffic) are assumed values chosen to show the model's sensitivity. They are not measurements of any team. The tyre inputs are measured: the pooled fuel-corrected deg rates, warm-up penalties and offsets from OpenF1 2023–2026 races. The fuel correction itself rests on the toolkit's labelled assumption of 100 kg and 0.03 s/kg. The data-driven fuel effect, −0.056 s per race lap (about 0.033 s/kg at 100 kg), gives nearly the same rates.
From gain to required gap
If the undercut is expected to gain $G$ seconds, it is expected to succeed from any gap smaller than $G$. That is the simplest version of required_gap:
Required gap (expected gain), MEDIUM->HARD, both sets the same age:
age 10: k=1 0.46 s, k=2 0.91 s, k=3 1.38 s
age 15: k=1 0.71 s, k=2 1.42 s, k=3 2.14 s
age 20: k=1 0.97 s, k=2 1.94 s, k=3 2.91 s
age 25: k=1 1.22 s, k=2 2.44 s, k=3 3.67 s
age 30: k=1 1.48 s, k=2 2.95 s, k=3 4.44 s
Plain-English reading: if your rival will cover next lap, a pure tyre undercut on MEDIUMs closes roughly one second at mid-stint ages. If he waits two laps, it closes about two. Antonelli started his undercut 2.090 s behind, with Norris replying after one lap. On this table that undercut should not have worked. It did, because Norris's stop cost 1.6 s more than Antonelli's. Hold that thought for 13.4.
⚠️ Common pitfall: treating the fresh-tyre delta as the undercut. "New tyres are a second a lap faster, so stop first and gain a second a lap" double-counts. The undercut gains the new-against-old difference only on the $k$ laps that B is on new tyres and A is not, and it then gives back $k \times d$ per lap while A runs on younger tyres. Fix: price the whole window, from B's in-lap to a few laps after A's out-lap, as
simulate_pairdoes, or use $G = k\,d\,(a-s)$ as a first estimate.🔄 Check your understanding 1. Using $G = k\,d\,(a - s)$, what does an undercut gain with $d = 0.048$ s/lap, $a = 25$, $k = 2$, $s = 2$? 2. Why does the fuel load not appear in the formula? 3. If you measured the outcome later (larger $s$), would the gain go up or down? Why?
Answer
- $2 \times 0.048 \times 23 = 2.208$ s.
- Both cars are compared on the same lap and carry the same fuel, so its effect cancels. This is why the fuel-corrected wear rate is the right input, not the raw lap-time slope.
- Down, by $k \times d$ per extra lap. The car that stopped second has younger tyres and slowly wins back time. Section 13.8 checks this against the data: the median undercut gain falls from 1.306 s (outcome on the second car's out-lap) to 0.573 s (six laps later).
13.3 Measuring Undercuts in Real Races
A model is a claim. To test it we need every real undercut and overcut in the data, measured the same way. The definition is in boxbox.undercut, and it is the definition behind every number in this chapter.
📐 Definition: undercut situation. Car B crosses the line directly behind car A, the car that crossed immediately before it, by $0 < \text{gap} \le 3.0$ s at the end of the lap before B's in-lap. B stops. A's next stop comes 1, 2 or 3 laps later ($k = 1, 2, 3$). Both stops are canonical tyre-changing stops with pit-lane time ≤ 60 s and no red flag. For both cars, every lap from the lap before B's stop to the outcome lap is green (no SC, VSC or red flag), timed, on a dry compound and free of rain. Neither car stops again in between. The outcome lap is two laps after A's out-lap. Success means B is ahead at the line at the end of the outcome lap.
📐 Definition: overcut situation. The mirror image. B is directly behind A within 3.0 s, A stops first, B stops 1–3 laps later, with the same filters. The outcome lap is two laps after B's out-lap. Success means B is ahead.
📐 Definition: gain. Gain = gap before − gap after, where gap = B's line time − A's line time (positive = B behind). A positive gain helps the attacker. Success requires gain > gap before.
Some design choices deserve a word. We measure gaps from line-crossing timestamps (date_end), not from the intervals stream, which has holes and "+1 LAP" strings. We require the cars to be directly adjacent on the road, so that the car ahead really is the car B is trying to pass. And we call these situations, not "attempts". The data show two adjacent cars stopping within three laps of each other. They do not show intent. Some first stops are made because the tyres are finished, not to attack the car ahead. A situation is something that happened, not something a strategist necessarily chose.
The 3 s window, the 1–3 lap offset and the two-lap settle are choices. Section 13.8 changes each of them and shows what moves.
# code/03_undercut_study.py (excerpt)
from boxbox import undercut as UC
P = UC.study() # find_undercut_attempts() on every OpenF1 race, 2023 to 2026 R21
P.to_csv("code/undercut_pairs.csv", index=False)
summ = UC.summarise(P, by="kind") # Wilson CI on success, bootstrap CI (seed 42) on the median gain
for _, r in summ.iterrows():
print(f"{r.kind:8s} n = {r.pairs:3d}: success {100*r.success:.1f}% "
f"[{100*r.success_lo:.1f}, {100*r.success_hi:.1f}] median gain {r.median_gain:+.3f} s "
f"[{r.gain_lo:+.3f}, {r.gain_hi:+.3f}] mean {r.mean_gain:+.3f} s")
Situations: {'undercut': 168, 'overcut': 163} in 72 races (91 races scanned)
Headline (success = attacker ahead at the outcome lap; Wilson 95% CI; median gain with bootstrap CI):
overcut n = 163: success 22.1% [16.4, 29.1] median gain -1.396 s [-1.976, -0.885] mean -1.247 s
undercut n = 168: success 42.9% [35.6, 50.4] median gain +0.755 s [+0.199, +1.649] mean +1.380 s
excluding team-mates, overcut n = 129: success 24.0% [17.5, 32.1]
excluding team-mates, undercut n = 154: success 42.2% [34.7, 50.1]
Undercut minus overcut success: +20.8 points [+10.6, +30.4]
Here is what the output means.
- The undercut is stronger than the overcut. The difference is 20.8 percentage points, with a bootstrap interval from +10.6 to +30.4 that excludes zero. The folklore is right about the direction.
- Most undercuts still fail. At 42.9%, the car ahead keeps its place in 57.1% of undercut situations. "The undercut is powerful" is true relative to the overcut, not in absolute terms. A defender who is within 3 s and stops within three laps usually stays ahead.
- The typical undercut gains about three-quarters of a second. The median is 0.755 s. The mean is higher, 1.380 s, because a tail of big gains pulls it up.
- The typical overcut loses about one and a half seconds (median −1.396 s). It is a bet against the defender's stop going smoothly.
- Team-mate pairs don't change the picture. Excluding them leaves the undercut at 42.2% and the overcut at 24.0%. This matters because team-mates may run under team instructions that our data cannot see.

📊 Figure (described): Histograms of the gain to the attacker, in 0.5 s bins, for 168 undercuts (blue) and 163 overcuts (orange). The undercut distribution is centred slightly right of zero (median +0.75 s), and the overcut distribution slightly left (median −1.40 s). Both have long tails out to ±10 s and beyond. Those are the races where one car's stop or rejoin went badly wrong. A typical outcome is a second either way; a tail outcome is ten.
The spread is the second finding. For undercuts, the quartiles of the gain are −1.026, +0.755 and +3.542 s. In 38.1% of situations the attacker gained more than 2 s; in 17.3% he lost more than 2 s. For a manoeuvre whose model gain is about one second, that is a very wide distribution. Most of the width does not come from the tyres, as the next section shows.
🎰 Betting Track aside. A live price on "the car behind leads after the stops" needs a base rate. Across our 168 undercut situations it is 42.9% [35.6, 50.4]. That moves sharply with the gap (13.5) and with the defender's reply (13.6). A flat "the undercut usually works" prior is wrong by more than the bookmaker's margin.
🔄 Check your understanding 1. Why does the detection rule require both cars to be green, dry and timed on every lap of the window? 2. Why are these called "situations" rather than "attempts"? 3. The undercut's mean gain (1.380 s) is larger than its median (0.755 s). What does that tell you about the distribution?
Answer
- An SC, VSC or red flag changes the pit loss completely (Chapter 14), rain changes the tyre physics, and an untimed lap breaks the decomposition. The rule keeps the comparison like-for-like.
- The data show two adjacent cars stopping one to three laps apart. They do not show why. Some first stops are tyre-driven or traffic-driven, not attacks. "Situation" claims only what the timing shows.
- It is right-skewed: a minority of very large gains, often from a slow stop or traffic for the defender, pull the mean above the median. Report the median for "typical" and the quartiles for the range.
13.4 Where the Time Comes From
Every situation can be split exactly the way we split Antonelli's. Call the first stopper F and the second stopper S. Then:
📐 Definition: undercut decomposition. Signed as gain to the attacker B: - in-lap delta = S's in-lap − F's in-lap; - out-lap delta = S's out-lap − F's out-lap; - fresh-tyre delta = S's $k$ laps on old tyres (F's in-lap to the lap before S's in-lap) − F's first $k$ laps on new tyres after its out-lap; - settle delta = the two laps after S's out-lap, S − F.
The four add up to the gain. Strictly, they are sums of lap times, while the gain comes from line timestamps. Across all 331 situations the two agree with a median difference of 0.000 s, and to within ±0.206 s in 90% of pairs. OpenF1's lap durations and line timestamps are not perfectly consistent. In Miami the components summed to 3.474 s against a measured gain of 3.297 s.
Decomposition (gain to the attacker, s):
group pairs mean_in_delta mean_out_delta mean_fresh_delta mean_settle_delta mean_gain median_in_delta median_out_delta median_fresh_delta median_settle_delta median_gain
overcut, all 163 0.464 0.181 -2.426 0.551 -1.247 0.199 0.043 -2.141 0.417 -1.396
undercut, all 168 -0.083 0.021 1.980 -0.549 1.380 -0.278 -0.023 1.411 -0.437 0.755
undercut, failure 96 -1.399 -1.119 1.066 -1.153 -2.587 -0.538 -0.696 1.071 -0.885 -0.674
undercut, success 72 1.672 1.539 3.198 0.257 6.671 0.088 0.867 2.374 0.116 4.282
overcut, success 36 4.086 3.686 -1.148 1.479 8.061 1.501 2.035 -1.313 1.300 4.692
Read the "undercut, all" row first. The fresh-tyre component is the engine: a median +1.411 s, positive in 91.1% of undercuts. New tyres beat old tyres almost every time. Two things then claw some of it back:
- The in-lap delta is negative (median −0.278 s). The defender's in-lap is usually quicker than the attacker's. The timing data are consistent with two effects. Once the attacker has peeled off into the pit lane, the defender runs his in-lap in clean air. And a driver who knows he is stopping next lap can push on tyres he no longer needs to save. On the attacker's in-lap he was still sitting in the defender's wake. Our data cannot tell these two apart.
- The settle delta is negative (median −0.437 s). That is the $k \times d$ offset from 13.2. Once the defender has stopped, his tyres are younger.
Now compare successes with failures. A successful undercut is not mainly a bigger tyre effect. Its fresh-tyre component, +2.374 s median, is larger, but its in-lap and out-lap deltas flip sign. In successes the defender's pit laps are slower than the attacker's (+0.088 and +0.867 s). In failures they are faster (−0.538 and −0.696 s). The canonical pit-loss comparison of the two stops says the same:
Successful undercuts (n = 72): attacker's stop was cheaper (stop_diff > 0) in 73.6%; failed undercuts (n = 96): in 30.2%
Fresh-tyre component > 0 (new tyres beat old over the k laps): 91.1% of undercuts; median per lap 1.206 s
In nearly three-quarters of successful undercuts, the attacker's stop (in-lap + out-lap − 2 × reference, the canonical definition) cost less than the defender's. In failures that happened less than a third of the time. The tyres provide the opportunity. The stops decide who takes it.
Ines: So Antonelli's undercut in Miami. That was the fresh tyres, right? Aisha: The fresh tyres were worth 0.145 seconds of it. The gain was 3.3. Ines: Then where did the rest come from? Aisha: Norris's in-lap and out-lap were slower than Antonelli's. Whether that was the wheel change, the pit lane or traffic, the timing can't tell us. Tom: That's the annoying part. The physics hands you about a second, and the pit lane gives or takes three.

📊 Figure (described): Grouped bars show the mean in-lap, out-lap, fresh-tyre and settle contributions to the attacker's gain, with the total marked by a diamond. In every group the fresh-tyre bar favours the first stopper. It is positive for undercuts and negative for overcuts, where the first stopper is the defender. What separates success from failure is the sign of the in-lap and out-lap bars: in successful undercuts and successful overcuts the defender's pit laps went badly.
⚠️ Common pitfall: crediting the tyres with an undercut that the pit crew won. After a successful undercut it is natural to say "the fresh tyres did it". In Miami, the fresh-tyre component was 0.145 s of a 3.297 s gain. Fix: decompose the gain before you explain it. If the in-lap and out-lap deltas carry most of it, the story is the stop or the rejoin, not the rubber. Our data have pit-lane times for every stop but stationary times for only some, so you cannot always tell whether the difference was the wheel change, the pit-lane run or the laps either side of it (Chapter 34 goes further).
Does the fresh-tyre step grow with tyre age?
The two-car model says the per-lap fresh-tyre advantage should be about $d \times (a + 1)$: small for young tyres, large for old ones. The data disagree:
Fresh-tyre component per lap ~ defender's tyre age: slope -0.0285 s per lap of age [-0.0622, +0.0053], intercept 1.829 s, n = 168, R² = 0.016
Median regression: slope -0.0126 s per lap of age, intercept 1.421

📊 Figure (described): Each dot is one undercut situation: the per-lap fresh-tyre component against the age of the defender's tyres when the attacker stopped. The OLS line is flat to slightly falling (slope −0.028 s per lap of age, CI including zero). The linear tyre model's prediction (dashed) rises from 0.2 to 1.9 s across the range. Real fresh-tyre steps are about 1–1.5 s per lap at almost any age.
This is an important result. In real undercuts the first laps on new tyres are about a second and a half quicker per lap than the defender's old-tyre laps, whatever the old tyres' age. It is not the small, age-proportional advantage that a linear wear model implies. Three readings are consistent with it. Our data cannot separate them:
- New tyres have a peak. A new set gives grip in its first flying laps that a linear wear line, fitted on stint laps 2 onward, does not capture. (Chapter 12's fresh-tyre delta points the same way: for MEDIUM→HARD stops, whose old sets were a median 16 laps old, the new tyres ran 0.951 s/lap faster, fuel-corrected, more than the $0.051 \times 17 \approx 0.87$ s a linear wear line implies.)
- Selection. Teams start undercuts when the old tyres are already slow relative to new ones, at whatever age that happens. Young-tyre undercuts in our sample are ones where the tyres were already struggling.
- The defender is managing. A car defending a place may be lapping below its potential to protect its tyres or to stay out of the attacker's DRS (2023–2025) or Overtake range (2026). The attacker's first new-tyre laps show its potential, not its constraint.
How well does the model predict real gains?
code/04_gap_and_model.py runs predict_pair on every situation. It feeds the two-car model the actual compounds, ages and $k$, and each race's own median degradation rates (canonical, fuel-corrected). Those rates are hindsight inputs: no strategist had them on the day.
Two-car model vs measured gain (race median deg, fuel-corrected at the toolkit default; hindsight):
overcut: median predicted -1.252 s vs measured -1.396 s; Spearman 0.062; residual median +0.168, robust SD 3.61 s; 'gain > gap' call right in 78.5% (always-the-majority baseline 77.9%)
undercut: median predicted +1.055 s vs measured +0.755 s; Spearman 0.044; residual median -0.206, robust SD 3.21 s; 'gain > gap' call right in 64.3% (always-the-majority baseline 57.1%)

📊 Figure (described): The model's predicted gain (horizontal) against the measured gain (vertical) for 168 undercuts and 163 overcuts. The clouds sit roughly where they should: undercuts right of zero, overcuts left. But within each cloud there is almost no slope. Measured gains spread from −15 to +15 s while predictions span only a few seconds. The tyre model knows the typical answer and almost nothing about the specific one.
The model gets the typical outcome right. It predicts a median undercut gain of +1.055 s against a measured +0.755 s, and a median overcut loss of −1.252 s against −1.396 s. It gets the individual outcome almost wrong. The rank correlation between predicted and measured gains is 0.044 for undercuts and 0.062 for overcuts. The residual spread, a robust SD of about 3.2 s for undercuts, is three times the size of the effect being predicted. As a yes/no call, "the undercut works if the predicted gain exceeds the gap" is right 64.3% of the time. Always predicting failure is right 57.1% of the time. That is a modest improvement, and almost all of it comes from the gap, not from the tyres (Case Study 2).
This is not a failure of the model. It is a measurement of how much of the undercut lies outside tyre physics: the stop, the in-lap, the rejoin, and whoever is in the way.
🔄 Check your understanding 1. In successful undercuts, which components most clearly change sign compared with failures? 2. The linear wear model predicts the fresh-tyre step grows with tyre age. What do the data show, and name one possible reason. 3. The model's median predicted undercut gain is close to the measured median, yet its rank correlation with individual gains is 0.044. Is the model useful? For what?
Answer
- The in-lap and out-lap deltas. In successes the defender's pit laps were slower than the attacker's; in failures they were faster.
- A flat step of about 1.4–1.8 s per lap at almost any age (slope −0.028 s per lap of age, CI including 0). Possible reasons: a new-tyre peak the linear model misses, teams choosing to undercut once old tyres are slow, or defenders lapping below their potential.
- Yes, for planning. It tells you roughly how large a gap one stop can close (about a second for $k = 1$, two for $k = 2$). It is no use for predicting one specific outcome, where execution and traffic dominate.
13.5 How Far Back Can You Be? The Gap
If gains were independent of the gap, success would be a simple survival curve. The share of undercuts from gap $g$ that succeed would equal the share whose gain exceeds $g$. With a median gain of 0.755 s and the spread we have seen, the curve would fall steadily from about 60% near zero to about 40% at 3 s. The data fall much faster:
Success by gap before the first stop:
kind gap_band pairs successes success success_lo success_hi median_gain
overcut 0–1 s 56 20 0.357 0.245 0.488 -0.213
overcut 1–2 s 67 13 0.194 0.117 0.304 -1.361
overcut 2–3 s 40 3 0.075 0.026 0.199 -2.109
undercut 0–1 s 42 33 0.786 0.641 0.883 2.782
undercut 1–2 s 69 28 0.406 0.298 0.524 0.426
undercut 2–3 s 57 11 0.193 0.111 0.313 0.100
undercut: logit P = 2.171 -1.597 x gap (gap coef 95% CI [-2.15, -1.044]); P(0.5 s) = 0.798, P(1.5 s) = 0.444, P(2.5 s) = 0.139; 50% at gap 1.36 s
overcut: logit P = 0.199 -1.186 x gap (gap coef 95% CI [-1.848, -0.524]); P(0.5 s) = 0.403, P(1.5 s) = 0.171, P(2.5 s) = 0.059; 50% at gap 0.17 s

📊 Figure (described): The share of situations in which the attacker ended up ahead, in three 1-second gap bands, with Wilson 95% intervals and a fitted logistic curve. Undercuts fall from 78.6% inside 1 s to 40.6% at 1–2 s and 19.3% at 2–3 s, crossing 50% at about 1.4 s. Overcuts fall from 35.7% to 19.4% to 7.5%. There is no gap at which an overcut is better than a coin flip.
Inside 1 s the undercut works almost four times in five. Between 2 and 3 s it works one time in five. The logistic fit puts the 50% point at 1.36 s. The overcut never gets there: even from a gap of almost nothing, the fit gives it about 55%, and from half a second it gives 40%.
📐 Definition: undercut window (empirical). The gap below which an undercut has historically succeeded more often than not: 1.36 s on the logistic fit to the 168 situations of 2023–2026 (green, dry, $k = 1$–3). It is a property of the data, not a law. It moves with the defender's reply (13.6) and the circuit (13.7).
Why closeness itself carries information
The gain is not independent of the gap. The components by gap band show why:
Undercut components by gap band (medians, s, gain to the attacker):
pairs in_delta out_delta fresh_delta settle_delta gain
gap_band
0–1 s 42 0.000 0.503 1.757 -0.052 2.782
1–2 s 69 -0.298 -0.231 1.551 -0.460 0.426
2–3 s 57 -0.333 -0.289 1.195 -0.576 0.100
Fresh-tyre component per lap by gap band (median): {'0–1 s': 1.427, '1–2 s': 1.168, '2–3 s': 1.071}
Undercuts from inside 1 s gain a median 2.782 s, more than six times the gain from 1–2 s. Every component is better for the close attacker. His fresh-tyre laps are faster relative to the defender (1.427 s per lap against 1.071 s from 2–3 s). His in-lap costs nothing relative to the defender's, and he even gains on the out-laps.
The timing data are consistent with a simple story. A car within a second of the car ahead is often the faster car, being held up. On the road, the time it would like to gain is capped by the car in front, and it loses some pace in that car's turbulent wake (Chapter 20 measures that "dirty air" effect). The moment it pits, both limits are lifted: it runs in clean air on new tyres at its own pace. So the undercut releases two things at once, the fresh-tyre step and the car's own speed. A car 2.5 s back is usually not being held up at all. If it were faster, it would already be closer.
This is also why a naïve error model fails. With the model's expected gain and a normal residual (SD 3.21 s), required_gap says no positive gap gives a 70% success rate:
required_gap(age 20, k = 1, p = 0.5, sd = 3.21) = +0.97 s
required_gap(age 20, k = 1, p = 0.7, sd = 3.21) = -0.71 s
required_gap(age 20, k = 1, p = 0.8, sd = 3.21) = -1.73 s
The data show 78.6% success inside 1 s. The error model is wrong because it treats the gain as if it had nothing to do with the gap. In reality, being close is evidence of a pace advantage the tyre model does not include. When you build a pit-wall rule, use the empirical curve, or add the pace difference to the model explicitly. Don't trust a normal error around a tyre-only mean.
📋 Try it: Predict the race. At the 2025 Japanese GP, suppose a driver on 20-lap-old MEDIUMs is 0.8 s behind another on the same tyres, and expects the car ahead to cover after one lap. (a) Use
UC.required_gap(20, 1, 0.054), with Suzuka's pooled MEDIUM rate of 0.054 s/lap from the book's circuit table, to get the tyre-only expected gain. (b) Read the empirical success probability for a 0.8 s gap fromUC.success_curve(P). (c) Explain why (b) is more optimistic than (a) suggests, and which you would act on.🔄 Check your understanding 1. What is the empirical 50% undercut window, and from what? 2. Why do undercuts from inside 1 s gain so much more than from 2–3 s? 3. Why does a normal error around the tyre-model gain predict too little success at small gaps?
Answer
- 1.36 s, from a logistic fit of success on the gap over the 168 green, dry undercut situations of 2023–2026.
- The close attacker is often faster and being held up. Pitting frees him from the defender's dirty air and pace at the same moment he gets new tyres, so his fresh-tyre laps and his pit laps both compare better.
- It assumes the gain is independent of the gap. In reality a small gap signals a pace advantage, which raises the gain, so success at small gaps is higher than the error model allows.
13.6 The Defender's Reply: Covering, and the Overcut
The defender has two choices: reply immediately, or stay out and turn the situation into an overcut attempt of his own. His choice sets $k$, and $k$ is the strongest single lever in the data:
Success by k = laps between the two stops (k = 1: the defender covers the next lap):
kind k pairs successes success success_lo success_hi median_gain mean_gain
overcut 1 75 11 0.147 0.084 0.244 -1.421 -2.489
overcut 2 49 12 0.245 0.146 0.381 -1.504 -1.404
overcut 3 39 13 0.333 0.206 0.490 -1.152 1.339
undercut 1 104 35 0.337 0.253 0.432 0.461 0.155
undercut 2 43 22 0.512 0.368 0.654 1.649 1.355
undercut 3 21 15 0.714 0.500 0.862 5.651 7.504

📊 Figure (described): Undercut and overcut success rates for $k = 1, 2, 3$, with Wilson 95% intervals. Undercuts rise from 33.7% when the defender covers on the next lap to 51.2% at $k = 2$ and 71.4% at $k = 3$. Overcuts rise from 14.7% to 24.5% to 33.3%. Most undercut situations (104 of 168) are $k = 1$: the cover is the defender's normal reply.
When the defender covers on the next lap, the undercut works 33.7% of the time. When he waits three laps, it works 71.4% of the time. This is the 13.2 model at work: the fresh-tyre component grows almost exactly with $k$ (medians 1.206, 2.507 and 3.510 s for $k = 1, 2, 3$), while the in-lap and settle penalties do not. It is also why covering is the default. In 104 of the 168 undercut situations, the defender stopped on the very next lap.
The cover does not make the gap irrelevant. Within $k = 1$, undercuts from inside 1 s still succeeded 75.0% of the time (n = 20), against 32.6% from 1–2 s (n = 43) and 14.6% from 2–3 s (n = 41). A cover blunts an undercut by a car that is merely close. It does much less against a car that is close because it is faster.
⚠️ Common pitfall: reading $k$ as the attacker's choice. The attacker chooses when to stop; the defender chooses $k$. A table that says "$k = 3$ undercuts work 71% of the time" is not advice to "undercut by three laps". It describes what happens when the defender doesn't reply, perhaps because he could not (his own window, traffic, a team-mate in the pits) or chose not to. Fix: in a pre-stop model, leave $k$ out (Case Study 2 does). Use $k$ only to answer "given the reply, what happens?"
Why the defender sometimes waits
Covering is not free. A defender who stops one lap after the attacker takes his new tyres a lap earlier than his own plan. That shortens his first stint, lengthens his second, and leaves him on older tyres at the end of the race. It may also put him into traffic, or a slower car may be about to stop in front of him. In a one-stop race, Chapter 12's linear stint model says the total-race-time curve is flat near the optimum: within 1 s over a window of five to seven laps at Bahrain 2024 and Barcelona 2026. So covering usually costs the defender very little in total time. That is exactly why he usually does it.
The overcut: when staying out pays
The overcut needs three things that rarely line up. The defender's new tyres must be slow to give their advantage. The defender must lose time somewhere, in the pit lane or in traffic. And the attacker's old tyres must still be in decent shape. The data show the overcut doing best where degradation is low:
By circuit degradation tercile (median canonical stint deg of the races in the study at that circuit, fuel-corrected at the toolkit default):
kind deg_type pairs success success_lo success_hi median_gain
overcut low deg 29 0.379 0.227 0.560 -0.770
overcut mid deg 44 0.205 0.112 0.345 -1.600
overcut high deg 90 0.178 0.112 0.269 -1.408
undercut low deg 38 0.395 0.256 0.553 0.200
undercut mid deg 39 0.333 0.206 0.490 -0.094
undercut high deg 91 0.484 0.384 0.585 1.339
At the low-degradation third of circuits the overcut succeeded 37.9% of the time (n = 29), roughly as often as the undercut there (39.5%). At high-degradation circuits it succeeded 17.8% of the time (n = 90), against 48.4% for the undercut. The intervals overlap; these are terciles of only 24 circuits. But the direction matches the physics. When the old tyre is barely slower than a new one, the overcutter loses little by staying out, and the defender's cold out-lap becomes a larger share of the swing.
Which compound the defender goes onto matters less than you might expect. The overcut succeeded 22.3% of the time against a defender who fitted HARDs (n = 103), 21.4% against MEDIUMs (n = 42) and 22.2% against SOFTs (n = 18). If the HARD's slow warm-up were the overcut's main lever, the first number would stand out. It doesn't. The measured warm-up penalty of a new HARD on its second lap is only 0.048 s, against 0.417 s for a MEDIUM. The cold-tyre story is mostly about the out-lap itself, which every compound pays. In the decomposition, that cost sits in the out-lap delta.
🔍 Why this works: the overcut's lever is the out-lap, and the out-lap is shared. The defender's out-lap is slow, but so will the attacker's be, one to three laps later. What the overcutter actually gains is the difference: the defender's out-lap, often in traffic and on tyres from blankets limited to 70 °C (
data/reference/regulations_notes.md, slicks, 2023–2026), against his own out-lap, often in clean air because the cars around him have already stopped. When the field has cycled through its stops, the overcutter rejoins into space. That is why the successful overcuts in the decomposition table show large in-lap (+4.086 s mean) and out-lap (+3.686 s mean) deltas. The tyres did not win them. The defender's pit laps lost them.
A real overcut: Monaco 2025
The largest successful overcut among "ordinary" stops between non-team-mates near the front came at the 2025 Monaco GP. Monaco that year also required every driver to use at least three sets of tyres (data/reference/regulations_notes.md).
2025 Monaco GP: overcut HAM (P6) on ALO: ALO pits lap 16, HAM lap 18 (k = 2); gap +1.726 -> -10.296 s, gain +12.022 s
components (gain to HAM): in +2.306, out +2.241, fresh +3.148, settle +4.373; pit lane ALO 25.375 s, HAM 23.565 s; stop_diff +1.016; old sets: ALO HARD 16 laps -> HARD, HAM HARD 17 laps -> HARD
lap_number gap_s HAM_lap ALO_lap HAM_tyre HAM_age ALO_tyre ALO_age HAM_pos ALO_pos
15 1.726 75.991 75.593 HARD 14 HARD 15 6 5
16 -16.414 75.941 94.168 HARD 15 HARD 16 5 6
17 -21.869 74.977 80.283 HARD 16 HARD 1 5 7
18 -6.679 91.862 76.840 HARD 17 HARD 2 5 7
19 -5.934 78.042 77.226 HARD 1 HARD 3 5 6
20 -8.187 75.065 77.267 HARD 2 HARD 4 5 6
21 -10.296 75.750 77.921 HARD 3 HARD 5 5 6

📊 Figure (described): Top: the gap from Hamilton to Alonso (positive = Hamilton behind), +1.7 s before the stops, −10.3 s three laps after Hamilton's. Bottom: lap times. Alonso's stop laps (lap 16 and 17) peak first, Hamilton's (lap 18 and 19) two laps later. After both stops Alonso laps at 76.8–78.9 s against Hamilton's 75.0–75.8 s. The gap keeps growing to −24 s by lap 26.
At Monaco the timing line sits inside the pit lane, so the pit-lane time falls mostly in the in-lap rather than the out-lap (the toolkit README notes this). Read the split with that in mind. The total is unambiguous. Every component favoured Hamilton. Alonso's pit-lane time was 1.810 s longer, and his laps on new HARDs (76.8–78.9 s) were slower than Hamilton's laps on 15- to 17-lap-old HARDs (74.98–75.99 s). The data do not tell us why Alonso was slower after his stop. Jolpica classifies him as retired later in the race (status Retired, classified 19th). Following the book's rule, we assert no cause beyond what the results say. Hamilton finished fifth.
The lesson generalises. The very biggest "overcuts" in the data are mostly cases where the defender's stop or the laps after it went wrong. They are not cases where staying out was faster on tyre physics alone.
📋 Try it: Call the pit stop. 2026 Miami GP, end of lap 26. You are Norris's strategist. Norris leads. Antonelli, 2.090 s behind at the end of lap 25, has just made his stop (in-lap 26, 97.884 s) and will rejoin on HARDs. Norris's MEDIUMs are 26 laps old at the start of lap 27, and his last three green laps were 93.093, 93.384 and 93.059 s. A green-flag stop costs about 19.5 s at this race (median 19.550 s, n = 19). Do you (a) stop now (in-lap 27) to cover, or (b) stay out and try to overcut? Write down your call and the one number that would change it, before opening the reveal.
Reveal
Norris covered: he stopped on lap 27. It was the call the data favour. With $k = 1$, a defender keeps the place about two times in three (undercut success 33.7%, n = 104). The overcut option needed Norris's 26-lap-old MEDIUMs to beat Antonelli's first laps on new HARDs, which came in at 92.914 and 92.331 s, quicker than anything Norris had run since lap 24. Staying out would have cost him time on every lap.
The cover still failed, by 0.264 s at the end of lap 28. Measured canonically, Norris's stop cost 19.550 s against Antonelli's 17.904 s. His pit-lane time was 0.437 s longer, and his in-lap (98.504 s) and out-lap (107.153 s) were slower than Antonelli's. If his stop had cost what Antonelli's did, he would have been 1.382 s ahead at the end of lap 28. The number that would have changed the call is none of the tyre numbers. It is the expected execution difference between the two stops, and no strategist knows that in advance. The right call can lose. The decomposition tells you whether it lost because it was wrong, or because something else went wrong.
🔄 Check your understanding 1. Why is covering on the next lap the defender's usual reply? 2. The overcut works best at low-degradation circuits. Explain why in one sentence of physics. 3. Why are the biggest successful overcuts poor evidence that "staying out is faster"?
Answer
- It limits the attacker to one lap of new-against-old advantage, which cuts undercut success to 33.7%. And near a one-stop optimum the race-time cost of stopping a lap early is small.
- When the old tyre is barely slower than a new one, the overcutter loses little by staying out, while the defender still pays his cold out-lap and any traffic.
- In those cases most of the gain came from the defender's pit laps or his pace after the stop (slow stop, traffic, a problem), not from the overcutter's old tyres being quick.
13.7 Circuits and Seasons
Circuits
Seven circuits have at least eight undercut situations in our data:
Circuits with >= 8 undercut situations:
pairs success success_lo success_hi median_gain
kind overcut undercut overcut undercut overcut undercut overcut undercut overcut undercut
circuit
bahrain 23.0 24.0 0.217 0.625 0.097 0.427 0.419 0.788 -2.533 3.066
vegas 7.0 10.0 0.429 0.600 0.158 0.313 0.750 0.832 -2.085 5.784
hungaroring 10.0 8.0 0.100 0.500 0.018 0.215 0.404 0.785 -0.804 1.793
spa 12.0 14.0 0.083 0.429 0.015 0.214 0.354 0.674 -2.170 1.248
catalunya 14.0 10.0 0.286 0.400 0.117 0.168 0.546 0.687 -0.726 1.122
suzuka 4.0 11.0 0.000 0.364 0.000 0.152 0.490 0.646 -3.048 0.142
red_bull_ring 11.0 12.0 0.182 0.333 0.051 0.138 0.477 0.609 -1.396 0.462

📊 Figure (described): Success rates with Wilson 95% intervals for the seven circuits with at least eight undercut situations, undercut in blue and overcut in orange. Dotted lines mark the all-circuit averages. Bahrain's undercut rate (62.5%, n = 24) is the only one whose interval sits almost entirely above the average. At most circuits the intervals span 30–40 points and overlap heavily.
Bahrain is undercut country. The undercut succeeded there 62.5% of the time [42.7, 78.8] (n = 24), with a median gain of 3.066 s. Bahrain also has the highest pooled degradation rates in the book's circuit table: SOFT 0.142, MEDIUM 0.097 and HARD 0.095 s/lap, fuel-corrected at the toolkit default, 2023–2025. Its pooled green-flag pit loss is 24.128 s. That is the textbook combination: tyres that fall away quickly reward the first stopper. The model in 13.2 says the gain scales with $d$, and Bahrain's $d$ is about twice the pooled median.
Beyond Bahrain, honesty requires restraint. With 8 to 14 situations per circuit, a 40% and a 60% success rate are statistically indistinguishable. Las Vegas (60.0%, n = 10) has some of the lowest pooled degradation rates in the data, yet a high undercut rate, driven by the large gains in 2024 that Case Study 1 dissects. A ranking of circuits by undercut strength would mostly rank noise.
Grouping circuits by pit loss tells a similar, weaker story. The undercut succeeded 50.8% of the time (n = 65) at the highest-pit-loss third of circuits, against 37.0% (n = 54) at the lowest. A plausible reading: a long pit lane makes the pit laps a larger share of the window, so there is more room for one car's stop to go better than the other's. It does not mean a long pit lane favours stopping first on tyre grounds. In the two-car model, the pit loss cancels.
The front of the field is harder to undercut
One split surprised us more than any circuit table. Divide the situations by where the attacker was running on the lap before the first stop (code/05_cover_and_overcut.py):
By the attacker's running position (front = P1-P6 on the lap before the first stop):
kind front pairs success success_lo success_hi median_gain
0 overcut False 100 0.240 0.167 0.332 -1.771
1 overcut True 63 0.190 0.112 0.304 -1.131
2 undercut False 116 0.517 0.427 0.606 1.669
3 undercut True 52 0.231 0.137 0.361 -0.054
Undercuts by a car in the top six succeeded 23.1% of the time [13.7, 36.1] (n = 52). From P7 or lower they succeeded 51.7% of the time [42.7, 60.6] (n = 116). The intervals do not overlap. At the front, the median undercut gained nothing at all (−0.054 s).
The data cannot tell us why, but several readings fit. Front-running teams may execute stops more consistently, which shrinks the stop-execution swing that wins most undercuts. A covered leader rejoins into clean air rather than traffic. The midfield is denser, so a midfield defender is more likely to rejoin behind a slower car. Ray, Sector Four's retired actuary, puts it more simply: the base rate you need is the one for the part of the field you are betting on. By both measures, Antonelli's Miami undercut, from P2 and 2.090 s back, was a long shot.
📋 Try it: Analyze this session. 2024 Bahrain GP, Race. Run
UC.find_undercut_attempts(f1data.session(2024, "Bahrain", "R")). For each undercut situation, print the four components andstop_diff. How many succeeded? In the successes, was the fresh-tyre component or the stop-execution difference larger? Compare with the race's canonical deg (metrics.degradation_table). Is Bahrain's high undercut rate a tyre story in this race?
Seasons, and 2026
By season:
year kind pairs dry_races per_dry_race success success_lo success_hi median_gain
2023 overcut 51 19 2.684 0.314 0.203 0.450 -0.951
2023 undercut 48 19 2.526 0.438 0.307 0.577 0.618
2024 overcut 46 20 2.300 0.217 0.123 0.356 -1.142
2024 undercut 56 20 2.800 0.446 0.324 0.576 0.932
2025 overcut 46 20 2.300 0.174 0.091 0.307 -1.834
2025 undercut 44 20 2.200 0.432 0.297 0.578 0.960
2026 overcut 20 17 1.176 0.100 0.028 0.301 -1.370
2026 undercut 20 17 1.176 0.350 0.181 0.567 0.674
Undercut success 2026 minus 2023-25: -8.9 points [-30.9, +14.5] (n = 20 vs 148)

📊 Figure (described): Left: success rates by season with Wilson intervals. The undercut is flat at 43–45% in 2023–2025 and 35.0% in 2026. The overcut falls from 31.4% in 2023 to 10.0% in 2026. Right: situations per dry race (all situations divided by the season's dry races). It is about 2.2–2.8 for each kind in 2023–2025, and 1.18 in 2026.
The undercut's success rate was remarkably stable from 2023 to 2025: 43.8%, 44.6%, 43.2%. In 2026 it is 35.0%, but on 20 situations. The difference from 2023–25, −8.9 points, has an interval from −30.9 to +14.5. We cannot tell whether the new regulations changed the undercut. The overcut's steady decline, from 31.4% to 10.0%, is more suggestive, but its 2026 figure also rests on 20 situations.
What clearly changed in 2026 is how often the situation arises: 1.18 undercut situations per dry race, against 2.2–2.8 before. Two measured facts are consistent with that:
- Fewer green-flag stops. The book's near-field pit-loss table counts 284 green-flag stops in 2026 (21 races), against 420–485 in each of 2023–2025 (22–24 races). It counts 61 stops under the VSC in 2026, against 10–22 in earlier seasons. Stops under a neutralisation are excluded by design: a VSC changes the pit loss to a median 15.671 s, and an SC to 12.722 s, so it is a different game (Chapter 14).
- A more spread-out field. The like-for-like qualifying spread from the fastest to the slowest team widened in 2026 (a 2.94% season median, against 1.29% for 2022–2025). Fewer cars run within 3 s of each other when the stops come.
Neither fact proves the cause. Chapter 29 looks at the 2026 regulations in the round.
🔄 Check your understanding 1. Why can't we say whether Las Vegas or Hungaroring is a "better undercut circuit" than Spa? 2. Has the 2026 rule change made the undercut less effective? What does the interval say? 3. Why might a high pit loss be associated with higher undercut success, when the model says the pit loss cancels?
Answer
- With 8–14 situations each, their Wilson intervals span 30–40 points and overlap heavily. The differences are within noise.
- Not demonstrably. The 2026 rate is 35.0% (n = 20), and the difference from 2023–25 is −8.9 points [−30.9, +14.5]. That is consistent with no change.
- The pit loss cancels only on average. Longer pit laps leave more room for the two stops to differ, so execution decides more of the outcome. The association may also reflect other features of those circuits (degradation, layout).
13.8 What the Data Can't See, and What the Definitions Choose
Choices that move the numbers
Every number in this chapter rests on three choices: the 3 s gap window, $k \le 3$, and an outcome measured two laps after the second car's out-lap. code/06_circuits_seasons.py reruns the whole study with each one changed:
Sensitivity of the headline to the definitions:
setting settle_laps kind pairs success lo hi median_gain
outcome 0 laps after 2nd out-lap 0 overcut 171 0.193 0.141 0.259 -1.770
outcome 0 laps after 2nd out-lap 0 undercut 180 0.467 0.395 0.539 1.306
outcome 1 laps after 2nd out-lap 1 overcut 169 0.201 0.148 0.268 -1.668
outcome 1 laps after 2nd out-lap 1 undercut 175 0.446 0.374 0.520 1.005
outcome 2 laps after 2nd out-lap 2 overcut 163 0.221 0.164 0.291 -1.396
outcome 2 laps after 2nd out-lap 2 undercut 168 0.429 0.356 0.504 0.755
outcome 4 laps after 2nd out-lap 4 overcut 158 0.241 0.181 0.313 -1.214
outcome 4 laps after 2nd out-lap 4 undercut 162 0.426 0.352 0.503 0.629
outcome 6 laps after 2nd out-lap 6 overcut 147 0.231 0.170 0.306 -1.174
outcome 6 laps after 2nd out-lap 6 undercut 156 0.429 0.354 0.508 0.573
gap window 2 s 2 overcut 123 0.268 0.198 0.353 -1.123
gap window 2 s 2 undercut 111 0.550 0.457 0.639 1.705
gap window 5 s 2 overcut 209 0.177 0.131 0.234 -1.794
gap window 5 s 2 undercut 267 0.288 0.237 0.345 0.859

📊 Figure (described): Undercut and overcut success rates when the outcome is measured 0, 1, 2, 4 or 6 laps after the second car's out-lap, with Wilson intervals and sample sizes. The undercut moves only from 46.7% to 42.9%, and the overcut from 19.3% to 23.1%. Once both cars have stopped and run two laps, the order rarely changes.
Two lessons. First, the outcome lap barely matters for success. Once both cars have stopped, the order is mostly settled: the undercut rate moves less than four points between measuring on the out-lap and six laps later. The median gain does shrink, from 1.306 s to 0.573 s, as the second stopper's younger tyres win time back. That is the settle term of 13.2, $k \times d$ per lap, showing up in the data.
Second, the gap window matters a lot. Narrow it to 2 s and the undercut rate rises to 55.0%. Widen it to 5 s and it falls to 28.8%. "The undercut works X% of the time" is meaningless without the window. Always quote it.
What the timing data cannot see
- Intent. We detect two adjacent cars stopping within three laps. We cannot tell an undercut from a stop forced by worn tyres, a stop to avoid a slower car about to pit, or a team strategy set before the race. The radio index in our data has audio URLs but no transcripts, so we cannot read the calls.
- Traffic, directly. We infer it from lap times and positions (in Case Study 1, one attacker's lap times fall away while his position changes), but we do not measure the cars around each driver on every lap. A traffic-aware version would use the full field's line timestamps. That is an exercise.
- Tyre temperatures and the blanket state. The warm-up penalty is inferred from lap times. We have no tyre-temperature channel, and teams do. Whether a tyre was slow on its out-lap because it was cold, or because the driver was in traffic, is indistinguishable in our data.
- Stationary time. Pit-lane time is available for every stop, but stationary time only for some 2024–2026 race stops. When an undercut is won in the pit lane, we usually cannot say whether it was the wheel change or the pit-lane run.
- Selection. Teams choose when to try undercuts, and they do it when they expect them to work. Undercuts that were not tried, because the strategist judged them hopeless, never enter our sample. The 42.9% is the success rate of situations that happened, not of every possible undercut.
⚠️ Common pitfall: quoting a success rate without its definition. "The undercut works 43% of the time" and "the undercut works 55% of the time" are both true of the same races: the first uses a 3 s window, the second a 2 s one. Fix: every undercut statistic carries its gap window, its $k$ range, its outcome lap and its filters (green, dry), plus $n$ and an interval.
Spaced Review
Chapter 12: break-even and the cost of a stop. Before reading on, answer this: what is the pooled green-flag pit loss, and how many laps does a median fresh-tyre advantage need to repay it? It is 22.512 s (n = 1,921 stops), and at the median fresh-tyre delta of 1.078 s/lap (fuel-corrected) the break-even is 20.9 laps. Notice how this chapter used the same numbers differently. Chapter 12 asked whether a stop pays over a stint. The undercut asks whether one car's stop pays relative to another car's over a few laps. In that comparison the pit loss cancels, and only the difference between two stops matters.
Chapter 4: the tyre window and warm-up. Why is a new tyre slow on its first lap, and why does the slowness differ by compound? It leaves the blankets below its working temperature (slick blankets were limited to 70 °C in 2023–2026) and needs energy from sliding and braking to reach its window. The measured penalties on stint lap 2 (MEDIUM 0.417 s, HARD 0.048 s, SOFT 0.315 s) entered the two-car model. They largely cancelled between attacker and defender, because both pay them.
Chapter 10: circuits differ in pit loss. Which circuit has the cheapest green-flag stop in our data, and which the dearest? Spa at 19.274 s and Imola at 28.164 s (pooled medians, circuits with ≥ 20 stops). In this chapter the higher-pit-loss third of circuits showed higher undercut success (50.8% against 37.0%). The explanation is not that stops are dearer there, but that longer pit laps leave more room for two stops to differ.
Project Checkpoint: undercut.py
Aisha has a strategy optimiser from Chapter 12 that prices one car's race in isolation. This chapter gives Box Box its first two-car module: project/boxbox/undercut.py. It imports the toolkit (and, in predict_pair, the pooled offsets from strategy.py). It does not modify Chapter 12's code.
Public functions.
simulate_pair(old_age_b, old_age_a=None, k=1, deg_s_per_lap=0.051, ...)runs the lap-by-lap two-car model. It handles compounds, offsets, warm-up and optional extras (stop delta, in-lap push, traffic).undercut_gain(old_age, k=1, deg_s_per_lap=0.051, settle_laps=2, **kw)returns the gain and its four components.required_gap(old_age, k=1, deg_s_per_lap=0.051, p_success=None, residual_sd_s=None, **kw).predict_pair(row, degs=None)gives the model's gain for one measured situation.find_undercut_attempts(session, gap_max=3.0, max_k=3, settle_laps=2)andstudy(sessions=None, **kw).summarise(pairs, by=None),decompose(pairs, by="kind"),success_curve(pairs, kind="undercut")andpair_gap(session, attacker, defender).
find_undercut_attempts reproduces the book's undercut study exactly: 168 undercut and 163 overcut situations in 72 races, with identical gains for every pair.
# code/project_checkpoint.py (excerpt)
s = f1data.session(2026, "americas", "R")
pairs = UC.find_undercut_attempts(s)
dt = metrics.degradation_table(s, min_laps=8)
race_deg = dt[dt.compound.isin(S.DRY)].groupby("compound").slope_s_per_lap.median().to_dict()
pairs["model_gain"] = [UC.predict_pair(r, race_deg) for r in pairs.itertuples()]
res, f = UC.success_curve(pd.read_csv("code/undercut_pairs.csv"), "undercut")
model, inputs = S.fit_race_model(s) # Chapter 12's fitted race model supplies deg and offsets
c = model.compounds
g = UC.required_gap(20, k=1, deg_s_per_lap=c["MEDIUM"].deg_s_per_lap,
deg_new_s_per_lap=c["HARD"].deg_s_per_lap, old_compound="MEDIUM", new_compound="HARD",
offset_old_s=c["MEDIUM"].offset_s, offset_new_s=c["HARD"].offset_s)
2026 United States Grand Prix: 3 situations; race deg (fuel-corrected, toolkit default) {'HARD': 0.057, 'MEDIUM': 0.081, 'SOFT': 0.081}
kind B A B_pos lap_first lap_second gap_before gain model_gain success
overcut LEC VER 3 13 15 2.163 -2.794 -1.620 False
overcut SAI ALB 17 16 17 2.290 -9.769 -1.053 False
overcut ALB COL 17 30 31 0.267 7.531 -0.197 True
Undercut success curve (logistic on the gap, 168 situations):
gap 0.5 s -> P(attacker ahead) = 0.80
gap 1.0 s -> P(attacker ahead) = 0.64
gap 1.5 s -> P(attacker ahead) = 0.44
gap 2.0 s -> P(attacker ahead) = 0.26
gap 2.5 s -> P(attacker ahead) = 0.14
MEDIUM (20 laps old) -> HARD, defender replies after 1 lap(s): expected gain = required gap 1.56 s; logistic P(success) from that gap 0.42
MEDIUM (20 laps old) -> HARD, defender replies after 2 lap(s): expected gain = required gap 3.15 s; that gap is beyond the 3 s the success curve was fitted on
Miami 2026, ANT on NOR, as the model sees it (pooled deg):
predicted +1.221 s, measured +3.297 s, gap before 2.090 s, P(success | gap) = 0.24
What the output means. The 2026 USGP had three situations, all overcuts. The model called the direction of two of them. The one success, Albon on Colapinto from 0.267 s, is the kind of close-quarters overcut the success curve gives about a 50–50 chance. At this race's fitted wear rates (MEDIUM 0.081 s/lap, fuel-corrected), a 20-lap-old MEDIUM undercut onto HARDs is expected to close 1.56 s if the defender covers next lap. The empirical curve gives a 42% success chance from exactly that gap. The checkpoint also shows the module being honest about Miami. The tyre model expected +1.221 s, the measured gain was +3.297 s, and from a 2.090 s gap the empirical curve gave Antonelli only a 24% chance.
How it plugs in later. Chapter 18's pitwall.py can call required_gap and success_curve every lap to flag "undercut threat" and "undercut chance" for the cars either side of ours. Chapter 27's Monte Carlo engine can use the measured gain distribution (quartiles −1.026, +0.755, +3.542 s), not the model mean, when two cars stop close together, because that distribution is what races actually produce. Chapter 35's pass model covers the other way to gain a place: on the road.
Chapter Summary
| Quantity | Value (OpenF1 races 2023–2026 R21, green, dry; attacker ≤ 3.0 s behind, stops 1–3 laps apart) |
|---|---|
| Undercut success | 42.9% [35.6, 50.4], n = 168 |
| Overcut success | 22.1% [16.4, 29.1], n = 163; difference +20.8 points [+10.6, +30.4] |
| Median gain | undercut +0.755 s [+0.199, +1.649]; overcut −1.396 s [−1.976, −0.885] |
| Undercut by gap | 0–1 s 78.6% (n = 42); 1–2 s 40.6% (69); 2–3 s 19.3% (57); 50% point 1.36 s (logistic) |
| Undercut by defender's reply | k = 1: 33.7% (104); k = 2: 51.2% (43); k = 3: 71.4% (21) |
| Undercut by running position | attacker P1–P6: 23.1% (n = 52); P7 or lower: 51.7% (n = 116) |
| Components, undercut medians | fresh-tyre +1.411, in-lap −0.278, out-lap −0.023, settle −0.437 s |
| Successful undercuts with the cheaper stop | 73.6% (failed: 30.2%) |
| Fresh-tyre step per lap | ~1.2–1.4 s at any tyre age (slope −0.028 s per lap of age, CI includes 0) |
| Model vs reality | median predicted +1.055 s vs measured +0.755 s; rank correlation 0.044; robust residual SD 3.21 s |
| 2026 | undercut 35.0% (n = 20), overcut 10.0% (n = 20); 1.18 situations per dry race vs 2.2–2.8 before |
Formulas.
- Two-car gain (same compound, equal stops, no warm-up): $G = k\,d\,(a - s)$, where $d$ is the fuel-corrected wear rate.
- Success means gain > gap before. The required gap is the expected gain, or the empirical 50% point (1.36 s).
- Decomposition: gain = in-lap delta + out-lap delta + fresh-tyre delta + settle delta (lap-time sums, within ±0.206 s of the line-time gain for 90% of pairs).
Decision checklist for the pit wall.
- Is the car ahead within about 1.4 s? Above 2 s, an undercut on tyres alone is a long shot (19.3%).
- Will he cover next lap? Assume yes (104 of 168 did), and price $k = 1$.
- Is the car behind you faster, or just close? Closeness from a pace advantage is what makes 0–1 s undercuts work.
- Where will you rejoin? Traffic after the stop is the most common way an undercut fails that a tyre model cannot see.
- Is degradation high (undercut) or low (overcut has a chance)? Use the fuel-corrected rate.
- Is a neutralisation likely? Under a VSC or SC the pit loss changes, and this chapter's numbers do not apply (Chapter 14).
- After the race, decompose before you explain: was it the tyres, the stop or the traffic?
What's Next
Everything in this chapter assumed green flags, because a safety car changes the price of a stop: 12.722 s under an SC and 15.671 s under a VSC, against 22.512 s green. That turns the undercut arithmetic upside down. Chapter 14 measures how often races are neutralised, when, and at which circuits, and introduces the book's third anchor: the Singapore safety-car gamble.