DataBrighten

    Sample flight delay data

    1,000 × 13rows × columns in the 1,000-row file

    Updated 3 November 2026. Fictional U.S. businesses and people, generated with a fixed seed.

    textnumberdateyes/no
    Largest file10,000rows; also 100 and 1,000
    Columns13with a data dictionary below
    Dates2024-01-01 – 2024-12-31range in the file
    LicenceCC0synthetic, free for any use

    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_idtextflight_datedatecarriertextflight_numbertextorigintextdestinationtextscheduled_departure_hournumberscheduled_duration_minnumberdep_delay_minnumberarr_delay_minnumbercancelledyes/nodelayed_15yes/nodelay_causetext
    FL2000012024-03-30Aurora AirAU8797PHXMSP161006661FALSETRUECarrier
    FL2000022024-10-09Aurora AirAU1256DFWORD1990712FALSEFALSE
    FL2000032024-11-10Prairie WingsPW7127BOSATL12140-9-6FALSEFALSE
    FL2000042024-02-06Summit AirwaysSM8863BOSSFO1980-12FALSEFALSE
    FL2000052024-12-05Prairie WingsPW2293MSPDFW171104-9FALSEFALSE
    FL2000062024-12-14Prairie WingsPW5239MIABOS21165-5-7FALSEFALSE
    FL2000072024-09-28Summit AirwaysSM6557MIAPHX122553928FALSETRUELate inbound aircraft
    FL2000082024-10-24Aurora AirAU8622MSPCLT8150-1-11FALSEFALSE
    FL2000092024-07-07Aurora AirAU6606DTWLAX13165-15-16FALSEFALSE
    FL2000102024-02-01Aurora AirAU7469ORDMIA11135-4-6FALSEFALSE

    Late-arrival rate by carrier

    % arriving 15+ min late, 1,000-row file

    Prairie Wings32.4Coastal Jet23.4Aurora Air21.4Summit Airways17.8
    Show as a table
    carriervalue
    Prairie Wings32.4
    Coastal Jet23.4
    Aurora Air21.4
    Summit Airways17.8
    Source: DataBrighten synthetic data (seed 42), computed from the file you can download here.

    Data dictionary

    ColumnTypeMeaning
    flight_idtextRow number
    flight_datedateScheduled date (2024)
    carriertextFictional airline
    flight_numbertextCarrier code + number
    origintextDeparture airport (IATA code)
    destinationtextArrival airport (IATA code), never equal to origin
    scheduled_departure_hourintegerScheduled departure hour, 5-22
    scheduled_duration_minintegerScheduled gate-to-gate minutes
    dep_delay_minintegerMinutes late leaving the gate (negative = early), blank if cancelled
    arr_delay_minintegerMinutes late arriving (negative = early), blank if cancelled
    cancelledbooleanFlight cancelled
    delayed_15booleanarr_delay_min >= 15 (FALSE if cancelled)

    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, carrier

    File: 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_delays

    File: 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_cause

    File: flight-delays-1000