On 14 June 2026 the Formula One field raced 66 laps around the Circuit de Barcelona-Catalunya. The track
In This Chapter
- 4.1 Why rubber grips at all
- 4.2 Compounds, allocations and the rules of the game
- 4.3 The operating window: temperature, load and the things we cannot measure
- 4.4 The threshold concept: lap time = base pace + fuel + tyre age
- 4.5 Building the first degradation curve from one race
- 4.6 Wear, heat and the shape of a stint
- 4.7 The cliff: how often do tyres really fall off?
- 4.8 Circuits, compounds and what degradation does to a race
- Spaced Review
- Project Checkpoint: tyres.py
- Chapter Summary
- What's Next
Chapter 4 — Tires: The Most Important Component on the Car — Grip, Temperature, Degradation, and the Window
On 14 June 2026 the Formula One field raced 66 laps around the Circuit de Barcelona-Catalunya. The track surface sat at a median of 50.4 °C. Five months later, on 22 November, the same cars and the same Pirelli construction raced 50 laps down the Las Vegas Strip on a surface at 14.0 °C. Same season, same rules, same tyre supplier, most of the same drivers. Here is what the timing data say the tyres did.
At Barcelona, a typical MEDIUM stint lost 0.182 s per lap of tyre age. A typical HARD stint lost 0.124 s/lap. A SOFT lost 0.237 s/lap. Those are medians over every stint with at least eight clean laps, with lap times corrected for fuel burn at the toolkit's default assumption. Run the correction from the race's own data instead and the numbers get slightly worse: 0.196, 0.138 and 0.251 s/lap. Lewis Hamilton won for Ferrari from second on the grid by stopping three times. Pole-sitter George Russell stopped twice and finished 19.561 s behind.
At Las Vegas, the typical SOFT stint did not lose time as it aged. It gained it: −0.037 s/lap at the default fuel correction and −0.065 s/lap with the race's own. Max Verstappen won from pole with one stop, SOFT to MEDIUM, 0.639 s ahead of Lando Norris.

📊 Figure (described): For every stint in each race we measure each clean lap against the median of that set's first two flying laps, then take the median across all stints at each point in the stint. The Barcelona line (red) climbs almost steadily to about +3.1 s after 23 laps. The Las Vegas line (blue) drops by about a second within the first three laps and keeps edging down. Each race is corrected with its own fuel-plus-track-evolution slope. The takeaway: "tyre degradation" is not a property of the tyre alone.
Ines was the first to post the chart in the Sector Four group chat.
Ines: So the tyres in Vegas got better the more they were used? That can't be right. Rubber wears out. My running shoes wear out.
Tom: Rubber wears out everywhere. But a lap time isn't a measure of rubber. It's a measure of grip minus everything else that changed: fuel, track, temperature.
Ines: So which part of that line is the tyre?
Tom: That's the whole chapter, isn't it.
It is. Tyres are the only parts of the car that touch the track. Every force that accelerates, brakes or turns the car passes through four contact patches, each roughly the size of a sheet of paper. Downforce (Chapter 3) only matters because it presses those patches harder into the asphalt. Strategy (Chapter 12) is mostly a set of decisions about when to replace them. By the end of this chapter you will know why rubber grips, why it needs a temperature window, how F1's compounds and allocation rules work, and how wear and heat show up in lap times. You will also be able to build the first degradation curve from a real race and separate the tyre from the fuel and the track. The last skill is the one most fans and many analysts get wrong.
🏎️ Fan Track: Read every section. Skip the code blocks if you like; the text after each block says what the output means. Spend most of your time on §4.4 (the threshold concept) and the two 📋 scenarios.
🔧 Engineering Track: §4.1, §4.3 and §4.6 carry the physics. Treat them as the qualitative setup for Chapter 5, where Pacejka's Magic Formula and a thermal model make it quantitative. Run
03_lap_time_decomposition.pyyourself.🎮 Sim Racer Track: §4.3 (the window and warm-up) and §4.6 (graining, blistering and the out-lap) map directly onto what your sim's tyre model does. Compare the real warm-up penalties in Figure 7 with what your league's telemetry shows.
4.1 Why rubber grips at all
Start with the equation you met in Chapter 1. A tyre can transmit a horizontal force up to the friction limit:
$$F_{\max} = \mu \, N$$
In plain English, the most sideways (or forward, or backward) force a tyre can pass to the road is its friction coefficient $\mu$ times the normal load $N$ pressing it down. For a whole car, $N = mg + L$, where $L = \tfrac12 \rho v^2 C_L A$ is the downforce from Chapter 3. Double the load, and if $\mu$ stayed constant you would double the grip.
Two things make that simple picture misleading for a racing tyre, and both matter for strategy.
First, rubber does not obey Coulomb's dry-friction law. A brick on a table has a $\mu$ that hardly depends on speed, temperature or load. Tyre rubber is viscoelastic: it behaves partly like a spring (elastic) and partly like a very thick liquid (viscous). Its grip comes from three mechanisms working at once:
- Adhesion. At the molecular scale, rubber chains bond briefly to the stone in the asphalt and are torn off as the tyre slides. This works best on a clean, smooth surface and on a warm, soft compound.
- Hysteresis (deformation). The asphalt's texture, the bumps of aggregate a few millimetres to fractions of a millimetre across, pushes into the rubber as it slides over them. A viscoelastic material does not give back all the energy it took to deform it. The rubber is pushed in faster than it springs back, so more of it presses on the front of each bump than on the back. The pressure imbalance is a force that resists sliding. That force is grip.
- Cohesion loss (wear). At the limit, the rubber tears. Small particles come off, and the tread gets thinner. Wear is not a grip mechanism you want, but it is the price of the other two.
Second, the coefficient falls as load rises. This is called load sensitivity. Doubling the load on a tyre gives less than double the grip. It is why a car with lots of weight transfer onto one tyre has less total grip than one that spreads its load evenly, and why downforce is valuable but not free. We leave the mathematics to Chapter 5. The point for now is that $\mu$ is not a constant. It depends on temperature, load, sliding speed, surface and the state of the rubber.
📐 Definition: Grip (friction coefficient, $\mu$). The ratio of the horizontal force a tyre can transmit at its limit to the vertical load on it. For a racing slick it depends strongly on rubber temperature, and it falls as load rises (load sensitivity).
🔍 Why this works: why heat matters so much. Hysteresis grip is largest when the rubber is near the temperature at which its molecular chains change from glassy (stiff, little internal friction) to rubbery (soft, flowing). In that range the rubber loses the most energy each time a bump of asphalt deforms it, so it resists sliding most strongly. Too cold, and the rubber is stiff and glassy: it slides over the asphalt instead of wrapping around it. Too hot, and it is soft and runny: it deforms easily but gives back almost all the energy, and it starts to tear and blister. Between the two is the operating window. Each compound's chemistry puts its window in a different temperature range. That is most of what "soft", "medium" and "hard" mean.
Where the heat comes from
A tyre heats up in two places at once.
- The surface heats from sliding. Every corner involves a small slip angle: the contact patch is slightly misaligned with the direction of travel, so part of it slides. The friction power is
$$P_{\text{slide}} = F \cdot v_{\text{slip}}$$
In words, the heat going into the tread is the force the tyre is transmitting times the speed at which the rubber is sliding over the road. - The carcass (the internal structure) heats from flexing. As the tyre rolls, each part of the sidewall and belt is squashed and released once per revolution, and the hysteresis loss heats it from the inside.
🧪 Illustrative model: parameters are assumptions chosen to be plausible for a current F1 car, not team data. Suppose a front tyre carries a lateral force of 8 kN through a long corner while its contact patch slides at 0.5 m/s relative to the road. Then $P_{\text{slide}} = 8000 \times 0.5 = 4{,}000$ W: four kilowatts of heat into the tread of one tyre, for as long as the corner lasts. Double the slip speed, by sliding the car, and the heat doubles. This is why drivers "manage" a tyre by sliding less, not just by going slower.
Tom put it the way his Formula Student team does: the driver's right foot and hands decide how much heat goes in; the circuit and the weather decide how fast it comes out. The window is the balance point.
What the tyre looks like on paper
Our reference table data/reference/tyres.csv records Pirelli's published sizes. From 2022 to 2025 the cars
ran 18-inch rims, with treads 305 mm wide at the front and 405 mm at the rear and a 720 mm overall diameter
(Pirelli press release, 15 July 2021). For 2026 Pirelli made the tyres narrower by 25 mm at the front and
30 mm at the rear, and smaller in diameter by 15 mm and 10 mm. A set of four is 1.6 kg lighter (Pirelli,
"F1 2026 Here we go!", 12 February 2026). Mercedes publishes the 2026 sizes as 280 × 705 mm front and
375 × 710 mm rear. Less rubber on the road means less contact patch for the same load, which is part of why
the 2026 cars are slower, alongside the lower downforce and new power units of the 2026 rules.
What our data can and cannot see
Teams measure tyre surface temperatures with infrared sensors, carcass temperatures and pressures with in-rim sensors, and wear by measuring tread depth after every run. Our snapshot has none of that. OpenF1 gives us no tyre temperatures, no tyre pressures, no wear measurement, no slip angles and no steering angle. What we do have:
- Compound and tyre age for every lap of every stint (from OpenF1
stints); - Lap and sector times, which are the end result of the tyre's grip;
- Track and air temperature roughly once a minute from the circuit's weather station;
- Car telemetry at about 3.7 Hz (speed, throttle, on/off brake) for qualifying and races.
Everything we say about grip, heat and wear in this chapter is therefore an inference from lap times. That is not a weakness to hide. It is the same position a rival strategist is in when they look at your car on the timing screen, and it is what the pit wall does with everyone except its own two cars.
4.2 Compounds, allocations and the rules of the game
The C-numbers
Since 2019 Pirelli has numbered its dry compounds rather than naming them. The range is C1 (hardest)
upward, and the softest number has changed with the seasons. From our reference table (sources in
data/reference/tyres.csv):
| Season | Dry compound range | Source |
|---|---|---|
| 2019 | C1–C5 | Pirelli press, 18 Feb 2019 |
| 2023 | C0–C5 (a new C1 slotted between the old C1, renamed C0, and C2) | Pirelli, 2023 Bahrain GP preview |
| 2024 | C1–C5 (C0 dropped) | Wikipedia, secondary |
| 2025 | C1–C6 (C6 first raced at Imola 2025) | Pirelli press, 12 May 2025; Formula1.com |
| 2026 | C1–C5 (C6 not validated: too close in lap time to C5) | Pirelli press, 24 Nov 2025 |
For each Grand Prix, Pirelli nominates three of these compounds. They are labelled HARD (white sidewall), MEDIUM (yellow) and SOFT (red) relative to each other. At Imola 2025, for example, the three were C4, C5 and C6 (Formula1.com), so that weekend's "HARD" was a compound that would be the SOFT at many other circuits.
📐 Definition: Compound label vs C-number. The C-number is the rubber recipe (C1 hardest). The label (HARD/MEDIUM/SOFT) says only where that recipe sits among the three nominated for the weekend. OpenF1's
compoundfield records the label, not the C-number.⚠️ Common pitfall: comparing "SOFT" across circuits. A SOFT at one race and a SOFT at another can be different rubber. Pooling every SOFT stint from four seasons answers "how did the softest of the three behave?", not "how does a given compound behave?" Our data snapshot does not record the C-number per event, so every pooled compound figure in this book carries that caveat. When you need the real compound, look up Pirelli's preview for that race.
There are also two treaded tyres: the INTERMEDIATE (green) for a damp or drying track and the full WET (blue) for standing water. Pirelli's published water-dispersal figures vary by year. The 2020 figure for the intermediate is 35–40 litres per second per tyre at 300 km/h (Pirelli, 29 September 2020). There is no 2026 figure in our reference table, so always give the year with any number. Chapter 15 handles wet running. This chapter is about dry tyres.
Allocation and usage rules
The sporting regulations constrain how a team can use its tyres over a weekend. From tyres.csv:
- Dry sets per driver: 13 on a normal weekend and 12 on a sprint weekend (2025 Sporting Regulations, Art. 30.2; 2026 Section B, Art. B6.3). In 2026 a standard weekend that includes an in-competition tyre test also gets 12. Each driver also gets 5 sets of intermediates and 2 of wets.
- Two dry compounds in a dry race. Every driver must use at least two different dry specifications in the race unless intermediates or wets are used. The penalty for breaking the rule is disqualification, or 30 s if the race is stopped and not restarted.
- The Q2 starting-tyre rule is gone. From 2014 to 2021, the drivers who reached Q3 had to start the race on the tyres they set their fastest Q2 time on. The rule was dropped for 2022 (RaceFans, 18 February 2022) and has not returned.
- The 2023 Alternative Tyre Allocation trial (Hungary and Monza) cut the dry sets to 11 (3 hard, 4 medium, 4 soft) and forced hards in Q1, mediums in Q2 and softs in Q3 in a dry qualifying (Pirelli, 17 July 2023).
- Tyre blankets pre-heat tyres before they go on the car. The limits are set event by event in the FIA/Pirelli previews. Since 2023 slicks have been allowed up to 70 °C for 2 hours. Intermediates were 60 °C until Miami 2026 and 70 °C from then on. Full wets had no blankets at all from 2023 (the blanket-free full wet debuted at Monaco 2023), but they were allowed 40 °C from Miami 2026 and 60 °C at Las Vegas 2026.
The allocation is the first strategic constraint. Thirteen sets must cover three practice sessions, three
qualifying segments and a race. A set burned in practice is a set you don't have for the race. This is why
teams start races on tyres used in qualifying, and why the toolkit's tyre_age for a race's first stint is
often 2 or 3 rather than 0.
📐 Definition: Tyre age. The number of laps already completed on a set when a lap begins:
tyre_age = tyre_age_at_start + (lap_number − stint lap_start). It is 0 on the first lap of a brand-new set. A set used in qualifying starts the race with age > 0.
What the field actually races on
01_compounds_and_usage.py counts race laps by compound, season by season.
laps = f1data.laps(kind="R") # every race lap 2023-2026 (through R21)
laps = laps[laps.compound.isin(["SOFT", "MEDIUM", "HARD", "INTERMEDIATE", "WET"])]
share = laps.groupby(["year", "compound"]).size().unstack(fill_value=0)
pct = 100 * share.div(share.sum(axis=1), axis=0) # row percentages: share of each season's laps
print(pct.round(1))
Share of race laps by compound (%), OpenF1 races 2023-2026 (2026 through R21):
compound SOFT MEDIUM HARD INTERMEDIATE WET
year
2023 14.2 34.0 48.6 3.0 0.2
2024 6.6 33.4 51.7 8.2 0.1
2025 12.6 41.0 41.4 5.0 0.0
2026 30.1 31.9 35.8 2.2 0.0
groupby(...).size().unstack() counts laps per (season, compound) pair and spreads the compounds across
columns. Dividing each row by its total turns counts into shares.

