pit_stops.csv table contains detailed information about every pit stop made during Formula 1 races.
Schema
| Field | Type | Description |
|---|---|---|
raceId | integer | Foreign key to races.csv |
driverId | integer | Foreign key to drivers.csv |
stop | integer | Pit stop number for this driver in this race (1, 2, 3, etc.) |
lap | integer | Lap number when the pit stop occurred |
time | time | Time of day when the pit stop occurred (HH:MM:SS) |
duration | string | Duration of the pit stop in seconds |
milliseconds | integer | Duration of the pit stop in milliseconds |
This table uses a composite key of
(raceId, driverId, stop) rather than a single unique identifier.Sample Data
| raceId | driverId | stop | lap | time | duration | milliseconds |
|---|---|---|---|---|---|---|
| 258 | 100 | 1 | 1 | 14:01:34 | 49.111 | 49111 |
| 258 | 79 | 1 | 17 | 14:20:46 | 28.482 | 28482 |
| 258 | 57 | 1 | 18 | 14:22:35 | 43.745 | 43745 |
| 258 | 71 | 1 | 18 | 14:23:00 | 21.992 | 21992 |
Relationships
References:
pit_stops.raceId→races.raceIdpit_stops.driverId→drivers.driverId
Dataset Statistics
- Total Records: 22,145 pit stops
- Date Range: Pit stop data available from 2011 onwards
- Stops per Race: Varies (typically 1-3 per driver)
Example Queries
Get all pit stops for a race
Find fastest pit stops
Analyze pit stop strategies
Calculate average pit stop duration by race
Find pit stop lap distribution
Identify unusual pit stop durations
Compare pit stop performance by constructor
Analyze undercut/overcut strategies
Calculate pit stop time trend over seasons
Pit Stop Records
- Fastest pit stop: Typically under 2 seconds (modern era)
- Typical duration: 2-3 seconds for tire change (2010s-present)
- Common strategies:
- One-stop: Single pit stop during race
- Two-stop: Two pit stops (most common)
- Three-stop: Three or more stops (rare, usually weather-related)
Notes
- Pit stop timing data is available from 2011 onwards
- Duration includes time from pit entry to pit exit
- Very long pit stops (30+ seconds) often indicate mechanical issues or penalties
- Pit stop strategy significantly affects race outcomes
timefield shows time of day (race-local time)- Red flag periods may affect pit stop strategies
- Modern pit stops (2018+) average around 2-2.5 seconds
- Regulations on number of mechanics allowed affect pit stop times
- The
stopfield helps identify one-stop, two-stop, etc. strategies
