Under legislation that came into force in April 2017, UK employers with more than 250 employees are required to publish their gender pay gap in order to show how large the pay gap is between their male and female employees.