Gestational Age Calculator
Enter your last period, conception date, IVF transfer, ultrasound, or due date to calculate gestational age in weeks and days, due date, trimester, and fetal age.
Gestational age is the number of days since the first day of the last menstrual period (LMP). For an LMP of March 1, 2026, on July 15, 2026, the gestational age is 19 weeks and 3 days (136 days), which is in the second trimester.
Free, runs in your browser. Nothing you enter is uploaded.
How to use it
- Select your input method: last menstrual period, conception date, IVF transfer date, ultrasound date, or due date.
- Enter the required dates and any additional details, such as cycle length or embryo age at transfer.
- Choose the date for which you want to calculate gestational age (defaults to today).
- Review your gestational age in weeks and days, due date, trimester, fetal age, and term category.
What you enter
- Last menstrual period date
- Cycle length
- Conception date
- IVF transfer date
- Embryo age at transfer
- Ultrasound date
- Gestational age at ultrasound
- Due date
- Calculation date
What you get
- Gestational age in weeks and days
- Trimester
- Percent of 40 weeks completed
- Estimated due date
- Days remaining until due date
- Fetal age (conceptional age)
- Term category
- Milestone table
Formula
Gestational age = today − LMP (or LMP equivalent), in completed weeks + days | LMP equivalent: conception − 14 d; IVF transfer − embryo age − 14 d; scan date − GA at scan; due date − 280 d
Gestational age (GA) is the time elapsed since the first day of the last menstrual period (LMP), measured in days and expressed in completed weeks and days. The standard pregnancy duration is 40 weeks (280 days) from the LMP. This convention is used clinically because the LMP is often the only known date.
To calculate GA from an LMP, subtract the LMP date from the chosen calculation date (default today). Convert the total days to weeks and days: divide by 7; the whole number is completed weeks, and the remainder is days. For example, 136 days equals 19 weeks and 3 days (19 × 7 = 133, remainder 3). If your cycle length differs from 28 days, the calculator adjusts the LMP to account for the difference, as ovulation typically occurs 14 days before the next period.
When LMP is unknown, an equivalent LMP is derived from other dates. For a known conception date, subtract 14 days (LMP-equivalent = conception date − 14). For IVF, subtract the embryo age at transfer and 14 days (LMP-equivalent = transfer date − embryo age − 14). For an ultrasound, subtract the GA at the scan in days (LMP-equivalent = scan date − GA at scan). For a known due date, subtract 280 days (LMP-equivalent = due date − 280).
Outputs include GA in weeks+days notation (e.g., 20w3d means 20 completed weeks and 3 days), current trimester (first: <14w0d, second: 14w0d–27w6d, third: 28w0d+), percent of 40 weeks completed (GA in days / 280 × 100), estimated due date (LMP-equivalent + 280 days), days remaining until due date, and fetal age (GA minus 2 weeks, approximating time since fertilization). Term categories follow ACOG definitions: early term 37w0d–38w6d, full term 39w0d–40w6d, late term 41w0d–41w6d, post-term 42w0d+.
These formulas assume a 28-day cycle with ovulation on day 14. Variations in cycle length, ovulation timing, or embryo development can affect accuracy. Ultrasound dating in the first trimester provides a more precise estimate and may be used to adjust the due date.
Worked example
Input: LMP 1 March 2026, checked on 15 July 2026
Result: 19 weeks 3 days (136 days), second trimester
Due date 6 December 2026; the anatomy scan window (18–22 weeks) is open.
Questions
How is gestational age calculated?
Gestational age is calculated as the number of days from the first day of your last menstrual period (LMP) to the current date. If LMP is unknown, an equivalent LMP is derived from conception date (minus 14 days), IVF transfer date (minus embryo age minus 14 days), ultrasound date (minus GA at scan), or due date (minus 280 days). The result is expressed in completed weeks and days, such as 20w3d.
What is the difference between gestational age and fetal age?
Gestational age measures pregnancy from the first day of the last menstrual period, while fetal age (conceptional age) measures from fertilization. Fetal age is approximately 2 weeks less than gestational age, because ovulation and fertilization typically occur about 14 days after the LMP.
What are the trimesters based on gestational age?
The first trimester is from week 1 to 13 weeks 6 days (less than 14w0d). The second trimester is from 14w0d to 27w6d. The third trimester starts at 28w0d and continues until delivery.
What are ACOG term categories?
According to ACOG, early term is 37w0d to 38w6d, full term is 39w0d to 40w6d, late term is 41w0d to 41w6d, and post-term is 42w0d and beyond. These categories classify deliveries by gestational age at birth.
How accurate is a due date calculated from LMP?
A due date calculated from LMP assumes a 28-day cycle and ovulation on day 14. It is an estimate; only about 4% of births occur on the exact due date. Ultrasound dating in the first trimester is more accurate and may adjust the due date.
Can I calculate gestational age from an IVF transfer date?
Yes. For an IVF transfer, subtract the embryo age (for example, 3 or 5 days) and 14 days from the transfer date to get the LMP-equivalent. Then gestational age is the days from that LMP-equivalent to the current date.
Limitations
- Gestational age calculations are estimates based on standard assumptions (28-day cycle, ovulation at day 14).
- Ultrasound dating is more accurate, especially in early pregnancy.
- The calculator does not replace professional medical advice.
- Individual variations in cycle length, ovulation timing, and embryo development can affect accuracy.
References
- ACOG Committee Opinion 579 (2013), Definition of Term Pregnancy
- ACOG Committee Opinion 700 (2017), Methods for Estimating the Due Date
More Health & Wellness
- BMI Calculator & Medical Ideal Body Weight (IBW) Planner
- Body Fat Percentage Calculator & Lean Mass Index
- Body Surface Area (BSA) Calculator
- Calorie Deficit Calculator & Target Goal Date Planner
- Ovulation Calculator & Period Tracker
- One Rep Max Calculator (1RM)
- BMR Calculator (Basal Metabolic Rate)
- Blood Alcohol Calculator (BAC)
- Sleep Calculator (Bedtime and Wake-Up Times)
- Pace Calculator (Running Pace, Time and Distance)
- eGFR Calculator (CKD-EPI 2021)
- Protein Intake Calculator
All free tools · By Dr. Zubair Khalid, DVM, MS, PhD.