How Many Weeks Pregnant Am I?

How Many Weeks Pregnant Am I?

Growing AI Skill PRO

Enter Calculation

Formula

Weeks Pregnant=⌊As-of Date−LMP Date7⌋ wks+[(As-of Date−LMP Date)mod7] days\text{Weeks Pregnant} = \left\lfloor \frac{\text{As-of Date} - \text{LMP Date}}{7} \right\rfloor \text{ wks} \;+\; \left[\left(\text{As-of Date} - \text{LMP Date}\right) \bmod 7\right] \text{ days}
Usage stats

Advertisement

Results

You are approximately
0 weeks 0 days
gestational age (counted from LMP)
Total days since LMP 0 days
Total weeks (decimal) 0 weeks

For reference only — not a substitute for a clinician's assessment.

Report an error on this page

What this calculator does

This tool estimates how many weeks and days pregnant you are based on the first day of your last menstrual period (LMP). In obstetrics, pregnancy is dated by gestational age, which is counted from the LMP rather than from conception — typically about two weeks before ovulation. This is the same convention used by doctors and midwives, so the number you get here matches what you'll usually hear at appointments.

How to use it

Enter the first day of your last menstrual period in the LMP field. Then choose the "as of" date — leave it on today to find your current progress, or set it to a future appointment date to see how far along you'll be then. The result shows your gestational age in the standard weeks + days format (for example, "12 weeks 3 days"), plus the raw day count and a decimal-week figure.

The formula explained

First we compute the total number of whole days between LMP and the chosen date. Then:

$$\text{weeks} = \left\lfloor \frac{\text{daysSinceLMP}}{7} \right\rfloor$$ gives the completed weeks, and $$\text{days} = \text{daysSinceLMP} \bmod 7$$ gives the leftover days. So 87 days since LMP is \(\lfloor 87/7 \rfloor = 12\) weeks with \(87 - 84 = 3\) days remaining.

Advertisement
Timeline from LMP date to current date split into seven-day weeks plus leftover days
Days since LMP are divided by 7: full groups give completed weeks and the leftover gives extra days.

Worked example

Suppose your LMP was 2024-01-01 and today is 2024-03-28. That is 87 days. \(\lfloor 87 \div 7 \rfloor = 12\) weeks, and \(87 - (12 \times 7) = 3\) days. You are 12 weeks and 3 days pregnant.

Number line showing total days segmented into seven-day weeks with a highlighted remainder
A worked count: total days break into whole weeks with the highlighted tail as remaining days.

FAQ

Is gestational age the same as how long since I conceived? No. Gestational age is counted from LMP, which is roughly 2 weeks before conception, so it's about 2 weeks more than the time since conception.

Why use LMP instead of the conception date? Most people know their last period date but not the exact day of conception, so LMP is the standard reference for dating a pregnancy.

Is this medically accurate? It's a useful estimate based on a regular 28-day cycle. An early ultrasound is the most accurate way to date a pregnancy — always confirm with your healthcare provider.

Sources & References

  • Evaluation of the Obstetric Patient — MSD Manual Professional Edition (Merck & Co.). Gestational age is counted from the first day of the LMP (EDD = LMP + 280). · Verified 2026-11-07
  • How Your Fetus Grows During Pregnancy — American College of Obstetricians and Gynecologists, patient FAQ. Gestational age runs about 2 weeks ahead of time since conception (article FAQ). · 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 Time and Date

View all Time and Date calculators