DataBrighten

    Sample gym membership data

    1,000 × 14rows × 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
    Columns14with a data dictionary below
    Dates2022-01-01 – 2024-11-26range in the file
    LicenceCC0synthetic, free for any use

    What is in it

    Each row is one fictional gym member who joined in 2022-2024: age, home club, plan (Basic, Standard or Premium), monthly fee, join and cancel dates, months as a member, total fees paid, visits per month and whether they cancelled. Members who rarely visit cancel more often, which makes it a good churn practice table.

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

    First rows

    point at a column to light it up

    member_idtextagenumbergendertexthome_clubtextmembership_typetextmonthly_feenumberjoin_datedatecancel_datedatemonths_membernumbertotal_fees_paidnumbervisits_per_monthnumberavg_session_minutesnumberpersonal_trainingyes/nocancelledyes/no
    GM4000131Non-binaryDallasStandard452022-08-052812605.149FALSEFALSE
    GM4000246Non-binaryPhiladelphiaStandard452024-02-04104508.850FALSEFALSE
    GM4000346MaleChicagoStandard452022-06-013113953.766FALSEFALSE
    GM4000428MaleHoustonPremium752022-04-262024-08-11272025576FALSETRUE
    GM4000522MaleBuffaloBasic252022-06-122022-09-233750.881FALSETRUE
    GM4000640MalePhoenixStandard452023-05-16198554.950FALSEFALSE
    GM4000740FemaleChicagoStandard452024-07-01627010.653FALSEFALSE
    GM4000863MaleKansas CityStandard452022-07-062913053.469FALSEFALSE
    GM4000932MaleColumbusPremium752022-01-253526258.688TRUEFALSE
    GM4001024MaleBostonBasic252024-07-1751257.365FALSEFALSE

    Cancellation rate by plan

    % cancelled, 1,000-row file

    Basic26.8Standard18.6Premium14.3
    Show as a table
    membership_typevalue
    Basic26.8
    Standard18.6
    Premium14.3
    Source: DataBrighten synthetic data (seed 42), computed from the file you can download here.

    Data dictionary

    ColumnTypeMeaning
    member_idtextMember number
    ageintegerAge in years, 16-75
    gendertextFemale, Male or Non-binary
    home_clubtextCity of the member's home club
    membership_typetextBasic, Standard or Premium
    monthly_feedecimalFee per month (USD): Basic 25, Standard 45, Premium 75
    join_datedateJoined (2022-2024)
    cancel_datedateCancellation date, blank if still a member on 2024-12-31
    months_memberintegerWhole months from join_date to cancel_date or to 2024-12-31 (at least 1)
    total_fees_paiddecimalmonthly_fee x months_member (USD)
    visits_per_monthdecimalAverage club visits per month
    avg_session_minutesintegerAverage minutes per visit

    Practice questions

    answers checked in SQL and in Python

    Cancellation rate by membership type?

    Basic 26.8%; Standard 18.6%; Premium 14.3%

    SQL

    SELECT membership_type, ROUND(100.0*SUM(cancelled)/COUNT(*),1) AS pct FROM gym_members GROUP BY membership_type ORDER BY pct DESC, membership_type

    File: gym-members-1000

    Average visits per month for members who cancelled vs. those who did not?

    cancelled FALSE: 6.9 visits; cancelled TRUE: 5.1 visits

    Excel

    =AVERAGEIF(N:N,TRUE,K:K)

    SQL

    SELECT CASE WHEN cancelled THEN 'TRUE' ELSE 'FALSE' END AS c, ROUND(AVG(visits_per_month),1) AS v FROM gym_members GROUP BY c ORDER BY v DESC, c

    File: gym-members-1000

    Total fees paid by plan?

    Standard $281,115.00; Premium $212,850.00; Basic $178,500.00

    Excel

    =SUMIFS(J:J,E:E,"Basic")

    SQL

    SELECT membership_type, ROUND(SUM(total_fees_paid),2) AS t FROM gym_members GROUP BY membership_type ORDER BY t DESC, membership_type

    File: gym-members-1000