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\).
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.
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 |
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.