Ultrasound. You can typically find out the sex of your baby via ultrasound. This will be performed between 18 and 20 weeks. The ultrasonographer will look at your baby's image on the screen and examine the genitals for different markers that suggest boy or girl.