📊 Figure (described): One horizontal bar per season, split into SOFT (red), MEDIUM (yellow), HARD (white), INTERMEDIATE (green) and WET (blue) shares of all race laps. From 2023 to 2025 the HARD carried 41–52% of race laps and the SOFT 7–14%. In 2026 the SOFT share jumped to 30%. The takeaway: the "race tyre" changes with the rules and the compound choices, and 2026 is a softer-racing season.
The 2026 jump is real in the data, but the lap counts alone cannot tell you why. Plausible contributors include Pirelli's 2026 nominations, the new tyre sizes and the different energy and aero demands of the 2026 cars. Separating them needs the per-event C-numbers, which our snapshot lacks.
The same script measures how long teams run each compound. We keep only dry races: races with no intermediate or wet lap and no rainfall flag anywhere. That is 76 of the 91 races in the snapshot. We then look at stints of at least three laps that ended in a pit stop.
Stint length (laps) on stints of >= 3 laps that ended in a pit stop, dry races 2023-2026:
count 10% 25% 50% 75% 90% max
compound
SOFT 388.0 6.0 10.0 14.0 20.0 27.0 55.0
MEDIUM 1186.0 9.0 13.0 18.0 25.0 31.0 67.0
HARD 751.0 13.0 18.0 23.0 29.0 39.0 72.0
Median length of stints that ran to the flag: {'SOFT': 17.0, 'MEDIUM': 23.0, 'HARD': 30.0}
...
Starting compound share, dry races (%): {'MEDIUM': 64.7, 'SOFT': 21.5, 'HARD': 13.8}

