Typically, your ultrasound between 18 to 21 weeks will be able to tell you the gender of your baby. However, there are tests your doctor may possibly do as early as ten weeks to determine the gender. It's not typical, though, and certainly not a necessity.