How to Tell the Sex on an Ultrasound

Fetal sex determination on ultrasound relies on the appearance and position of the developing genitalia, and the accuracy of the call depends heavily on when the scan is performed. Before about 12 weeks, the external genitalia of male and female fetuses look nearly identical, making confident identification difficult. By the mid-second trimester, around 18 to 22 weeks, experienced sonographers get the answer right in the vast majority of cases. But there is a surprisingly wide window of ambiguity between those two points, and a handful of practical factors can tip a confident read into a guess.

What the Sonographer Looks for in Early Pregnancy

In the first trimester, male and female fetuses both have a small bud of tissue called the genital tubercle. It sits between the developing legs and, at this stage, has not yet differentiated into clearly male or female anatomy. What does differ, though, is the angle at which this tubercle points relative to the spine. In male fetuses, the tubercle tends to angle upward, pointing more toward the head. In female fetuses, it tends to point downward or stay roughly parallel to the body’s long axis.

Sonographers measure this genital tubercle angle (GTA) to make a prediction. One study found that using a cutoff of about 28 degrees, the technique had a sensitivity of 92% and specificity of roughly 85% for identifying males versus females, with the average angle measuring about 36 degrees in males and about 22 degrees in females.1PubMed Central. The Predictive Accuracy of Anogenital Distance and Genital Tubercle Angle for First-Trimester Fetal Sex Determination Another study assigned sex based on whether the angle was greater than 30 degrees (male) or less than 10 degrees (female) and found the method was feasible in about 90% of cases and accurate in roughly 86%.2PubMed. Fetal sex assignment by first trimester ultrasound: a Tunisian experience The angle method works, but it demands a good sagittal (side-on) view of the fetus, which is not always easy to get when the baby is curled up or facing the wrong way.

A separate first-trimester approach measures the anogenital distance, the gap between the anus and the genitalia. Researchers found that a cutoff of about 4.8 millimeters could correctly classify roughly 87% of males and 89% of females.3PubMed Central. First-trimester determination of fetal gender by ultrasound: measurement of the ano-genital distance Both the angle and the distance methods are tools for trained operators, not something you can eyeball on a grainy printout at home.

The Second Trimester Scan

By the time most people have their anatomy scan, typically between 18 and 22 weeks, the external genitalia are far more developed and the visual cues become more straightforward. For a male fetus, the sonographer looks for the penis and scrotum. A standard approach involves two views: a side-on image of the lower abdomen showing the penis and scrotum below the umbilical cord insertion, and a cross-sectional image just below the bladder, ideally captured with the fetal knees apart, showing the penis and scrotum between the thighs.4PubMed Central. A pictorial guide for the second trimester ultrasound – Section: The fetal gender At this stage, the testes have not yet descended into the scrotum; that usually happens later in the third trimester. So the sonographer is not looking for testes in the scrotum but rather for the shape and position of the external structures themselves.

For a female fetus, the key landmarks are the labia majora and labia minora. These structures become visible by around 15 weeks.5PubMed. The sonographic appearance of normal and abnormal fetal genitalia On ultrasound, the classic female sign is sometimes described as “three lines” seen between the thighs on a cross-sectional view, representing the labia and the cleft between them. Male identification tends to be a bit easier because the protruding structures are more visually distinct, but experienced operators identify female anatomy with high confidence as well.

How Accuracy Changes Week by Week

The single biggest factor in getting fetal sex right is gestational age. The earlier the scan, the more room for error. One well-cited study tracked correct identification rates across the late first trimester and found a clear upward trend: about 46% accuracy at 11 weeks, rising to 75% at 12 weeks, 79% at 13 weeks, and 90% at 14 weeks.6PubMed. The sonographic identification of fetal gender from 11 to 14 weeks of gestation When the researchers looked at the operator’s ability to even attempt a sex assignment (rather than declining to call it), the rates were higher: 59% at 11 weeks, 87% at 12 weeks, 92% at 13 weeks, and 98% at 14 weeks.

Another study found similar patterns. Among fetuses at 11 weeks, only about 54% were correctly predicted. By 12 weeks, accuracy climbed to about 77%, and by 14 to 16 weeks, all predictions in the study were correct.7PubMed Central. Accuracy of sonographic fetal gender determination: predictions made by sonographers during routine obstetric ultrasound scans The practical takeaway is that any sex determination before 12 weeks is essentially a coin flip, and predictions between 12 and 14 weeks are good but not airtight. By the anatomy scan at 18 to 22 weeks, accuracy in experienced hands routinely exceeds 95%.

A study specifically examining scans at 11 to 12 weeks found that even a few extra days of gestational age made a measurable difference in whether a call could be made at all.8PubMed Central. The ultrasound identification of fetal gender at the gestational age of 11–12 weeks This means that if your early scan falls right at the boundary, the difference between 11 weeks and 5 days versus 12 weeks and 2 days can matter more than you might think.

