Gestational age in weeks and days.
Enter your last menstrual period date or an ultrasound measurement to get gestational age, trimester, estimated due date and a visual milestone timeline.
Your data
Your result
Pregnancy timeline & milestones
How it's calculated
LMP dating and Naegele's rule — the standard method
Gestational age is measured in weeks and days from the first day of the last menstrual period (LMP), not from conception. This calculator uses Naegele's rule — LMP + 280 days = estimated due date (EDD) — which is endorsed by ACOG. When an ultrasound date is provided, the calculator back-computes the equivalent LMP and applies the same formula. For example, an LMP of January 1 gives an EDD of October 8 and a gestational age of 40 weeks at delivery.
Gestational age starts from the LMP because clinicians historically knew this date precisely, whereas ovulation (and conception) occurs ~14 days later. A full-term pregnancy is 40 weeks from LMP (280 days). First-trimester ultrasound using crown-rump length (CRL) is the gold standard for dating when LMP is uncertain.
Gestational age = Today − LMP (in weeks + days)
Ultrasound → back-compute LMP = US date − (GA at US in days)
- 1Determine reference LMP (from input or back-computed from ultrasound)—
- 2Calculate days elapsed since LMP as of today—
- 3Convert to weeks + remaining days—
- 4Add 280 days to LMP to get EDD—
Understand the terms
- Gestational age
- Age of a pregnancy counted in weeks and days from the first day of the last menstrual period (LMP). Standard reference for all prenatal care.
- Trimester
- One of the three roughly 13-week periods of pregnancy: 1st (weeks 1–13), 2nd (weeks 14–27), 3rd (weeks 28–40+).
- Viability
- The gestational age at which a fetus has a reasonable chance of survival outside the womb, conventionally set at 24 weeks (with intensive neonatal care).
- Full term
- ACOG defines full term as 39 weeks 0 days through 40 weeks 6 days. Births from 37 to 38w6d are "early term"; from 41w, "late term".
- Preterm
- Birth before 37 completed weeks of gestation. The WHO classifies preterm as extremely (<28w), very (28–32w) and moderate-to-late (32–37w).
Frequently asked questions — Gestational Age
What is gestational age?
How is the estimated due date (EDD) calculated?
What are the three trimesters of pregnancy?
When is a baby considered full term?
How accurate is ultrasound dating compared to LMP?
📚 Learn more — official sources
Did this calculator help you?
74 people found these tools useful
📧 Enter your email to confirm — we don't publish it, we only get in touch if we want to use your idea.
About the Gestational Age Calculator
Gestational age is the universal clock of pregnancy — every prenatal appointment, scan, test and delivery plan references it. This calculator implements the two most common dating methods endorsed by ACOG: LMP-based dating (Naegele's rule, +280 days) for routine use, and ultrasound back-dating for cases where the LMP is uncertain or cycles are irregular.
The milestone timeline shows which events have already occurred (cardiac activity ~6w, NT scan ~12w, anatomy scan ~20w, viability ~24w, full term ~39w) based on the calculated gestational age. All calculations happen locally in your browser — no data is sent anywhere.