How Do They Calculate Pregnancy Weeks?

Pregnancy weeks are counted from the first day of your last menstrual period (LMP), not from the day you actually conceived. This means that by the time most people get a positive pregnancy test, they’re already considered about 4 weeks pregnant. A full-term pregnancy is 40 weeks, or 280 days, counted from that starting point.

Why Counting Starts Before Conception

This is the part that confuses almost everyone. If pregnancy is 40 weeks long but conception happens around week 2, how can you be “pregnant” before the egg was even fertilized? The answer is practical, not biological. Ovulation is invisible and hard to pin down. Your period, on the other hand, is something you can typically remember. Doctors needed a consistent starting point that works across all patients, so the first day of your last period became the standard.

This means there’s roughly a two-week gap between your “gestational age” (the number your doctor uses) and your baby’s actual age. When you’re told you’re 8 weeks pregnant, the embryo has really only been developing for about 6 weeks. Both numbers are correct, they’re just measuring different things. Every week count you hear at prenatal appointments, every milestone chart, and every due date calculation uses gestational age, starting from your LMP.

The Formula Behind Your Due Date

The standard method for calculating a due date is called Naegele’s Rule, and it’s been used for well over a century. Johns Hopkins Medicine describes it as a simple three-step process: take the first day of your last menstrual period, count back three calendar months, then add one year and seven days. If your last period started on March 10, you’d count back to December 10 and add a year and seven days, giving you a due date of December 17.

Naegele’s Rule assumes a 28-day menstrual cycle with ovulation happening on day 14. That’s a clean, standardized model, but plenty of people don’t fit it. The American College of Obstetricians and Gynecologists (ACOG) notes that this method doesn’t account for inaccurate recall of the LMP, irregularities in cycle length, or variability in the timing of ovulation. It’s a starting estimate, not a guarantee.

How Ultrasound Refines the Count

Early ultrasounds are one of the most accurate tools for dating a pregnancy. In the first trimester, embryos grow at a remarkably predictable rate, so measuring the length from one end to the other (called the crown-rump length) gives a reliable estimate of gestational age. If the ultrasound measurement doesn’t match what your LMP suggests, your provider may adjust your due date and, by extension, your week count.

The earlier the ultrasound, the more precise it is. A scan in the first trimester can pin down gestational age within a few days. By the second trimester, that window widens because babies start growing at more individual rates. Later in pregnancy, ultrasound dating becomes even less precise, which is why that early scan carries so much weight in setting your timeline.

In practice, if your LMP date and your ultrasound date are close, your provider will usually stick with the LMP. If there’s a meaningful gap between the two, the ultrasound measurement typically wins.

What Happens With Irregular Cycles

Naegele’s Rule breaks down when your cycle isn’t a textbook 28 days. If your cycle runs longer, say 35 days, you likely ovulated later than day 14, which means your baby is younger than a standard LMP calculation would suggest. A shorter cycle pushes the math in the opposite direction, with ovulation happening earlier and the due date landing sooner.

For people with very long, very short, or irregular cycles, the LMP-based calculation can be off by a week or more. The same applies if you don’t remember your last period at all. In these cases, ultrasound becomes the primary dating tool rather than a backup. Your provider measures the baby and works backward to assign a gestational age, and that becomes the basis for your week count going forward.

How IVF Pregnancies Are Dated

Pregnancies conceived through IVF have one major advantage when it comes to dating: the exact day of fertilization (or close to it) is known. The calculation adjusts based on the type of embryo transfer. For a fresh cycle, the date of egg retrieval serves as the anchor point. For a frozen cycle, the date of embryo transfer is used, with an adjustment depending on whether the embryo was frozen at day 3 or day 5 of development. Fertility clinics then calculate backward to assign an equivalent LMP date, so the rest of your prenatal care follows the same 40-week timeline everyone else uses.

Why Your Due Date Is Really a Due Window

Only about 4% to 5% of babies arrive on their estimated due date. That number surprises most people, but it makes sense when you consider how many assumptions go into the calculation: a perfect 28-day cycle, ovulation on exactly day 14, accurate recall of your last period, and an average-length pregnancy. Each of those introduces a margin of error.

Full-term pregnancy spans from 39 weeks through 40 weeks and 6 days, but babies born between 37 and 42 weeks are within the normal range. Your due date is best understood as the center of a bell curve, not a deadline. Providers track your week count closely because it influences decisions about testing, monitoring, and when to discuss induction, but the specific day is always an estimate.

How Weeks Map to Trimesters

The 40-week timeline divides into three trimesters, though the exact cutoffs vary slightly depending on the source. The most common breakdown:

  • First trimester: Week 1 through week 12
  • Second trimester: Week 13 through week 27
  • Third trimester: Week 28 through week 40

When someone says they’re “12 weeks pregnant,” that means 12 complete weeks have passed since the first day of their last period. You’re in your 13th week of pregnancy but 12 weeks along. This distinction trips people up constantly, and it’s the same logic as age: a newborn is in their first year of life but zero years old. If you’re counting weeks from an app or a calendar, the number of completed weeks is what matters for medical purposes.