Comment by aaaja

3 days ago

Yes. Sperm cells are haploid. If the sperm that fertilizes the egg has an X chromosome, the baby will be female. If it has a Y chromosome, the baby will be male.

There are rare exceptions for genetic disorders relating to sex development, but generally speaking the above is true.