A practical guide

How to Calculate Gestational Age From Your Last Period

Count weeks and days from the first day of your last period, see a dated example, and understand the limits of an LMP-based due-date estimate.

Use the calculator

To calculate an LMP-based gestational age, count the calendar days from the first day of your last menstrual period to the date you want to calculate for. Divide that elapsed day count by 7: the whole-number part gives completed weeks, and the remainder gives additional days. For example, 45 elapsed days means 6 weeks and 3 days.

This is a calendar estimate using a menstrual dating convention. If your pregnancy care team has already established your due date, keep that date; a new LMP calculation does not replace it.

Use the first day of the period and an explicit reference date

LMP means last menstrual period. Use the day that period started, rather than its final day. The reference date is the date on which you want to know the gestational estimate. Include both dates when saving a result so that “6 weeks and 3 days” has a clear meaning.

In the gestational age calculator, choose First day of last menstrual period as the dating basis, then enter the LMP and reference dates. This guide explains that LMP option.

Count elapsed days, then separate weeks and days

Use these three steps:

  1. Subtract the LMP date from the reference date. Count the actual calendar days between them, including any February 29 crossed.
  2. Divide by 7 and keep the completed weeks. Do not round up to the next week.
  3. Keep the remainder as days. It will be a whole number from 0 through 6.

The LMP date is the zero point: the same LMP and reference date gives 0 weeks and 0 days. The next calendar date gives 0 weeks and 1 day. This counting convention does not establish that a pregnancy existed on the LMP date.

ACOG’s reVITALize definitions express gestational age using both weeks and days and identify the reference date as the date for which the age is being determined.

Worked example: January 31 to March 17, 2026

Suppose the known first day of the LMP was January 31, 2026, and the reference date is March 17, 2026. These are constructed example dates.

The remaining 3 days are part of the result. They are not a decimal fraction of a week. At 48 elapsed days, the result would be 6 weeks and 6 days; the next day would complete 7 weeks. Use actual dates throughout: a calendar month is not always four weeks.

Estimate the due date by adding 280 days

The conventional LMP-based estimated due date is the first day of the LMP plus 280 calendar days, equivalent to 40 weeks. For January 31, 2026, adding 280 days gives November 7, 2026. The due-date estimate stays the same when you change only the reference date; the weeks-and-days result advances.

ACOG’s Methods for Estimating the Due Date describes this convention as assuming a regular 28-day cycle with ovulation around day 14. Uncertain recollection of the LMP, irregular cycles and variation in ovulation timing limit the estimate. Adding days precisely does not remove those uncertainties.

The estimated due date is a dating reference, not a prediction of the day of birth. ACOG’s patient guidance on due dates explains that the care team evaluates menstrual and ultrasound dating when selecting the date.

Gestational counting starts before conception

Gestational age counted from LMP is different from time since conception. ACOG’s explanation of pregnancy length notes that the convention includes about two weeks before pregnancy begins. It does not reveal an individual’s exact conception date or confirm pregnancy.

If you are unsure when the last period began, or your cycles are irregular, discuss that uncertainty with your pregnancy care team instead of treating a guessed LMP as an established date. Keep the due date your care team has established and ask them to explain any difference from the calendar result.

The calculator accepts input dates in 1900–2100, a reference date on or after the LMP, and an elapsed interval of 0–294 days (up to 42 weeks and 0 days). These are tool limits, not clinical categories. This LMP calculation does not interpret ultrasound measurements or assess fetal growth or health.

Sources and further reading