AI for HR Certification
Proficient · M12 · lesson 12 of 28 · queued
Preview — browse every lesson free. Enroll to mark lessons complete, open partner links and save your progress. Login & enroll →
DEI Metrics Collection, Analysis, and Reporting
📖
now learning

DEI Metrics Collection, Analysis, and Reporting

15 min

Overview

You're asked in a board meeting: "What percentage of our engineers are women? What about senior engineering? What about product leadership?" You pause. You actually don't have that data readily available. You look it up and the answer is unclear because you're not sure if you're counting correctly (are people on leave counted? Does it include contractors?). The numbers you provide are estimates. The board makes diversity commitments based on estimates. You promised to improve women in engineering to 35% by EOY, but you don't know where you started.

DEI metrics are sensitive and complex. Data involves identity information. Companies are often reluctant to collect it because of privacy concerns. When they do, they need to handle it carefully, segregate it, limit access, use only for aggregated analysis. But they're also essential. You can't improve what you don't measure. If you don't know your baseline, "women are 28% of engineers today". You can't measure progress. If you don't analyze pay equity, you might be paying women or minorities less than peers without knowing it. If you don't track representation by level, you miss pipeline problems.

This lesson covers building DEI measurement rigorously, collecting identity data responsibly, analyzing it carefully, and reporting it transparently.

Important: DEI data is sensitive. Handle with care. Segregate from personnel records. Limit access. Use only for aggregate analysis and decision-making that improves fairness. Never use raw demographic data to make individual compensation or promotion decisions without human review.

Why HR Owns DEI Metrics

DEI metrics belong with people analytics because:

You own the data. HRIS is where people data lives. You can segment employees by demographics, tenure, level, department, and location. You can connect it to hiring, promotion, attrition, and compensation data. No other function has this breadth.

You can identify unfairness. If an analysis shows "women at this level earn 10% less than men," HR needs to investigate and fix it. If women leave at higher rates, HR needs to understand why. If minorities aren't promoted at the same rate, HR needs to address it. Data reveals inequity; HR acts.

You'll set goals and track progress. Board says "50% women by 2028" or "30% senior leadership from underrepresented groups by 2027." HR defines the baseline, creates the plan, tracks progress quarterly, reports to leadership. This is your accountability.

Core DEI Metrics: What to Measure

Representation (The Baseline):

Company-wide snapshot: What % of your employees are women? Black? Hispanic? Asian? Other minorities? LGBTQ+? People with disabilities? This is your baseline. "Women are 35% of the company" is a starting point. It's not a goal (yet), just a fact.

By level: Women are 35% overall, but what about by level? "Women are 42% of entry-level roles, 35% of mid-level, 28% of senior, 20% of director+." This distribution tells a story. Pipeline narrows at each level. Either fewer women were in junior roles 5-10 years ago (historical hiring issue), or women are leaving at higher rates as they advance (retention issue), or women aren't promoted at the same rate (promotion bias). You need to dig in.

By department: Not all teams are equally diverse. "Engineering is 18% women, Sales is 40% women, Operations is 50% women." Engineering has a pipeline issue. Are you not recruiting women engineers? Not retaining them? Both? Department-level detail tells you where to focus.

By geography: If multi-office, "Women are 35% in SF, 38% in NYC, 28% in Austin." Patterns tell you if location matters.

Hiring (The Inflow):

What % of your new hires are women? Minorities? "Last year you hired 50 people: 18 women (36%), 15 minorities (30%)." Compare to your company baseline and to market. "Women are 35% of your company but only 36% of hires" = maintaining status quo. If women are 35% of company but 45% of hires, you're improving. If women are 35% but only 20% of hires, you're going backwards.

Compare to labor market where possible. "Women are 25% of software engineers nationally (tech labor market). We hired 18% women engineers. We're below market." That's a problem. "Women are 40% of business operations nationally. We hired 55% women ops people. We're above market." That's good.

By department: "You hired 10 engineers, 1 woman. You hired 12 operations people, 9 women." Engineering has a recruiting problem. Operations is recruiting well. Different departments might face different market challenges (tech has fewer women engineers; ops has more).

