Employee Attrition Prediction

This dataset provides comprehensive historical HR records, including employee demographics, job details, compensation, satisfaction metrics, and attrition status. It is ideal for building predictive models to forecast employee turnover and for analyzing factors influencing retention. The rich feature set supports advanced HR analytics, workforce planning, and targeted retention strategies.

  • opened 17 times
  • last updated 12 Jul 2025
  • by GoMask
The brief that made it

Predicting employee attrition and turnover risk

Sample rows

preview · 8 of 150 rows · all 36 columns
employee_idstringmarital_statusstringnum_dependentsintegeris_activebooleangenderstringfirst_namestringlast_namestringdate_of_birthdatehire_datedatetermination_datedatedepartmentstringjob_rolestringmanager_idstringeducation_levelstringsalaryfloatbonusfloatjob_levelintegeryears_at_companyfloatyears_in_current_rolefloatyears_since_last_promotionfloatyears_with_current_managerfloatperformance_ratingintegerovertimebooleanwork_life_balanceintegerjob_satisfactionintegerenvironment_satisfactionintegertraining_times_last_yearintegernum_companies_workedintegerdistance_from_homefloatbusiness_travelstringattritionbooleanaddress_streetstringaddress_citystringaddress_statestringaddress_postal_codestringaddress_countrystring
EMP-0001Single0trueFemaleSophiaMartinez1989-06-082015-08-15blankITSoftware EngineerEMP-0003Bachelor87000500028.83.52.224true233214.1Travel_Rarelyfalse782 Oakridge DrBostonMA02118USA
EMP-0002Married2trueMaleJacksonLee1972-04-212001-09-01blankFinanceFinance ManagerblankMaster12700015000422.210.42.76.85false344128.5Travel_Rarelyfalse390 Pinecrest AveNashvilleTN37211USA
EMP-0003Married3trueFemaleAvaPatel1981-01-132010-04-10blankITIT ManagerblankMaster11200012000413.97.61.95.24false3441212.7Travel_Rarelyfalse1507 Willow StAustinTX78702USA
EMP-0004Single0falseMaleMasonYoung1996-10-072021-07-122023-06-18SalesSales RepresentativeEMP-0007Bachelor49000120011.91.91.91.73true222301.8Travel_Frequentlytrue89 Harbor DrTampaFL33602USA
EMP-0005Single0trueFemaleIsabellaNguyen1992-03-192017-11-03blankEngineeringQuality AnalystEMP-0010Bachelor79000400025.63.62.82.14true333217.2Travel_Rarelyfalse512 Summit PlDenverCO80203USA
EMP-0006Married2trueMaleAidenRobinson1986-12-142014-02-24blankITSystems AdministratorEMP-0003Bachelor92000600039.95.93.133true232122.2Travel_Rarelyfalse671 Birchwood AveChicagoIL60616USA
EMP-0007Married3trueMaleLoganWhite1982-07-022009-10-12blankSalesSales ManagerblankBachelor11700017500414.17.21.244false3431212.5Travel_Frequentlyfalse213 Cedar CtCharlotteNC28202USA
EMP-0008Married2trueMaleLucasPerez1978-09-212012-01-25blankOperationsOperations AnalystEMP-0012Bachelor840003500311.26.83.63.24false333227.9Non-Travelfalse490 King StSeattleWA98101USA

What the 150 rows show

from the 150-row sample

Single (marital status) stands out: mean num_dependents is 0.0, against 1.9 for the rest.

  • 82%is_active = true
  • 0median num_dependents
  • 3business travels
  • 5education levels
  • 9departments
  • 29address states
Mean num_dependents by marital_status148 rows
0120.0Single77 rows1.9Married71 rows
num_dependents148 rows, in bands of 0.5
04080770190401201.53num_dependents →

Median 0, from 0 to 3.

gender148 rows with a value · 2 left blank
  1. Male72
  2. Female67
  3. Other6
  4. Prefer not to say3
36 columns by typefrom the column list below
  • string 15
  • integer 8
  • float 7
  • date 3
  • boolean 3

Columns