📊 Figure (described): Box plots of laps run on a set before the stop, for SOFT (median 14 laps), MEDIUM (18) and HARD (23), over 76 dry races. The boxes overlap heavily: a long SOFT stint outlasts a short HARD stint. The takeaway: harder compounds are run longer, but by about five laps at the median, not by a factor of two.
Two lessons hide in this table. First, MEDIUM is the default race start: 64.7% of starters in dry races. Second, the spread is huge. A HARD stint ranges from 13 laps (10th percentile) to 39 (90th). The compound sets a range; the race decides where in it you stop.
🔄 Check your understanding 1. At a given Grand Prix, is the HARD always C1? 2. Why do many drivers start a race on a set with
tyre_ageof 2 or 3? 3. In a dry race, can a driver run SOFT–SOFT with one stop?
Answer
- No. HARD is the hardest of the three compounds Pirelli nominated for that weekend. At Imola 2025 it was C4.
- They are starting on a set already used in qualifying. With 13 (or 12) dry sets for the whole weekend, reusing qualifying sets is normal.
- No. A dry race requires at least two different dry specifications. SOFT–SOFT breaks the rule unless an intermediate or wet tyre is also used.
4.3 The operating window: temperature, load and the things we cannot measure
Every racing tyre has a window: a band of rubber temperature in which it delivers its best grip. Below it, the tyre is glassy and slides. Above it, the surface overheats, grip falls and the rubber can start to blister. Pirelli and the teams know the windows for each compound. Our reference table has no published window figure, and our data has no tyre temperatures, so we will not invent one. Instead, we look at the window's fingerprints in the data we do have.
Blankets, out-laps and warm-up
A new set comes out of its blanket at up to 70 °C (the 2023–2026 slick limit), loses heat on the way to the car, and then has to be brought into its window on the out-lap and first flying lap. The pit loss you will meet in Chapter 12 already contains the out-lap: the canonical green-flag pit loss is (in-lap + out-lap) − 2 × the driver's reference pace. Its pooled median over 2023–2026 races is 22.5 s (1,921 stops; the circuit figures range from 19.3 s at Spa to 28.2 s at Imola).
What about the first flying lap after the out-lap? That lap is clean by the toolkit's definition, so it enters degradation fits, and if the tyre is not yet in its window it will be slow. Section 4.6 measures how slow.
Track temperature: hot track, more wear?
The weather station gives us one number for the track, roughly once a minute. In the 91 races of our snapshot, the race-median track temperature runs from 14.0 °C to 55.4 °C (median 36.1 °C). The hottest event by median is the 2026 Spanish GP at Madring in Madrid (53.6 °C) and the coolest is Las Vegas (17.5 °C over four races).
The intuitive claim is "hotter track, more degradation". It is half right. 05_circuits_and_temperature.py
regresses each stint's degradation rate on the stint's mean track temperature, with the compound as a
fixed effect (a separate intercept for each compound, so SOFT stints are compared with SOFT stints). The
standard errors are clustered by race, because stints in the same race share conditions.
import statsmodels.formula.api as smf
for name, f in [("compound FE", "slope ~ track_c + C(compound)"),
("compound + circuit FE", "slope ~ track_c + C(compound) + C(circuit)"),
("compound + circuit + season FE", "slope ~ track_c + C(compound) + C(circuit) + C(year)")]:
m = smf.ols(f, data=T).fit(cov_type="cluster", cov_kwds={"groups": pd.factorize(T.session_key)[0]})
lo, hi = m.conf_int().loc["track_c"]
print(f"{name}: {m.params['track_c']*10:+.3f} s/lap per +10 C [{lo*10:+.3f}, {hi*10:+.3f}]")
Track temperature over stints: 13.6-55.4 C, median 36.8
compound FE : +0.010 s/lap per +10 C [-0.001, +0.022], n = 3262 stints, 76 races
compound + circuit FE : +0.017 s/lap per +10 C [+0.007, +0.026], n = 3262 stints, 76 races
compound + circuit + season FE : +0.014 s/lap per +10 C [+0.005, +0.023], n = 3262 stints, 76 races
race-level OLS (median stint slope on median track temp, 76 races): +0.012 s/lap per +10 C; corr r = 0.28
C(circuit) adds a fixed effect for every circuit. The temperature slope is then estimated within circuits,
comparing a hot Barcelona with a cool Barcelona rather than Barcelona with Baku. That within-circuit estimate
is the one to quote: about +0.017 s/lap of extra degradation per +10 °C of track temperature (95% CI
+0.007 to +0.026). It is real, but small. On a 20-lap stint, 10 °C more track temperature adds about
0.017 × 20 = 0.3 s of extra wear by the end of the stint, about 0.17 s per lap on average across it.

📊 Figure (described): One point per dry race (76), plotting the median stint degradation against the median track temperature. The dashed line rises by +0.012 s/lap per +10 °C, but the cloud is wide (correlation 0.28). Bahrain 2023 sits near the top at only 30 °C; Las Vegas 2023 and 2026 and Losail 2024 sit below zero. The 2026 Barcelona race is the top-right outlier. The takeaway: temperature nudges degradation, but the circuit sets its level.
Two of the labelled points tell the story. Bahrain 2023 degraded at a race median of about 0.12 s/lap with the track at about 30 °C. High wear at a moderate temperature points to something other than heat: the surface, the corner mix, or the compounds nominated that weekend. Our data cannot tell those apart. Las Vegas 2026, at 14 °C, is at the bottom. The cold is part of why Las Vegas sits there, but it is not a full explanation: Losail 2024 and Las Vegas 2023 are also negative.
⚠️ Common pitfall: reading "hot = high deg" off a cross-circuit chart. The across-race slope mixes the effect of temperature with everything else that differs between circuits: asphalt roughness, corner types, the compounds Pirelli nominated, the time of day. The within-circuit estimate (+0.017 s/lap per +10 °C) is the honest one. Without circuit fixed effects you would be measuring "what kind of circuit tends to be hot" as much as "what heat does to tyres".
What about warm-up? The intuition says a hotter track helps a new set reach its window sooner. The book's data snapshot tested exactly that: the warm-up penalty (defined in §4.6) slopes −0.087 s per +10 °C (95% CI −0.209 to +0.036; n = 2,780 dry-race stints). The sign is the expected one, but the interval includes zero, so in race data the effect is not detectable. It may well exist; our measure is too noisy to see it.
Load: downforce, weight transfer and why fronts and rears differ
The normal load on each tyre changes all the time: it shifts forward under braking, rearward under traction and outward in corners, and it rises with speed as downforce builds. Because of load sensitivity, grip rises more slowly than load, and the hardest-worked tyre at each circuit tends to set the stint's life. Which tyre that is depends on the circuit. A layout with long, fast, loaded corners in one direction works the outside front. One with many slow traction zones works the rears. We cannot see per-tyre load or temperature, so we will not tell you which tyre limited any particular stint. When you hear on the broadcast that a driver is "front-limited" or "rear-limited", the source is the team, not the timing data. The data can only show you the combined result: the lap time.
How much lap time is a little grip worth?
The cornering-speed equation from Chapter 1, ignoring downforce for the moment, is $v_{\max} = \sqrt{\mu g r}$: the fastest speed through a corner of radius $r$ grows with the square root of grip. Take logs and differentiate:
$$\frac{\Delta v}{v} = \frac{1}{2}\,\frac{\Delta \mu}{\mu}$$
In words, lose 1% of grip and the car is about 0.5% slower in every grip-limited part of the lap. Time is distance over speed, so the time spent in those sections rises by about 0.5% too.
🧪 Illustrative model: parameters are assumptions chosen to be plausible for a current F1 car, not team data. Suppose 40% of an 80 s lap (32 s) is spent in sections where grip, not power, sets the speed. A 1% loss of grip then costs about $0.005 \times 32 = 0.16$ s per lap. Against that, a typical dry-race stint loses about 0.05 s per lap of tyre age after fuel correction (§4.4). At these assumed numbers, one lap of wear is worth roughly a third of a percent of grip. The useful lesson is the scale: tyre degradation is a fraction-of-a-percent-per-lap phenomenon, which is why it hides so easily under fuel burn and noise.
With downforce, the equation changes (Chapter 1 derives it). Because the normal load grows with $v^2$, a fast corner's speed is more sensitive to $\mu$ than a slow one's. That is one reason high-speed circuits punish a worn tyre in the fast sweepers.
🔄 Check your understanding 1. Within circuits, how much extra degradation does +10 °C of track temperature bring, and why is the within-circuit estimate the one to quote? 2. Our data have no tyre temperatures. Name two things we can observe that carry information about the operating window. 3. Without downforce, a 2% loss of grip changes the cornering speed in grip-limited sections by roughly how much?
Answer
- About +0.017 s/lap (95% CI +0.007 to +0.026). Comparing a circuit with itself removes differences in asphalt, layout and compound choice that would otherwise masquerade as temperature effects.
- Any two of: the warm-up penalty on the first flying lap, the stint's degradation slope, the weather station's track temperature, and lap-time recovery after a driver backs off.
- About 1% slower ($\Delta v/v = \tfrac12 \Delta\mu/\mu$).
4.4 The threshold concept: lap time = base pace + fuel + tyre age
🧩 Productive struggle. Before reading on, look at these numbers from the 2024 Italian Grand Prix at Monza. Charles Leclerc won for Ferrari on a one-stop strategy: MEDIUM for laps 1–15, then HARD for laps 16–53. On his 37 clean laps on the HARD, the slope of his raw lap time against tyre age is −0.008 s/lap (95% CI −0.016 to −0.001). His lap times got very slightly faster as the tyre aged. The median of his first three clean HARD laps was 84.203 s; the median of his last three, 37 laps later, was 83.555 s.
Did Leclerc's hard tyres wear? If you say yes, how much? Write down your answer and the reasoning before you read the next paragraph.
Here is the trap. Raw lap time is the sum of several effects that change at the same time during a race. At minimum:
$$t_{\text{lap}}(L) = t_{\text{base}} + \underbrace{\beta_{\text{fuel}}\,(L - N)}_{\text{fuel and track}} + \underbrace{\delta_c + k_c \cdot \text{age}(L)}_{\text{tyre}} + \varepsilon_L$$
Reading each term:
- $t_{\text{base}}$ is the car-and-driver pace on that circuit with an empty tank on a fresh tyre: the number you would like to know and never observe directly.
- $\beta_{\text{fuel}}(L - N)$ is the fuel effect. The car carries less fuel every lap, so it gets lighter and faster. $L$ is the race lap and $N$ the race distance, so the term is zero on the last lap and largest at the start. Because $\beta_{\text{fuel}}$ is negative, the term adds time early in the race. When we estimate it from lap times, it also absorbs track evolution (the surface gaining rubber and grip).
- $\delta_c + k_c \cdot \text{age}$ is the tyre effect for compound $c$: an offset for the compound, plus $k_c$ seconds per lap of tyre age. $k_c$ is the degradation rate.
- $\varepsilon_L$ is everything else: traffic, mistakes, wind, a lap spent defending.
🚪 Threshold concept: lap time = base pace + fuel + tyre age effects. In a race, the fuel term pulls lap times down every lap while the tyre term pushes them up. Within a stint the two move together, so a flat raw lap time does not mean a tyre that isn't wearing. It means wear and fuel burn are roughly cancelling. Every degradation number in this book is therefore quoted with the fuel correction that produced it. Once you see lap times this way, you cannot unsee it, and most "he's not degrading at all" claims dissolve.
Estimating the fuel term from the data
There are two ways to put a number on $\beta_{\text{fuel}}$.
- Assume it. The toolkit's
metrics.fuel_corrected()uses labelled ASSUMPTION defaults: 100 kg of fuel at the start, burned linearly, costing 0.03 s per kg per lap. On a 53-lap race that is $0.03 \times 100 / 53 = 0.0566$ s per lap. - Estimate it.
metrics.estimate_fuel_effect()fits a fixed-effects regression to every clean lap of the race. Within a stint, race lap and tyre age rise together, so they cannot be separated. But at each pit stop the tyre age resets to zero while the race lap keeps rising. That reset is what identifies the fuel slope. The estimate includes track evolution, so treat it as an upper bound on the pure fuel effect.
For the 2024 Italian GP (03_lap_time_decomposition.py):
s = f1data.session(2024, "monza", "R")
N = int(s.leader_laps)
lp = f1data.laps(s)
fe = metrics.estimate_fuel_effect(lp) # all drivers, clean laps, driver fixed effects
b_data = fe["s_per_lap"]
b_default = -0.03 * 100 / N # DEFAULT ASSUMPTION: 100 kg at 0.03 s/kg
for name, b in [("raw (no fuel correction)", 0.0), ("default fuel assumption", b_default),
("data-driven fuel + evolution", b_data)]:
tmp = lp[lp.acronym == "LEC"].copy()
tmp["y"] = tmp.lap_duration - b * (tmp.lap_number - N) # remove the fuel trend, empty-tank convention
for stn, g in tmp.groupby("stint"):
r = metrics.degradation(g, y="y") # canonical slope: clean laps, stint lap 1 dropped
print(name, stn, g.compound.iloc[0], r["slope_s_per_lap"], r["ci_low"], r["ci_high"], r["n"])
2024 Italian Grand Prix: 53 laps
race fuel + evolution slope (data-driven, all drivers): -0.0600 s/lap [-0.0643, -0.0557], n = 922 laps, 19 drivers
toolkit default assumption (100 kg, 0.03 s/kg): -0.0566 s/lap
podium: ['LEC', 'PIA', 'NOR']
LEC stints: [('MEDIUM', 1, 15), ('HARD', 16, 53)]
raw (no fuel correction) stint 1 MEDIUM: +0.020 s/lap [-0.052, +0.092] n=13
raw (no fuel correction) stint 2 HARD : -0.008 s/lap [-0.016, -0.001] n=37
default fuel assumption stint 1 MEDIUM: +0.077 s/lap [+0.005, +0.148] n=13
default fuel assumption stint 2 HARD : +0.048 s/lap [+0.041, +0.056] n=37
data-driven fuel + evolution stint 1 MEDIUM: +0.080 s/lap [+0.008, +0.152] n=13
data-driven fuel + evolution stint 2 HARD : +0.052 s/lap [+0.044, +0.059] n=37
So the answer to the productive-struggle question: yes, Leclerc's hards wore, at about 0.05 s per lap of tyre age. That is 0.048 with the assumed fuel effect and 0.052 with the race's own estimate. Raw lap time said −0.008. The two corrections agree closely here because the race's measured slope (−0.060 s/lap) is close to the assumption (−0.057 s/lap). They will not always agree, and for 2026 the default's 100 kg start load is itself unverified, because the 2026 rules limit fuel by energy flow rather than by a published race fuel mass.
The decomposition then fits the base pace, the HARD offset and the two degradation rates on Leclerc's clean laps, with the fuel slope fixed at the race estimate:
Decomposition fit (fuel slope fixed at the data-driven value):
base +81.612
offset_HARD -0.050
k_MEDIUM +0.080
k_HARD +0.052
residual SD 0.298 s over 50 laps
fuel + evolution term, lap 2 -> lap 53: 3.06 s of lap time removed
tyre term on MEDIUM: from +0.08 s (age 1) to +1.04 s (age 13), i.e. 0.96 s of wear
tyre term on HARD: from +0.00 s (age 1) to +1.86 s (age 37), i.e. 1.86 s of wear
HARD stint raw lap times: first 3 clean median 84.203 s, last 3 clean median 83.555 s