What Makes the Call Harder

Gestational age is not the only variable. Several practical factors can push a confident read into “unable to determine” territory.

Fetal position is the most common culprit. If the baby’s legs are pressed together, or the fetus is lying face-down (prone), the genitalia may simply be hidden from view. Research has shown that a prone fetal position significantly decreases the chances of successful sex assignment in the first trimester.9PubMed. Learning Curve in Determining Fetal Sex by First Trimester Ultrasound Scan Many people who have had a scan where the technician asked them to walk around or come back later were experiencing exactly this problem.

Maternal body mass index also plays a role. Higher BMI means more tissue between the ultrasound probe and the fetus, which degrades image quality. Studies have identified both maternal obesity and higher BMI as factors that reduce feasibility and accuracy of first-trimester sex assignment.10PubMed. Accuracy of fetal sex determination on ultrasound examination in the first trimester of pregnancy The same study found that a fetal crown-rump length greater than about 56 millimeters and gestational age beyond 12 weeks and 2 days were the best cutoffs for reliable prediction.

Operator experience matters too. One group tracked their own improvement over four years and found that accuracy for male identification jumped from about 92% in the first two years to over 99% in the last two, and female identification went from about 93% to 100%.11PubMed. Early determination of fetal sex using transvaginal sonography: technique and pitfalls The researchers specifically noted that phallus length at early gestational ages is not diagnostic and can mislead less experienced sonographers, as male and female genital tubercles are close in size. The main pitfall for inexperienced operators is mistaking a female genital tubercle for a small penis or vice versa.

Does 3D Ultrasound Do Better Than 2D?

Many clinics now offer three-dimensional ultrasound, and some parents assume the more detailed images translate into more accurate sex identification. The research does not really support that. A study comparing 2D and 3D ultrasound for prenatal sex identification found that the accuracy rates of the two techniques were not statistically distinguishable.12PubMed. Use of multiplanar 3-dimensional ultrasonography for prenatal sex identification The misdiagnosis rates were so low for both methods that any advantage of 3D simply did not emerge in the data. Three-dimensional imaging can be useful as a supplementary tool, particularly for visualizing complex anatomy, but for the straightforward question of boy or girl, standard 2D is already doing the job well.

Twins Present Extra Challenges

Determining fetal sex is trickier when there are two babies in the picture. In twins, the sonographer has to be confident about which fetus they are looking at during each measurement, and the fetuses may crowd each other, making good views harder to obtain. A prospective study of first-trimester sex assignment in twin pregnancies found an overall assignment rate of about 80%. Accuracy improved substantially with fetal size: from about 54% at a crown-rump length of 45 to 54 millimeters up to roughly 92% at 67 to 87 millimeters. The study also found that male fetuses were far more likely to have their sex misidentified compared to female fetuses, with the odds of a sex assignment error being dramatically higher for males.13BMC Pregnancy and Childbirth. High sensitivity and specificity in fetal gender identification in the first trimester, using ultrasound and Noninvasive Prenatal Screening (NIPS) in twin pregnancies, a prospective study This might seem counterintuitive since male anatomy is often described as easier to spot, but in the first trimester the genital tubercle angle differences are subtle, and a slightly upward-pointing female tubercle can be misread as male.

The Ramzi Method and Other Internet Theories

If you have spent any time in pregnancy forums, you have probably encountered the “Ramzi method,” which claims that the side of the uterus where the placenta forms can predict fetal sex as early as six weeks. The idea is that male placentas are more often on the right side and female placentas on the left. One study from Moldova reported that about 83% of male fetuses had right-sided placental placement and about 91% of female fetuses had left-sided placement, and cited similar but even higher figures from the original researcher.14Institutional Repository in Medical Sciences of Nicolae Testemitanu State University of Medicine and Pharmacy. The relationship between placental location and fetal gender (Ramzis method), among pregnant women in Moldova

This sounds impressive, but there are real reasons to be skeptical. The original “Ramzi” work has never been published in a major peer-reviewed journal, and the studies that have tried to replicate it are small and often methodologically limited. Placental laterality on an early ultrasound can also be confusing because the image orientation depends on whether the scan is transabdominal or transvaginal and how the sonographer holds the probe, which can flip right and left. Most professional obstetric societies do not endorse this method, and it should not be treated as a reliable way to determine sex. It is, at best, an interesting observation that has not passed the standard scientific bar.

Blood Tests as an Alternative

