Skip to the content
Pay Gap ReportHow it works

How to calculate your gender pay gap

Steps

  1. On the calculator, choose the rules you report under.
  2. Download the template. Paste your payroll data under its headers, or rename your own columns to match. Names must match exactly, apart from capitals and spaces at the ends.
  3. Save as CSV or .xlsx, with the payroll on one sheet, and choose the file.
  4. Fix anything listed as refused, and choose the file again. The figures and the method appear once it reads cleanly.

What each template needs

UK
ColumnWhat goes in it
employee_idYour own ID. Each person once.
sexmale or female (or M, F).
full_payno if paid at a reduced rate or nil because of leave in the pay period, else yes.
ordinary_payOrdinary pay in the pay period, for work in that period.
pay_period_days7, 14, or 30.44 for a month.
weekly_hoursYour figure under reg. 7. Not needed when full_pay is no.
bonus_in_periodBonus paid in the pay period, if any.
bonus_period_daysThe days that bonus covers: 91.32 for 3 months. Needed when there is a bonus.
bonus_12_monthsAll bonus in the 12 months to the snapshot date, not prorated.
Ireland
ColumnWhat goes in it
employee_idYour own ID. Each person once.
sexmale or female (or M, F).
ordinary_pay12 months, including overtime.
bonusBonus in the 12 months, if any.
bonus_period_daysThe days that bonus covers: 365 for a year. Needed when there is a bonus.
hoursWorking hours in the 12 months: see the Ireland page.
part_time, temporary, benefit_in_kindyes or no.
Spain
ColumnWhat goes in it
empleadoYour own ID. One line per person and concept.
sexohombre or mujer, in full.
grupoGroup, category, level or job.
tipobase, complemento or extrasalarial.
conceptoThe pay concept, as you name it.
importeReceived in the year, with a decimal comma.
EU
ColumnWhat goes in it
employee_idYour own ID. Each person once.
sexmale, female or non-binary, in full. Single letters are refused: M means mujer in Spain.
categoryYour category of workers: same work or work of equal value.
basic_payOrdinary basic pay in the year.
variable_payComplementary or variable pay in the year.
hoursPaid hours in the year.

Why a row is refused

The calculator never guesses, because a wrong figure can end up published under your name. It lists each cell with its line and reason, and shows no figures until the file reads cleanly. Common reasons:

A blank bonus or variable pay cell is read as nothing paid, and the page tells you how many rows that covered. Every other blank is refused.

UK: a record without male or female

The UK figures rest on biological sex, and a Gender Recognition Certificate does not change that, according to the statutory guidance. The guidance says not to single people out, and warns that disclosing this information can be a criminal offence outside the exceptions. Read its route before you change a record. The calculator refuses the row, because the choice is not one a program should make.

Several payrolls

Merge the payrolls of one employer into one file first: each person once, with the same columns. Each legal entity reports for itself, so use one file per entity.

When a figure says "No figure"

A gap needs both men and women in the group, and a men's figure above zero. Without them the page says why instead of showing 0.

Your data

The file is read by a script in this browser tab. It is not uploaded, stored or counted, and closing the tab clears it. The page's security policy allows no connection that could send it, apart from the visit count described in the privacy notice, which never holds your data.

Payroll is personal data and sex is sensitive, so keep the file as carefully as you keep any payroll file.