>>15463531
Men have XY chromosomes
Women have XX chromosomes
Your sperm cells either carry an X or a Y
Obviously the mother has only X chromosomes and thus the sex of the baby is determined by the chromosome in the sperm cell
Since a sperm can either have an X or Y, the chances are 50/50
Now some retarded alt-right loser is going to chime in and make some stupid comment about intersex people or trannies
Yes sometimes people have abnormal chromosomes, some people have too many (such as the people who like to make such comments) and that can cause developmental disorders. Both men and women have the information for both sexes, the X/Y chromosome just activates those traits. XY females and XX males are not uncommon, something like 1 in 10,000, but sufferers rarely actually find out about this. Thanks to the horrors of science, we can also transplant your DNA and basically let any two people have children, since pretty much everyone except some very badly damaged freaks have at least an X chromosome.
>>15463747
There is actually a very slight skew right now in the world in favor of females. The skew in some countries towards males is cultural - people abort female children more often than male.