Promotion (The Advancement):

Critical metric: Are women and minorities promoted at the same rate as majority groups?

Example: "15% of men were promoted last year. 10% of women were promoted. Women are promoted at 67% the rate of men." That's a gap. It might be justified (men have different tenure distribution or level distribution) or it might indicate bias.

Track by level: "Manager promotions: 8% of men promoted, 7% of women promoted (87% parity). Director promotions: 12% of men promoted, 4% of women promoted (33% parity). Issue is at director level, women are promoted to director at much lower rates."

This is where bias often shows up. Senior level is especially important because it's the leadership pipeline.

Attrition (The Leakage):

Do some groups leave at higher rates? "Overall company attrition is 2.3%. Women's attrition is 3.1%. Minorities' attrition is 2.2%." Women are leaving faster. That's a signal something's wrong (engagement issues, advancement issues, compensation issues).

Track by level: "New hire attrition (first 6 months): 8% for women, 5% for men. Women aren't staying after hire." Onboarding or culture problem.

By department: "Engineering women attrition is 4.5%. Other departments average 2.1%." Engineering has an issue.

Connect to exit interviews: "Women who left cited: lack of advancement opportunity (40%), challenging manager relationships (30%), work-life balance (20%), other (10%)." Now you know what to fix in Engineering.

Compensation (The Fairness Check):

This is critical for equity. Same job, similar tenure, similar level = similar pay, regardless of gender or race.

Process: Pick a role level (e.g., Senior Engineer). Calculate average salary for women, men, and racial groups. Compare. Example:
- Senior Engineers, men: $185K average (n=45)
- Senior Engineers, women: $172K average (n=15)
- Gap: $13K or 7% difference

Is this gap justified? Possible explanations:
- Different tenure (men have 1 more year on average? That might explain 2-3%)
- Different sub-roles (some SEs are backend, others frontend, different pay bands? That might explain 1-2%)
- Different performance ratings (men rated higher on average? Investigate why)

If gap is >5% and not explained by legitimate factors, correction is needed.

Leadership (The Bench):

What % of your managers, directors, VPs are women and minorities? "Women are 35% of the company, 25% of managers, 15% of directors, 10% of VPs." Leadership is less diverse than population. Why? Are women not promoted into management? Not staying in management? Issues here compound over time.

Track trend: "Two years ago women were 12% of VPs. Last year 12%. This year 10%. Going backwards." Flag this. Leadership pipeline is the issue.

Pay Equity by Department:

Same analysis as above but by department. "Engineering: men avg $120K, women avg $108K (10% gap)." vs. "Operations: men avg $95K, women avg $94K (1% gap)." Engineering has an equity issue; operations doesn't.

Tip: Start with representation (company-wide, by level, by department). Then add hiring and attrition. Then pay equity. Then promotion rates. You don't need all six metrics on day one. Start with foundation, add depth over time.

Data Collection: What to Ask and How to Protect It

What to collect:

In your HRIS or onboarding, collect voluntarily:
- Race/ethnicity: "With which of these groups do you identify? (African/Black American, Asian/Asian American, Hispanic/Latinx, Native American, Pacific Islander, White, Multiracial, Other, Prefer not to answer)"
- Gender identity: "What is your gender identity? (Man, Woman, Non-binary, Prefer to self-describe ___, Prefer not to answer)"
- Sexual orientation: "Which of these best describes your sexual orientation? (Straight, Gay, Lesbian, Bisexual, Asexual, Other, Prefer not to answer)"
- Disability: "Do you have a disability? (Yes, No, Prefer not to answer)" (More detail only if they say yes and choose to elaborate)
- Veteran status: "Are you a military veteran? (Yes, No, Prefer not to answer)" (relevant for some orgs with veteran hiring programs)

Make every question optional with "Prefer not to answer." Response rates will be lower (maybe 60-70% instead of 100%), but that's fine. You get a representative sample.

How to collect:

New hires: Include demographic questions in offer acceptance or new hire onboarding portal, before Day 1. Frame as "Help us build a more diverse and inclusive company. Your responses are optional and confidential."

