Gestational Age Calculator — from LMP

Calculate gestational age and due date from your last menstrual period (LMP), your due date or an ultrasound. See your exact pregnancy week in weeks + days. Instant, free.

Medically reviewed by Dr. Ivan IbáñezNº Col. 17/05487Mar 22, 2026

Enter data to see results

Fill in the form above to calculate gestational age.

CalcVita. (2026). Gestational Age Calculator — from LMP. CalcVita. Retrieved November 17, 2026, from https://calcvita.com/en/calculators/gestational-age

Tracking gestational age

Find out how many weeks and days pregnant you are today from your LMP, your estimated due date (EDD) or an ultrasound, and get the matching due date. Useful for planning scans and prenatal visits.

Available modes

  • From LMP or due date: enter the first day of your last period or your estimated due date to get today's gestational age in weeks + days and the due date (LMP + 280 days).
  • From an ultrasound: enter the scan date and the gestational age stated in the report; the calculator adds the days elapsed since then and recalculates the due date from that dating.

Form fields

  • LMP: first day of your last menstrual period.
  • Scan date or due date: depending on the method you choose. Gestational age is always calculated for today's date.
  • Weeks and days: ultrasound method only: the gestational age measured at that scan (e.g. 12 weeks + 3 days).

Interpretation

Estimates depend on accurate LMP and early ultrasound confirmations. Always validate results with your healthcare team.

What is gestational age?

Gestational age is the time elapsed from the first day of the last menstrual period (LMP) to a given date, expressed in complete weeks and days. It is the universal standard in obstetrics for dating pregnancy, scheduling prenatal tests, and estimating the expected due date (EDD). Although conception typically occurs about 2 weeks after LMP, this method persists because it is reproducible and clinically validated. Naegele's rule, proposed in 1812, calculates the EDD by adding 280 days (40 weeks) to the LMP, assuming a regular 28-day cycle.

LMP versus ultrasound: which is more reliable?

LMP is the usual starting point, but its accuracy depends on remembering the date correctly and having regular cycles. Up to 13+6 weeks, ultrasound measures the embryo's crown-rump length (CRL) with an accuracy of ±5-7 days, making it the most accurate way to date a pregnancy. The American College of Obstetricians and Gynecologists (ACOG) recommends changing the due date if a first-trimester scan differs from LMP dating by more than 5 days before 9 weeks, or by more than 7 days from 9+0 to 13+6 weeks. In the second trimester accuracy drops to ±7-14 days depending on the week, and in the third to ±21-30 days, making it the least reliable dating method.

Trimester breakdown

  • First trimester (weeks 1-13): All major organs form. This is the most sensitive period to teratogens. Ultrasound in this period is the most accurate for dating pregnancy.
  • Second trimester (weeks 14-27): The fetus grows rapidly and the senses develop. Morphology scans and chromosomal anomaly screening are performed.
  • Third trimester (weeks 28-40): The fetus gains weight and the lungs mature. Fetal well-being monitoring intensifies. A term birth is one between 37+0 and 41+6 weeks.

Viability and full-term delivery

The fetus is generally considered viable around 24 weeks of gestation, meaning it could survive outside the uterus with intensive neonatal care, though with significant risks. The threshold of viability varies by hospital and available resources. From 34 weeks onward, outcomes improve substantially. A full-term pregnancy falls between weeks 39 and 40, according to the ACOG classification. Births between weeks 37 and 38 are classified as "early term" and may be associated with higher neonatal admission rates.

When is the due date changed?

According to ACOG, ultrasound changes the due date when it differs from LMP dating by more than 5 days before 9 weeks; more than 7 days from 9+0 to 15+6; more than 10 days from 16+0 to 21+6; more than 14 days from 22+0 to 27+6; and more than 21 days from 28 weeks on. Accurately redating the pregnancy is critical because it determines the right timing for tests such as first-trimester screening (weeks 11-14), the anatomy scan (weeks 18-22), and third-trimester fetal well-being monitoring. An incorrect date can lead to premature interventions or delays in necessary actions.

Prenatal tests by gestational age

The prenatal testing schedule is directly tied to gestational age. Between weeks 11 and 14, the combined first-trimester screening is performed (nuchal translucency measurement, blood work, and serum markers). The anatomy scan is scheduled between weeks 18 and 22 to assess fetal structure. The glucose tolerance test for gestational diabetes is typically ordered between weeks 24 and 28. In the final weeks, visits become more frequent and the baby's presentation is checked.

When to consult your doctor?

Consult your doctor if you do not remember your LMP, have irregular cycles, there is a discrepancy between ultrasound and LMP, you notice vaginal bleeding, contractions before week 37, decreased fetal movements, or fetal growth does not match the estimated weeks.

Frequently asked questions

How is gestational age calculated?
It is counted from the first day of the last menstrual period (LMP). Even though ovulation happens about 2 weeks later, LMP is the medical standard for dating pregnancy. A first-trimester ultrasound changes the date if the discrepancy is more than 5 days before 9 weeks, or more than 7 days from 9+0 to 13+6 weeks.
What is the difference between gestational weeks and fetal age?
Gestational weeks include the 2 weeks before conception. Fetal age is about 2 weeks less, counting from actual fertilization.
Is ultrasound or LMP more accurate for calculating gestational age?
A first-trimester ultrasound (up to 13+6 weeks) is accurate to ±5-7 days and is the most accurate method, especially if you are unsure of your LMP or have irregular cycles. ACOG recommends changing the due date if the scan differs from LMP dating by more than 5 days before 9 weeks, or by more than 7 days from 9+0 to 13+6 weeks.
When should I consult my doctor about gestational age?
Consult your doctor if you do not remember your LMP, have irregular cycles, there is a discrepancy between ultrasound and LMP, or fetal growth does not match the estimated weeks.

More calculators

Keep exploring helpful tools

Browse all