Ultrasound is not the only way to learn fetal sex. Cell-free fetal DNA testing, commonly known through brand names of noninvasive prenatal screening (NIPS), analyzes fragments of fetal DNA circulating in the pregnant person’s blood. A review found that this approach achieves close to 100% sensitivity and specificity for fetal sex from about 8 weeks of gestation, which is earlier than ultrasound can reliably deliver the same answer.15PubMed. Non-invasive prenatal testing for fetal sex determination: is ultrasound still relevant? The test works by detecting Y-chromosome DNA in the blood sample: if it is present, the fetus is male; if absent, female.

Since NIPS has become widely integrated into routine prenatal screening, sex chromosome results arrive as a side product of screening for chromosomal conditions like Down syndrome. This has created a new scenario: occasionally the NIPS result and the ultrasound disagree. The prevalence of discordant fetal sex between blood test and ultrasound is estimated at roughly 1 in 1,500 to 2,000 pregnancies.16PubMed. Discordant fetal sex on NIPT and ultrasound When that happens, it does not necessarily mean someone made a mistake. Discordance can signal a vanished twin, a sex chromosome condition, or rarely confined placental mosaicism. It usually triggers further investigation rather than simply being chalked up to an ultrasound error.

When the Genitalia Look Ambiguous

In a small number of pregnancies, the ultrasound reveals external genitalia that do not clearly fit male or female patterns. The most common underlying cause of ambiguous genitalia detected prenatally is congenital adrenal hyperplasia (CAH), a condition in which excess androgens cause virilization of a female fetus.17Arquivos Brasileiros de Endocrinologia & Metabologia. The role of imaging in congenital adrenal hyperplasia The most frequent presentation is an enlarged clitoris, but more complex abnormalities involving the urethra can also occur. In one case report, detailed ultrasound at 30 weeks was used to evaluate the degree of virilization in a female fetus with CAH, assessing features like vaginal atresia and an abnormal urethral course.18PubMed Central. Prenatal Phenotyping of Fetal Congenital Adrenal Hyperplasia: Applying the Prader Scale to a Fetus

When ambiguous genitalia are identified on ultrasound, the finding often leads to genetic testing (via amniocentesis or NIPS) to determine chromosomal sex and to screen for specific conditions. For parents, this situation can be stressful because it introduces uncertainty where they expected a clear answer. Clinicians typically frame the discussion carefully, explaining that the external appearance does not always match the chromosomal sex and that further workup is needed before any conclusions are drawn.

What Happens When the Determination Is Wrong

Incorrect sex determination is uncommon by the second trimester, but when it does happen, the consequences go beyond buying the wrong color clothes. Research in a context where fetal sex carries strong cultural weight found that women who received an incorrect determination experienced marital conflicts, domestic violence, negative perceptions of ultrasound technology, and even a desire for reversal of prior sterilization procedures.19PubMed. Implications of incorrect determination of fetal sex by ultrasound Even in settings without overt sex preference, separate research found that women who learned by ultrasound that their fetus was not the desired sex showed significantly higher levels of depression, anxiety, and hostility compared to women whose preferred sex was confirmed.20PubMed. Psychological and obstetrical responses of mothers following antenatal fetal sex identification

These findings are a reminder that for many families, fetal sex disclosure is not a neutral event. It carries emotional and sometimes social weight. Sonographers and clinicians are generally trained to communicate the finding with appropriate caveats, particularly when the scan is early or the image quality is suboptimal. Phrases like “it looks like a boy, but we’ll confirm at your next scan” are not just professional caution; they protect families from making irreversible decisions based on a preliminary reading.

Policies on When Clinics Disclose Fetal Sex

Not all clinics will tell you the sex at the earliest possible opportunity, and some have formal policies about timing. The Society of Obstetricians and Gynaecologists of Canada has opposed sex selection for non-medical reasons and has suggested that health care professionals need not disclose fetal sex until the pregnancy has reached a gestational age at which termination for non-medical purposes would no longer be readily available.21PubMed. Towards an ethical policy for the prevention of fetal sex selection in Canada A more recent consensus statement from the same organization acknowledged both benefits and potential harms of early disclosure, noting that costs include possible sex determination error, additional scheduling burden, and the minimal risk that some patients may choose to terminate a pregnancy based on the fetus not being the desired sex.22PubMed. Clinical Consensus No. 455: Fetal Sex Determination and Disclosure

In practice, policies vary widely by country, by institution, and even by individual practitioner. Some countries restrict prenatal sex disclosure entirely for cultural reasons. In much of North America and Europe, the norm is to share the result at the anatomy scan around 20 weeks, though many private ultrasound clinics will attempt an early “gender reveal” scan at 14 to 16 weeks. If you are told the sex at one of these elective early scans, it is worth remembering that the accuracy, while good, is not the same as what you get at the standard mid-trimester appointment. Asking the sonographer how confident they are is always reasonable, and a good technician will tell you honestly if the view was suboptimal.