Pregnancy Week-by-Week Calculator

Pregnancy Week-by-Week Calculator

Growing AI Skill PRO

Enter Calculation

Formula

Gestational Age=⌊A7⌋ weeks +(Amod7) dayswhere{A=(Today−LMP)−(Cycle−28)\begin{gathered} \text{Gestational Age} = \left\lfloor \frac{A}{7} \right\rfloor \text{ weeks } + (A \bmod 7) \text{ days} \\[1.5em] \text{where}\quad \left\{ \begin{aligned} A &= \left(\text{Today} - \text{LMP}\right) - \left(\text{Cycle} - 28\right) \end{aligned} \right. \end{gathered}
Usage stats

Advertisement

Results

You Are Approximately
0 weeks 0 days
First Trimester
Gestational age (weeks) 0 weeks
Completed weeks 0w 0d
Days remaining to due date 0 days

Report an error on this page

What Is the Pregnancy Week Calculator?

This calculator tells you how many weeks and days pregnant you are based on the first day of your last menstrual period (LMP). Pregnancy is medically dated from the LMP rather than conception, which is why "gestational age" typically runs about two weeks ahead of the actual date of fertilization. The tool also identifies your current trimester and estimates how many days remain until your due date (40 weeks after LMP).

How to Use It

Enter the first day of your last menstrual period, the date you want to check (usually today), and your average menstrual cycle length. A standard cycle is 28 days; if yours is longer or shorter, the calculator adjusts the gestational age accordingly so your due-date estimate stays accurate.

The Formula Explained

The number of days pregnant equals the days between your LMP and today, minus an adjustment for cycle length:

$$\text{Days} = (\text{Today} - \text{LMP}) - (\text{Cycle} - 28)$$

Dividing by 7 gives whole weeks, and the remainder gives extra days:

$$\text{Weeks} = \left\lfloor \frac{(\text{Today} - \text{LMP}) - (\text{Cycle} - 28)}{7} \right\rfloor$$

Weeks 0–13 (up to 13 weeks 6 days) are the first trimester, 14–27 the second, and 28 onward the third.

$$T = \begin{cases} 1 & w < 14 \\ 2 & 14 \le w < 28 \\ 3 & w \ge 28 \end{cases}$$
Advertisement
Timeline of a 40-week pregnancy split into three trimesters from LMP to due date
Gestational age is counted in weeks from the first day of your last menstrual period (LMP).

Worked Example

Suppose your LMP was January 1, 2024 and today is March 11, 2024, with a 28-day cycle. That is 70 days between the dates, with no cycle adjustment. \(70 \div 7 = 10\) weeks exactly, so you are 10 weeks 0 days pregnant — firmly in the first trimester. Your estimated due date is October 7, 2024 (\(\text{LMP} + 280\) days), leaving 210 days to go.

Diagram showing days between LMP and today grouped into seven-day weeks with a cycle adjustment
Days between LMP and today are adjusted for cycle length, then divided by 7 to get completed weeks.

FAQ

Is this a substitute for an ultrasound? No. LMP dating is an estimate; an early ultrasound is the most accurate way to date a pregnancy. Always confirm with your healthcare provider.

Why count from the LMP if I wasn't pregnant yet? It's the medical convention because the exact conception date is rarely known, but the start of a period is easy to recall.

What if I have irregular cycles? Adjusting the cycle length helps, but irregular ovulation makes LMP dating less reliable — rely on a clinical scan for accuracy.

Sources & References

  • Evaluation of the Obstetric Patient — MSD Manual Professional Edition (Merck & Co.). EDD = LMP + 280 + (cycle - 28); GA shifted by the same (cycle - 28). · Verified 2026-11-07
  • Stages of Fetal Development — MSD Manual Consumer Version (Merck & Co.). First trimester = week 0 to 13 weeks 6 days. · Verified 2026-11-07
  • How Your Fetus Grows During Pregnancy — American College of Obstetricians and Gynecologists, patient FAQ. ACOG: first trimester LMP to 13w6d; second 14w0d to 27w6d; third from 28w0d. · Verified 2026-11-07

Checked against these sources on . Not reviewed by a clinician. For general information only, not medical advice or a diagnosis. Talk to a doctor about any health concern.

Last updated:

Most popular in Health and Fitness

View all Health and Fitness calculators