Parents wanting to find out the sex of their baby can usually do so in a mid-term scan at between 18 to 21 weeks, but some hospitals have a policy of not telling, according to the NHS Choices website.