How to Calculate Gestational Age From LMP or Ultrasound

Gestational age counts from the first day of your last menstrual period (LMP), not from the day you actually conceived. That means it includes roughly two weeks before conception even happened, which is why a “4-week pregnant” person only conceived about two weeks ago. This distinction matters because nearly all pregnancy milestones, due dates, and medical guidelines use gestational age as the standard reference point.

Gestational Age vs. Fetal Age

Gestational age and fetal age (sometimes called conceptional age) are not the same thing. Gestational age starts at the first day of your last period. Fetal age starts at conception, roughly 14 days later in a typical 28-day cycle. So fetal age is always about two weeks less than gestational age.

Doctors, lab reports, and pregnancy apps almost always use gestational age. When someone says “I’m 12 weeks pregnant,” they mean 12 weeks of gestational age, which corresponds to about 10 weeks of actual embryonic development. Keeping this straight helps you make sense of ultrasound reports, growth charts, and due date calculations.

Calculating From Your Last Period

The simplest method is Naegele’s rule, a three-step formula described by Johns Hopkins Medicine:

  • Step 1: Identify the first day of your last menstrual period.
  • Step 2: Count back three calendar months from that date.
  • Step 3: Add one year and seven days.

For example, if your last period started on March 1, 2025, you’d count back three months to December 1, 2024, then add one year and seven days to get a due date of December 8, 2025. Your gestational age on any given date is simply the number of weeks and days between your LMP and today.

Naegele’s rule assumes a 28-day menstrual cycle with ovulation on day 14. It works well for people with regular cycles near that length, but it can be off by a week or more if your cycles are significantly shorter or longer.

Adjusting for Irregular Cycles

If your cycle isn’t 28 days, a simple correction (sometimes called Wood’s rule) adjusts the estimated due date. The logic is straightforward: every day your cycle is longer than 28 days pushes your due date later by one day, and every day shorter pulls it earlier.

So if your cycle is 35 days, you’d calculate a due date using Naegele’s rule and then add 7 days. If your cycle is 24 days, you’d subtract 4 days from the Naegele’s result. This adjustment accounts for the fact that ovulation happens later in longer cycles and earlier in shorter ones.

If your cycles are highly irregular or you aren’t sure when your last period started, an early ultrasound becomes the most reliable way to pin down gestational age.

Why First-Trimester Ultrasound Is Most Accurate

Ultrasound in the first trimester (up to 13 weeks and 6 days) is the single most accurate method for establishing gestational age. The measurement used is crown-rump length: the distance from the top of the embryo’s head to its bottom. At this stage, embryos grow at a remarkably consistent rate regardless of genetics or nutrition, so a single measurement can estimate gestational age to within about one day of accuracy. One large validation study found that 93.5% of first-trimester estimates fell within two days of the true gestational age.

This precision drops as pregnancy progresses. In the second trimester, providers measure the head diameter, head circumference, abdominal circumference, and thigh bone length. These measurements are still useful, but natural variation in fetal size means the margin of error widens to one to two weeks. By the third trimester, fetal biometry becomes even less reliable for dating because babies of the same gestational age can differ substantially in size.

When Ultrasound Overrides Your LMP

If an early ultrasound and your LMP give different results, providers will often use the ultrasound date instead. The American College of Obstetricians and Gynecologists recommends that as soon as data from the last menstrual period, a first accurate ultrasound, or both are available, the gestational age should be determined and documented. In practice, if a first-trimester ultrasound disagrees with the LMP-based date by more than about five to seven days, the ultrasound date typically takes priority. That gap widens in later trimesters: a second-trimester ultrasound usually needs to differ by 10 to 14 days before it replaces the LMP-based estimate.

Once a due date is established and documented, it generally shouldn’t be changed based on later ultrasounds. Later scans reflect how the baby is growing, not necessarily when pregnancy began.

Calculating Gestational Age After IVF

For pregnancies conceived through in vitro fertilization, the calculation is more precise because the exact date of conception is known. The formula works backward from the embryo transfer date: subtract the embryo’s age at transfer to find the conception date, then add 266 days for the due date.

If you had a day-5 blastocyst transfer on January 20, conception is counted as January 15 (five days earlier). The due date would be 266 days from January 15, which is October 8. To convert this into gestational age, you add two weeks to the conception date to get the equivalent LMP date, then count forward from there. So your “LMP equivalent” would be January 1, and your gestational age on any given day is measured from that date. The same approach applies to day-3 embryo transfers, just with a three-day subtraction instead of five.

Fundal Height as a Quick Estimate

Between 20 and 36 weeks of pregnancy, providers often measure fundal height, the distance from the pubic bone to the top of the uterus, with a tape measure. The rule of thumb is simple: fundal height in centimeters roughly equals gestational age in weeks, plus or minus 2 centimeters. A measurement of 28 centimeters, for instance, suggests you’re around 26 to 30 weeks along.

This method isn’t precise enough to establish a due date, but it’s a useful screening tool during routine checkups. A measurement that’s significantly off can signal that the baby is growing faster or slower than expected, or that the original dating needs a second look. Before 20 weeks, the uterus hasn’t risen high enough for this to work, and after 36 weeks, the baby starts to descend into the pelvis, making the measurement less reliable.

How Accurate Is the Standard Due Date?

Naegele’s rule predicts 266 days from ovulation to delivery, but research suggests this slightly underestimates pregnancy length for many people. A study published in Obstetrics & Gynecology found that among first-time mothers, the median pregnancy lasted 274 days from ovulation, a full eight days longer than the standard prediction. For those who had given birth before, the median was 269 days, still three days longer than expected. First-time mothers also carried significantly longer than experienced mothers.

Based on these findings, some researchers have proposed adding 15 days (instead of 7) for first pregnancies and 10 days for subsequent ones. This adjustment, sometimes called the Mittendorf-Williams rule, hasn’t replaced Naegele’s rule in standard practice, but it helps explain why only about 4 to 5% of babies arrive on their calculated due date. A due date is better understood as the center of a window rather than a target.

Term Pregnancy Classifications

Once you know your gestational age, it maps onto standard pregnancy-stage definitions that affect delivery planning:

  • Early term: 37 weeks through 38 weeks and 6 days
  • Full term: 39 weeks through 40 weeks and 6 days
  • Late term: 41 weeks through 41 weeks and 6 days
  • Post-term: 42 weeks and beyond

These categories replaced the older practice of lumping everything from 37 to 42 weeks together as simply “term.” The distinction matters because babies born at 39 weeks have better outcomes on average than those born at 37, even though both were previously considered equally full term. Accurate gestational age calculation is what makes these distinctions possible.