When you provide women the opportunity to become anything they want. They choose the careers that they choose. Which tend to me more social related careers. Teaching or nursing for example does not scale well; therefore salaries are limited.
Whereas men pick more "stuff" categories. It's men who work in STEM creating things. A car or an iphone is going to be generally speaking men who design it. These scale very well and salaries can be larger.
By these modern approaches that allow women to go into whatever they want to do. This is what creates the gender wage gap.
1) If we tell women their whole childhood that some jobs are for men and some are for women and vice versa for men then ask them when they turn 18 what job they want we'll get horrendously unequal outcomes even though people are completely free to choose.
2) Valuation of jobs is based partially on the view of the value of the work in addition to the actual value provided. e.g. there's huge amount of societal gain to be reaped by providing better education to our children but various forces keeps the wages to teachers depressed relative to the gains to be had from providing smaller classrooms. In a more solid sense it's much harder to evaluate the value provided by a better elementary school teacher because most of the metrics for success are either years in the future (wages, college graduation rates, etc) or tied up in a huge number of other influences.
These kinds of defuse benefit jobs are a lot of what have been traditionally gendered as women's jobs and in the past were just part of the huge unpaid work that women were expected to do and often are unfairly characterized as easier or less educated/lower skilled jobs. There's a whole gendered history tied up in just how we evaluate these jobs and their benefits.
2) Valuation doesn't always equate to monetary remuneration. For example (at least in Australia), police, teachers etc get FAR more leave and holidays compared to the rest of the country. That needs to be taken into account as part of the valuation. Stress also factors into why certain professions are "worth" more than others. IT is highly stressful, in comparison to other social professions.
This would make some sense if women had been in the workforce for centuries and were well-established in particular fields, but women have only been in the workforce for a relatively short period of time and the cultural influences that might direct them into one job over another are not even remotely strong enough to play the role you think they do. There is almost nothing except the non-stop message of "you can do anything you want to do" given to little girls today and they are electing to do what they want to do. To assume they are trapped by some sort of cultural force that prefers them to do medicine instead of engineering (neither of which existed as a female field prior to the 20th century) is nonsense. Today, most medical school and law school graduates are women. Most engineering graduates are men. Unless men are fiercely protecting engineering for some weird, inexplicable reason, it would seem like women have had their say and chosen what they want to do.
This is false on multiple levels. Functional water treatment have a much bigger effect on health then functional health care, but water treatment employees are paid far less than doctors. We can likely make a similar argument for sewer treatment, garbage collection and mortuaries. We can see similar disconnect between teachers and veterinarians, where those that work with our children are paid less than those working with our pets.
A large part of Marxism is the disconnection between pay and value. There is no easy answers and bias is a poor explanation in order to understand the issue.
2. Teachers in Ontario receive ~$140,000/year for 8 months of work, 5 hours a day. This is publicly available via the sunshine list. If you're using teachers as an example of bias. You're barking up the wrong tree here these inflated teacher wages raise the wages of women on average.
Furthermore, teachers are outside the standard capitalist system. If you want to use them as an example of valuation of you must support the privatization of teachers. I would support that idea. Might not end up well for those $140,000 teachers.
The point is though, women are not 100% teachers and the teacher unions are extremely strong; women and men are being paid the same as teachers.
"5 hours a day" because all the material and lesson plans just appears out of nowhere along with all the graded work and administrative work...
Also I'm very happy that Ontario seems to have a good grasp on the value of teaching but that REALLY isn't true in the US where our average salary in 2016-17 was ~$38k [0].
Also my point wasn't that women are being paid less as teacher but the kind of 'social jobs' typically filled by women that the OP was talking about are valued less. Gender equality within that job isn't particularly relevant there I was talking about the profession as a whole vs other professions.
[0] http://www.nea.org/home/2016-2017-average-starting-teacher-s...