📊 Figure (described): Three stacked panels against race lap. Top: Leclerc's raw clean laps (yellow = MEDIUM, white = HARD) with the fitted model, nearly flat across the 37-lap HARD stint. Middle: the fuel and evolution term, falling in a straight line by 3.06 s from lap 2 to lap 53. Bottom: the tyre term, a sawtooth that climbs 0.96 s on the MEDIUM and 1.86 s on the HARD. The takeaway: a flat raw stint is two large, opposite trends cancelling.
Read the bottom panel and the middle panel together. Over the HARD stint the fuel term fell by about $0.060 \times 36 \approx 2.2$ s, and the tyre term rose by 1.86 s. Their sum is a small net improvement, which is what the raw laps show. By the end of his 37-lap HARD stint, Leclerc's tyres were costing him nearly two seconds a lap compared with a fresh set, and almost none of it showed up on the timing screen.
📺 On the broadcast: When a commentator says a driver is "managing his tyres beautifully, his lap times are rock steady", this is what it looks like in the data: a raw lap-time trace as flat as Leclerc's HARD stint at Monza 2024. Flat raw laps are consistent with careful management. They are also consistent with an ordinary wear rate hidden by the fuel load burning off. To tell the two apart, compare the driver's fuel-corrected slope with the rest of the field's on the same compound and race.
The pattern holds across the whole snapshot. In the 76 dry races of 2023–2026, the median raw stint slope is 0.003 s/lap on MEDIUM and −0.002 s/lap on HARD: essentially zero. With the default fuel correction, the same stints give 0.051 (MEDIUM), 0.048 (HARD) and 0.064 (SOFT) s/lap. The data-driven fuel effect, the median over 76 races, is −0.056 s per race lap (95% CI −0.061 to −0.050). That implies 0.033 s/kg if cars start with 100 kg, or 0.030 s/kg at 110 kg. The 0.03 s/kg assumption is reasonable, and the s-per-lap figure is the safer one to quote because it needs no start-fuel assumption.
⚠️ Common pitfall: raw lap times lie. Never quote a degradation rate from raw lap times. Raw slopes in race trim are biased low by roughly the fuel effect (about 0.05–0.06 s/lap), which is the same size as the degradation you are trying to measure. Always state the correction: "0.048 s/lap, fuel-corrected at the toolkit default (100 kg, 0.03 s/kg)" or "0.052 s/lap, corrected with the race's data-driven slope".
🔄 Check your understanding 1. A driver's raw lap times rise by 0.02 s per lap through a 25-lap stint in a race whose data-driven fuel slope is −0.055 s/lap. Roughly what is the fuel-corrected degradation rate? 2. Why can
estimate_fuel_effectseparate the fuel slope from tyre wear, when a single stint cannot? 3. Why is the data-driven fuel slope an upper bound on the pure fuel effect?
Answer
- About 0.02 + 0.055 = 0.075 s per lap of tyre age. Removing a trend that makes laps faster by 0.055 s/lap adds 0.055 s/lap to the slope.
- Within a stint, race lap and tyre age rise in lockstep. At each pit stop the tyre age resets but the race lap does not, and drivers stop at different laps. Those resets let the regression tell the two apart.
- The race-lap coefficient also captures anything else that improves steadily through the race, chiefly track evolution as rubber goes down. Some of the −0.056 s/lap is the track, not the fuel.
4.5 Building the first degradation curve from one race
Time to build one from scratch. We pick the 2026 Barcelona Grand Prix because it sits at the top of the book's degradation tables: no dry race in 2023–2026 wore tyres faster.
The strategies
plots.stint_chart() draws one bar per driver in finishing order, one segment per stint, coloured by
compound.
s = f1data.session(2026, "catalunya", "R")
fig = plots.stint_chart(s, title="2026 Barcelona GP: most of the field stopped twice; the winner stopped three times")
plots.savefig(fig, CHAPTER_DIR, "ch04-fig-03-barcelona-2026-stints")