36 columns in four groups
blueprint · 36 columns
columntypedescriptionexample
Text 15 columns
employee_idstringUnique identifier for each employeeuniqueEMP-0001
first_namestringEmployee's first nameSophia
last_namestringEmployee's last nameMartinez
genderstringEmployee's genderMale · Female · Other · Prefer not to say · optionalFemale
departmentstringDepartment where the employee works9 departmentsIT
job_rolestringEmployee's job title or roleSoftware Engineer
manager_idstringEmployee ID of the manageroptionalEMP-0003
education_levelstringHighest education level attained6 values · optionalBachelor
marital_statusstringEmployee's marital statusSingle · Married · Divorced · Widowed · Other · optionalSingle
business_travelstringFrequency of business travelNon-Travel · Travel_Rarely · Travel_Frequently · optionalTravel_Rarely
address_streetstringEmployee's residential street addressoptional782 Oakridge Dr
address_citystringEmployee's residential cityoptionalBoston
address_statestringEmployee's residential state or provinceoptionalMA
address_postal_codestringEmployee's residential postal codeoptional02118
address_countrystringEmployee's residential countryoptionalUSA
Numbers 15 columns
num_dependentsintegerNumber of dependents the employee has0 or more · optional0
salaryfloatCurrent annual salary of the employee in USD0 or more87000
bonusfloatAnnual bonus received by the employee in USD0 or more · optional5000
job_levelintegerJob level or grade within the organization1 or more · optional2
years_at_companyfloatTotal number of years the employee has worked at the company0 or more8.8
years_in_current_rolefloatNumber of years the employee has been in their current role0 or more · optional3.5
years_since_last_promotionfloatYears since the employee's last promotion0 or more · optional2.2
years_with_current_managerfloatYears the employee has worked with their current manager0 or more · optional2
performance_ratingintegerMost recent performance rating (e.g., 1-5 scale)1 to 5 · optional4
work_life_balanceintegerEmployee's work-life balance rating (e.g., 1-4 scale)1 to 4 · optional2
job_satisfactionintegerEmployee's job satisfaction rating (e.g., 1-4 scale)1 to 4 · optional3
environment_satisfactionintegerEmployee's satisfaction with work environment (e.g., 1-4 scale)1 to 4 · optional3
training_times_last_yearintegerNumber of training sessions attended in the last year0 or more · optional2
num_companies_workedintegerNumber of companies the employee has previously worked for0 or more · optional1
distance_from_homefloatDistance from employee's home to workplace in miles0 or more · optional4.1
Dates and times 3 columns
date_of_birthdateEmployee's date of birthoptional1989-06-08
hire_datedateDate the employee was hired2015-08-15
termination_datedateDate the employee left the organization, null if still employedoptional2023-06-18
True or false 3 columns
is_activebooleanIndicates if the employee is currently employedtrue
overtimebooleanIndicates if the employee regularly works overtimeoptionaltrue
attritionbooleanIndicates if the employee has left the company (target variable)false

Use it for

  • is active82%121 of 148 rowsmean num dependents b…0.0Single1.9Married

    A human resources dashboard

    The is_active rate, num_dependents by marital_status and a breakdown of gender. Excel, Power BI or Tableau.

  • Why do the 77 Single rows have a mean num_dependents of 0.0?

    A root-cause class exercise

    Hand out the rows and one question. The answer is in the data, not in the brief.

  • A software demo

    Believable employees with first_name, last_name and gender to fill a screen in front of a buyer.

Not quite right?

Make it yours.

Same 36 columns, your size and your rules. See 20 rows before you pay.

Preview 20 rows free

10,000 rows of yours: $12.99One-time. No subscription. All prices

This dataset150 rows36 columns
Yours10,000 rows36 columnsaddress_street: UK only

blueprint · employee-attrition-prediction

Behind this dataset

Same schema. As many rows as you need.

These 150 rows came out of a blueprint — 36 columns with generation rules behind each one. Open it in Data Factory to retune a column, add your own, wire in foreign keys, and run it at the size you actually need.

Rules it was built with
  • Employees with tenure <6 months excluded
  • Exit interviews required for all departures
  • Resignation reasons standardized
  • Active employees must have last appraisal date
Rows
Open the blueprint in Data Factory

1 credit per row. New accounts start with 25 free credits.

Exports
CSV, JSON, JSONL, Parquet, SQL, Excel, TSV, XML
Licence
yours to use, including commercially
API slug
employee-attrition-prediction

What should your data show?

Preview 20 rows free
No signup. No card.