Diversity Ratio Calculator Formula

Understand the math behind the diversity ratio calculator. Each variable explained with a worked example.

Formulas Used

Diversity Ratio

diversity_ratio = total_headcount > 0 ? (group_count / total_headcount) * 100 : 0

Remainder

remainder_pct = total_headcount > 0 ? ((total_headcount - group_count) / total_headcount) * 100 : 0

Variables

VariableDescriptionDefault
group_countNumber in Target Group45
total_headcountTotal Headcount100

How It Works

How to Calculate Diversity Ratio

Formula

Diversity Ratio = (Number in Target Group / Total Headcount) x 100

This straightforward metric measures the representation of any demographic segment: gender, ethnicity, age group, disability status, veteran status, or other categories. Tracking diversity ratios over time and across departments, seniority levels, and roles reveals where representation is strong and where gaps exist. Pair this data with inclusion metrics for a complete picture.

Worked Example

A company with 100 employees has 45 who identify as part of a specific demographic group.

group_count = 45total_headcount = 100
  1. 01Diversity Ratio = (45 / 100) x 100 = 45%
  2. 02Remainder = (55 / 100) x 100 = 55%

Ready to run the numbers?

Open Diversity Ratio Calculator