📊 Figure (described): One bar per driver, winner at the top. Most bars have three segments (two stops), typically MEDIUM then two HARD stints. Hamilton's bar has four: SOFT, HARD, MEDIUM, HARD. Verstappen also stopped three times. The takeaway: at a 50 °C, high-wear race, the field split between two-stop and three-stop strategies, and nobody tried one stop.
Top six finishers and their stints (compound, first lap, last lap, tyre age at start):
HAM: [('SOFT', 1, 11, 2), ('HARD', 12, 27, 0), ('MEDIUM', 28, 41, 0), ('HARD', 42, 66, 0)]
RUS: [('MEDIUM', 1, 12, 0), ('HARD', 13, 36, 0), ('HARD', 37, 66, 0)]
NOR: [('MEDIUM', 1, 13, 0), ('HARD', 14, 35, 0), ('HARD', 36, 66, 0)]
VER: [('SOFT', 1, 12, 3), ('MEDIUM', 13, 29, 0), ('HARD', 30, 40, 0), ('MEDIUM', 41, 66, 0)]
PIA: [('MEDIUM', 1, 14, 0), ('HARD', 15, 36, 0), ('HARD', 37, 66, 0)]
HAD: [('MEDIUM', 1, 15, 0), ('HARD', 16, 32, 0), ('HARD', 33, 58, 0), ('SOFT', 59, 65, 3)]
stops among classified finishers: {2: 10, 3: 7}
green-flag pit loss: 23.7 s (IQR 22.9-24.7), pit-lane 22.6 s, n = 41 stops
Seventeen classified finishers: ten stopped twice and seven three times. The green-flag pit loss at this race was 23.7 s (41 stops). With that cost per stop, a third stop only pays if the fresher tyres win back more than about 24 s over the rest of the race. At 0.12–0.25 s/lap of wear, they can.
One driver, three stints
Now the threshold concept on a single car. Russell ran MEDIUM, HARD, HARD. 02_first_degradation_curve.py
fits each stint twice: on raw lap time, and after removing the race's own fuel-and-evolution trend
(−0.0595 s per race lap, 95% CI −0.0634 to −0.0555, from 1,012 clean laps of 20 drivers).
fe = metrics.estimate_fuel_effect(lp) # this race, all drivers
lp["lap_time_dd"] = lp.lap_duration - fe["s_per_lap"] * (lp.lap_number - N)
for stn, g in lp[lp.acronym == "RUS"].groupby("stint"):
for y in ("lap_duration", "lap_time_dd"):
r = metrics.degradation(g, y=y) # clean laps, stint lap 1 dropped
print(stn, g.compound.iloc[0], y, round(r["slope_s_per_lap"], 3), r["n"])
RUS: 66 laps, 54 clean
stint 1 MEDIUM laps 2-11: lap_duration slope +0.257 [+0.219, +0.295] n=10
stint 2 HARD laps 14-35: lap_duration slope +0.066 [+0.042, +0.089] n=22
stint 3 HARD laps 38-66: lap_duration slope +0.091 [+0.056, +0.125] n=22
stint 1 MEDIUM laps 2-11: lap_time_dd slope +0.316 [+0.279, +0.354] n=10
stint 2 HARD laps 14-35: lap_time_dd slope +0.125 [+0.102, +0.148] n=22
stint 3 HARD laps 38-66: lap_time_dd slope +0.150 [+0.116, +0.185] n=22

