Sample flight delay data
Updated 3 November 2026. Fictional U.S. businesses and people, generated with a fixed seed.
What is in it
Each row is one scheduled flight in 2024 on a route between two U.S. airport codes, operated by one of four fictional airlines: scheduled hour and duration, minutes late at departure and arrival, whether it was cancelled, whether it arrived 15 or more minutes late, and the main cause. The delays are generated for practice and say nothing about real airlines or airports.
More practice tables like this one: all 22 newer sample datasets.
First rows
point at a column to light it up
| flight_idtext | flight_datedate | carriertext | flight_numbertext | origintext | destinationtext | scheduled_departure_hournumber | scheduled_duration_minnumber | dep_delay_minnumber | arr_delay_minnumber | cancelledyes/no | delayed_15yes/no | delay_causetext |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FL200001 | 2024-03-30 | Aurora Air | AU8797 | PHX | MSP | 16 | 100 | 66 | 61 | FALSE | TRUE | Carrier |
| FL200002 | 2024-10-09 | Aurora Air | AU1256 | DFW | ORD | 19 | 90 | 7 | 12 | FALSE | FALSE | |
| FL200003 | 2024-11-10 | Prairie Wings | PW7127 | BOS | ATL | 12 | 140 | -9 | -6 | FALSE | FALSE | |
| FL200004 | 2024-02-06 | Summit Airways | SM8863 | BOS | SFO | 19 | 80 | -1 | 2 | FALSE | FALSE | |
| FL200005 | 2024-12-05 | Prairie Wings | PW2293 | MSP | DFW | 17 | 110 | 4 | -9 | FALSE | FALSE | |
| FL200006 | 2024-12-14 | Prairie Wings | PW5239 | MIA | BOS | 21 | 165 | -5 | -7 | FALSE | FALSE | |
| FL200007 | 2024-09-28 | Summit Airways | SM6557 | MIA | PHX | 12 | 255 | 39 | 28 | FALSE | TRUE | Late inbound aircraft |
| FL200008 | 2024-10-24 | Aurora Air | AU8622 | MSP | CLT | 8 | 150 | -1 | -11 | FALSE | FALSE | |
| FL200009 | 2024-07-07 | Aurora Air | AU6606 | DTW | LAX | 13 | 165 | -15 | -16 | FALSE | FALSE | |
| FL200010 | 2024-02-01 | Aurora Air | AU7469 | ORD | MIA | 11 | 135 | -4 | -6 | FALSE | FALSE |
Late-arrival rate by carrier
% arriving 15+ min late, 1,000-row file
Show as a table
| carrier | value |
|---|---|
| Prairie Wings | 32.4 |
| Coastal Jet | 23.4 |
| Aurora Air | 21.4 |
| Summit Airways | 17.8 |
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| flight_id | text | Row number |
| flight_date | date | Scheduled date (2024) |
| carrier | text | Fictional airline |
| flight_number | text | Carrier code + number |
| origin | text | Departure airport (IATA code) |
| destination | text | Arrival airport (IATA code), never equal to origin |
| scheduled_departure_hour | integer | Scheduled departure hour, 5-22 |
| scheduled_duration_min | integer | Scheduled gate-to-gate minutes |
| dep_delay_min | integer | Minutes late leaving the gate (negative = early), blank if cancelled |
| arr_delay_min | integer | Minutes late arriving (negative = early), blank if cancelled |
| cancelled | boolean | Flight cancelled |
| delayed_15 | boolean | arr_delay_min >= 15 (FALSE if cancelled) |
| delay_cause | text | Main cause when delayed_15 or cancelled: Weather, Carrier, Air traffic control, Late inbound aircraft; otherwise blank |
Practice questions
answers checked in SQL and in Python
Share of flights arriving 15 or more minutes late, by carrier?
Prairie Wings 32.4%; Coastal Jet 23.4%; Aurora Air 21.4%; Summit Airways 17.8%
SQL
SELECT carrier, ROUND(100.0*SUM(delayed_15)/COUNT(*),1) AS pct FROM flight_delays GROUP BY carrier ORDER BY pct DESC, carrierFile: flight-delays-1000
How many flights were cancelled, and what is the average arrival delay of the flights that flew?
33 cancelled; average arrival delay 6.1 min
Excel
=COUNTIF(K:K,TRUE) and =AVERAGE(J2:J1001)SQL
SELECT SUM(cancelled), ROUND(AVG(arr_delay_min),1) FROM flight_delaysFile: flight-delays-1000
Which cause is most common among delayed or cancelled flights?
Late inbound aircraft 76; Carrier 75; Weather 57; Air traffic control 48
Excel
=COUNTIF(M:M,"Weather")SQL
SELECT delay_cause, COUNT(*) AS n FROM flight_delays WHERE delay_cause IS NOT NULL GROUP BY delay_cause ORDER BY n DESC, delay_causeFile: flight-delays-1000