Skip to content
Calc.

Gestational Age Calculator

Gestational age is counted from the first day of your last menstrual period (LMP): weeks = days since LMP ÷ 7, and the remainder is extra days. 140 days after the LMP is 20 weeks 0 days (20w0d); the due date is 40w0d, 280 days after the LMP.

Last updated: September 2026

Gestational age

20 weeks 0 days (20:0)

This calculator gives an estimate for general information only. It is not medical advice and does not replace a doctor, pharmacist or other qualified health professional. Always check with them before acting on the result, especially for medication doses, children, pregnancy or a medical condition, and follow the guidelines of your local health authority.

Formula below · 2 sources (WHO, acog.org) · Updated Sep 2026

Compare with similar

About this calculator

Gestational age is how far along a pregnancy is, counted from the first day of the last menstrual period (LMP), not from conception. To calculate it, count the days from the first day of the LMP to today and divide by 7:

weeks = floor(days since LMP ÷ 7) days = days since LMP − 7 × weeks

It is written as weeks and days, for example 20w0d, 20+0 or 20:0. With the default 140 days, 140 ÷ 7 = 20 exactly, so the gestational age is 20 weeks 0 days. If the LMP began on 1 August 2026, then on 20 November 2026 it is 111 days later: 111 ÷ 7 = 15 remainder 6, so 15 weeks 6 days (15:6).

The estimated due date is 40 weeks 0 days, 280 days after the LMP. Fetal (conceptional) age is about 2 weeks less than gestational age, because conception usually happens about two weeks after the LMP in a 28-day cycle.

Gestational age sets the timing of prenatal care: the first trimester runs to 13w6d and the second to 27w6d; combined first-trimester screening is done at 11w0d–13w6d, the anatomy scan at about 18–22 weeks and the glucose tolerance test at 24–28 weeks. Births before 37 weeks are preterm (WHO: extremely preterm under 28 weeks, very preterm 28 to under 32, moderate to late preterm 32 to under 37). ACOG labels births from 37w0d to 38w6d early term, 39w0d to 40w6d full term, 41w0d to 41w6d late term and 42w0d onward postterm.

An LMP date is only an estimate. ACOG recommends that the gestational age and due date be set as soon as the LMP, the first accurate ultrasound, or both are known, and considers a pregnancy without an ultrasound that confirms or revises the due date before 22w0d suboptimally dated. If your provider has dated the pregnancy by ultrasound, use that date.

Gestational age milestones, counted from the first day of the last menstrual period

Scroll sideways to see all columns →

Days since LMPGestational ageMilestone
7711w0dCombined first-trimester screening window opens
9713w6dLast day of the first trimester
14020w0dHalfway to the due date
19628w0dThird trimester begins; under 28 weeks is extremely preterm (WHO)
22432w0dModerate to late preterm begins (WHO)
25937w0dEarly term begins (ACOG)
27339w0dFull term begins (ACOG)
28040w0dEstimated due date
28741w0dLate term begins (ACOG)
29442w0dPostterm (ACOG)

How to use

Count the days from the first day of your last period to today (a date-difference tool or calendar helps) and enter that number. Example 1: 98 days → 98 ÷ 7 = 14 remainder 0 → 14 weeks 0 days (14:0), the start of the second trimester. Example 2: 240 days → 240 ÷ 7 = 34 remainder 2 → 34 weeks 2 days (34:2), moderate to late preterm if born now; 40 days remain to the due date at 280 days. Example 3: 259 days → 37 weeks 0 days (37:0), the first day of early term.

Frequently asked questions

What is gestational age and how is it different from fetal age?

Gestational age counts from the first day of your last menstrual period and is the standard measurement used by all healthcare providers worldwide. Fetal age (or embryonic age or 'post-conceptional age') counts from the estimated day of conception, which is typically about 14 days after the LMP. So at delivery, a baby born at 40 weeks gestational age is approximately 38 weeks in fetal age. All clinical milestones — viability thresholds (~24 weeks), screening windows, preterm-birth classifications, and induction-timing decisions — are expressed in gestational weeks, not fetal weeks. The distinction matters most in research, IVF, and embryology contexts; in routine prenatal care, 'weeks pregnant' always means gestational weeks unless otherwise specified.

How accurate is gestational age calculated from the last menstrual period?

It is a good estimate when cycles are regular (about 28 days) and the first day of the last period is known for certain, and less reliable with irregular cycles, recent hormonal contraception, breastfeeding or an uncertain date. Ultrasound measurement of the embryo or fetus early in pregnancy is used to confirm or revise the LMP date; ACOG considers a pregnancy without an ultrasound that confirms or revises the due date before 22 weeks 0 days suboptimally dated. After an ultrasound, your provider's dating is the one to use. For IVF pregnancies the embryo transfer date gives the gestational age.

Why do doctors use weeks and days instead of months to describe pregnancy?

Weeks and days provide a precise, standardized language that aligns directly with developmental and clinical milestones. Monthly estimates are ambiguous because calendar months vary in length (28–31 days), making it difficult to time screenings, scans, or interventions consistently. The nuchal translucency scan, for example, must be performed between 11:0 and 13:6 — a precision that 'three months' cannot capture. The W:D format also maps directly onto trimester boundaries (T1 ends at 13:6, T2 at 27:6) and onto the WHO preterm-birth classifications (very preterm <32:0, moderate to late preterm 32:0–36:6). This standardization enables consistent care across providers, hospitals, and countries.

What are common mistakes when calculating gestational age?

Counting from the date your last period ended rather than the date it began shifts the result by 3–7 days. Confusing fetal age (counted from conception) with gestational age (counted from LMP) creates a systematic 2-week error in either direction. Applying LMP-based math to irregular cycles produces unreliable estimates. Forgetting to perform the modulo operation gives only complete weeks without the day remainder (a 14:6 pregnancy reported as '14 weeks' loses 6 days of precision). Mixing up sums of weeks and days when adding intervals (e.g., '12:5 + 3 weeks' should give 15:5, not 15:2 or 16:5). Finally, not updating gestational age after ultrasound revision means later screenings and decisions are based on a stale estimate.

When should I NOT rely on LMP-based gestational age?

Use ultrasound dating instead of the LMP if your cycles are irregular, you recently used hormonal contraception or are breastfeeding, or you do not remember the LMP date with confidence. For IVF pregnancies, the embryo transfer date gives the gestational age. Once your provider has dated the pregnancy by ultrasound, that dating replaces the LMP estimate; ACOG advises that later changes to the due date be rare. For any clinical decision, go by your obstetric provider's records rather than this calculation.

Related calculators

Sources & references

How we check our calculators

Think a result is wrong? Report a problem with this calculator.