📊 Figure (described): Two panels share a race-lap axis. Top: Russell's raw clean laps by stint, with a fitted line and slope for each (MEDIUM +0.257, HARD +0.066 and +0.091 s/lap). Bottom: the same laps after removing the race's fuel trend; every slope is about 0.06 s/lap steeper (+0.316, +0.125, +0.150). The takeaway: at a high-wear race the raw laps already rise, but the correction still adds the whole fuel effect to each slope.
Barcelona is unusual: here the raw laps rise visibly, because wear was two to three times the fuel effect. At a typical race, like Monza 2024, they would look flat. Either way, the correction moves every stint's slope by the same amount, the fuel slope.
The field's curve
A single driver's stints are noisy (Russell's residual scatter is about half a second). To see the compound, pool the whole field. For every stint we measure each clean lap against the median of that set's first two flying laps, and plot the median across stints against the number of laps into the stint.
c = lp[lp.is_clean & lp.compound.isin(COMPS) & (lp.stint_lap > 1)].copy()
c["key"] = c.driver_number.astype(str) + "_" + c.stint.astype(str) # one id per set of tyres
ref = c[c.stint_lap <= 3].groupby("key").lap_time_dd.median() # the set's first two flying laps
c["into"] = c.stint_lap - 2 # 0 = first flying lap
c["lost"] = c.lap_time_dd - c.key.map(ref) # time lost since then
med = c[c.compound == "HARD"].groupby("into").lost.agg(["median", "size"]) # the curve, compound by compound
groupby("key") with .map() attaches each stint's own reference to every one of its laps, so each lap is
compared only with laps on the same set of tyres. The dashed lines in the figure are within-stint slopes:
each stint is demeaned before pooling, so a fast driver's stints don't tilt the line.
Field curve (time lost vs the stint's first two flying laps, median across stints):
SOFT: within-stint slope +0.260 s/lap; 11 stints, 96 laps; median lost at 9 laps in = +1.95 s; points with >= 5 laps: 0-9
MEDIUM: within-stint slope +0.186 s/lap; 19 stints, 236 laps; median lost at 15 laps in = +2.03 s; points with >= 5 laps: 0-15
HARD: within-stint slope +0.135 s/lap; 36 stints, 613 laps; median lost at 23 laps in = +3.10 s; points with >= 5 laps: 0-23

📊 Figure (described): Median time lost against laps into the stint for SOFT (red), MEDIUM (yellow) and HARD (grey line, white markers), with dashed within-stint fits of +0.260, +0.186 and +0.135 s/lap. The SOFT climbs fastest, about 2 s in 8–9 laps; the HARD climbs about 3.1 s over 23 laps. The MEDIUM curve flattens after about 8 laps. The takeaway: the softer the compound, the steeper the curve, and the ranking is clear at this race.
That is the first degradation curve: SOFT +0.26, MEDIUM +0.19, HARD +0.14 s per lap, data-driven fuel correction, 2026 Barcelona GP. The stint-median version from the same script gives 0.251, 0.196 and 0.138. At the toolkit's default fuel assumption, they are 0.237, 0.182 and 0.124, and the HARD figure matches the book's circuit-by-season table exactly.
📐 Definition: Degradation rate. The slope of fuel-corrected clean lap time on tyre age within one stint, after dropping the stint's first lap (
metrics.degradation), in s per lap, with a 95% CI and n. A compound's rate at an event is the median of its stint slopes. Always state the fuel correction used.⚠️ Common pitfall: survivorship at the end of the curve. Look at the MEDIUM curve flattening after 8 laps. It is tempting to say the tyre "stabilised". But the points beyond about 12 laps come only from the stints that ran that long, and teams leave a car out longer when its tyres are holding up. The late points of a pooled curve are drawn from the best-surviving sets. This is why the book's headline rates are per-stint slopes, compared stint by stint, rather than the shape of a pooled median.
🔄 Check your understanding 1. Russell's raw HARD slope in his second stint was +0.066 s/lap and his corrected slope +0.125. Where does the difference of 0.059 come from? 2. Why compare each lap with the same stint's first flying laps instead of with the driver's race median? 3. Name one reason the late points of a pooled degradation curve can look flatter than the tyre really is.
Answer
- From the race's data-driven fuel-and-evolution slope, −0.0595 s per race lap. Removing it adds that amount to every stint slope.
- Comparing within a stint cancels the driver's and car's base pace and the compound offset, leaving only what changed as that set aged (plus the fuel trend, which we removed).
- Survivorship: only stints that ran long contribute the late points, and teams run long on sets that are holding up well.
4.6 Wear, heat and the shape of a stint
"Degradation" covers two different physical processes, and they look different in lap times.
- Wear degradation is the tread getting thinner. Less rubber means less material to deform over the asphalt and, once the tread is thin, a hotter-running surface because there is less rubber to soak up heat. Wear accumulates steadily with distance and with how much the tyre slides. It is mostly irreversible.
- Thermal degradation is the rubber spending too long outside its window, usually too hot. Overheated rubber loses grip at once, and repeated overheating can permanently change the compound's surface. Some thermal degradation is reversible: back off for a lap or two, let the surface cool into its window, and pace returns. Drivers call this "managing the temperatures".
📐 Definition: Wear vs thermal degradation. Wear is grip lost because rubber has been removed; it grows with distance and sliding and does not recover. Thermal degradation is grip lost because the rubber is outside its temperature window; part of it recovers when the tyre returns to the window.
Graining and blistering
Two failure modes have names you will hear on every broadcast.
Graining happens when the surface of the tyre is too cold relative to the work it is being asked to do, or when the tyre slides too much. The surface tears into small rolls of rubber ("grains") that stick to the tread and act like ball bearings between the tyre and the road. Grip drops sharply. If the driver can get the tyre through the phase, the grains wear away and grip partly returns. In lap times, graining looks like a hump: a stint's lap times rise faster than the long-run trend for a few laps, then recover towards it.
Blistering is the opposite: the inside of the tread (or the carcass under it) overheats, and gas pockets form and burst, tearing chunks out of the surface. It does not recover. In lap times it looks like an accelerating loss late in a stint, often with growing lap-to-lap scatter.
Neither shows up by name in our data. We have no tyre photographs or temperatures, and the timing system does not record the tread surface. The most we can say is whether a stint's lap times have the shape those mechanisms predict. A quadratic fit to each stint tells us whether degradation accelerates or decelerates. In the book's data snapshot, across 3,262 dry-race stints, the curvature is positive (accelerating) in 63.5% of stints (95% CI 61.9 to 65.2) with a median of 0.0015 s/lap². A typical race stint is very slightly convex: almost linear, with a touch of acceleration at the end. A hump that rises then falls would show up as negative curvature. It happens in about a third of stints, but negative curvature has other causes too (a driver pushing harder late in a stint, traffic clearing), so we cannot count graining from lap times alone.
Warm-up: what the first flying lap costs
The out-lap is never clean, but the lap after it is. How much slower is that first flying lap than the rest
of the stint predicts? 04_warmup_and_cliff.py fits a straight line to each stint's laps from stint lap 4
onwards and asks how far laps 2 and 3 sit above it.
base = c[c.stint_lap >= 4] # the stint's settled laps
if len(base) >= 6:
k = np.polyfit(base.tyre_age.astype(float), base.lap_time_fc, 1) # its own trend line
for L in (2, 3, 4, 5, 6):
e = c[c.stint_lap == L]
if len(e):
warm.append(dict(compound=comp, stint_lap=L,
pen=float(e.lap_time_fc.iloc[0] - np.polyval(k, float(e.tyre_age.iloc[0])))))
np.polyfit(x, y, 1) returns the slope and intercept of the least-squares line; np.polyval evaluates it at
the lap we are testing.
Warm-up residual by stint lap (s, positive = slower than the stint's own line; line fitted on laps >= 4):
n median mean share_slower ci
compound stint_lap
HARD 2 1140 0.048 0.084 52.719 [-0.004, 0.097]
3 1223 0.063 0.154 54.865 [0.020, 0.104]
MEDIUM 2 1028 0.417 0.451 67.704 [0.358, 0.483]
3 1068 0.135 0.174 61.049 [0.097, 0.172]
SOFT 2 347 0.315 0.279 59.942 [0.145, 0.458]
3 388 0.135 0.133 60.825 [0.078, 0.221]
(The full output also lists laps 4–6, which are part of the fitted line and so sit close to zero by construction.)

📊 Figure (described): Median residual against the stint's own trend line for stint laps 2–6, by compound, with bootstrap 95% CIs. On the first flying lap, MEDIUM is 0.42 s slow and SOFT 0.32 s slow; HARD is only 0.05 s slow and its interval includes zero. By lap 3 the penalties have more than halved, and laps 4–6 (shaded, the laps used to fit the line) sit near zero. The takeaway: a new MEDIUM or SOFT costs a few tenths on its first flying lap, while the HARD barely shows a warm-up cost in race data.
The MEDIUM figure surprises people: shouldn't the softer SOFT warm up fastest? Two cautions before you build a theory on it. The SOFT intervals are wide (only 347 stints have a clean lap 2), and the median MEDIUM stint starts at a different point in the race from the median SOFT stint, with different fuel loads, traffic and track states. What the data support is the size of the effect: a few tenths for one or two laps. That matters for the undercut (Chapter 13), where the new tyre's first flying lap is the one that has to beat the old tyre's in-lap.
Kenji recognised the shape at once.
Kenji: That's my out-lap problem in the league. If I don't weave and brake hard on the out-lap, the first lap's gone.
Tom: Your sim's tyre model has a carcass temperature that lags the surface. The surface heats in one corner; the carcass takes laps.
Kenji: So the real cars see the same thing?
Tom: We can't see their temperatures. But we can see a first flying lap four tenths slower on new mediums, and then it's gone by lap 4. That's what a lag looks like in lap times.
🔄 Check your understanding 1. Which process, wear or thermal degradation, can partly recover within a stint? 2. In lap times, what shape distinguishes graining from blistering? 3. Why is stint lap 1 never used in any of these fits?
Answer
- Thermal degradation. Wear removes rubber, which does not come back.
- Graining: a temporary hump that recovers. Blistering: an accelerating loss late in the stint that does not recover.
- Stint lap 1 is either the race start (lap 1) or a pit out-lap, and neither is a clean lap. Its cost is already inside the pit loss.
4.7 The cliff: how often do tyres really fall off?
The popular picture of a racing tyre is a long, gentle decline followed by a sudden cliff, where lap times fall away by seconds per lap. Tyres certainly can do this; it is the limit of the rubber. The question for a strategist is how often a cliff appears in race data, because that decides whether a strategy model needs one.
📐 Definition: End-of-stint excursion. The mean residual of a stint's last two clean laps against the stint's canonical linear fit (fuel-corrected, stint lap 1 dropped). A cliff would show as a large positive excursion.
r = metrics.degradation(g) # canonical linear fit for this stint
pred = r["intercept"] + r["slope_s_per_lap"] * c.tyre_age
res = c.lap_time_fc - pred # residuals, laps in order
last2 = float(res.iloc[-2:].mean()) # how far the final two laps sit above the line
End-of-stint excursions (mean residual of the last 2 clean laps vs the canonical linear fit):
compound stints median_last2 end>0.5s end>1.0s end>2.0s mid-stint laps >1 s (%)
SOFT 485 0.080 12.8% [10.1, 16.1] (62) 4.7% [3.2, 7.0] (23) 0.4% [0.1, 1.5] (2) 3.8
MEDIUM 1326 0.098 11.2% [9.6, 13.0] (149) 2.1% [1.5, 3.0] (28) 0.2% [0.1, 0.7] (3) 2.5
HARD 1451 0.086 17.0% [15.2, 19.0] (247) 5.3% [4.3, 6.6] (77) 0.8% [0.5, 1.4] (12) 4.0
all 3262 0.088 14.0% [12.9, 15.3] (458) 3.9% [3.3, 4.6] (128) 0.5% [0.3, 0.8] (17) 3.4
The intervals are Wilson 95% intervals for a proportion (metrics.wilson_ci), and the count is in brackets.
The last column is the noise baseline: the share of mid-stint laps more than 1 s above the line.

📊 Figure (described): A histogram of the end-of-stint excursion for 3,262 dry-race stints, centred just above zero with most stints within ±0.5 s. Dashed lines mark +1 s (128 stints, 3.9%) and +2 s (17 stints, 0.5%). The takeaway: in race data, stints almost never end on a multi-second cliff.
Only 0.5% of race stints end more than 2 s above their own straight line, and 3.9% more than 1 s. Compare that with the noise baseline: 3.4% of ordinary mid-stint laps are already more than 1 s off the line, from traffic, a lock-up or a lap spent defending. The end-of-stint rate above 1 s is barely higher than the background rate of bad laps. A second measure agrees: in stints with at least 12 clean laps (n = 2,805), the slope over the last third of the stint exceeds the slope over the first two thirds by a median of only 0.029 s/lap (95% CI 0.025 to 0.034).
Here are the most extreme cases in the whole snapshot.
Largest end-of-stint excursions:
year gp acronym compound first_lap last_lap max_age slope last2
2025 Saudi Arabian Grand Prix OCO HARD 2 50 48 0.037 3.169
2025 Chinese Grand Prix NOR HARD 16 56 40 0.031 2.835
2024 Monaco Grand Prix ZHO HARD 2 70 68 0.009 2.787
2026 Spanish Grand Prix ALB HARD 15 56 41 0.013 2.758
2026 Spanish Grand Prix SAI HARD 32 43 11 0.343 2.676
2023 United States Grand Prix MAG MEDIUM 30 55 25 0.101 2.623

📊 Figure (described): Two panels of fuel-corrected lap time against tyre age. Left: Esteban Ocon's 48-lap HARD stint at the 2025 Saudi Arabian GP, flat-ish at +0.037 s/lap, with the final lap about 6 s above the line. Right: Lando Norris's 40-lap HARD stint at the 2025 Chinese GP, with the last three laps rising steeply away from a +0.031 s/lap line. The takeaway: even the most extreme cases are one to three slow laps at the very end of very long stints, not a gradual-then-sudden collapse over many laps.
Notice what these stints have in common. Most are among the longest in the data: 48, 40, 68 and 41 laps on a HARD. The cars that reached a cliff were mostly the ones that stayed out far longer than usual. And even then, the timing data cannot tell us why the last laps were slow. A tyre at its limit is one explanation. Others include a car managing a problem, backing off to the flag, or traffic. Our data do not separate them, and we will not assert a mechanical cause that the race-control messages don't record.
Ray has been around long enough to distrust a dramatic graphic.
Ray: Every season someone says "the tyres will fall off a cliff". I've rarely watched it happen.
Aisha: Half a percent of stints end more than two seconds above their line.
Ray: So it's real, but it's rare.
Aisha: It's rare in race data. Teams pit before it happens. We only see the stints they chose to run.
That last line is the key to reading the cliff statistics honestly. The data describe managed stints, not the tyre's true life. Strategists know roughly where the limit is from practice long runs and their own sensors, and they stop before it. A model fitted to race stints will rarely see a cliff, and it should not conclude that the cliff does not exist, only that a well-run race rarely reaches it.
⚠️ Common pitfall: putting a "2–3 s/lap cliff at 60–70% of tyre life" into a race model. That picture describes what a tyre can do if you keep running it, not what race stints typically show. In the book's data snapshot it appears at the end of 0.5% of stints. If your strategy model needs a cliff, fit it from evidence (long runs, stints that went unusually long) and test it, as Box Box does in the Project Checkpoint below.
🔄 Check your understanding 1. What share of 2023–2026 dry-race stints end more than 1 s above their linear fit, and how does that compare with the share of ordinary mid-stint laps more than 1 s above it? 2. Why does the rarity of cliffs in race data not prove that tyres don't have one?
Answer
- 3.9% (128 of 3,262) end more than 1 s above, compared with 3.4% of mid-stint laps. The end of a stint is barely worse than the background rate of bad laps.
- Teams stop before the tyre reaches its limit. The data contain the stints they chose to run, which is a selected sample.
4.8 Circuits, compounds and what degradation does to a race
Degradation is mostly a property of the circuit
05_circuits_and_temperature.py computes the median stint slope at each circuit, pooled over every dry race
in the snapshot.
Median stint slope by circuit (s/lap, default fuel assumption):
stints seasons all_median MEDIUM n_MEDIUM HARD n_HARD
circuit
bahrain 175 23,24,25 0.110 0.097 27 0.095 80
catalunya 165 23,25,26 0.094 0.088 55 0.107 56
red_bull_ring 223 23,24,25,26 0.078 0.083 116 0.074 95
...
jeddah 92 23,24,25 0.009 0.015 37 -0.006 50
madring 44 26 0.004 0.020 12 0.002 26
vegas 159 23,24,25,26 0.002 -0.002 52 0.015 83
baku 131 23,24,25,26 -0.003 -0.003 53 0.005 59
losail 130 23,24,25 -0.013 -0.018 76 0.013 50

📊 Figure (described): One row per circuit, sorted by the all-compound median, with the MEDIUM (yellow circle) and HARD (white square) medians joined by a grey bar. Bahrain, Barcelona and the Red Bull Ring sit at the top, around 0.08–0.11 s/lap; Jeddah, Madring, Las Vegas, Baku and Losail sit at or below zero. The MEDIUM–HARD gap flips sign from circuit to circuit. The takeaway: circuit matters far more than compound for how fast tyres degrade in a race.
Three readings matter for strategy.
- The spread between circuits (about 0.12 s/lap from top to bottom) dwarfs the spread between compounds. Pooled over all circuits, the medians are SOFT 0.064, MEDIUM 0.051 and HARD 0.048 s/lap, a difference of a few thousandths between MEDIUM and HARD.
- The compound ranking flips. At Shanghai the MEDIUM degraded much faster than the HARD (0.111 vs 0.029); at the Hungaroring the HARD degraded faster (0.076 vs 0.047). A "MEDIUM degrades twice as fast as HARD" rule of thumb is not supported by these data.
- Negative medians are real and mean something. At Baku, Losail, Jeddah and Las Vegas, the corrected slope is near or below zero: the track gains grip (evolution) and the cars lighten faster than the tyres lose grip. We can't separate surface evolution from cool temperatures or gentle layouts with our data.
Case Study 2 asks whether a circuit's degradation repeats from one season to the next. (Partly: the correlation between consecutive seasons is 0.52.)
Compound offsets: how much faster is a softer tyre at the same age?
In qualifying a softer tyre is faster: that is why the front of the grid qualifies on SOFTs. In a race, the book's data snapshot compares the same driver in the same race on two compounds at equal tyre age. The paired-median version compares each driver's median fuel-corrected lap at tyre ages 3–15 on one compound with the same on the other:
| Pair (A − B) | Driver-races | Median gap, s (95% CI) | A faster in |
|---|---|---|---|
| SOFT − MEDIUM | 341 | −0.136 (−0.209 to −0.081) | 60.1% |
| HARD − MEDIUM | 1,030 | −0.039 (−0.091 to 0.003) | 52.8% |
| SOFT − HARD | 241 | +0.062 (−0.058 to 0.170) | 47.3% |
In race trim, at equal age, SOFT is about 0.14 s/lap faster than MEDIUM, and HARD and MEDIUM are indistinguishable (the interval includes zero). These are a few tenths at most. Compounds differ more in how long they last than in their race pace at equal age. (The odd-looking SOFT − HARD row is a smaller, different set of driver-races, so it need not equal the difference of the other two.)
The fresh-tyre delta and the break-even stint
What a strategist really wants to know is: if I stop now, how much faster will I be on new tyres? The book's data snapshot measures it directly at every green-flag stop in a dry race: the new stint's first three clean laps against the old stint's last three, fuel-corrected, same driver and race.
📐 Definition: Fresh-tyre delta. The median fuel-corrected lap time on the first three clean laps after a green-flag stop minus the median on the last three clean laps before it (both windows within 6 laps of the stop). Negative means the new tyres are faster.
The pooled median is −1.078 s/lap (95% CI −1.124 to −1.046; n = 1,594 stops; raw, without fuel correction, −1.338). New tyres were more than 1 s/lap faster at 55.1% of stops and more than 2 s/lap faster at only 11.2%. The delta is largest from HARD to SOFT (−1.604 s/lap, 55 stops) and smallest for MEDIUM → MEDIUM and MEDIUM → HARD (about −0.94 to −0.95 s/lap).
With the pooled green-flag pit loss of 22.512 s, a constant 1.078 s/lap advantage takes $22.512 / 1.078 = 20.9$ laps to repay the stop. That simple break-even (20.0–21.5 laps across the delta's interval) is one reason dry races are mostly one-stop races. It assumes the advantage stays constant, which holds only if the old set keeps degrading at the same rate as the new. A better version uses the degradation rates directly, as the next scenario does.
📋 Try it: Call the pit stop. 2024 Italian Grand Prix, Monza. You are on the Ferrari pit wall. Lap 38 of 53. Leclerc leads on HARDs that went on at the end of lap 15, now 22 laps old. Piastri (McLaren), the closest challenger, has just pitted for new HARDs. At the end of lap 40, after his out-lap, he is 17.112 s behind with 13 laps to go. The green-flag pit loss at this race was 25.8 s (30 stops). Leclerc's fuel-corrected HARD degradation is 0.052 s/lap (data-driven, from §4.4).
Do you pit Leclerc for fresh tyres, or stay out? If you stay out, does Piastri catch him? Work it out before opening the reveal.
Reveal
Pitting costs 25.8 s against a 17.1 s lead: Leclerc would rejoin about 8.7 s behind Piastri, on younger tyres than Piastri's by only a couple of laps, with 12 laps left. Not an option.
Staying out. Assume both cars degrade at Leclerc's 0.052 s/lap and are otherwise equally fast (an assumption: the timing data can't confirm it). Over laps 41–53, Leclerc's tyres are 25–37 laps old and Piastri's 2–14. The age gap is a constant 23 laps, worth $23 \times 0.052 = 1.20$ s/lap, or $1.20 \times 13 = 15.5$ s over 13 laps. Predicted margin at the flag: $17.1 - 15.5 = 1.6$ s to Leclerc.
What happened: Leclerc stayed out and won by 2.664 s. Piastri closed 14.4 s in 13 laps, about 1.11 s/lap, slightly less than the model's 1.20 s/lap. The model called the result correctly and was about a second pessimistic, which could come from a small pace difference between the cars, Piastri's warm-up, or Leclerc managing his tyres; the timing data cannot say which. A 37-lap HARD stint, at a circuit whose median HARD degradation is 0.045 s/lap, was a calculated risk, and the arithmetic says it was the right one.
📋 Try it: Analyze this session. Run
02_first_degradation_curve.pyon the 2025 Bahrain Grand Prix (change(2026, "catalunya")to(2025, "bahrain")). Report the median stint slope for each compound with the default fuel correction. Before running it, predict the order of the three compounds from what you learned about circuits and compounds.
What you should find
The book's data snapshot (canonical, default fuel assumption) gives SOFT 0.160 s/lap (95% CI 0.111 to 0.224; 16 stints), MEDIUM 0.097 (0.084 to 0.116; 26) and HARD 0.126 (0.072 to 0.145; 14). The HARD degraded faster than the MEDIUM, against the "harder = slower wear" intuition, though their intervals overlap. Bahrain 2025 is one of the highest-wear races in the data, even with a median race track temperature of 31.6 °C.
🔄 Check your understanding 1. Pooled over 2023–2026, how much faster is a SOFT than a MEDIUM at equal tyre age in a race? 2. With a 22.5 s pit loss and a fresh-tyre advantage of 1.078 s/lap, how many laps does a stop take to pay for itself? What assumption hides in that answer?
Answer
- About 0.14 s/lap (paired median −0.136 s, 95% CI −0.209 to −0.081).
- About 20.9 laps. The hidden assumption is that the advantage stays constant, which needs the old and new sets to degrade at the same rate.
🪞 Learning check-in. Pause and take stock before the Project Checkpoint. - Can you explain, without notes, why a flat raw lap-time trace does not mean the tyres are not wearing? If not, reread §4.4 and redraw Figure 6 from memory. - Which of this chapter's claims would you be comfortable defending to a sceptic, and which still feel like things you were told? Write down one of each. - When you meet a degradation number elsewhere (on TV, in a blog, in a game), what three questions will you now ask about it? (Suggested: which fuel correction? which compound at which circuit? per-stint or pooled?) - Rate your confidence 1–5 on reading a stint chart, building a degradation curve and explaining the window. Anything at 1–2 is worth an exercise from Part A or C before Chapter 5.
Spaced Review
Before reading each answer, try to answer the question.
From Chapter 1: Why is grip described as a budget? Write your answer first. The friction circle (or ellipse) says a tyre's total horizontal force is limited: force spent braking is not available for turning, and vice versa. This chapter adds that the size of the budget is not fixed. It shrinks as the tyre wears, and it grows and shrinks with temperature. A driver on old tyres has a smaller circle, which is why late-stint laps lose time in exactly the combined braking-and-turning phases where the budget is shared.
From Chapter 2: Which laps does the canonical clean-lap filter remove, and why does that matter for tyre analysis? Try to list all five rules. The filter drops lap 1, in-laps and out-laps, laps with any SC, VSC, red or yellow flag, null lap times, and laps slower than 107% of the driver's median green lap in that stint. For tyres this is essential: an out-lap or a VSC lap would look like a catastrophic loss of grip if it entered a degradation fit.
From Chapter 3: If downforce raises the normal load and grip is μ times load, why doesn't doubling downforce double cornering grip? Two reasons, one from each chapter. Downforce adds to the load but not to the car's mass, so the gain in cornering speed is real but sub-linear (Chapter 3). And load sensitivity means $\mu$ itself falls as load rises (this chapter), so the extra load buys less than proportional extra grip.
Project Checkpoint: tyres.py
Aisha had been waiting for this chapter. Box Box had a data loader (data.py, Chapter 2) but no idea what
a tyre was.
Aisha: Every strategy decision is "how much slower is this set getting?" So the tyre model has to be the first real model in the package.
Tom: Three phases: warm-up, wear, maybe a cliff.
Aisha: "Maybe" is the important word. The cliff only goes in if the stint earns it.
project/boxbox/tyres.py adds:
COMPOUNDS,COMPOUND_RANGE,ALLOCATION,BLANKET_MAX_C: the reference facts from §4.2, with their sources in the docstring.MEASURED_DEFAULTS: the measured 2023–2026 medians (rate and warm-up per compound), for use only as priors when a session has too little data.TyreModel(warmup, rate, cliff_age=None, cliff_rate=0.0, warmup_decay=0.4, compound=None), with.delta(age, stint_lap),.stint_deltas(n_laps, start_age),.stint_time_lost(...)and.laps_until_loss(seconds). The tyre term is $\text{rate}\cdot\text{age} + \text{warmup}\cdot 0.4^{\,\text{stint lap}-2} + \text{cliff rate}\cdot\max(0, \text{age} - \text{cliff age})$. The 0.4 decay is read off Figure 7: the MEDIUM penalty falls from 0.42 s on lap 2 to 0.15 s on lap 3.fit_tyre_model(stint_laps, y=None, ...): rate from the canonicalmetrics.degradation; warm-up as the lap-2 residual against a line on laps ≥ 4; and a cliff test. A hinge term is tried at each break age in the second half of the stint and kept only if an F-test beats the straight line at $p < 0.001$ and the extra slope is at least 0.15 s/lap.fit_compound_models(laps, y=None): per-compound medians across a session's stints.dry_race_keys(): the chapter's dry-race filter.
from boxbox.tyres import fit_tyre_model, fit_compound_models
bar = f1data.session(2026, "catalunya", "R")
lp, b = data_driven(bar) # lap_time_dd = lap time minus the race's own fuel trend
m = fit_tyre_model(lp[(lp.acronym == "RUS") & (lp.stint == 3)], y="lap_time_dd")
print(m)
cm = fit_compound_models(lp, y="lap_time_dd") # one TyreModel per compound for this race
for comp, mm in cm.items():
print(mm, f"20-lap stint: {mm.stint_time_lost(20):+.1f} s")
RUS, 2026 Barcelona GP, stint 3 (data-driven fuel + evolution -0.0595 s/lap):
TyreModel(HARD warm-up +0.642 s, wear +0.150 s/lap, no cliff)
linear rate +0.150 s/lap, 95% CI [+0.116, +0.185], n = 22, residual SD 0.552 s, best cliff break p = 0.365
2026 Barcelona Grand Prix compound models (data-driven fuel + evolution -0.0595 s/lap):
TyreModel(SOFT warm-up -0.072 s, wear +0.251 s/lap, no cliff) [9 stints, rate IQR +0.219 to +0.288, cliff in 0% of stints; warm-up from 9 stints]
20-lap stint from new: +47.7 s of tyre time lost
TyreModel(MEDIUM warm-up -0.095 s, wear +0.196 s/lap, no cliff) [18 stints, rate IQR +0.159 to +0.223, cliff in 0% of stints; warm-up from 18 stints]
20-lap stint from new: +37.2 s of tyre time lost
TyreModel(HARD warm-up +0.047 s, wear +0.138 s/lap, no cliff) [34 stints, rate IQR +0.110 to +0.171, cliff in 3% of stints; warm-up from 32 stints]
20-lap stint from new: +26.2 s of tyre time lost
Cliff test on 3,262 dry-race stints (default fuel assumption): cliff detected in 171 (5.2% [4.5, 6.1])
by compound: {'HARD': {'sum': 101, 'size': 1451}, 'MEDIUM': {'sum': 50, 'size': 1326}, 'SOFT': {'sum': 20, 'size': 485}}
detected cliffs: median extra slope +0.304 s/lap, median break age 21
Read the output this way. A 20-lap SOFT stint at 2026 Barcelona costs 47.7 s of cumulative tyre time against a set that never wore, a 20-lap HARD 26.2 s. That 21-second difference is why the race was run mostly on HARDs, with two or three stops. The negative warm-ups at Barcelona are not a bug: at such a high-wear race the first flying lap often sits below the steep line fitted from lap 4 on, so the best estimate of the warm-up cost there is "none". Across the whole snapshot, the cliff test fires in 5.2% of stints (95% CI 4.5 to 6.1), with a median extra slope of 0.30 s/lap from a median tyre age of 21: a much gentler "cliff" than the folklore.

📊 Figure (described): Left: the fitted 2026 Barcelona compound models as tyre time cost over a 25-lap stint: SOFT reaches about 6 s, MEDIUM about 4.7 s, HARD about 3.3 s. Right: the stint with the strongest detected cliff, Norris's 40-lap HARD stint at the 2025 Chinese GP, where the hinge fit is flat (−0.002 s/lap) until tyre age 36 and then rises at +0.953 s/lap, against a straight-line fit of +0.031 s/lap. The takeaway: the model is linear by default and adds a cliff only where the stint's own laps demand it.
How it plugs in later. Chapter 12's
strategy.py sums TyreModel.stint_time_lost across candidate stints to cost a whole strategy.
Chapter 13 uses the warm-up term for
the new tyre's first flying lap. Chapter 22's
degradation.py replaces the single-race fit with rates by compound, circuit and track temperature, and
Chapter 27's Monte Carlo engine
can sample the rate from the fitted spread instead of using one number.
Chapter Summary
Formulas and metrics
| Concept | Formula / definition | Typical value in our data (2023–2026 dry races) |
|---|---|---|
| Friction limit | $F_{\max} = \mu N$, $N = mg + L$ | μ falls with load and depends on rubber temperature |
| Grip sensitivity | $\Delta v / v = \tfrac12 \Delta\mu/\mu$ (no downforce) | 1% grip → ~0.5% speed in grip-limited sections |
| Sliding heat | $P = F\,v_{\text{slip}}$ | 🧪 8 kN × 0.5 m/s = 4 kW per tyre |
| Lap-time decomposition | base + β_fuel(L − N) + δ_c + k_c·age + ε | the threshold concept |
| Fuel + evolution slope | estimate_fuel_effect, s per race lap |
median −0.056 (CI −0.061 to −0.050), 76 races |
| Degradation rate | stint slope of fuel-corrected clean laps on tyre age | SOFT 0.064, MEDIUM 0.051, HARD 0.048 s/lap (default correction); raw ≈ 0 |
| Warm-up penalty | stint lap 2 residual vs line on laps ≥ 4 | MEDIUM 0.42 s, SOFT 0.32 s, HARD 0.05 s |
| Cliff frequency | last-2-lap residual > 2 s | 0.5% of stints (17 of 3,262) |
| Track temperature | within-circuit deg slope per +10 °C | +0.017 s/lap (CI +0.007 to +0.026) |
| Compound offset | same driver-race, equal age | SOFT − MEDIUM −0.136 s; HARD − MEDIUM −0.039 s (CI includes 0) |
| Fresh-tyre delta | first 3 new vs last 3 old clean laps | −1.078 s/lap; > 2 s/lap at only 11.2% of stops |
| Break-even stint | pit loss / fresh-tyre delta | 22.5 / 1.078 = 20.9 laps |
Decision checklist for reading any tyre number
- Which fuel correction? Raw, the default assumption, or the race's own data-driven slope?
- Which compound, at which circuit and season? Remember the labels are relative.
- Per-stint slopes or a pooled curve? (Pooled curves suffer survivorship at long ages.)
- Dry race? Clean laps only? First stint lap dropped?
- Is it inside the data's reach? No tyre temperatures, pressures or wear: grip and heat are inferred from lap times.
- Before you model a cliff, check how often one actually appears.
What's Next
This chapter treated grip qualitatively: "μ falls with load", "rubber has a window". In Chapter 5 we make it quantitative with Pacejka's Magic Formula for slip and force, the friction ellipse for combined braking and cornering, and a two-node thermal model that shows why the window exists. Then Chapter 6 returns to the other half of the threshold concept: the fuel and energy that the power unit burns, lap by lap.