Now, of course, there are much more accurate ways to determine gender before a baby is born. If you're at least 12 weeks pregnant, your doctor can probably tell you the sex of your baby with a high degree of confidence. That is, if you really want to know. Parents who want to pick out a name or stock up on baby clothes before the big day often look forward to their ultrasound appointment.