Skip to main content
Tire degradation has a large effect on F1 race strategy. This tutorial shows how different tire compounds lose performance as they age during a race. Tire degradation chart showing compound performance over tire life

Tire Degradation

Tire degradation is the gradual loss of grip and the increase in lap times when tires wear out. Different compounds (Soft, Medium, Hard) have different degradation profiles:
  • Soft: Fastest initially but degrades quickly
  • Medium: Balanced performance and durability
  • Hard: Slower but lasts longer with minimal degradation

Loading Race Data

Analyze the 2024 Hungarian Grand Prix to see how the tires performed:

Fuel-Corrected Lap Times

Cars burn fuel during the race, so the cars get lighter and faster. To see true tire degradation, correct for this effect:

Smoothing Data with Rolling Median

To reduce noise in the degradation curves, use a rolling median:

Visualizing Degradation by Compound

Plot how each compound performs over its lifetime, with raw data and smoothed trends:
The visualization now shows:
  • Raw data points as semi-transparent scatter plots
  • Smoothed trend lines using rolling median to reduce noise
  • Compound labels annotated at the end of each line
  • Dynamic y-axis limits that exclude extreme outliers

Analyzing Specific Driver Performance

Compare how different drivers manage the same compound:

Understanding Degradation Rates

The slope of the trend line gives the degradation rate:
  • 0.00 - 0.05 s/lap: Excellent tire management
  • 0.05 - 0.10 s/lap: Normal degradation
  • > 0.10 s/lap: High degradation (aggressive driving or setup issues)

Finding the “Cliff”

The “cliff” is when tires suddenly lose significant performance:

Parameters

The native function exposes the same controls as parameters. compounds picks the compounds to plot. fuel_correction sets the per-lap fuel gain. min_laps drops compounds with too few laps. smoothing_window tunes the rolling median:
Compound colors come from tif1.plotting.get_compound_mapping(session) (season-aware), not hardcoded literals.

Complete Example

The complete workflow above (fuel correction, rolling median, cliff-friendly y-limits) is one native function:
The rolling_median helper shown above lives in the library as tif1.charts.performance.rolling_median.

Summary

Use tif1 to:
  • Analyze tire degradation patterns across compounds
  • Compare driver tire management skills
  • Identify optimal stint lengths before the “cliff”
  • Make data-driven strategy decisions
This analysis is fundamental to understanding race strategy and predicting optimal pit stop windows.
Last modified on September 3, 2026