A study involving thousands of families is helping prospective parents work out whether they are likely to have sons or daughters.

Researchers have shown that men inherit a tendency to have more sons or more daughters from their parents. This means that a man with many brothers is more likely to have sons, while a man with many sisters is more likely to have daughters.

The research involved a study of 927 family trees containing information on 556,387 people from North America and Europe going back to 1600.

"The family tree study showed that whether you’re likely to have a boy or a girl is inherited. We now know that men are more likely to have sons if they have more brothers but are more likely to have daughters if they have more sisters. However, in women, you just can’t predict it," Corry Gellatly, a research scientist who led the study at Newcastle University said.

Men determine the sex of a baby depending on whether their sperm is carrying an X or Y chromosome. An X chromosome combines with the mother’s X chromosome to make a baby girl (XX) and a Y chromosome will combine with the mother’s to make a boy (XY).

The study suggests that an as-yet undiscovered gene controls whether a man’s sperm contains more X or more Y chromosomes, which affects the sex of his children. On a larger scale, the number of men with more X sperm compared to the number of men with more Y sperm affects the sex ratio of children born each year.

More boys born after the wars

In many of the countries that fought in the World Wars, there was a sudden increase in the number of boys born afterwards. The year after World War I ended, an extra two boys were born for every 100 girls in the UK, compared to the year before the war started. The gene could explain why this happened.

As the odds were in favor of men with more sons seeing a son return from the war, those sons were more likely to father boys themselves because they inherited that tendency from their fathers. In contrast, men with more daughters may have lost their only sons in the war and those sons would have been more likely to father girls. This would explain why the men that survived the war were more likely to have male children, which resulted in the boy-baby boom.