Existing employees: If you've never collected this, send a one-time survey or include in annual HRIS update. Explain why: "We're measuring representation to improve diversity and equity. Your responses are optional and will be kept confidential."

How to protect the data:

Segregation: Keep demographic data separate from personnel records. Don't store in the same HRIS module as name, salary, performance rating. Use a separate database or module with different access controls.

Access limitation: Only HR analytics team should access raw demographic data. Not managers. Not Finance. Not General Counsel. Minimal access = minimal risk. Audit monthly: who accessed what, when.

Aggregation for reporting: Never report individual data. Always aggregate. "Salary gap for women engineers" is aggregated (average of multiple people). "Engineer Jane earns $10K less because she's a woman" would be individual data, never do this.

Minimum group size: Don't report metrics for groups smaller than 5-10 people (depending on org size). "We have 1 Native American in the company earning $X" is too small a group and might identify the individual. If fewer than 10, combine into "other" category.

Regular audit: Monthly or quarterly, review access logs. Who's requesting demographic data? For what purpose? Document it. This creates a paper trail that shows responsible use.

What NOT to do:

Don't require disclosure. If someone says "prefer not to answer," that's final. Don't pressure. This creates distrust.

Don't use raw demographic data as automated input into AI systems for compensation or promotion decisions. Example: "AI, what salary should Jane get?" where AI can see her demographic data. Bad. AI might perpetuate bias. Instead: Use AI to flag pay gaps (aggregate analysis), then humans investigate and decide.

Don't share raw demographic data externally. If asked by regulators, share aggregated data. If publishing diversity report, share aggregated data. Never share individual-level data outside your company.

Don't combine demographic data with performance data in ways that could identify individuals. Example: "Jane is in underrepresented group X earning less because her performance rating is Y." If Jane is the only person in that group, this effectively identifies her. Don't do this.

Important: Legal disclosure: Most US companies must file EEO-1 reports annually (if 100+ employees), which includes demographic breakdowns. These are filed with the government and can be public. EU companies have different privacy laws (GDPR). Check your jurisdiction's requirements. The safer approach: Always collect demographic data under the assumption it might be disclosed; don't collect anything you wouldn't be okay sharing in an EEO-1 report or diversity report.

Analysis: Pay Equity Deep Dive

Pay equity analysis is non-negotiable. Equal work should mean equal pay, regardless of gender, race, or background.

The process:


  • Identify role and level. Example: "Senior Engineer" (specific role, specific level). Don't mix levels (Senior and Junior together). They shouldn't earn the same anyway.

  • Segment by demographics. Calculate average salary for women, men, and racial groups within that role/level.

  • Calculate gaps. Is the difference greater than 5% (a reasonable threshold for noise)?

  • Investigate gaps. If gap is >5%, investigate why:
    - Tenure difference? Men might have 1 more year on average = some pay difference is justified.
    - Promotion path difference? Men might be more recently promoted from lower bands.
    - Sub-role difference? Senior engineers might be split (backend, frontend, mobile, different bands).
    - Performance difference? Men might have higher ratings on average (investigate why, possible bias in ratings).
    - Start salary difference? Women hired at lower starting salaries (fix in recruiting).

  • Correct if unjustified. If gap exists and isn't justified by above factors, correction is needed (usually raises).

Example:

SENIOR ENGINEER PAY EQUITY ANALYSIS (2024)

Men: $185K average (n=45, tenure 4.2 yrs avg)
Women: $172K average (n=15, tenure 4.1 yrs avg)
Gap: $13K (7% difference)

Tenure is similar, so tenure doesn't explain gap.

Investigation:
- Sub-role breakdown:
- Backend engineers (higher band): Men 20, Women 4. Men average $190K, Women average $175K (8% gap)
- Frontend engineers (lower band): Men 15, Women 8. Men average $175K, Women average $170K (3% gap)
- Explanation found: Women are underrepresented in higher-paid sub-roles (backend).
- But within sub-roles, gaps exist: Backend 8%, Frontend 3%.

