A study conducted to address the alleged wage gap at Google found that in most cases, it was men who were being compensated less than their female peers.

Google was sued in 2017 by three former female employees, who claimed the Internet giant systematically discriminated against women by paying them less than men. A New York Times analysis found at the time that the company paid women less than men on average, but Google countered that the analysis was flawed because it did not take into account factors like tenure, location, or job performance.

Google found in the latest version of its annual pay analysis that "more men than women were receiving less money for doing similar work," the Times reported. As a result of the "surprising conclusion," the Times reports a disproportionate amount of the $9.7 million in additional compensation allotted to employees to address pay disparity will end up going to men.

Lauren Barbato, Google's lead analyst for pay equity, told the paper it was a "surprising trend that we didn’t expect." Ironically, the anti-male pay gap was likely the result of intentional efforts by Google to target female employees for increased discretionary funds the year prior.

In a blog post, Barbato noted that one of the largest group of employees to have their pay adjusted this year were coded Level 4 Software Engineers. "Within this job code, men were flagged for adjustments because they received less discretionary funds than women," she wrote.

In addition to the lawsuit alleging Google discriminates against women, the company is facing accusations it discriminates against men. Former engineer James Damore filed a suit in January 2018 alleging Google discriminates against white men and conservatives after he was fired for a memo questioning the company's diversity effort. A recruiter at YouTube, a Google subsidiary, sued two months later, claiming the company discriminates against white and Asian men.