Gestational Age Calculator

Type the date of your last period or the conception date and see the gestational age in weeks, the estimated due date and weekly milestones.

Informational content. This tool does not replace advice from a qualified professional. Use the results as a reference only.

How to use

  1. Choose whether you are counting from the last menstrual period (LMP) or from the conception date, and type the date.
  2. Read the gestational age in weeks and days, the trimester, and the estimated due date (Naegele rule: LMP + 280 days).
  3. The milestone for the current week is shown below — it comes from standard obstetric references, not from an ultrasound.

About this tool

Gestational age is counted from the first day of the last menstrual period, not from conception. The convention dates from before ultrasound existed and it persists because it is the date most women know with certainty. The estimated due date — the DPP in Portuguese — is 280 days (40 weeks) from the LMP, a rule attributed to Franz Naegele in the 19th century. If you know the conception date instead, the calculator adds 14 days to align with the LMP convention, because ovulation typically happens around day 14 of the cycle.

The milestones shown are standard markers from obstetric references: when the heartbeat is detectable, when the morphological ultrasound is done, when viability begins. They are population averages, not predictions for a specific pregnancy — the ultrasound and the obstetrician are the sources that matter. The DPP itself is an estimate: only about 4% of babies arrive on the exact date, and the normal window runs from 37 to 42 weeks.

Everything runs in your browser and nothing is stored or logged. This is an informational tool, not a medical device. It does not replace prenatal care, an ultrasound, or a conversation with the obstetrician.

The formula

From LMP: gestational age = today − LMP in days; EDD = LMP + 280 days. From conception: LMP is estimated as conception − 14 days. Weeks = floor(days ÷ 7), remaining days = days mod 7.

Frequently asked questions

LMP or conception — which should I use?

Use the LMP if you know it — it is the standard convention and the one your obstetrician will use. Use the conception date only if you know it with confidence (for example, from IVF or from ovulation tracking).

Why does the age start before conception?

Because the convention counts from the LMP, which is about two weeks before ovulation. At "2 weeks pregnant" by this convention, conception has not happened yet. The system is confusing but universal.

How accurate is the due date?

It is an estimate. About 4% of babies arrive on the EDD. The normal range is 37 to 42 weeks, and a first-trimester ultrasound adjusts the date more accurately than the Naegele rule.

Is this tool a substitute for prenatal care?

No. It is a calculator that applies a standard formula. Prenatal care involves blood tests, ultrasounds, blood pressure monitoring and clinical judgment that no calculator can replace.

Does my data leave my browser?

No. The dates you type are processed in JavaScript on your device and are not uploaded, stored or logged.

Related tools

Long links? Shorten them for free

Vai.la turns any URL into a short link with click statistics, QR Code and your own biolink.

Vai.la is not responsible for how the tools are used or for decisions made based on their results.