Action:
1. Backend gap 8%: Investigate women in backend roles. Are they being hired at lower salaries? Not promoted into backend? Corrective raises for 3 women = ~$15K each.
2. Increase women in backend hiring (addresses root cause).
3. Monitor: Next year's analysis should show gap closing.

This analysis is labor-intensive but essential. Many companies do it annually. Some use third-party consultants. Either way, do it rigorously.

Workflow: From Data to Action

STEP 1: Collect Demographic Data
- Add questions to HRIS/onboarding
- Make voluntary, "prefer not to answer" option
- Segregate from personnel records

STEP 2: Calculate Baseline Metrics (Annual)
- Overall representation (% women, % minorities)
- By level, department, location
- Hiring diversity (% of new hires)
- Promotion rates by group
- Attrition rates by group
- Pay gaps by role/level

STEP 3: Analyze Trends
- Compare to last year
- Identify improving areas
- Flag declining areas
- Calculate annual progress toward goals

STEP 4: Deep Dives on Problems
- High attrition of women? Exit interview analysis
- Promotion gap for minorities? Manager bias training
- Pay gaps? Corrective action plan
- Underrepresentation in hiring? Recruiting process audit

STEP 5: Set Targets & Plans
- "Increase women in engineering from 18% to 25% by end of 2025"
- "Pay gap in senior roles <3% by end of 2025"
- "Women to 40% of director+ by end of 2026"

STEP 6: Communicate & Execute
- Share metrics with leadership
- All-hands: company diversity goals and progress
- Execute action plans (recruiting, promotion, development)

STEP 7: Track Progress
- Monthly or quarterly metrics
- Executive reporting on progress toward goals
- Adjust if off track

DEI Reporting: What to Share, With Whom

External Reporting (Public Diversity Report):

Share aggregate, high-level data:
- "Women are 40% of our company, 32% of our leadership"
- "Our workforce is 18% Asian, 12% Hispanic, 8% Black, 18% other minorities, 44% white"
- "We hired 42% women this year, up from 38% last year"
- "Commitment to pay equity: women and men at same level earn within 2% on average"

Don't share: Individual identifiable data, department-level breakdowns that are too granular, or metrics that could reveal individual information.

Internal Reporting (Leadership Reporting):

Share detailed analysis:
- Representation by level, department
- Promotion rates by group, identifying disparities
- Compensation analysis with gap identification
- Attrition analysis by group
- Specific actions and timelines to address gaps
- Progress against targets

This is decision-making data for leadership.

Employee Transparency:

Share with all employees (company-wide):
- Overall representation metrics (% women, % minorities, % LGBTQ+)
- By level (entry through leadership)
- Hiring and promotion rates
- DEI goals and progress
- What company is doing to improve

Example: "Women are 40% of our company but 28% of senior roles. We're committing to 40% of senior roles by 2026. Here's how: (1) women development program, (2) sponsorship for high-potential women, (3) equitable promotion process with bias training for managers."

Transparency builds trust and accountability.

When DEI Metrics Reveal Problems: Diagnosis & Action

Scenario 1: Women attrition is higher than men

Signal: Women attrition 3.2%, men attrition 2.1%. Women leaving at 50% higher rate.

Diagnosis: Check exit interviews from women who left. What do they cite? If they say "lack of career growth," then promotion opportunities are the issue. If they say "challenging manager," it's a people management issue. If they say "work-life balance," it's structure/culture.

Action:
- Growth issue: Invest in women's development programs, sponsorship, clear promotion paths.
- Manager issue: Performance management on those managers (coaching or removal).
- Work-life balance issue: Flexible work, reasonable workload, manager accountability for not overloading.

Track: Next year's attrition. Is women's attrition closer to men's? If women's attrition improves to 2.5%, you're making progress.

Scenario 2: Few women in senior roles (pipeline issue)

Signal: Women are 40% of new hires, 38% of the company overall, but only 22% of senior roles and 12% of director+.

Diagnosis: This usually means one of three things:
1. Historical: Women weren't hired 5-10 years ago (historical hiring bias), so they're not in the pipeline now. This fixes over time (hire more women now, wait 5 years).
2. Promotion: Women are hired but not promoted at the same rate as men. Check promotion rates by gender.
3. Retention: Women are leaving before they reach senior level. Check attrition by tenure.

