Gestational Age from LMP Calculator

Gestational Age from LMP Calculator

Popular AI Skill PRO

Enter Calculation

Formula

GA=⌊D7⌋ wk+(Dmod7) dwhereD=days(Today (Y/M/D)−LMP (Y/M/D))\begin{gathered} \text{GA} = \left\lfloor \dfrac{D}{7} \right\rfloor \text{ wk} \;+\; (D \bmod 7)\text{ d} \\[1.5em] \text{where}\quad D = \text{days}\!\left( \text{Today (Y}/\text{M}/\text{D)} - \text{LMP (Y}/\text{M}/\text{D)} \right) \end{gathered}
Usage stats

Advertisement

Results

Gestational Age
150w 1d
weeks + days since last menstrual period
Total days since LMP 1,051 days
Decimal weeks 150.14 weeks

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

Report an error on this page

What is gestational age by LMP?

Gestational age (GA) is the standard way pregnancy is dated. It measures how far along a pregnancy is, counting from the first day of the woman's last menstrual period (LMP) rather than from conception. Because ovulation and conception are difficult to pin down exactly, the LMP method gives a consistent, widely used reference. A full-term pregnancy is about 40 weeks of gestational age.

How to use this calculator

Enter the date of the first day of the last menstrual period and the date you want to measure to (the calculator defaults today's date for you). It returns the gestational age expressed as completed weeks plus extra days — for example "12w 3d" — along with the total number of days elapsed and a decimal-weeks figure used in many clinical charts.

The formula explained

First the number of days between the two dates is computed: \(d = \text{today} - \text{LMP}\). The completed weeks are the whole-number part of \(d\) divided by 7, and the remaining days are the remainder:

$$\text{GA} = \left\lfloor \frac{d}{7} \right\rfloor \text{ weeks} + (d \bmod 7)\text{ days}$$

The decimal-weeks value is simply \(d / 7\).

Advertisement
Timeline from LMP to today divided into weeks of seven days plus remainder days
Gestational age is the number of days between LMP and today, expressed as whole weeks plus remaining days.

Worked example

Suppose the LMP was 1 January 2024 and today is 1 April 2024. That is 91 days later. \(91 \div 7 = 13\) exactly, so the gestational age is 13 weeks 0 days, or 13.0 decimal weeks.

Fifty-nine days grouped into eight weeks of seven days with three remainder days
Worked example: total days split into complete weeks of 7 plus the leftover days.

Pregnancy Stages by Gestational Age

These categories follow the definitions used by the American College of Obstetricians and Gynecologists (ACOG) in the United States. Gestational age is written as weeks and days (for example, 39w0d). It is counted from the first day of the last menstrual period (LMP).

Stage Gestational age range
First trimester 0w0d – 13w6d
Second trimester 14w0d – 27w6d
Third trimester 28w0d – delivery
Term category Gestational age range
Preterm Before 37w0d
Early term 37w0d – 38w6d
Full term 39w0d – 40w6d
Late term 41w0d – 41w6d
Post-term 42w0d and beyond
Advertisement

Interpreting Your Gestational Age Result

Reading the weeks+days format. The result shows completed weeks first and then the remaining days. For example, 12w3d means 12 completed weeks plus 3 days, or 12 × 7 + 3 = 87 days since the first day of the LMP. The days part is always between 0 and 6, because 7 days make another full week.

Matching it to trimesters and term. Compare your result with the table above. 12w3d falls in the first trimester (up to 13w6d), and 14w0d begins the second trimester. A pregnancy counted from the LMP is conventionally taken as 40 weeks (280 days) at the estimated due date. Full term is 39w0d–40w6d, so the due date is a point inside a range and not a deadline. Many healthy births occur on either side of it.

Why LMP dating may be adjusted. LMP dating assumes ovulation about 14 days after the period began, as in a 28-day cycle. Cycles that are irregular, longer or shorter than this, or an uncertain LMP date, can make the calculated age differ from the true age of the pregnancy. ACOG guidance therefore compares the LMP-based age with an early ultrasound measurement. The due date is usually changed only if the difference exceeds a threshold:

  • Up to 8w6d: more than 5 days
  • 9w0d to 13w6d: more than 7 days
  • 14w0d to 15w6d: more than 7 days
  • 16w0d to 21w6d: more than 10 days
  • 22w0d to 27w6d: more than 14 days
  • 28w0d and later: more than 21 days

If the ultrasound and LMP dates differ by less than the threshold, the LMP-based date is generally kept. If the difference is greater, the ultrasound-based date is typically used instead.

This is an estimate, not a diagnosis. The calculator only counts days between the two dates you enter. It does not account for cycle length, ultrasound findings or any medical factors. This is general information, not professional advice. A healthcare provider can confirm your dating and your due date.

FAQ

Is gestational age the same as fetal age? No. Fetal (conceptional) age starts at conception and is roughly two weeks less than gestational age based on LMP.

What if my cycle is irregular? The LMP method assumes a typical 28-day cycle with ovulation around day 14. If your cycle differs significantly, an ultrasound dating estimate may be more accurate.

Can I use this to find a due date? The estimated due date is reached at 40 weeks of gestational age; this tool focuses on current age, but 40 weeks from the LMP gives the classic Naegele due date.

Sources & References

  • Evaluation of the Obstetric Patient — MSD Manual Professional Edition (Merck & Co.), Gynecology and Obstetrics. EDD = LMP + 280 days (40 weeks) for a regular 28-day cycle; Naegele's rule; first-trimester ultrasound most accurate. · Verified 2026-11-07
  • Methods for Estimating the Due Date — American College of Obstetricians and Gynecologists, Committee Opinion No. 700 (May 2017, reaffirmed 2025), Obstet Gynecol 2017;129(5):e150-e154, PMID 28426621. ACOG: GA and EDD are set from the LMP and/or the first accurate ultrasound; a pregnancy without an ultrasound before 22 0/7 weeks is suboptimally dated. · Verified 2026-11-07
  • ACOG Committee Opinion No 579: Definition of term pregnancy — American College of Obstetricians and Gynecologists, Obstet Gynecol 2013;122(5):1139-1140, doi:10.1097/01.AOG.0000437385.88715.4a, PMID 24150030. Term categories: early term 37 0/7-38 6/7, full term 39 0/7-40 6/7, late term 41 0/7-41 6/7, postterm 42 0/7 and beyond. · Verified 2026-11-07
  • Evaluation of the Obstetric Patient — MSD Manual Professional Edition (Merck & Co.), Gynecology and Obstetrics. Restates ACOG CO 700: use the ultrasound date when it differs from the LMP date by >5 d (to 8 6/7 wk), >7 d (9-15 6/7), >10 d (16-21 6/7), >14 d (22-27 6/7), >21 d (28+). · Verified 2026-11-07
  • Evaluation of the Obstetric Patient — MSD Manual Professional Edition (Merck & Co.), Gynecology and Obstetrics. Delivery before 37 weeks is preterm; after 42 weeks postterm. · 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