Whether your baby is a boy or a girl is determined by the chromosome it inherits from its father. The egg from its mother always contains an X (female) chromosome, but the sperm contains either a female or a Y (male) chromosome. When the egg is fertilised the chromosomes come together and if they are XY a baby boy is conceived and if they are XX a baby girl is conceived.