Look at the data:
- Promotion rates: If women's promotion rate is 8%, men's is 12%, that's 33% slower. That's bias.
- Attrition: If women leaving after 2 years at 5% rate, men at 2% rate, women aren't staying long enough to be promoted.

Action:
- Promotion bias: Implement blind promotion process, training for managers on bias, clear criteria.
- Attrition: Address retention issues for women (engagement, manager quality, growth opportunity).
- Historical: Accept it takes time, but invest now (women development programs, recruiting women at more levels).

Scenario 3: Pay gap for minorities

Signal: Black employees earn 8% less than white employees at the same level. Hispanic employees earn 5% less.

Diagnosis: Is this explained by legitimate factors?
- Tenure: Black employees might be newer on average (if you started recruiting minorities recently). If same tenure, no excuse.
- Sub-role: Minorities might be concentrated in lower-paid sub-roles (investigate why).
- Performance: Minorities might have lower performance ratings (investigate why, possible rating bias).

If gap isn't explained, it's inequity.

Action:
- Corrective raises: Adjust salaries of underpaid minorities to match peers. ($48K → $52K for 5 Black employees costs $20K, worth it).
- Root cause: Why were they hired at lower salary? (Negotiation, market perception, bias in offer process?) Fix going forward.
- Progress: Next year's analysis should show gap closing toward 0-2%.

Before/After: No DEI Metrics vs. Systematic Measurement

BEFORE (Guessing):

CEO asks "How diverse are we?" HR scrambles, counts people eyeballing the org. "We're pretty diverse, maybe 40% women, lots of minorities." Leadership accepts this or rejects it based on feeling. Board asks for diversity report. HR copies the EEO-1 data from last year without updating. Someone notices numbers don't match what they remember. Trust erodes.

AFTER (Systematic Measurement):

DEI dashboard shows: Women 40% overall, 45% entry-level, 32% senior, 18% director+. Pipeline is narrowing. Hiring 42% women (improving). Promotion rate for women 8%, men 10% (2-point gap in directors, larger in senior). Attrition of women 3.1%, men 2.1% (women leaving faster). Pay gap in senior roles: 4% (within acceptable range).

Action plans:
- Promotion: Train managers on bias, blind promotion process.
- Retention: Investigate women's exit interviews, address root causes.
- Hiring: Women representation improving; continue.
- Leadership: Develop women into director pipeline.

Progress tracked monthly. Next quarter: promotion rate improves to 8.5% for women. Attrition still 3.1% (need different intervention). Leadership sees systematic approach, not guessing.

What to Do Monday Morning

Step 1: Start collecting demographic data (Week 1)

Add 4-5 optional questions to your HRIS onboarding or create a brief survey for new hires: race/ethnicity, gender identity, sexual orientation, disability status. Make voluntary. Segregate from personnel records.

Step 2: Calculate baseline (Month 1)

For existing employees (or whatever % you have demographic data for), calculate:
- % women, % minorities overall
- By level (entry through leadership)
- By department
- Hiring: % of new hires
- Attrition: % by group

Document your methodology and definitions.

Step 3: Pay equity analysis (Month 2)

Pick top 3 roles (e.g., Senior Engineer, Product Manager, Account Executive). For each, calculate average salary by gender/race. Compare to identify gaps >5%. Document findings.

Step 4: Set targets (Month 2)

Board/leadership sets diversity goals. Example:
- "Women 45% of company by 2026" (up from 40% today)
- "Women 35% of senior roles by 2026" (up from 32%)
- "Women 25% of director+ by 2026" (up from 18%)"
- "Pay gaps <3% across roles"
- "Attrition of women = attrition of men"

Step 5: Action plans (Month 3)

For each gap, what will you do?
- Hiring: Recruiting process audit, recruiting women more aggressively.
- Promotion: Manager training, blind promotion process, clear criteria.
- Retention: Exit interview analysis, targeted retention initiatives.
- Compensation: Corrective raises where needed.

Step 6: Track quarterly (Ongoing)

