Females have two X chromosomes , males have one X and one Y. An egg always carries a single X , while sperms carry either an X or a Y. That is how sex is determined in humans .
Females have two X chromosomes , whereas males have one X and one Y chromosome .