DataBrighten

    Sample payroll data

    1,000 × 12rows × 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
    Columns12with a data dictionary below
    Dates2024-01-05 – 2024-03-01range in the file
    LicenceCC0synthetic, free for any use

    What is in it

    Each row is one paycheck for one of 200 fictional hourly employees in 2024: base rate, regular and overtime hours, gross pay, an illustrative flat federal withholding, Social Security at 6.2%, Medicare at 1.45% and net pay. Every money column can be rebuilt from the others with a formula.

    More practice tables like this one: all 14 newer sample datasets.

    First rows

    point at a column to light it up

    payroll_idtextemployee_idtextdepartmenttextpay_datedatehourly_ratenumberregular_hoursnumberovertime_hoursnumbergross_paynumberfederal_withholdingnumbersocial_securitynumbermedicarenumbernet_paynumber
    PR500001H1001Warehouse2024-01-0516.663.101047.46104.7564.9415.19862.58
    PR500002H1002Maintenance2024-01-0535.0964.102249.27494.84139.4532.611582.37
    PR500003H1003Maintenance2024-01-0522.4802.21865.92223.91115.6927.061499.26
    PR500004H1004Delivery2024-01-0530.668002452.8539.62152.0735.571725.54
    PR500005H1005Retail2024-01-0535.898002871.2631.66178.0141.632019.9
    PR500006H1006Maintenance2024-01-0515.61801.61286.26128.6379.7518.651059.23
    PR500007H1007Maintenance2024-01-0517.9801.41469.59146.9691.1121.311210.21
    PR500008H1008Kitchen2024-01-0518.25809.91731.01173.1107.3225.11425.49
    PR500009H1009Warehouse2024-01-0531.438002514.4553.17155.8936.461768.88
    PR500010H1010Warehouse2024-01-0523.759.801417.26170.0787.8720.551138.77

    Gross pay by department

    USD, 1,000-row file

    Delivery$386,420Kitchen$348,265Warehouse$347,035Front Desk$303,002Maintenance$270,074Retail$220,929
    Show as a table
    departmentvalue
    Delivery$386,420
    Kitchen$348,265
    Warehouse$347,035
    Front Desk$303,002
    Maintenance$270,074
    Retail$220,929
    Source: DataBrighten synthetic data (seed 42), computed from the file you can download here.

    Data dictionary

    ColumnTypeMeaning
    payroll_idtextPay line number
    employee_idtextEmployee number (200 hourly employees)
    departmenttextDepartment
    pay_datedateBiweekly pay date in 2024 (Fridays from 2024-01-05)
    hourly_ratedecimalBase rate (USD per hour)
    regular_hoursdecimalHours at the base rate, up to 80
    overtime_hoursdecimalHours paid at 1.5 x the base rate
    gross_paydecimalregular_hours x hourly_rate + overtime_hours x hourly_rate x 1.5
    federal_withholdingdecimalIllustrative flat withholding (10%, 12% or 22% of gross), not a real tax calculation
    social_securitydecimal6.2% of gross_pay
    medicaredecimal1.45% of gross_pay
    net_paydecimalgross_pay - federal_withholding - social_security - medicare

    Practice questions

    answers checked in SQL and in Python

    Total gross pay and net pay in the file?

    Gross $1,875,724.31, net $1,465,255.87

    Excel

    =SUM(H2:H1001) and =SUM(L2:L1001)

    SQL

    SELECT ROUND(SUM(gross_pay),2), ROUND(SUM(net_pay),2) FROM payroll

    File: payroll-1000

    How many pay lines include overtime, and what is the total overtime hours?

    277 pay lines, 1,739.4 overtime hours

    Excel

    =COUNTIF(G:G,">0") and =SUM(G:G)

    SQL

    SELECT COUNT(*), ROUND(SUM(overtime_hours),1) FROM payroll WHERE overtime_hours > 0

    File: payroll-1000

    Gross pay by department?

    Delivery $386,419.94; Kitchen $348,264.71; Warehouse $347,034.87; Front Desk $303,002.00; Maintenance $270,073.68; Retail $220,929.11

    Excel

    =SUMIFS(H:H,C:C,"Warehouse")

    SQL

    SELECT department, ROUND(SUM(gross_pay),2) AS g FROM payroll GROUP BY department ORDER BY g DESC, department

    File: payroll-1000