Update metrics every quarter. Report to leadership. Show progress (or lack thereof) against targets.

Step 7: Communicate & celebrate progress (Ongoing)

All-hands: "Here's our diversity baseline. Here are our goals. Here's our progress." Monthly updates. Celebrate wins. Be honest about gaps.

Key Takeaways

Measure DEI rigorously with consistent definitions. You can't improve what you don't measure. Without baseline data ("women are 32% of senior roles"), you can't track progress. Write down definitions: "senior role = manager+ level, tenure at role 2+ years." Use consistently every quarter.

Collect identity data voluntarily and protect it fiercely. Don't require disclosure (trust matters). Make questions optional. Segregate from personnel files. Limit access. Use only for aggregate analysis. Never use raw demographic data to make individual decisions without human review. This protects both the company and employees.

Pay equity analysis is non-negotiable and non-optional. Same job, same level, similar tenure = same pay regardless of gender, race, or background. Analyze annually. If gaps exist and aren't explained by legitimate factors, correct via raises.

Track representation by level to identify pipeline issues. If women are 45% of entry-level but 18% of director level, something's wrong. Women either aren't being promoted, aren't being retained, or both. Dig in.

Attrition by demographic is an early warning signal. If women leave at 3.2% and men at 2.1%, women are unhappy about something specific. Exit interviews reveal what. Fix the root cause.

Public transparency builds trust; internal detail drives action. External report: "Women are 40% of company, 25% of leadership, we're targeting 35% by 2026." Internal report: "Women are 32% of senior roles (gap). Promotion rate is 8% vs. men's 10%. Attrition is 3.1% vs. 2.1%. Actions: manager training, retention program, development pipeline."

Progress tracking and accountability matter. Set targets. Assign owners. Track monthly or quarterly. Report to leadership. If off track, course-correct. If on track, celebrate. Accountability drives results.

FAQ

Q: Is it legal to collect demographic data?

A: Yes. Most US companies (100+ employees) must file EEO-1 reports with the EEOC. These reports are legally required and are public. Make collection voluntary, keep it separate from personnel files, and it's fine. EU companies have GDPR (stricter), but you can still collect under lawful basis of diversity/compliance. Check your jurisdiction.

Q: What if we don't collect demographic data?

A: You can't measure representation. You can't identify pay gaps. You're flying blind. Start now. Even if only 60% of employees provide data, that's a baseline. New hires going forward you'll have 100% data.

Q: What if employees don't want to share demographic info?

A: Respect that completely. Offer "prefer not to answer" for every question. Some people are private; some have bad experiences with demographic tracking. No pressure. You'll get 60-70% response. That's representative enough.

Q: Should we set hiring quotas?

A: No. Quotas are illegal in most jurisdictions. But goals/targets are legal. "We want to hire 40% women" is a target. "We will hire only women" is a quota. Targets inform recruiting strategy; quotas force outcomes illegally.

Q: How do we handle pay equity corrections?

A: If analysis finds women earning 8% less than men in the same role, correction is needed. Methods: (1) Raises for underpaid group (most common). (2) Smaller increases for overpaid group (contentious). (3) Both. Document the issue, document the correction, communicate internally that you're addressing equity. Don't advertise that individual Jane got a raise for equity reasons (privacy).

Q: What if demographic data shows the problem is elsewhere (like a specific manager)?

A: Example: "Women attrition is high in Engineering, specifically under Manager A." Don't publish "Manager A's team has high women attrition." That's an individual performance issue between Manager A and HR. Address privately. Generic data is fine to share; targeted data that could single someone out isn't.

Q: Can we use DEI metrics for business decisions (hiring, promotion)?

A: Aggregate DEI data informs hiring strategy ("We need to recruit more women engineers"), promotion process design ("We need to de-bias promotion decisions"). Raw demographic data shouldn't be automated input for AI (it could perpetuate bias). Always involve human judgment.

What's Next

You have metrics on workforce planning, engagement, and DEI. These three data streams (headcount/attrition, engagement, diversity/equity) give you a complete picture of your organization's health and fairness. The next lesson covers executive reporting: how to translate these insights into summaries that actually drive leadership decisions.